* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
       background: #f5f7fa; color: #1a2332; }
#app { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* 导航 */
#nav-bar { display: flex; justify-content: space-between; align-items: center;
           padding: 16px 0; border-bottom: 1px solid #e1e8f0; margin-bottom: 24px; }
.nav-title { font-size: 20px; font-weight: 700; color: #1a56db; }
.nav-links { display: flex; gap: 16px; }
.nav-links a { color: #4a5568; text-decoration: none; font-size: 14px; padding: 6px 12px;
               border-radius: 6px; cursor: pointer; }
.nav-links a:hover { background: #eef2f7; }
.nav-links a.active { background: #1a56db; color: #fff; }

/* 卡片 */
.card { background: #fff; border-radius: 10px; padding: 24px; margin-bottom: 20px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid #e8ecf1; }
.card h2 { font-size: 18px; margin-bottom: 16px; color: #1a2332; }
.card h3 { font-size: 15px; margin: 16px 0 8px; color: #2d3748; }

/* 表单 */
input, select, textarea { width: 100%; padding: 10px 14px; border: 1px solid #d1d9e6;
    border-radius: 8px; font-size: 14px; margin-bottom: 12px; background: #fff; }
input:focus, select:focus { outline: none; border-color: #1a56db; box-shadow: 0 0 0 3px rgba(26,86,219,0.1); }
label { display: block; font-size: 13px; font-weight: 600; color: #4a5568; margin-bottom: 4px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px;
       border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer;
       transition: all 0.15s; }
.btn-primary { background: #1a56db; color: #fff; }
.btn-primary:hover { background: #1648c0; }
.btn-secondary { background: #eef2f7; color: #2d3748; }
.btn-secondary:hover { background: #e2e8f0; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* 提示 */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }

/* 双栏 */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

/* 进度条 */
.progress-bar { width: 100%; height: 6px; background: #e2e8f0; border-radius: 3px;
                margin: 12px 0; overflow: hidden; }
.progress-fill { height: 100%; background: #1a56db; border-radius: 3px; transition: width 0.3s; }
.progress-text { font-size: 13px; color: #64748b; text-align: center; margin-bottom: 4px; }

/* Tab */
.tabs { display: flex; gap: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.tab { padding: 8px 16px; border-radius: 8px 8px 0 0; font-size: 13px; cursor: pointer;
       background: #f1f4f9; color: #4a5568; border: 1px solid #e1e8f0; border-bottom: none; }
.tab.active { background: #fff; color: #1a56db; font-weight: 600; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* 对比框 */
.compare-box { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.compare-side { padding: 16px; border-radius: 8px; background: #f8fafc; border: 1px solid #e2e8f0; }
.compare-side h4 { font-size: 14px; margin-bottom: 8px; }

/* 表格 */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e8ecf1; }
th { background: #f8fafc; font-weight: 600; color: #64748b; }

/* 结论卡片 */
.summary-card { background: linear-gradient(135deg, #1a56db, #1e40af); color: #fff;
                border-radius: 12px; padding: 28px; margin-bottom: 20px; }
.summary-card h1 { font-size: 24px; margin-bottom: 4px; }
.summary-verdict { font-size: 32px; font-weight: 700; margin: 8px 0; }
.summary-conf { font-size: 14px; opacity: 0.85; margin-bottom: 12px; }
.bullet-list { list-style: none; padding: 0; }
.bullet-list li { padding: 4px 0 4px 20px; position: relative; font-size: 14px; line-height: 1.5; }
.bullet-list li::before { content: '▶'; position: absolute; left: 0; color: #93c5fd; }

/* 数据来源 */
.data-source { font-size: 11px; color: #94a3b8; text-align: center; margin-top: 32px; padding: 16px 0; border-top: 1px solid #e2e8f0; }
.disclaimer { font-size: 11px; color: #94a3b8; text-align: center; margin-top: 4px; margin-bottom: 32px; }

/* 指标速览 */
.metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.metric-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 14px; }
.metric-label { font-size: 12px; color: #64748b; }
.metric-value { font-size: 18px; font-weight: 700; color: #1a2332; margin: 4px 0; }
.metric-compare { font-size: 12px; color: #64748b; }