@charset "UTF-8";
:root{--bg:#f4f6ef;--card:#fffefa;--text:#243c35;--muted:#687b71;--green:#275b49;--green-light:#e5efdf;--line:#dce3d7;--gold:#ac7b34;--red:#a1463b;--radius:18px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.75 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.58}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9bb980;outline-offset:3px}a{color:var(--green);text-underline-offset:3px}button{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:38px;font-weight:650;letter-spacing:-1.3px;line-height:1.35;margin-bottom:12px}h2{font-size:20px;line-height:1.5;margin-bottom:12px;font-weight:600}h3{font-size:17px;margin:24px 0 12px}p{color:var(--muted);margin-bottom:14px}small,.small{font-size:12px;color:var(--muted);line-height:1.8}.header{height:96px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:36px;padding:0 max(24px,calc((100vw - 1240px)/2));background:var(--card)}.brand{border:0;background:none;display:flex;align-items:center;gap:12px;color:var(--text);text-align:left;font-size:19px;font-weight:600;white-space:nowrap;padding:0}.brand small{font-size:9px;letter-spacing:1.7px;display:block}.brand-icon{width:46px;height:46px;display:grid;place-items:center;background:var(--green);color:#f2f5e9;border-radius:14px;font-size:17px;letter-spacing:-.8px}.header nav{display:flex;gap:10px}.header nav button{border:0;background:none;padding:10px 12px;font-size:13px;border-radius:8px;white-space:nowrap}.header nav button:hover{background:var(--green-light)}.save-state{margin-left:auto;font-size:11px;color:var(--muted);white-space:nowrap}.save-state:before{content:"";display:inline-block;width:6px;height:6px;background:#83a06e;border-radius:50%;margin-right:7px}main{max-width:1240px;margin:0 auto;padding:46px 24px 60px;min-height:calc(100vh - 180px)}.eyebrow{display:block;color:#72876e;font-size:10px;letter-spacing:1.6px;font-weight:650;line-height:1.8;margin-bottom:9px}.page-heading{margin-bottom:32px}.page-heading>p{font-size:14px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:1px solid var(--green);background:var(--green);color:white;border-radius:10px;padding:10px 20px;text-decoration:none;font-size:13px;font-weight:550}.button:hover{filter:brightness(.95)}.button.secondary{background:transparent;color:var(--green);border-color:#cad7c4}.full{width:100%}.link-button{border:0;background:none;color:var(--green);padding:8px 0;font-size:13px;text-align:left}.mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.mode-card{padding:27px 23px;position:relative;overflow:hidden;display:flex;flex-direction:column}.mode-number{position:absolute;top:10px;right:18px;font:65px/1.2 Georgia,serif;color:#eff0e8;pointer-events:none}.mode-card>.eyebrow,.mode-card>h2{position:relative}.mode-card .eyebrow{margin-top:22px}.mode-card h2{font-size:18px;min-height:54px}.mode-card p{font-size:13px;min-height:68px;line-height:1.9}.mode-rule{font-size:11px;color:var(--muted);margin:0 0 22px}.mode-card .button{margin-top:auto}.recommended{border-color:#9fb58e;background:#f4f7ec}.recommended .mode-number{color:#e5ebda}.dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{padding:22px 26px}.stat>span{font-size:12px;color:var(--muted)}.stat>strong{display:block;font-size:30px;line-height:1.4;font-weight:600;margin:10px 0}.stat small{font-weight:400;font-size:12px;margin-left:8px}.stat p{font-size:11px;margin:0}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:24px}.info{padding:28px 30px}.info h2{font-size:17px;margin-bottom:16px}.info p{font-size:13px;line-height:2}.info p.small{font-size:11px}.resume{display:flex;justify-content:space-between;align-items:center;padding:24px 30px;margin-bottom:24px;background:var(--green-light);gap:20px}.resume h2{font-size:18px;margin-bottom:5px}.resume p{font-size:12px;margin:0}.resume .button{white-space:nowrap}.notice{padding:16px 20px;border-radius:10px;background:#edf1e5;font-size:13px;margin:16px 0 22px;color:var(--green)}.storage-warning{padding:12px 24px;background:#fff0d3;color:#794f0f;font-size:13px;border-bottom:1px solid #d6b574}.modal-backdrop{position:fixed;inset:0;background:#203e34a6;display:grid;place-items:center;padding:24px;z-index:10;overflow-y:auto}.modal{position:relative;width:min(100%,520px);max-height:calc(100dvh - 48px);overflow-y:auto;background:var(--card);border:1px solid var(--line);padding:35px;border-radius:22px;box-shadow:0 25px 90px #18352a33}.modal h2{font-size:23px}.modal p{font-size:13px}.modal .close{position:absolute;top:14px;right:16px;border:0;background:none;font-size:24px;color:var(--muted);width:32px;height:32px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.field-label{display:block;font-size:13px;color:var(--muted);margin:20px 0 10px}select{display:block;width:100%;margin:8px 0 12px;padding:10px 12px;background:#fffefa;border:1px solid #ccd8c6;border-radius:8px;color:var(--text)}.exam-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 30px;margin-bottom:24px}.exam-top h1{font-size:23px;margin:0}.exam-top .eyebrow{margin:0 0 3px}.timer{text-align:center;margin-left:auto;margin-right:15px}.timer>span{display:block;font-size:10px;color:var(--muted)}.timer>strong{font:30px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums;font-weight:500}.urgent{color:var(--red)}.exam-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:24px;align-items:start}.question{padding:30px 34px}.question-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:16px;margin-bottom:20px;border-bottom:1px solid var(--line)}.question-heading h2{font-size:23px;margin:0}.question-heading h2 small{font-size:14px;font-weight:400}.question-heading .eyebrow{font-size:10px;margin-bottom:4px}.flag{background:transparent;border:1px solid #dae0d2;padding:7px 10px;border-radius:8px;font-size:11px;white-space:nowrap}.flag.active{background:#fbf0d8;color:#8a662d;border-color:#d8bb80}.prompt{color:var(--text);font-size:16px;line-height:2;margin:12px 0 18px;overflow-wrap:anywhere}.question>ol,.review>ol{padding-left:24px;line-height:1.95}.question>ol:empty{display:none}.question>ol li,.review>ol li{padding-left:5px;margin:8px 0}.options{display:grid;gap:12px;margin:24px 0}.option{width:100%;display:flex;align-items:center;gap:16px;border:1px solid #dce2d4;background:transparent;padding:16px 18px;text-align:left;border-radius:12px;color:var(--text);font-size:14px;line-height:1.8}.option>span{display:grid;place-items:center;border:1px solid #d1daca;border-radius:50%;width:29px;height:29px;font-size:12px;flex-shrink:0}.option>div{overflow-wrap:anywhere}.option:hover:not(:disabled){background:#f4f6ee}.option.selected{background:#e7efdf;border-color:#80a575}.option.selected>span{background:var(--green);color:white;border-color:var(--green)}.option.correct{background:#e8f0df;border-color:#7b9c6d;opacity:1}.option.incorrect{background:#f8e9e3;border-color:#b77a65;opacity:1}.option:disabled{opacity:.9}.response{display:block;width:100%;min-height:280px;resize:vertical;border:1px solid #d1dbca;border-radius:12px;background:#fffef9;color:var(--text);padding:16px;font-size:15px;line-height:1.95;tab-size:4}.response:read-only{background:#f5f5ed;border-style:dashed}.code-response,.code{font:13px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace}.code{background:#f1f4eb;color:#294737;padding:20px;border:1px solid #dde4d4;border-radius:12px;overflow-x:auto;white-space:pre;tab-size:4;max-width:100%}.seen-check{font-size:11px;color:var(--muted);margin-top:22px;display:flex;align-items:center;gap:8px}.seen-check input{accent-color:var(--green);width:15px;height:15px}.question-nav{display:flex;align-items:center;justify-content:space-between;margin:20px 0 0;font-size:12px;color:var(--muted);gap:12px}.answer-sheet{padding:22px;position:sticky;top:20px}.answer-sheet h2{font-size:14px;margin:0 0 16px}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.row>span{font-size:11px;color:var(--muted)}.sheet-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.sheet-cell{position:relative;aspect-ratio:1;border-radius:7px;border:1px solid #d7dfcf;background:transparent;display:grid;place-items:center;padding:0;font-size:12px;color:var(--muted)}.sheet-cell.answered{background:#dce8cf;border-color:#b4c6a4;color:#2d513a}.sheet-cell.current{outline:2px solid #447554;outline-offset:2px;color:#1f4733}.sheet-cell.marked:after{content:"";position:absolute;top:3px;right:3px;background:#b48232;border-radius:50%;width:5px;height:5px}.sheet-cell.wrong-cell{background:#f4e2da;color:#965a49;border-color:#dec0b4}.sheet-legend{display:flex;gap:10px;font-size:10px;color:var(--muted);margin-top:16px}.answer-sheet>p{font-size:11px;line-height:1.9;margin:18px 0 0}.report-overview{display:flex;align-items:center;gap:40px;padding:25px 30px;margin-bottom:16px}.report-overview>div>span{font-size:11px;color:var(--muted)}.report-overview strong{display:block;font-size:30px;font-weight:600;line-height:1.4}.report-overview strong small{font-size:12px;font-weight:400;margin-left:6px}.report-overview p{font-size:11px;margin:0}.report-overview .button{margin-left:auto}.report-note{margin:12px 0 16px}.conduct{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin:0 0 22px}.conduct select{width:auto;font-size:12px;margin:0;max-width:100%}.pill{display:inline-block;padding:4px 10px;border-radius:20px;background:#edf1e5;color:#627451;font-size:10px;white-space:nowrap}.review{margin-top:30px;border-top:1px solid var(--line);padding-top:24px}.source{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:11px}.source a{font-size:11px}.review p{font-size:14px;line-height:1.95}.review>ol{font-size:14px}.review p.small{font-size:11px}.review-note{min-height:180px}.grade-label{font-size:13px;display:block;max-width:220px;margin-top:22px}.grade-label select{font-size:13px}table{border-collapse:collapse;font-size:12px;width:100%;margin:16px 0}td,th{padding:10px 12px;text-align:left;border:1px solid var(--line);overflow-wrap:anywhere}th{background:#f0f3e8;font-weight:500}.history-modal{max-width:750px;width:100%}.version{border-top:1px solid var(--line);padding:18px 0}.version b{font-size:11px;color:var(--muted)}.version pre,.frozen{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;margin:12px 0}.record-list{display:grid;gap:14px}.record{padding:24px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px}.record h2{font-size:18px;margin-bottom:5px}.record p{font-size:12px;margin:0}.record small{font-size:9px}.record .button{white-space:nowrap}.record .eyebrow{font-size:9px;letter-spacing:.5px}.empty{padding:50px;text-align:center;color:var(--muted)}.storage-grid{display:grid;grid-template-columns:repeat(3,1fr);margin:22px 0;border:1px solid var(--line);border-radius:12px}.storage-grid>div{padding:18px 20px}.storage-grid b{display:block;font-size:22px;font-weight:500}.storage-grid span{font-size:11px;color:var(--muted)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 18px}.info+.two-column{margin-top:24px}.paper-grades{display:flex;gap:30px;flex-wrap:wrap}.paper-grades .grade-label{flex:1;min-width:150px;margin-top:0}footer{max-width:1240px;margin:0 auto;padding:0 24px 28px;display:flex;justify-content:space-between;gap:16px;font-size:11px;color:var(--muted)}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);z-index:20;max-width:calc(100vw - 32px);padding:12px 22px;background:#244a3e;color:white;border-radius:12px;font-size:12px;opacity:0;pointer-events:none;transition:.2s}#toast.show{transform:translate(-50%,0);opacity:1}.loading{text-align:center;padding:80px 0}
@media(min-width:1400px){main{padding-top:58px}}
@media(max-width:1080px){.header{gap:18px;padding:0 24px}.header nav{gap:0}.header nav button{padding:9px}.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-card h2{min-height:0}.mode-card p{min-height:0;margin-bottom:20px}.mode-card .eyebrow{margin-top:15px}.mode-card{padding:24px}.mode-rule{margin-bottom:20px}.exam-grid{grid-template-columns:minmax(0,1fr) 190px;gap:18px}.question{padding:26px}.answer-sheet{padding:18px}.sheet-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.report-overview{gap:25px;flex-wrap:wrap}}
@media(max-width:720px){body{font-size:14px}.header{height:auto;min-height:95px;flex-wrap:wrap;padding:14px 20px 10px;gap:8px 20px}.brand{font-size:17px}.brand-icon{width:39px;height:39px;font-size:15px;border-radius:11px}.brand small{font-size:8px;letter-spacing:1px}.header nav{order:3;width:100%;justify-content:center;border-top:1px solid #e6e9df;margin-top:5px;padding-top:3px}.header nav button{padding:7px 16px;font-size:12px}.save-state{font-size:9px}.save-state:before{width:5px;height:5px;margin-right:4px}main{padding:28px 18px 40px}h1{font-size:28px;letter-spacing:-.7px}.page-heading{margin-bottom:24px}.page-heading>p{font-size:12px;line-height:1.9}.eyebrow{font-size:9px}.mode-grid{gap:12px;margin-bottom:16px}.mode-card{padding:20px 17px}.mode-card h2{font-size:16px;line-height:1.6;min-height:51px;margin-bottom:10px}.mode-card p{font-size:11px;line-height:1.9;min-height:63px;margin-bottom:15px}.mode-number{font-size:50px;right:10px}.mode-rule{font-size:9px;line-height:1.8;min-height:32px;margin-bottom:16px}.mode-card .button{font-size:11px;padding:9px 10px}.dashboard{gap:10px;margin-bottom:16px}.stat{padding:15px 12px}.stat>span{font-size:10px}.stat>strong{font-size:24px;margin:10px 0}.stat small{display:block;font-size:9px;margin:3px 0 0;min-height:17px}.stat p{font-size:9px;line-height:1.7}.two-column{grid-template-columns:1fr;gap:16px}.info{padding:23px}.info h2{font-size:16px}.info p{font-size:12px}.resume{padding:20px;flex-direction:column;align-items:stretch;gap:15px}.resume h2{font-size:16px}.exam-top{padding:18px;gap:15px;flex-wrap:wrap;margin-bottom:18px}.exam-top h1{font-size:19px}.exam-top .eyebrow{font-size:9px;max-width:160px}.timer{margin-right:0}.timer>strong{font-size:25px}.exam-top>.button{font-size:12px;padding:9px 12px;min-height:40px}.exam-grid{grid-template-columns:minmax(0,1fr);gap:18px}.answer-sheet{position:static;order:2;padding:20px}.sheet-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}.sheet-cell{font-size:11px;border-radius:5px}.sheet-legend{margin-top:14px}.answer-sheet>p{margin-top:12px}.question{padding:22px 20px}.question-heading{align-items:flex-start;margin-bottom:18px;padding-bottom:14px}.question-heading h2{font-size:20px}.question-heading h2 small{font-size:12px}.prompt{font-size:15px;line-height:1.95}.question>ol{font-size:14px;padding-left:20px}.option{padding:13px 14px;font-size:13px;gap:12px}.option>span{width:27px;height:27px}.options{margin:20px 0;gap:10px}.response{font-size:14px;padding:13px;min-height:260px}.code-response,.code{font-size:12px;line-height:1.9}.code{padding:15px}.review p,.review>ol{font-size:13px}.review-note{min-height:180px}.question-nav>.button{min-height:42px;padding:9px 16px;font-size:12px}.question-nav>span{font-size:11px}.modal-backdrop{padding:18px}.modal{padding:28px 24px;max-height:calc(100dvh - 36px)}.modal h2{font-size:21px}.modal p{font-size:12px}.modal-actions>.button{padding:10px 16px}.report-overview{padding:22px;gap:20px 30px}.report-overview strong{font-size:26px}.report-overview>div>span{font-size:10px}.report-overview strong small{font-size:11px}.report-overview>.button{width:100%;margin:0}.conduct{display:block}.conduct select{width:100%;margin-top:7px}.record{padding:22px;flex-direction:column;align-items:flex-start;gap:16px}.record h2{font-size:16px}.record small{font-size:8px;overflow-wrap:anywhere}.record>.button{width:100%;font-size:12px}.storage-grid>div{padding:14px 10px}.storage-grid b{font-size:20px}.storage-grid span{font-size:9px}.actions>.button{font-size:12px;flex:1 1 140px;padding:10px 12px}.storage-warning{font-size:11px;padding:12px 18px}.question-heading>.pill{max-width:130px;white-space:normal;font-size:9px}footer{font-size:9px;padding:0 18px 24px;flex-wrap:wrap;gap:8px}.source{gap:7px}.paper-grades{gap:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.header,footer,.answer-sheet,.question-nav,.button,.modal-backdrop,#toast,.conduct,.seen-check{display:none!important}body{background:white;color:black}main{max-width:none;padding:0}.exam-grid,.two-column{display:block}.card{border:0;box-shadow:none}.question{padding:10px 0}.response{border:1px solid #bbb;min-height:100px}.review{break-before:auto}pre{white-space:pre-wrap!important}.report-overview{display:flex}}
