:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#17382b;background:#f4f7f4;--green:#137750;--line:#dfe8e0}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}
.container{width:min(1320px,calc(100% - 64px));margin-inline:auto}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-row{display:flex;align-items:center;justify-content:space-between;min-height:75px;gap:16px}
.site-brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:750}.site-brand img{border-radius:12px}.site-brand small{margin-left:10px;font-size:13px;color:#577464;font-weight:550}
main{padding-block:50px 20px;min-height:calc(100vh - 148px)}.kicker{color:#356b53;font-size:13px;font-weight:680;letter-spacing:1px;margin:0 0 10px}
h1{font-size:clamp(34px,5vw,54px);line-height:1.15;letter-spacing:-.025em;margin:12px 0 16px}h2{margin:0 0 14px;font-size:24px}h3{margin:24px 0 12px;font-size:16px}
p{margin:0 0 14px;color:#466656;line-height:1.75}.muted{color:#557363;font-size:13px}
.login-shell{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);align-items:center;gap:56px;padding:48px 0}.login-lead>p:last-child{font-size:17px;max-width:490px}
.card{background:#fff;padding:24px;border:1px solid var(--line);border-radius:16px;box-shadow:0 14px 38px #18372508}.login-card{padding:32px}.login-card .primary{width:100%;margin:9px 0 12px}.login-card p:last-child{margin-bottom:0}
button,input,select{border:1px solid #ccdacf;border-radius:9px;background:#fff;color:inherit;padding:10px 13px}button{cursor:pointer;line-height:1.3}button:hover{background:#edf6ee}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #3a966d;outline-offset:2px}.primary{background:var(--green);border-color:var(--green);color:#fff;font-weight:650;min-height:42px}.primary:hover{background:#0e6241}
.page-title h1{font-size:clamp(30px,4vw,43px)}.query-card{display:grid;grid-template-columns:minmax(220px,2fr) minmax(105px,1fr) minmax(125px,1fr) auto;gap:16px;align-items:end;margin:22px 0}
.field{display:grid;gap:8px;min-width:0;font-size:13px;font-weight:640}.field input,.field select{width:100%;min-width:0;font-weight:400;font-size:14px;height:42px}.result-card{margin-top:18px}.answer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:12px;margin:0}.answer-list div{background:#f3f8f3;border-radius:9px;padding:12px}.answer-list dt{color:#527261;font-size:12px}.answer-list dd{margin:5px 0 0;overflow-wrap:anywhere}.report-unavailable{margin:20px 0 0}
.status{margin:10px 0 18px;border:1px solid #c2dfcd;border-radius:10px;background:#e9f4ed;padding:14px 16px}.status.error{border-color:#e8c7bb;background:#fff1ec;color:#8b483a}.site-footer{border-top:1px solid var(--line);padding:20px 0;color:#557363;font-size:12px}
.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.toolbar{justify-content:flex-start;margin:0 0 18px}.toolbar .check{display:flex;align-items:center;gap:6px;font-size:13px}.web-report-chart{max-height:300px;width:100%}.table-scroll{overflow:auto;max-height:420px}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}td,th{padding:10px;text-align:left;border-bottom:1px solid var(--line)}th{position:sticky;top:0;background:#ecf3ed}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.metric{padding:12px;background:#edf5ee;border-radius:9px}.metric strong{display:block;margin-top:7px;font-size:22px}.report-prose{white-space:pre-wrap}.web-diagnosis{border-top:1px solid var(--line);margin-top:16px}.hint{background:#edf7ef;padding:10px;border-radius:8px}.warn{background:#fff3e6}.inline-select{width:auto}.web-report-section{margin:26px 0 14px}
@media(max-width:800px){.query-card{grid-template-columns:1fr 1fr}.login-shell{gap:24px}.container{width:calc(100% - 36px)}}@media(max-width:560px){main{padding-top:28px}.query-card,.login-shell{grid-template-columns:1fr}.login-shell{padding:8px 0}.site-brand small{margin-left:4px}.card,.login-card{padding:18px}.metrics{grid-template-columns:1fr}}

.teacher-report{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.teacher-report-header{position:sticky;top:0;z-index:2;margin-bottom:16px;padding:14px 0 10px;background:#fff;border-bottom:1px solid var(--line)}
.teacher-report-header h2{margin-bottom:8px}.teacher-report-header nav{display:flex;flex-wrap:wrap;gap:5px 18px}
.teacher-report-header a{color:var(--green);font-size:13px;padding:4px 0;text-underline-offset:4px}
.teacher-report .card{margin-bottom:18px;padding:20px;box-shadow:none}.teacher-report .web-report-section{scroll-margin-top:105px}
.report-control-buttons{display:flex;flex-wrap:wrap;gap:5px}.report-control-buttons button.active{background:#edf5ee;color:#0d6c47;border-color:#8ab99b}
@media(max-width:560px){.teacher-report .card{padding:14px}.teacher-report-header h2{font-size:18px}.teacher-report .web-report-section{scroll-margin-top:138px}}
