:root{--bg:#f6f8fb;--surface:#ffffff;--surface-muted:#f2f6fb;--surface-blue:#edf5ff;--ink:#18212f;--muted:#657386;--subtle:#8a97a8;--border:#dce4ef;--border-strong:#c9d5e4;--primary:#1f65d6;--primary-strong:#164ca3;--primary-soft:#dceaff;--amber:#b7791f;--amber-soft:#fff7df;--green:#287a56;--green-soft:#e3f6ed;--red:#b42318;--red-soft:#fff0ed;--shadow:0 1px 2px rgba(17,24,39,0.05);--radius:8px;--sidebar:248px}*{box-sizing:border-box}html{color-scheme:light}body,html{background:var(--bg)}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}.app-shell>div{min-width:0}.sidebar{position:-webkit-sticky;position:sticky;top:0;height:100vh;border-right:1px solid var(--border);background:#fbfcfe;display:flex;flex-direction:column;gap:20px;padding:22px 16px}.brand{display:flex;gap:12px;align-items:center;min-width:0;padding:0 6px 14px;border-bottom:1px solid var(--border)}.brand-mark{width:36px;height:36px;border-radius:8px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft);border:1px solid #c8dcff}.brand-title{margin:0;font-size:15px;font-weight:700;line-height:1.2}.brand-subtitle{margin:2px 0 0;color:var(--muted);font-size:12px}.nav{display:flex;flex-direction:column;gap:4px}.nav-link{display:flex;align-items:center;gap:10px;min-height:38px;border-radius:8px;padding:8px 10px;color:#334155;font-weight:560}.nav-link svg{width:18px;height:18px}.nav-link.active,.nav-link:hover{background:var(--primary-soft);color:var(--primary-strong)}.sidebar-note{margin-top:auto;border:1px solid var(--border);border-radius:var(--radius);padding:12px;background:var(--surface);color:var(--muted);font-size:12px}.sidebar-actions{margin-top:12px}.mobile-bar{display:none}.mobile-boundary{display:none;width:100%;margin:0;color:var(--muted);font-size:12px}.auth-main{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--bg)}.auth-page{width:min(100%,440px)}.auth-card{padding:24px;display:flex;flex-direction:column;gap:18px}.auth-mark{width:44px;height:44px;border-radius:8px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft);border:1px solid #c8dcff}.auth-mark svg{width:22px;height:22px}.auth-note{margin:0;color:var(--muted);font-size:12px}.main{min-width:0;padding:22px}.page{max-width:1400px;margin:0 auto;display:flex;flex-direction:column;gap:16px}.page,.page>*{min-width:0}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.page-kicker{color:var(--muted);font-size:13px;margin:0 0 4px}.page-title{margin:0;font-size:24px;line-height:1.25;letter-spacing:0}.page-description{margin:6px 0 0;color:var(--muted);max-width:760px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.surface{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.section{padding:16px}.section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.section-title{margin:0;font-size:16px;line-height:1.3}.section-desc{margin:3px 0 0;color:var(--muted);font-size:13px}.grid{display:grid;grid-gap:16px;gap:16px}.grid.two{grid-template-columns:minmax(0,1.5fr) minmax(360px,.9fr)}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{display:flex;flex-direction:column;gap:4px;min-height:86px}.metric-label{color:var(--muted);font-size:13px}.metric-value{font-size:24px;line-height:1.1;font-weight:760}.metric-note{color:var(--subtle);font-size:12px}.status-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #cdddf4;background:linear-gradient(180deg,#f7fbff,#eef6ff)}.status-strip.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.status-strip .metric{border-right:1px solid #cdddf4;padding:14px 16px}.status-strip .metric:last-child{border-right:0}.alert{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-muted);color:#334155;padding:12px 14px;display:flex;align-items:flex-start;gap:10px}.alert.warning{background:var(--amber-soft);border-color:#f0d994;color:#6b4e12}.alert.success{background:var(--green-soft);border-color:#b7e6cf;color:#1d6848}.form-row{display:grid;grid-template-columns:minmax(260px,1fr) 150px 150px 130px auto;grid-gap:10px;gap:10px;align-items:end}.form-row.search-wide{grid-template-columns:repeat(auto-fit,minmax(142px,1fr))}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.label{font-size:12px;color:var(--muted);font-weight:640}.input,.select,.textarea{width:100%;min-height:38px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--ink);padding:8px 10px;outline:none}.textarea{min-height:92px;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(31,101,214,.12)}.button{border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);border-radius:8px;min-height:38px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;font-weight:650;white-space:nowrap}.button svg{width:16px;height:16px}.button:hover{border-color:#aebdd0;background:#f8fafc}.button.primary{background:var(--primary);border-color:var(--primary);color:#ffffff}.button.primary:hover{background:var(--primary-strong)}.button.ghost{background:transparent;border-color:transparent}.button.small{min-height:30px;padding:5px 9px;font-size:12px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;border:1px solid var(--border);background:var(--surface-muted);color:#435266;padding:3px 8px;font-size:12px;font-weight:650;white-space:nowrap}.badge.blue{background:var(--primary-soft);border-color:#c7dbff;color:var(--primary-strong)}.badge.green{background:var(--green-soft);border-color:#b7e6cf;color:var(--green)}.badge.amber{background:var(--amber-soft);border-color:#f0d994;color:var(--amber)}.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius)}.table{width:100%;min-width:820px;border-collapse:collapse}.table td,.table th{padding:11px 12px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}.table th{background:#f8fafc;color:var(--muted);font-size:12px;font-weight:720}.table tr:last-child td{border-bottom:0}.title-cell{font-weight:700;color:var(--ink)}.muted{color:var(--muted)}.subtle{color:var(--subtle)}.row-actions{display:flex;flex-wrap:wrap;gap:6px}.split-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-gap:16px;gap:16px;align-items:start}.inspector{position:-webkit-sticky;position:sticky;top:22px}.evidence-list{display:flex;flex-direction:column;gap:10px}.article-body{margin:0 0 18px;color:#2f3b4c;font-size:15px;line-height:1.8}.evidence-row{border-top:1px solid var(--border);padding-top:10px}.evidence-row:first-child{border-top:0;padding-top:0}.mini-list{display:flex;flex-direction:column;gap:8px}.mini-item{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding-top:9px}.mini-item:first-child{border-top:0;padding-top:0}.chart-box{width:100%;height:220px}.chart-box.small{height:150px}.chart-svg{width:100%;height:100%;display:block}.chart-svg line{stroke:#e6edf5;stroke-width:1}.chart-line{fill:none;stroke:var(--primary);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-dot{fill:#ffffff;stroke:var(--primary);stroke-width:2}.chart-bar{fill:var(--primary)}.chart-label{fill:var(--muted);font-size:12px}.donut-wrap{min-height:150px;display:grid;grid-template-columns:128px minmax(0,1fr);align-items:center;grid-gap:14px;gap:14px}.donut{width:120px;height:120px;display:grid;place-items:center}.donut,.donut-hole{border-radius:999px}.donut-hole{width:62px;height:62px;background:var(--surface);border:1px solid var(--border)}.donut-legend{display:flex;flex-direction:column;gap:6px;min-width:0}.legend-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;grid-gap:7px;gap:7px;color:var(--muted);font-size:12px}.legend-item span{width:8px;height:8px;border-radius:999px}.legend-item em{font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-item strong{color:var(--ink)}.tabs{display:inline-flex;gap:4px;padding:4px;border-radius:8px;background:var(--surface-muted);border:1px solid var(--border)}.tab{border:0;border-radius:6px;background:transparent;color:var(--muted);padding:6px 10px;font-weight:650;cursor:pointer}.tab.active{background:var(--surface);color:var(--primary-strong);box-shadow:var(--shadow)}.empty-state{border:1px dashed var(--border-strong);border-radius:var(--radius);background:#fbfcfe;padding:18px;display:flex;flex-direction:column;gap:10px}.toast{min-height:42px}.toast:empty{display:none}@media (max-width:1180px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.mobile-bar{position:-webkit-sticky;position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);background:rgba(251,252,254,.94);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:10px 14px}.mobile-nav{display:flex;gap:4px;width:100%;max-width:100%;overflow-x:auto}.mobile-boundary{display:block}.mobile-nav .nav-link{min-height:34px;white-space:nowrap}.main{padding:14px}.grid.four,.grid.three,.grid.two,.split-layout{grid-template-columns:1fr}.inspector{position:static}.form-row,.form-row.search-wide,.status-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.status-strip .metric:nth-child(2n){border-right:0}.status-strip .metric:nth-child(n+3){border-top:1px solid #cdddf4}}@media (max-width:620px){body{font-size:13px}.main{padding:10px}.page{gap:12px}.page-header,.section-header,.toolbar{flex-direction:column;align-items:stretch}.page-title{font-size:20px}.section{padding:12px}.donut-wrap,.form-row,.form-row.search-wide,.status-strip{grid-template-columns:1fr}.donut{width:104px;height:104px}.status-strip .metric{border-right:0;border-top:1px solid #cdddf4}.status-strip .metric:first-child{border-top:0}.metric-value{font-size:21px}.mobile-bar{align-items:flex-start;flex-direction:column}.mobile-nav{flex-wrap:wrap;overflow-x:visible}.mobile-nav .nav-link{min-height:32px;padding:6px 8px}}