:root{--pine:#173f36;--green:#256a50;--mint:#e9f2e8;--ink:#233a32;--muted:#65776e;--line:#dce4dc;--bg:#f6f7f2;--side:224px;color:var(--ink);background:var(--bg);font-synthesis:none;font-family:Inter,Microsoft YaHei,PingFang SC,Noto Sans CJK SC,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button,a,label.drop,select{touch-action:manipulation}button,a,select{cursor:pointer}button{background:0 0;border:0}a{color:inherit;text-decoration:none}button{font-weight:550}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,label:focus-within.drop{outline-offset:3px;outline:3px solid #86bda0}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.6px;font-size:clamp(27px,2.35vw,36px);font-weight:750;line-height:1.35}h2{letter-spacing:-.6px;font-size:19px}h3{font-size:16px;line-height:1.6}svg{flex-shrink:0}.skip{z-index:15;background:#fff;padding:12px;position:fixed;top:4px;left:-900px}.skip:focus{left:4px}.sidebar{width:var(--side);background:var(--pine);color:#edf2e8;z-index:5;flex-direction:column;padding:31px 17px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;margin:0 9px;display:flex}.brand img{width:42px;height:42px}.brand b{letter-spacing:1px;font-size:23px;line-height:1.2;display:block}.brand small{letter-spacing:1.9px;color:#bdd2ba;margin-top:4px;font-size:9px;font-weight:700;display:block}.side-label{color:#a8c2b5;letter-spacing:1.6px;margin:53px 15px 12px;font-size:11px}.sidebar nav{gap:6px;display:grid}.sidebar nav a{color:#c9dace;border-radius:8px;align-items:center;gap:13px;padding:13px 15px;font-size:14px;font-weight:550;display:flex}.sidebar nav a:hover,.account-link:hover{background:#245046}.sidebar nav a.active{color:#214b3b;background:#d9eabf;font-weight:750}.sidebar nav a i{color:#d9e4d9;background:#375c50;border-radius:8px;margin-left:auto;padding:1px 7px;font-size:11px;font-style:normal}.sidebar nav a.active i{color:#254b35;background:#c2d9aa}.side-bottom{margin-top:auto}.subject,.account-link{align-items:center;gap:11px;display:flex}.subject{background:#214c40;border:1px solid #3d6254;border-radius:10px;margin-bottom:19px;padding:13px 12px}.subject-icon,.head-icon,.avatar,.student-avatar,.paper-icon,.stat i,.empty>span{flex-shrink:0;place-items:center;display:inline-grid}.subject-icon{color:#3a7151;background:#e6efdc;border-radius:10px;width:36px;height:36px}.subject .subject-icon{color:#c9dfa2;background:#375d46}.subject b,.account-link b{text-align:left;font-size:13px;display:block}.subject small,.account-link small{color:#c1d3c5;margin-top:4px;font-size:11px;display:block}.account-link{color:#edf2e8;border-top:1px solid #416253;width:100%;padding:16px 3px 0}.avatar{color:#503e24;background:#dcc590;border-radius:50%;width:33px;height:33px;font-size:12px}.account-link>svg{margin-left:auto}.app-body{margin-left:var(--side);min-height:100vh}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:10px;height:69px;padding:0 clamp(20px,3vw,44px);display:flex}.crumb,.student-switch,.head-actions,.primary,.secondary,.text-btn,.hero-cta,.filters,.search,.period,.hero-type,.panel-title,.info-line,.student-note{align-items:center;display:flex}.crumb{color:var(--muted);gap:12px;font-size:13px}.crumb>svg{color:#718778}.crumb em{color:#b8c3ba;font-style:normal}.crumb strong{color:var(--ink);font-weight:600}.student-switch{gap:9px}.student-avatar{color:#765c37;background:#f0e5cf;border-radius:50%;width:34px;height:34px;font-size:14px;font-weight:700}.student-switch label small{color:var(--muted);font-size:10px;display:block}.student-switch select{background:0 0;border:0;padding:0;font-size:13px;font-weight:650}.sample-marker{color:#60755d;border:1px solid #d5dfcf;border-radius:4px;padding:1px 5px;font-size:10px}.mobile-toggle,.scrim{display:none!important}main{outline:none;max-width:1510px;margin:0 auto;padding:29px clamp(20px,3vw,44px) 40px}.heading-row,.panel-head,.stat-top,.mistake-top,.file-line,.result-pick,.student-note,.linked-students{align-items:center;gap:12px;display:flex}.heading-row,.panel-head,.stat-top{justify-content:space-between}.heading-row{margin-bottom:23px}.subtitle{color:var(--muted);margin-top:7px;font-size:13px;line-height:1.65}.head-actions,.filters{gap:10px}.primary,.secondary,.hero-cta{border-radius:7px;justify-content:center;gap:9px;min-height:40px;padding:10px 16px;font-size:13px}.primary{color:#fff;background:#236047;box-shadow:0 1px 2px #153e351f}.primary:hover{background:#174f39}.secondary,.period{background:#fff;border:1px solid #ced9ce}.secondary:hover,.period:hover{background:#f3f8f0}.period{color:#58695f;border-radius:7px;gap:4px;height:40px;padding:0 9px}.period select{background:0 0;border:0;padding:3px;font-size:12px}.text-btn{color:var(--green);gap:4px;padding:6px 0;font-size:12px}.text-btn:hover{text-decoration:underline}.icon-btn{width:34px;height:34px;color:var(--muted);border-radius:7px;place-items:center;display:inline-grid}.icon-btn:hover{background:#eff3ed}.hero{isolation:isolate;color:#fff;background:#275b4b url(/valley.webp) 50% 53%/cover no-repeat;border-radius:15px;align-items:center;min-height:204px;display:flex;position:relative;overflow:hidden}.hero:before{content:"";z-index:-1;background:linear-gradient(90deg,#103126f7 0%,#133428e6 24%,#163b2a94 43%,#15392a0d 72%);position:absolute;inset:0}.hero-content{max-width:72%;padding:21px 30px}.hero-type{color:#e1efc4;gap:6px;font-size:11px;font-weight:600}.hero h2{letter-spacing:1px;color:#fff9dd;margin:7px 0 4px;font-size:30px;line-height:1.4}.hero p{color:#f0f6e9;font-size:13px;line-height:1.65}.hero-cta{color:#254732;background:#e4efb9;min-height:32px;margin-top:16px;padding:7px 12px;font-size:12px}.hero-cta:hover{background:#f0f8cd}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0;display:grid}.stat,.panel{border:1px solid var(--line);background:#fff;border-radius:12px;box-shadow:0 2px 6px #243e3005}.stat{padding:15px 19px 14px}.stat-top{color:var(--muted);font-size:12px;font-weight:550}.stat i{border-radius:9px;width:30px;height:30px}.tint-松石{color:#437a5f;background:#e2efe5}.tint-蓝{color:#547ba9;background:#e7eef8}.tint-金{color:#9a792e;background:#f8edcf}.tint-紫{color:#806699;background:#ede8f6}.stat-number{letter-spacing:-1.6px;margin-top:8px;font-family:Inter,Arial,sans-serif;font-size:32px;font-weight:650;line-height:1.2}.stat-number small{color:var(--muted);letter-spacing:0;margin-left:6px;font:12px Microsoft YaHei,sans-serif}.dashboard-grid,.report-layout{grid-template-columns:1.16fr 1fr;gap:16px;display:grid}.panel{min-width:0;padding:20px}.panel-head{min-height:30px;margin-bottom:15px}.panel-title{gap:8px}.panel-title>svg,.head-icon{color:#42765a}.head-icon{background:#eef4eb;border-radius:7px;width:26px;height:26px}.panel h2 small{color:var(--muted);margin-left:6px;font-family:Arial,sans-serif;font-size:13px}.legend{color:var(--muted);flex-wrap:wrap;gap:12px;margin:12px 0 18px;font-size:10px;display:flex}.legend span{align-items:center;gap:5px;display:flex}.dot{border-radius:50%;width:7px;height:7px}.dot.good,.bar-track .CORRECT{background:#70a98b}.dot.amber,.bar-track .PARTIAL{background:#edbc64}.dot.coral,.bar-track .WRONG{background:#d58975}.dot.gray,.bar-track .BLANK,.bar-track .UNCERTAIN{background:#ccd6d0}.bars{gap:13px;display:grid}.bar-row{grid-template-columns:minmax(75px,1fr) 2.2fr 26px;align-items:center;gap:10px;font-size:12px;display:grid}.bar-row small{color:var(--muted);text-align:right;font-size:10px}.bar-track{background:#edf2eb;border-radius:5px;height:9px;display:flex;overflow:hidden}.recent>button{text-align:left;border-top:1px solid #edf0ea;align-items:center;gap:10px;width:100%;padding:12px 0;display:flex}.recent>button:first-child{border:0;padding-top:4px}.recent>button:hover b,.row-title:hover{color:var(--green);text-decoration:underline}.paper-icon{color:#5a8069;background:#eef3ec;border-radius:8px;width:34px;height:38px}.paper-copy{flex:1;min-width:0}.paper-copy b{white-space:nowrap;text-overflow:ellipsis;font-size:13px;display:block;overflow:hidden}.paper-copy small,.quest-list small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.faded{color:#a8b7ab}.spaced{margin-top:18px}input,select{background:#fff;border:1px solid #ccd8cd;border-radius:7px;max-width:100%;padding:9px 11px;font-size:13px}.filters{flex-wrap:wrap}.search{color:#688172;border:1px solid #ccd8cd;border-radius:7px;padding-left:9px}.search input{border:0;max-width:145px}.wrap{flex-wrap:wrap}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}th{color:var(--muted);background:#f5f7f3;font-size:11px;font-weight:600}th,td{padding:12px 9px}td{border-bottom:1px solid #e6ece5;font-size:12px}.row-title{text-align:left;align-items:center;gap:10px;padding:0;font-size:13px;display:flex}.num{font-variant-numeric:tabular-nums}.pill,.topic-tag{white-space:nowrap;color:#5e7564;background:#ecf1ec;border-radius:5px;padding:4px 8px;font-size:11px;font-weight:600;line-height:1.35;display:inline-block}.pill.READY,.pill.CORRECT{color:#356747;background:#e5f1e7}.pill.WRONG,.pill.FAILED{color:#a04736;background:#fae9e5}.pill.PARTIAL,.pill.WAITING{color:#865e19;background:#fff0cc}.pill.PROCESSING,.pill.QUEUED{color:#4d7395;background:#e6eff8}.topic-tag{color:#537345;background:#edf2e6}.back{margin-bottom:10px}.report-title{font-size:26px}.status-note,.info-line,.student-note{background:#f0f5eb;border-radius:8px;padding:12px 14px;font-size:13px}.status-note{align-items:center;gap:12px;margin-bottom:16px;display:flex}.status-note p{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.6}.report-layout{align-items:start}.result-list{gap:5px;margin:12px 0;display:grid}.result-pick{text-align:left;border:1px solid #e5ebe3;border-radius:7px;justify-content:space-between;padding:10px 9px;font-size:12px}.result-pick.picked{background:#f0f6e9;border-color:#9eb79c}.question-tag{color:var(--muted);font-size:11px}.result-list b{flex:1}.answer{border-top:1px solid var(--line);margin-top:18px;padding-top:15px}.answer h3{font-size:15px;font-weight:650}.answer dl{font-size:13px;line-height:1.75}.answer dt{color:var(--muted);margin-top:9px;font-size:11px}.answer dd{overflow-wrap:anywhere;margin:2px 0 0}.page-select{width:100%;margin:0 0 12px}.scan{border:1px solid var(--line);border-radius:5px;width:100%;padding:0;line-height:0;display:block;position:relative;overflow:hidden}.scan img{width:100%;display:block}.scan i{pointer-events:none;background:#ffcf5420;border:2px solid #c18c36;position:absolute}.scan.large{border:0}.empty{text-align:center;flex-direction:column;align-items:center;gap:9px;padding:30px 10px;display:flex}.empty>span{color:#67886b;background:#edf4e9;border-radius:14px;width:48px;height:48px}.empty strong{font-size:14px}.empty p,.fine,.muted{color:var(--muted);font-size:12px;line-height:1.7}.mistake-list{gap:10px;display:grid}.mistake-list>button,.topic-grid>button{border:1px solid var(--line);text-align:left;background:#fdfefd;border-radius:9px;padding:15px}.mistake-list>button:hover,.topic-grid>button:hover{border-color:#96b294}.mistake-top{gap:6px}.mistake-list h3,.topic-grid h3{margin:10px 0 5px}.mistake-list p,.topic-grid p{color:var(--muted);font-size:12px;line-height:1.65}.goto{color:var(--green);justify-content:flex-end;align-items:center;gap:5px;font-size:12px;display:flex}.topic-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.topic-grid .text-btn{margin-top:10px}.quest-list{grid-template-columns:repeat(2,1fr);gap:9px;display:grid}.quest-list button{text-align:left;border:1px solid var(--line);border-radius:9px;align-items:center;gap:10px;padding:12px;display:flex}.quest-list b{font-size:14px}.quest-list svg:last-child{margin-left:auto}.steps{padding-left:24px;font-size:14px;line-height:2.1}.steps li::marker{color:var(--green);font-weight:700}.dialog-open{overflow:hidden}.overlay{z-index:15;background:#10291f69;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.dialog{background:#fff;border-radius:15px;outline:none;width:min(100%,480px);max-height:90dvh;overflow:auto;box-shadow:0 20px 60px #10291f33}.dialog.wide{width:min(100%,820px)}.dialog>header{border-bottom:1px solid var(--line);z-index:2;background:#fff;justify-content:space-between;align-items:center;padding:17px 22px;display:flex;position:sticky;top:0}.dialog>header h2{font-size:20px}.form-body,.modal-body{gap:15px;padding:20px 22px;display:grid}.form-body label:not(.drop),.modal-body label{gap:6px;font-size:13px;font-weight:600;display:grid}.form-row{grid-template-columns:2fr 1fr;gap:10px;display:grid}.form-row>*{min-width:0}.full{width:100%}.seg{background:#f0f4ee;border-radius:7px;gap:4px;padding:3px;display:flex}.seg button{color:#53695c;border-radius:5px;flex:1;padding:8px;font-size:13px}.seg .on{color:#20533d;background:#fff;box-shadow:0 1px 4px #223d2f22}.student-note{color:#345b41;gap:8px}.student-note span{margin-left:auto;font-size:12px}.info-line{color:#596f5e;align-items:flex-start;gap:8px;font-size:12px;line-height:1.6}.info-line svg{margin-top:2px}fieldset{border:0;min-width:0;margin:0;padding:0}legend{margin-bottom:7px;font-size:13px;font-weight:650}.drop{color:#456f50;background:#f6f9f3;border:1px dashed #a1b79f;border-radius:9px;justify-items:center;gap:6px;padding:18px 8px;display:grid;position:relative}.drop small{color:var(--muted);font-size:11px}.drop b{font-size:13px}.drop input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.drop.over{background:#e2efd8}.file-line{border-bottom:1px solid #edf0eb;gap:3px;padding:5px 0;font-size:12px}.file-line span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.tiny{width:28px;height:28px}.tiny svg{width:15px}.error{color:#9c3c2d;background:#fcefe9;border-radius:6px;padding:10px;font-size:13px}.modal-body p{font-size:13px;line-height:1.75}.modal-body form{gap:12px;display:grid}.linked-students{flex-wrap:wrap}.logout{border-top:1px solid var(--line);padding:12px 0 0}.toast{z-index:20;color:#fff;background:#193d32;border-radius:9px;max-width:90vw;padding:12px 20px;font-size:13px;position:fixed;bottom:25px;left:50%;transform:translate(-50%)}@media (width>=1600px){:root{--side:242px}.hero{min-height:240px}.stat{padding:20px 22px}.dashboard-grid .panel{padding:25px}}@media (width<=1100px){:root{--side:190px}.sidebar{padding-left:12px;padding-right:12px}.panel{padding:16px}.stat{padding:12px}.hero{min-height:185px}.hero-content{max-width:80%}.dashboard-grid{grid-template-columns:1.1fr 1fr}.topic-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=780px){.mobile-toggle{display:inline-grid!important}.sidebar{width:224px;transition:transform .2s;transform:translate(-100%)}.sidebar.mobileopen{transform:translate(0)}.scrim{z-index:4;background:#193b304d;position:fixed;inset:0;display:block!important}.app-body{margin-left:0}.topbar{height:60px;padding:0 15px}.crumb{gap:8px}.crumb>svg{display:none}main{padding:22px 16px 35px}.hero-content{padding:20px 22px}.stats{gap:8px}.dashboard-grid,.report-layout{grid-template-columns:1fr}.report-layout .panel{width:100%}.heading-row{gap:10px}.hero h2{font-size:25px}.report-title{font-size:22px}}@media (width<=530px){.heading-row{flex-wrap:wrap;align-items:flex-start;margin-bottom:16px}.head-actions{justify-content:space-between;width:100%}.heading-row h1{font-size:27px}.subtitle{margin-top:3px;font-size:12px}.hero{background-position:62%;min-height:175px}.hero-content{max-width:95%}.hero:before{background:linear-gradient(90deg,#163d32f0,#163d32aa 55%,#163d3230)}.hero p{font-size:12px}.hero h2{font-size:24px}.stats{grid-template-columns:repeat(2,1fr);margin:10px 0}.stat-top{font-size:11px}.stat-number{margin-top:3px;font-size:26px}.stat i{width:25px;height:25px}.panel h2{font-size:17px}.quest-list,.topic-grid{grid-template-columns:1fr}.student-switch{gap:4px}.student-avatar{width:29px;height:29px}.crumb>span,.crumb em{display:none}.filters{gap:6px}.filters input{max-width:124px}.form-body,.modal-body{padding:16px}.dialog>header{padding:12px 16px}.goto{margin-top:6px}.status-note{flex-wrap:wrap}.period,.primary,.secondary{min-height:36px}.report-layout .panel-head{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media (width<=780px){.sidebar:not(.mobileopen){visibility:hidden}.sidebar.mobileopen{visibility:visible}}.form-body label.remember-device{cursor:pointer;align-items:center;gap:8px;font-weight:400;display:flex}.remember-device input{accent-color:var(--green);margin:0}.review-actions{flex-wrap:wrap;gap:8px}.review-payload{box-sizing:border-box;resize:vertical;border:1px solid var(--line);width:100%;color:inherit;border-radius:7px;padding:10px;font:14px/1.5 monospace}.result-entry{align-items:stretch;gap:4px;display:flex}.result-pick{flex:1;min-width:0}.result-pick b{overflow-wrap:anywhere}.result-pick small{color:var(--muted);font-size:11px}.review-link{color:#285c43;padding:6px;font-size:13px}.question-review{border:1px solid var(--line);background:#f6f9f4;border-radius:8px;gap:9px;margin-top:4px;padding:12px;font-size:13px;display:grid}.question-review p{overflow-wrap:anywhere;margin:0}.question-review label{gap:4px;display:grid}.question-review textarea{font:inherit;resize:vertical}.score-fields{grid-template-columns:1fr 1fr;gap:8px;display:grid}.score-fields input{width:100%;min-width:0}.review-buttons{gap:8px;display:flex}.device-panel{margin:8px 0 16px}.device-panel>div{background:#f4f8f1;border-radius:8px;gap:8px;padding:12px;display:grid}.pair-code{letter-spacing:.12em;font-variant-numeric:tabular-nums;font-size:1.35em}.gate{background:#f1f6f2;place-items:center;min-height:100vh;padding:24px;display:grid}.gate-panel{width:min(100%,400px);padding:32px}.gate-panel h1{margin:12px 0}.gate-panel .form-body{padding:0}.staff-work{max-width:1100px;margin:auto;padding:24px}.staff-work .panel{margin:18px 0;padding:22px}.staff-work .form-body{max-width:650px;padding:0}.staff-work .filters{align-items:end;margin:12px 0}.staff-work .filters label,.staff-work .form-body label{gap:4px;display:grid}.staff-work .result-list button{width:100%}.staff-work .notice{background:#edf7ee;padding:12px}.staff-work code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.subject-trigger{color:#f2f6ef;text-align:left}.sidebar .subject-trigger{width:100%}.subject-trigger>svg{margin-left:auto}.staff-work .subject-trigger{margin-bottom:0}.subject-trigger:hover{background:#2b594a}.subject-catalog h3{margin:0 0 8px}.subject-catalog p{margin:0 0 20px;font-weight:600}.subject-catalog ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.subject-catalog li{background:#f1f5ef;border-radius:8px;padding:8px 12px}.subject-catalog ul+h3{margin-top:18px}.subject-catalog li:has(b){flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.subject-catalog li small{color:var(--muted)}
