:root{--ink:#17332e;--muted:#657a75;--green:#147d6e;--green2:#2d9b84;--line:#d9e7e2;--bg:#f3f8f6;--warm:#e6a84a;--bad:#bd554d;--blue:#5476be}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(circle at 50% -10%,#dcefe9,transparent 34%),var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}button,a,input{font:inherit}.topbar{position:sticky;z-index:30;top:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px max(18px,calc((100% - 1180px)/2));border-bottom:1px solid rgba(213,230,224,.9);background:rgba(249,253,252,.92);backdrop-filter:blur(15px)}.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none}.brand>span{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;background:linear-gradient(145deg,#176f61,#52b49e);color:#fff;font-weight:850}.brand strong,.brand small{display:block}.brand small{color:var(--muted);font-size:11px}.top-actions{display:flex;gap:8px}.back,.template-link,.secondary{min-height:42px;padding:9px 14px;border:1px solid var(--line);border-radius:11px;background:#fff;color:#3d5a54;text-decoration:none;font-weight:750;cursor:pointer}.template-link{color:var(--green)}.teacher-rail{position:fixed;z-index:25;left:16px;top:50%;width:138px;padding:12px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 16px 42px rgba(32,67,59,.12);transform:translateY(-50%)}.teacher-rail>div{padding:2px 4px 10px;border-bottom:1px solid #e7efec}.teacher-rail strong,.teacher-rail small{display:block}.teacher-rail small{color:#8a9a96;font-size:8px;letter-spacing:.1em}.teacher-rail a{display:flex;align-items:center;gap:8px;margin-top:9px;padding:8px;border-radius:12px;background:#e8f5f1;color:var(--green);text-decoration:none;font-size:12px;font-weight:800}.teacher-rail b{display:grid;width:32px;height:32px;place-items:center;border-radius:10px;background:var(--green);color:#fff}.teacher-rail p{margin:10px 0 0;padding-top:8px;border-top:1px dashed var(--line);color:#97a5a1;font-size:9px;text-align:center}main{width:min(1120px,calc(100% - 36px));min-height:calc(100vh - 135px);margin:auto;padding:56px 0 90px}.intro{max-width:820px;margin:7vh auto 0;text-align:center}.eyebrow{margin:0 0 8px;color:var(--green);font-size:11px;font-weight:850;letter-spacing:.14em}.intro h1{margin:0;font-size:clamp(40px,6vw,68px);line-height:1.08;letter-spacing:-.055em}.intro>p:not(.eyebrow){max-width:680px;margin:20px auto;color:var(--muted);font-size:17px}.upload-row{display:flex;justify-content:center;gap:11px;margin-top:30px}.upload-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:11px 22px;border-radius:14px;background:var(--ink);color:#fff;cursor:pointer;font-weight:850;box-shadow:0 12px 26px rgba(23,51,46,.18)}.upload-button small{opacity:.65;font-size:10px}.status{font-size:13px!important}.status.error{color:var(--bad)!important}.hidden{display:none!important}.dashboard-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.dashboard-head h2{margin:0;font-size:34px}.dashboard-head p{margin:5px 0 0;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:15px}.metric,.chart-card,.validation{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(33,69,61,.055)}.metric{padding:17px}.metric small,.metric strong{display:block}.metric small{color:var(--muted);font-size:12px}.metric strong{margin-top:3px;font-size:27px;font-variant-numeric:tabular-nums}.chart-card{margin-top:15px;padding:22px}.chart-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.chart-heading>div{display:flex;align-items:center;gap:10px}.chart-heading span{color:var(--green);font-size:11px;font-weight:850}.chart-heading h3{margin:0;font-size:19px}.chart-heading p{margin:0;color:var(--muted);font-size:12px}.chart{min-height:260px;overflow-x:auto}.chart svg{display:block;min-width:680px;width:100%;height:auto}.axis-label{fill:var(--muted);font-size:12px}.value-label{fill:var(--ink);font-size:12px;font-weight:700}.grid-line{stroke:#e5eeeb;stroke-width:1}.average-line{stroke:var(--warm);stroke-width:2;stroke-dasharray:7 5}.bar-main{fill:var(--green2)}.bar-top10{fill:var(--green)}.bar-quarter{fill:#9bcfc1}.heatmap-wrap{overflow-x:auto}.heatmap{display:grid;min-width:720px;gap:5px;align-items:stretch}.heat-cell{display:grid;min-height:48px;place-items:center;padding:5px;border-radius:8px;text-align:center;font-size:12px}.heat-head,.heat-row-label{background:#f0f5f3;font-weight:800}.heat-cell strong{display:block;font-size:14px}.distribution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.dist-panel{min-width:0;padding-top:10px;border-top:1px solid #edf2f0}.dist-panel h4{margin:0 0 10px;font-size:15px}.dist-row{display:grid;grid-template-columns:72px 1fr 34px;align-items:center;gap:8px;min-height:25px}.dist-label{color:var(--muted);font-size:10px;text-align:right}.dist-track{display:grid;grid-template-columns:1fr 1fr;height:14px}.dist-left,.dist-right{background:var(--blue)}.dist-left{justify-self:end;border-radius:7px 0 0 7px}.dist-right{justify-self:start;border-radius:0 7px 7px 0}.dist-count{font-size:11px;font-weight:750}.legend{display:flex;justify-content:center;gap:22px;margin-top:8px;color:var(--muted);font-size:12px}.legend i{display:inline-block;width:12px;height:12px;margin-right:5px;border-radius:3px;vertical-align:-1px}.legend .top10{background:var(--green)}.legend .quarter{background:#9bcfc1}.validation{margin-top:15px;padding:18px 22px}.validation h3{margin:0 0 7px;font-size:16px}.validation ul{margin:0;padding-left:20px;color:var(--bad);font-size:13px}footer{padding:22px;text-align:center;color:#81938e;font-size:11px}@media(max-width:1340px){.teacher-rail{display:none}}@media(max-width:800px){main{width:calc(100% - 24px);padding-top:34px}.topbar{padding-inline:12px}.template-link{display:none}.intro{margin-top:3vh}.intro h1{font-size:42px}.metrics{grid-template-columns:repeat(2,1fr)}.distribution-grid{grid-template-columns:1fr}.chart-card{padding:17px}.chart-heading{align-items:flex-start;flex-direction:column}.dashboard-head{align-items:flex-start;flex-direction:column}}@media(max-width:480px){.brand small{display:none}.back{font-size:12px}.upload-row{flex-direction:column}.upload-row>*{width:100%}.metrics{grid-template-columns:1fr 1fr}.metric strong{font-size:23px}}
