:root{--ink:#203345;--muted:#6c7f90;--line:#e1e8ef;--blue:#176bcb}*{box-sizing:border-box}body{margin:0;background:#f4f7fa;color:var(--ink);font:14px system-ui,"Microsoft YaHei",sans-serif}header{background:#152e46;color:white;padding:22px 32px;font-weight:700;letter-spacing:2px}header span{float:right;font-weight:400;font-size:12px}main{max-width:1320px;margin:auto;padding:28px}.eyebrow{font-size:12px;color:var(--blue)}h1{font-size:28px;margin:5px 0}h2{font-size:19px}.muted{color:var(--muted);line-height:1.8}nav{display:flex;gap:8px;margin:22px 0}button,input,select{font:inherit;border-radius:7px;padding:10px 12px;border:1px solid #cbd7e3}button{background:var(--blue);color:white;border-color:transparent;cursor:pointer}button:disabled{opacity:.5}.secondary{background:white;color:var(--blue);border-color:#cbd7e3}section,.card{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:18px}.filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end}label{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:12px}input,select{background:white;color:var(--ink);max-width:340px;font-size:14px}input[type=file]{max-width:290px}.cards{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.card strong{display:block;font-size:27px;margin-top:12px}.empty{text-align:center;padding:65px 20px}.notice{background:#eef5fd;border-left:3px solid var(--blue);padding:14px;margin:10px 0 20px;line-height:1.8}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{text-align:left;padding:11px 10px;border-bottom:1px solid var(--line);font-size:13px}th{color:var(--muted);background:#f8fafc}.small{padding:6px 12px}.tips{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.tip{padding:18px;background:#f8fafc;border-radius:8px;line-height:1.8}.tip h3{font-size:16px;margin:0}.bars{display:flex;gap:4px;height:130px;align-items:end;overflow:auto}.bar{min-width:22px;background:#72a9df;border-radius:3px}pre{white-space:pre-wrap;word-break:break-all;max-height:360px;overflow:auto;background:#f6f8fb;padding:15px}[hidden]{display:none!important}@media(max-width:900px){main{padding:16px}.cards{grid-template-columns:repeat(3,1fr)}.tips{grid-template-columns:1fr}}@media(max-width:500px){.cards{grid-template-columns:repeat(2,1fr)}header{padding:16px}.filters label{width:100%}h1{font-size:24px}}
.metric small{display:block;color:#8190a0;font-size:11px;margin-top:8px}.metric strong{font-variant-numeric:tabular-nums}.m1 strong{color:#16845f}.m2 strong{color:#2275c2}.m3 strong{color:#d54854}.chart-title{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.chart-title h2{margin-bottom:4px}.legend{display:flex;gap:15px;flex-wrap:wrap;color:#64778a;font-size:12px}.legend span{display:flex;align-items:center;gap:5px}.legend i{height:10px;width:10px;border-radius:2px;display:inline-block}.chart{overflow:auto}.chart svg{width:100%;min-width:650px;display:block}.axis{fill:#7b8c9d;font:11px system-ui}.grid{stroke:#e5ebf1;stroke-width:1}.bar-label{fill:white;font:11px system-ui}.empty-chart{fill:#8b9bae;font:14px system-ui}.metric-note{background:#edf3f9;font-size:12px;color:#657a8d;line-height:1.7;padding:15px 20px}.metric-note p{margin:6px 0}.scroll th{position:sticky;top:0} .cards .card{border-top:3px solid #d2dfed}.cards .m1{border-top-color:#21a879}.cards .m2{border-top-color:#3e8edb}.cards .m3{border-top-color:#e65059}
/* System shell */
body{background:#f3f6fb}.sidebar{width:232px;background:#14283f;color:#c5d3e2;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:28px 16px;z-index:10}.side-brand{font-size:27px;font-weight:800;letter-spacing:2px;color:white;padding:0 12px}.side-brand small{font-size:12px;letter-spacing:0;color:#94b8dc}.side-caption{font-size:12px;color:#89a0b8;padding:0 12px}.menu-label{font-size:10px;color:#6e86a0;padding:24px 14px 10px;letter-spacing:2px}.menu{width:100%;text-align:left;background:transparent;color:#acc0d5;margin:3px 0;padding:13px 16px;font-size:14px}.menu.active{background:#246aca;color:white;box-shadow:0 4px 12px #07162740}.menu:hover{background:#203e5b}.side-footer{margin-top:auto;padding:22px 12px 0;font-size:12px;color:#a9bbcf;line-height:2.2}.side-footer small{font-size:10px;color:#6886a4}.live-dot{display:inline-block;width:7px;height:7px;background:#3fc59f;border-radius:50%;margin-right:7px}.workspace{margin-left:232px}.topbar{background:white;color:#30475e;letter-spacing:0;font-size:13px;font-weight:500;padding:16px 28px;border-bottom:1px solid #e5ecf3;display:flex;justify-content:space-between;gap:15px;align-items:center}.topbar div{display:flex;align-items:center;gap:16px}main{max-width:1500px;padding:28px}.legacy-nav{display:none}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:#f5f8fc;align-items:center}.auth-brand{height:100%;background:linear-gradient(145deg,#11283f,#204d78);color:white;padding:14vh 10%;display:flex;flex-direction:column;justify-content:center}.auth-brand h1{font-size:34px;line-height:1.6}.auth-brand p{color:#abc4dc;font-size:17px;line-height:2.1}.logo{font-weight:800;font-size:38px;margin-bottom:26px;letter-spacing:5px}.quality-loop{font-size:12px;color:#85a8c7;border-top:1px solid #426582;padding-top:30px;margin-top:40px}.login-panel{max-width:430px;width:calc(100% - 60px);margin:40px auto;border:0;padding:36px;box-shadow:0 14px 45px #2444620b}.login-panel h2{font-size:26px}.login-panel label{margin:18px 0}.login-panel input{max-width:none;width:100%}.login-panel button{width:100%;margin:12px 0}.login-panel #auth-message{color:#c24148}.lab-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.lab-steps article{background:#f1f6fc;padding:20px;border-radius:10px;line-height:1.8}.version-badge{font-size:13px;background:#e8f1ff;color:#2164b8;padding:6px 10px;border-radius:6px}.release-list{line-height:2.4;color:#60758a}.insight-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px}.insight-grid section{min-width:0}.donut-wrap{display:flex;align-items:center;gap:20px}.donut{width:170px;height:170px;border-radius:50%;position:relative;flex-shrink:0}.donut:after{content:'';position:absolute;inset:30px;background:white;border-radius:50%}.donut-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:1;color:#203345;font-size:23px}.donut-label small{font-size:11px;color:#8194a5}.defect-legend{flex:1}.defect-legend div{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:6px 0}.defect-legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px}.rank-svg{width:100%;min-width:550px}.rank-empty{padding:65px 15px;text-align:center;color:#8a9bae}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.info-grid div{background:#f6f9fc;padding:18px;border-radius:8px}.info-grid strong{display:block;margin-top:8px;font-size:15px}.state-pill{padding:4px 8px;border-radius:12px;background:#e8f5ee;color:#16805e;font-size:11px}body[data-page=dashboard] .detail-data{display:none}body[data-page=data] .insight-grid{display:none}body[data-page=data] .chart{display:none}@media(max-width:1100px){.insight-grid{grid-template-columns:1fr}.lab-steps{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.sidebar{width:170px;padding:20px 8px}.workspace{margin-left:170px}.topbar{padding:12px;flex-wrap:wrap}.topbar>span{font-size:11px}.side-brand{font-size:21px}main{padding:16px}.auth-screen{grid-template-columns:1fr}.auth-brand{padding:35px}.auth-brand h1{font-size:26px}.quality-loop{margin-top:10px;padding-top:15px}.logo{margin-bottom:10px}.login-panel{margin:25px auto}.info-grid{grid-template-columns:1fr}.donut-wrap{flex-wrap:wrap}}@media(max-width:480px){.sidebar{width:62px;padding:20px 5px}.side-brand{font-size:12px;padding:0}.side-brand small,.side-caption,.menu-label,.side-footer{display:none}.menu{font-size:11px;padding:12px 4px;white-space:normal;text-align:center}.workspace{margin-left:62px}.cards{grid-template-columns:repeat(2,1fr)}.lab-steps{grid-template-columns:1fr}}
.match-cards{grid-template-columns:repeat(4,1fr)}.program-name{font-size:18px!important;word-break:break-all}.match-list-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.method-cell{white-space:normal;min-width:260px;max-width:390px;line-height:1.8}.wrap-cell{white-space:normal;min-width:100px;line-height:1.8}.method-steps{line-height:2.1;padding-left:24px}.method-steps li{padding:6px 0}.match-cards strong{font-size:25px}@media(max-width:900px){.match-cards{grid-template-columns:repeat(2,1fr)}}
