:root{font:16px/1.5 system-ui,sans-serif;color:#183132;background:#f1f5f4}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;gap:20px;padding:26px 5%;background:#123f3d;color:white}h1{font-size:28px;margin:6px 0}.eyebrow{letter-spacing:.14em;font-size:11px;color:#b5d5cb}main{padding:20px 5%;max-width:1600px;margin:auto}h2{font-size:22px}h3{font-size:17px}#app{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px}section,aside{background:white;border:1px solid #d7e3df;border-radius:14px;padding:22px}section section{margin-top:20px}label{display:block;font-size:14px;font-weight:600;margin:12px 0}input,select,textarea{display:block;width:100%;padding:10px;border:1px solid #abbfba;border-radius:7px;font:inherit;background:white;color:#183132}textarea{resize:vertical}button,.button{display:inline-block;border:0;background:#17695d;color:white;border-radius:7px;padding:10px 14px;font:600 14px system-ui;cursor:pointer;text-decoration:none;margin:4px 6px 4px 0}button:hover,.button:hover{background:#104f46}button:disabled{opacity:.5;cursor:wait}button.secondary{background:#e8f1ee;color:#214d44}input[type=checkbox]{display:inline-block;width:auto;margin-right:8px}.muted,footer{color:#627871;font-size:13px}.columns{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,1.6fr);gap:24px}.card{padding:10px 0;border-bottom:1px solid #e2ebe7;overflow-wrap:anywhere}.card img{max-width:100%;max-height:180px;display:block;margin-top:8px}.invite{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.invite label{flex:1}#message{padding:10px 0;color:#9c3d22;min-height:25px}footer{text-align:center;padding:24px}[hidden]{display:none!important}fieldset{border:1px solid #d7e3df;border-radius:8px}#account{align-self:center}#account button{background:#d8eee6;color:#123f3d}nav{margin:14px 0}#signed-out{max-width:760px;margin:40px auto;padding:40px}@media(max-width:850px){#app,.columns{grid-template-columns:1fr}header{flex-direction:column}.invite{display:block}main{padding:15px}section,aside{padding:16px}}

#exam-panel form{padding:18px 0;border-bottom:1px solid #d7e3df}#exam-panel input[type=checkbox]{width:auto}.attempt-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:start}.attempt-toolbar strong{font-size:26px;color:#17695d}#save-status{max-width:360px;font-size:14px}#question-nav{display:flex;gap:4px;flex-wrap:wrap}#question-nav button{min-width:42px;background:#edf1ef;color:#244b41}#question-nav button.answered{background:#d2e9df}#question-nav button.current{outline:3px solid #17695d}#attempt-question{padding:24px 0;min-height:250px}.exam-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:17px;line-height:1.65}.exam-option{display:flex;align-items:baseline;gap:12px;padding:12px;background:#f3f7f5;border-radius:8px;font-weight:400}.exam-option input{display:inline-block;width:auto}#attempt-question img,#exam-preview img{display:block;max-width:100%;max-height:420px;margin:14px 0}.katex{font-size:1.08em}.katex-display{overflow-x:auto;overflow-y:hidden}#submit-confirmation{border:2px solid #ad792c;padding:16px;margin:14px 0}#attempt-view{max-width:1100px;margin:auto}#exam-results .card{display:flex;align-items:center;gap:12px;flex-wrap:wrap}@media(max-width:650px){.attempt-toolbar{flex-direction:column}#question-nav button{min-width:36px;padding:8px}#attempt-question{padding:12px 0}}


.exam-text table{border-collapse:collapse;width:100%;margin:1rem 0;table-layout:auto}.exam-text td{border:1px solid #b8cdca;padding:.5rem;vertical-align:top}.exam-text img{display:block;max-width:100%;height:auto}.exam-option .exam-text{flex:1;min-width:0}.exam-text p:empty{display:none}
/* Shared visual language with the owner Question Library. */
:root{font:14px/1.6 Inter,"Segoe UI",system-ui,sans-serif;color:#2a4237;background:#f5f6f2}body{min-width:320px}header.workspace-header{background:transparent;color:#2a4939;max-width:1500px;margin:auto;padding:25px 40px;border-bottom:1px solid #dfe5db;align-items:center}.workspace-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#274a37;font-size:19px;font-weight:750;letter-spacing:-.5px}.workspace-brand small{display:block;font-size:8px;letter-spacing:1.7px;font-weight:650;color:#7d8876;margin-top:4px}.workspace-mark{position:relative;display:grid;place-content:center;width:46px;height:46px;border-radius:14px;background:#284e3d;color:#f8f3de;font-size:32px}.workspace-mark>span{position:absolute;right:6px;top:0;color:#dbb770}#account{font-size:11px;text-align:right;overflow-wrap:anywhere}#account button{font-size:11px;background:white;border:1px solid #dce3d5;color:#36513c;margin-left:12px}main{padding:26px 40px 40px;max-width:1500px}h1,h2,h3{color:#2b4d39;letter-spacing:-.5px}h2{font-size:23px}h3{font-size:17px}button,.button,a,input,select,textarea{transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease,transform 140ms ease}button,.button{border-radius:8px;background:#2c543e;font-size:12px;font-weight:650;padding:12px 17px}button:hover,.button:hover{background:#20432f}button:active:not(:disabled){transform:translateY(1px)}button.secondary{background:#eef3e8;color:#34563c;border:1px solid #dce5d5}button.secondary:hover{background:#e1ebd9}button:disabled{cursor:not-allowed}a{color:#345d42}:is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #6a956c;outline-offset:3px}input,select,textarea{border-color:#d9e2d2;background:#fcfdf9;font-size:13px;border-radius:8px;padding:11px}textarea{line-height:1.8}label{font-size:12px;color:#5a6f53}input[type=checkbox],input[type=radio]{accent-color:#315c43}input[type=checkbox]{width:17px;height:17px;vertical-align:middle}section,aside{border-color:#dfe5da;border-radius:16px}#message{margin:0;min-height:0;padding:0}#message:not(:empty){border:1px solid #e5d5ad;background:#fff6e4;color:#755622;padding:14px 18px;margin-bottom:20px;border-radius:10px}#app{grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}.workspace-welcome,.workspace-overview,.workspace-flow{grid-column:1/-1}.workspace-welcome{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;background:#e9eedf;border-color:#dce4d1;border-radius:22px;padding:40px 48px;overflow:hidden;gap:30px}.eyebrow,.section-eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:750;color:#75846a}.workspace-welcome h1{font-size:clamp(32px,3.4vw,48px);line-height:1.13;letter-spacing:-1.8px;margin:18px 0;color:#284c36}.workspace-welcome h1 span{color:#b58a43}.workspace-welcome p{max-width:430px;font-size:13px;line-height:1.9;color:#6a785f}.welcome-link{display:inline-flex;gap:27px;align-items:center;background:#2a4f3b;color:white;border-radius:9px;text-decoration:none;padding:13px 18px;font-size:12px;font-weight:650;margin-top:12px}.welcome-link:hover{background:#20422f}.workspace-art{position:relative;min-height:265px}.art-sheet{position:absolute;right:35px;top:0;transform:rotate(-8deg);width:235px;height:255px;background:#fffdf6;padding:28px;border-radius:12px;box-shadow:18px 18px 0 #d4ac62,0 15px 35px #31412c15}.art-sheet small{font-size:7px;letter-spacing:1.4px}.art-sheet strong{display:block;font-size:25px;line-height:1.15;letter-spacing:-.6px;margin:22px 0;color:#36573b}.art-sheet>span{display:block;font-family:Georgia,serif;font-size:25px;color:#748567;margin-bottom:20px}.art-sheet i{font-style:normal;font-size:8px;border-top:1px solid #e4e6d9;padding-top:13px;display:block}.art-circle{position:absolute;right:0;bottom:-10px;color:#365e43;font-size:65px}.workspace-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.workspace-overview>div{position:relative;border:1px solid #e0e6da;border-radius:14px;background:white;padding:22px}.workspace-overview strong{display:block;font-size:29px;line-height:1.2;letter-spacing:-.8px;color:#2c4a37}.workspace-overview small{display:block;font-size:11px;color:#76836b;margin-top:10px}.workspace-overview>div>span{position:absolute;right:18px;top:20px;font-size:18px;color:#8a9c78}.workspace-overview>div:nth-child(3)>span{color:#b08a46}.workspace-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 4px}.workspace-flow>a{display:flex;gap:12px;align-items:center;border:1px solid #dae3d3;border-radius:12px;padding:19px 16px;text-decoration:none;background:white}.workspace-flow>a:first-child{background:#2b503d;color:white;border-color:#2b503d}.workspace-flow>a>span{font-size:10px;align-self:flex-start;opacity:.6}.workspace-flow strong{font-size:12px;display:block;line-height:1.6}.workspace-flow small{display:block;font-size:10px;opacity:.7;margin-top:5px}.workspace-flow b{font-weight:400;margin-left:auto}.workspace-flow>a:hover{transform:translateY(-2px);box-shadow:0 5px 15px #26422b0c}.workspace-flow>a:active{transform:translateY(0)}#app>aside{position:sticky;top:20px;padding:23px;font-size:12px}#app>aside h2{font-size:19px;line-height:1.3;margin-top:11px}#app>aside .muted{font-size:10px;line-height:1.9}#create-workspace{border-top:1px solid #e2e7da;margin-top:24px;padding-top:12px}#create-workspace button{width:100%}#workspace{padding:28px;min-width:0}#workspace-title{font-size:28px;margin:0}#role{display:inline-block;margin:10px 0 20px;font-size:10px;background:#eef3e7;border:1px solid #dfe8d7;padding:5px 10px;border-radius:20px;text-transform:capitalize;color:#607954}.columns{grid-template-columns:minmax(210px,.85fr) minmax(260px,1.35fr);gap:22px}.columns>div,.columns>form{min-width:0}#author>nav{display:flex;gap:8px;padding-bottom:18px;border-bottom:1px solid #e1e7d9}.card{padding:18px;border:1px solid #e0e6d9;border-radius:12px;margin:12px 0;background:#fcfdf9}.card>strong{font-size:14px;color:#3b593c}.card p{color:#788570;font-size:11px;margin:8px 0;line-height:1.8}.card button{font-size:11px;padding:9px 12px}.card img{height:auto}#documents,#files,#members{max-height:580px;overflow:auto;overscroll-behavior:contain;padding-right:4px}#editor{padding:20px;background:#f6f8f0;border:1px solid #dfe7d5;border-radius:13px}#editor-heading{margin-top:0}fieldset{border-color:#dce5d3;padding:14px}legend{font-size:11px;color:#698059}#exam-panel{padding:24px;background:#f8faf4}#exam-panel>h2{margin:0 0 20px}#teacher-exams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#teacher-exams form{padding:20px;background:white;border:1px solid #e0e7d7;border-radius:13px;margin:0}#teacher-exams form h3{margin-top:0}#teacher-exams form>p{font-size:11px;line-height:1.9;color:#75826c}#teacher-exams .invite{gap:8px}#teacher-exams .invite label{flex-basis:100px}#published-list,#exam-results,#exam-preview{grid-column:1/-1;min-width:0}#owner{background:#f8faf4}#student{background:#edf3e6;border-color:#d9e5cd;color:#657b56}#student h3{margin-top:0}#student p{font-size:12px;line-height:1.9}body[data-workspace-role=student] .workspace-flow{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-workspace-role=student] #workspace>h2{font-size:27px}#student-exams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#student-exams>h3,#student-exams>p{grid-column:1/-1}#student-exams .card{margin:0;background:white;padding:23px}#student-exams .card>strong{font-size:18px}#student-exams .card>button{margin-top:14px;background:#31563f;color:white;border:0}#signed-out{background:#e9eedf;border-color:#dce4d1;padding:50px;border-radius:22px}#signed-out h2{font-size:32px;line-height:1.2;letter-spacing:-1px}#signed-out p{line-height:1.9;color:#6d7c61}footer{font-size:10px;letter-spacing:.4px;color:#8c9881;padding:30px}
/* A quiet, stable exam surface: nothing animated or rebuilt by the timer. */
body:has(#attempt-view:not([hidden])) .workspace-header{padding-top:16px;padding-bottom:16px}#attempt-view{max-width:1080px;padding:32px 38px;border-radius:18px;box-shadow:0 6px 28px #2b453307}.attempt-eyebrow{display:flex;align-items:center;gap:12px;font-size:9px;letter-spacing:1.5px;font-weight:700;color:#7f9070;margin-bottom:20px}.attempt-eyebrow>span{background:#eef3e7;border-radius:20px;padding:5px 10px;letter-spacing:.3px;font-weight:500}.attempt-toolbar{position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid #e4e9dd;padding:10px 0 18px;margin-bottom:20px}.attempt-toolbar>div:first-child{min-width:0;flex:1}#attempt-title{font-size:25px;line-height:1.3;margin:0 0 10px}#attempt-rules{font-size:11px;color:#7b896e;margin:0}#attempt-timer{display:block;font-size:30px;font-variant-numeric:tabular-nums;letter-spacing:1px;background:#edf3e5;padding:10px 18px;border-radius:10px;color:#355a3e;white-space:nowrap}#save-status{font-size:10px;margin:8px 0 0;line-height:1.6;color:#718464;max-width:240px}.exam-progress{margin:24px 0 14px}#exam-progress-label{font-size:11px;font-weight:650;color:#627655}.exam-progress progress{display:block;width:100%;height:7px;margin:10px 0 15px;border:0;border-radius:6px;accent-color:#668b54;overflow:hidden}.exam-progress progress::-webkit-progress-bar{background:#edf1e7}.exam-progress progress::-webkit-progress-value{background:#698d56;border-radius:6px}.exam-nav-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:9px;color:#7a886c}.exam-nav-legend span::before{content:'';display:inline-block;width:9px;height:9px;background:#f4f6f0;border:1px solid #d7e0cb;border-radius:3px;vertical-align:middle;margin-right:6px}.exam-nav-legend span:first-child::before{background:#345c40;border-color:#345c40}.exam-nav-legend span:nth-child(2)::before{background:#dcebcf;border-color:#a8c18e}#question-nav{gap:7px;max-height:190px;overflow:auto;padding:5px 3px 10px}#question-nav button{min-width:39px;padding:9px;margin:0;border:1px solid #dce4d3;border-radius:8px;background:#fafcf7;color:#667c57;font-size:12px}#question-nav button.answered{background:#deebd3;color:#3b613d;border-color:#b6cba1}#question-nav button.current{outline:0;background:#32573d;color:#fff;border-color:#32573d;box-shadow:0 0 0 2px #e2ead9}#attempt-question{padding:26px 0 20px;border-top:1px solid #e7ecdf;margin-top:14px;min-height:300px;min-width:0}#attempt-question>h3{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#859478;margin-top:0}.exam-text{font-size:16px;line-height:1.85;color:#354f38}.exam-option{border:1px solid #e0e7d7;background:#fafcf7;padding:16px 18px;border-radius:11px;align-items:flex-start;gap:14px;margin:12px 0}.exam-option:has(input:checked){background:#eaf2e1;border-color:#8eac78;box-shadow:inset 3px 0 #75985f}.exam-option:focus-within{outline:2px solid #8fac7b;outline-offset:2px}.exam-option input{margin-top:6px;min-width:17px;width:17px;height:17px}.exam-option>span{color:#70865d;padding-top:2px}.exam-option p{margin:0}.exam-text table{display:block;overflow-x:auto;max-width:100%}.exam-text td{min-width:90px}#attempt-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;border-top:1px solid #e1e8d8;padding-top:22px}#attempt-controls button{margin:0}#submit-exam{background:#bd9148;color:#fff}#submit-exam:hover{background:#a47b38}#back-exams{margin-left:auto!important}#attempt-summary{font-size:11px;line-height:1.8;color:#78876a;background:#f6f8f1;border-radius:8px;padding:13px 16px}#attempt-instructions{font-size:13px;color:#6f7f61}#submit-confirmation{background:#fff8e9;border:1px solid #d5b77c;border-radius:12px;padding:22px}#submit-confirmation p{color:#826436;font-size:13px}#confirm-submit{background:#8e6336}#exam-results .card{background:white}#app>aside,#workspace,#attempt-view{scroll-margin-top:24px}#publish-form,#assign-form,#published-list,#documents,#student-exams{scroll-margin-top:25px}#app:not([hidden])>.workspace-welcome{animation:workspace-enter 180ms ease-out}@keyframes workspace-enter{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1150px){#app{grid-template-columns:220px minmax(0,1fr)}.workspace-welcome{padding:32px}.columns{grid-template-columns:1fr}#teacher-exams{grid-template-columns:1fr}.workspace-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-art{transform:scale(.85);transform-origin:right center}#workspace{padding:23px}}@media(max-width:850px){header.workspace-header{padding:20px 24px;flex-direction:row}main{padding:24px}#app{grid-template-columns:1fr}#app>aside{position:static;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}#app>aside>.section-eyebrow,#app>aside>h2,#app>aside>.muted{grid-column:1/-1}#create-workspace{margin-top:0;padding-top:0;border:0}#invitations{grid-column:1/-1}.workspace-welcome{grid-template-columns:1.3fr 1fr;padding:30px}.workspace-overview{gap:10px}.workspace-overview>div{padding:18px}.workspace-overview>div>span{display:none}.workspace-overview strong{font-size:25px}#student-exams{grid-template-columns:repeat(2,minmax(0,1fr))}.invite{display:flex}#attempt-view{padding:25px}.attempt-toolbar{flex-direction:row}}@media(max-width:600px){header.workspace-header{padding:18px 16px;align-items:flex-start;gap:16px;flex-direction:column}.workspace-brand{font-size:17px}#account{align-self:stretch;text-align:left;font-size:10px;display:flex;justify-content:space-between;align-items:center}#account button{margin:0}main{padding:18px 16px}.workspace-welcome{grid-template-columns:1fr;padding:28px}.workspace-art{display:none}.workspace-welcome h1{font-size:35px;letter-spacing:-1px}.workspace-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-overview>div{padding:20px}.workspace-flow{gap:9px}.workspace-flow>a{padding:16px 12px;gap:8px}.workspace-flow b{display:none}.workspace-flow strong{font-size:11px}.workspace-flow small{font-size:9px}.workspace-flow>a>span{font-size:9px}body[data-workspace-role=student] .workspace-flow{grid-template-columns:1fr}body[data-workspace-role=student] .workspace-flow>a{padding:16px}.workspace-overview small{font-size:10px}#app>aside{display:block}#create-workspace{border-top:1px solid #e1e7d8;padding-top:14px;margin-top:20px}#workspace{padding:20px}#workspace-title{font-size:24px}#exam-panel{padding:16px}#teacher-exams form{padding:16px}.invite{display:block}#student-exams{grid-template-columns:1fr}#attempt-view{padding:20px 16px;border-radius:12px}.attempt-toolbar{gap:12px;padding-bottom:15px}.attempt-toolbar>div:last-child{max-width:125px}#attempt-title{font-size:20px}#attempt-rules{font-size:9px}#attempt-timer{font-size:21px;padding:8px 10px}#save-status{font-size:9px}#question-nav button{min-width:35px;padding:8px;font-size:11px}.exam-text{font-size:15px}.exam-option{padding:14px 12px;gap:10px}.exam-nav-legend{gap:10px;font-size:8px}#attempt-controls button{flex:1 1 100px;font-size:11px;padding:11px 9px}#back-exams{flex-basis:100%!important;margin-left:0!important}#signed-out{padding:30px 24px}#signed-out h2{font-size:28px}.attempt-eyebrow{font-size:8px;letter-spacing:1px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){.attempt-toolbar>div:last-child{flex:0 0 118px;max-width:118px}#attempt-timer{font-size:19px;white-space:normal;line-height:1.3;text-align:center;padding:9px 7px;overflow-wrap:anywhere}.attempt-toolbar>div:first-child{min-width:0}.attempt-toolbar{align-items:start}}
.workspace-flow>a.filter-current{background:#2b503d;color:white;border-color:#2b503d}#student-filter-note{grid-column:1/-1;padding:20px;background:#f0f5e9;color:#6f845e;border-radius:10px}
.paper-filter-grid,.classification-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.paper-filter-grid{background:#edf3e5;border:1px solid #dce6d1;padding:15px;border-radius:11px}.paper-filter-grid label,.classification-grid label{min-width:0}.paper-picker-actions{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.paper-picker-actions button{font-size:10px;padding:9px 11px}#paper-filter-count{font-size:11px;color:#637c54;line-height:1.8}#paper-filter-empty{padding:14px;border:1px dashed #bbccac;border-radius:9px;color:#718361;font-size:12px}#paper-choices{max-height:550px;overflow:auto;overscroll-behavior:contain;overflow-anchor:none}#paper-choices>label{padding:14px;border:1px solid #e0e8d7;border-radius:9px;background:white;margin:9px 3px 9px 0;font-size:12px;line-height:1.7;cursor:pointer}#paper-choices>label:has(input:checked){background:#eaf3e1;border-color:#91ae7c}#paper-choices small{display:block;margin:6px 0 0 27px;font-size:9px;font-weight:400;color:#7a8a6c;line-height:1.8}.classification-fields{margin:18px 0}.classification-fields>fieldset>label{display:inline-flex;align-items:center;margin:6px 12px 6px 0;font-size:11px}.classification-fields .muted{font-size:10px}@media(max-width:600px){.paper-filter-grid,.classification-grid{grid-template-columns:1fr}.paper-picker-actions>button{flex:1 1 100px}}
.paper-source-tabs{display:flex;gap:8px;flex-wrap:wrap}.paper-source-tabs [aria-pressed=true]{background:#2c543e;color:white;border-color:#2c543e}#central-picker{padding:18px;background:#f7faf2;margin-top:10px}#central-picker>p{font-size:11px}.central-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.central-heading h3{margin:7px 0 15px}.central-heading>span{font-size:10px;background:#e4edda;padding:7px 10px;border-radius:20px;white-space:nowrap}.central-question-card{border:1px solid #dce5d2;border-radius:11px;padding:18px;background:#fff;margin:13px 0;min-width:0}.central-question-card label{display:flex;align-items:flex-start;gap:8px;margin:0 0 7px}.central-question-card small{display:block;font-size:10px;color:#7b8a6d;line-height:1.8}.central-question-card>.exam-text{font-size:14px;line-height:1.8;margin:15px 0}.central-selection-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #dce5d2;font-size:11px}#central-selected details{padding:15px;background:#eaf2e1;border-radius:9px}#central-selected summary{cursor:pointer;font-size:12px;font-weight:650}.central-pager{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px}#central-detail{background:white;padding:20px;min-width:0}#central-detail img{max-width:100%;height:auto;max-height:430px;object-fit:contain}#central-detail>strong{display:block;margin-top:15px}#central-detail details{padding:15px;background:#f1f6e9;margin-top:18px;border-radius:9px}#central-detail summary{cursor:pointer;font-size:12px}@media(max-width:600px){#central-picker{padding:12px}.central-heading{align-items:flex-start;flex-direction:column}.central-question-card{padding:14px}.central-pager{flex-wrap:wrap}.central-selection-row{align-items:flex-start}#central-detail{padding:14px}}
.paper-source-tabs button[aria-pressed=true],.paper-source-tabs button[aria-pressed=true]:hover{background:#2c543e;color:white;border-color:#2c543e}

/* Focused dashboard pages; the editor remains mounted between page changes. */
#app{display:block}.dashboard-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;align-items:start}.dashboard-sidebar{position:sticky;top:20px;padding:22px 16px;margin:0;background:#edf2e7;border:1px solid #dce5d3;border-radius:22px;display:flex;flex-direction:column;gap:5px}.dashboard-sidebar>label{margin:10px 0 20px}.dashboard-sidebar select{font-size:12px;background:#fafcf7}.dashboard-sidebar a{display:flex;gap:12px;align-items:center;text-decoration:none;color:#566b58;padding:10px 14px;border-radius:12px;font-weight:600;font-size:13px;transition:background .12s ease,transform .12s ease}.dashboard-sidebar a:hover{background:#e1e9d8;transform:translateX(2px)}.dashboard-sidebar a[aria-current=page]{background:#2c543e;color:#fff;box-shadow:0 4px 12px #24433315}.nav-icon{font-size:19px;line-height:1;min-width:22px;text-align:center}.dashboard-body{min-width:0}.dashboard-page-header{display:block;background:transparent;color:#2b4d39;padding:6px 0 22px}.dashboard-page-header h1{font-size:34px;margin:9px 0 5px}.dashboard-page-header p{color:#7b8975;margin:0}.dashboard-body>section,.dashboard-body>aside{margin:0 0 22px}.dashboard-body .workspace-welcome{margin-bottom:24px}.dashboard-body .workspace-flow{grid-template-columns:repeat(2,minmax(0,1fr));margin:20px 0}.dashboard-body .workspace-overview{margin:18px 0}.dashboard-body #workspace{padding:22px}.management-intro{display:flex;justify-content:space-between;gap:24px;align-items:start;margin-bottom:22px}.management-intro h2{margin-top:0}.management-intro p{max-width:540px;color:#78866f}.institution-code{border:1px solid #d7e2cd;border-radius:16px;padding:15px 20px;background:#eff5e7;min-width:190px}.institution-code small{display:block;letter-spacing:1.5px;font-size:9px;color:#7a896e}.institution-code strong{display:block;margin-top:6px;letter-spacing:1px;color:#2d513b;overflow-wrap:anywhere}.management-grid{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(300px,1.35fr);gap:24px}.management-grid .card{border:1px solid #dce5d5;border-radius:18px;padding:22px;margin-top:0;background:#fff}.management-grid h2,.management-grid h3{margin-top:0}.management-search{display:flex;align-items:end;gap:12px}.management-search label{flex:1}.student-row{padding:17px 0;border-bottom:1px solid #e4ebde}.student-row strong{font-size:15px}.student-row p{font-size:12px;color:#76846e;margin:5px 0 8px}.student-row button{font-size:11px;padding:7px 11px}.credential-card{background:#fff8e7;border:1px solid #dfce96;border-radius:18px;padding:22px;margin-bottom:24px}.credential-card input{max-width:370px;margin:12px 0}.credential-card p{font-size:12px;color:#6e653f}.student-password-card{max-width:570px;margin:35px auto;padding:30px}.student-password-card form{display:grid;gap:5px}.reset-card{border:1px solid #dec389;padding:22px;margin-top:20px;background:#fffcf3}.assignment-batch{padding:18px;border:1px solid #dce5d4;border-radius:14px;background:#f4f7ef}.workspace-diagram-library{border-top:1px solid #dce5d5;margin-top:20px;padding-top:15px}.workspace-diagram-library summary{cursor:pointer;font-weight:600}#batch-student-choices{max-height:340px;overflow:auto;padding:10px 0}#batch-student-choices label{font-weight:400;font-size:12px;padding:8px;border-bottom:1px solid #edf1e8}#students-page,#batches-page{animation:dashboard-enter .14s ease-out}@keyframes dashboard-enter{from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1050px){.dashboard-shell{grid-template-columns:190px minmax(0,1fr);gap:18px}.management-grid{grid-template-columns:1fr}.management-intro{flex-direction:column}.dashboard-sidebar{padding:16px 10px}.dashboard-sidebar a{padding:10px}.dashboard-page-header h1{font-size:29px}}
@media(max-width:720px){.dashboard-shell{display:block}.dashboard-sidebar{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:22px;padding:12px;gap:6px}.dashboard-sidebar>.section-eyebrow,.dashboard-sidebar>label{grid-column:1/-1}.dashboard-sidebar>label{margin:0 0 8px}.dashboard-sidebar a{font-size:11px;padding:10px 6px;gap:5px;justify-content:center}.nav-icon{font-size:16px;min-width:16px}.dashboard-body .workspace-flow{grid-template-columns:1fr}.management-search{flex-wrap:wrap}.management-grid .card{padding:17px}.dashboard-page-header h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){.dashboard-sidebar a,#students-page,#batches-page{animation:none;transition:none;transform:none!important}}

.central-review-heading,.central-review-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.central-review-heading{justify-content:space-between}.central-review-card{border:1px solid #cddccf;border-radius:16px;background:#fff;padding:1rem;margin:1rem 0}.central-review-card.dragging{opacity:.45}.central-drag-handle{cursor:grab;touch-action:pan-y}.central-drag-handle:active{cursor:grabbing}.central-review-question{padding:.8rem 0;overflow-wrap:anywhere}.central-review-question img{max-width:100%;height:auto}.central-review-question table{max-width:100%}#central-review{scroll-margin-top:1rem}#central-review-list{max-height:75vh;overflow:auto;padding:.25rem}

#central-review{position:fixed;inset:3vh 3vw;z-index:200;background:#f8faf5;border:1px solid #b7cbbd;border-radius:20px;box-shadow:0 18px 80px #15372455;padding:clamp(1rem,3vw,2rem);max-width:1100px;margin:auto;overflow:auto}#central-review[hidden]{display:none}#central-review-list{max-height:calc(94vh - 180px)}.central-order-outline{display:grid;gap:.4rem;max-height:200px;overflow:auto;padding:.5rem;border:1px solid #cddccf;border-radius:12px;background:#eff4e9}.central-order-row{padding:.6rem .8rem;background:white;border:1px solid #d5e1d3;border-radius:8px;cursor:grab}.central-order-row:hover{border-color:#2c543e}.central-review-question h4{margin:.5rem 0} .central-review-question>div{margin:.45rem 0}@media(max-width:600px){#central-review{inset:1vh 1vw;padding:.8rem}.central-review-actions button{font-size:.8rem;padding:.5rem}#central-review-list{max-height:calc(98vh - 210px)}}

.dashboard-body #author:not(.editor-open) .columns{grid-template-columns:1fr}

/* Performance analytics */
.analytics-intro{display:flex;align-items:center;justify-content:space-between;gap:2rem;background:linear-gradient(120deg,#eef3e6,#fff);margin-bottom:1.2rem}.analytics-orbit{font-size:4rem;color:#315d49}.analytics-intro p{max-width:52rem}.analytics-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.analytics-filter-actions{display:flex;align-items:end;gap:.6rem;flex-wrap:wrap}.analytics-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.2rem 0}.analytics-tile{display:flex;flex-direction:column;gap:.3rem;transition:transform .15s ease}.analytics-tile:hover{transform:translateY(-2px)}.analytics-tile>strong{font-size:2rem;color:#28533f}.analytics-tile>span{font-weight:650}.analytics-tile p{font-size:.85rem;margin:.3rem 0}.analytics-notice{padding:1rem 1.2rem;border-left:4px solid #b89b56;background:#fcf7e9;border-radius:.5rem}.analytics-progress,.analytics-table-card,.analytics-method{margin:1.2rem 0}.analytics-progress svg{display:block;width:100%;max-height:250px}.analytics-progress svg text{font-size:11px;fill:#526451}.analytics-table-wrap{overflow-x:auto}.analytics-table-card table{border-collapse:collapse;width:100%;font-size:.88rem}.analytics-table-card th,.analytics-table-card td{padding:.8rem .6rem;text-align:left;border-bottom:1px solid #e5e9e0;vertical-align:top}.analytics-table-card th{color:#405640;font-size:.78rem;letter-spacing:.03em}.analytics-student-link{padding:0!important;background:transparent!important;color:#25543e!important;text-align:left!important;text-decoration:underline;border:0!important;min-width:100px}.analytics-signal{display:inline-block;padding:.3rem .55rem;border-radius:1rem;white-space:nowrap;background:#f0f0e7;color:#635c3d;font-size:.78rem}.analytics-signal[data-signal="Observed strength"]{background:#e5f1e7;color:#24513a}.analytics-signal[data-signal="Review priority"]{background:#faeae1;color:#874625}.analytics-method summary{cursor:pointer;font-weight:650}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.analytics-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.analytics-filters{grid-template-columns:1fr}.analytics-intro{gap:1rem}.analytics-orbit{font-size:2.5rem}.analytics-tile>strong{font-size:1.6rem}.analytics-tiles{gap:.6rem}}@media(prefers-reduced-motion:reduce){.analytics-tile{transition:none}}

.analytics-focus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.analytics-focus-grid p{font-size:.88rem}.analytics-focus-grid strong{display:block;margin-top:.7rem}@media(max-width:620px){.analytics-focus-grid{grid-template-columns:1fr}}

/* Reviewed practice drafts */
.analytics-practice-action{margin:1rem 0}.practice-panel{margin:1.2rem 0;border:2px solid #d4dfcd}.practice-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.practice-panel fieldset{margin:1rem 0}.practice-panel fieldset label{display:block;padding:.5rem}.practice-review-group{margin:1rem 0}.practice-order-controls{display:flex;flex-wrap:wrap;gap:.5rem}.practice-review-group details{margin:.8rem 0;padding:.7rem;border:1px solid #e3e8dd;border-radius:.5rem}.practice-review-group summary{cursor:pointer;font-weight:600}.practice-review-group img{max-width:100%;height:auto}.practice-panel #practice-save-form{border-top:1px solid #d8dfd1;padding-top:1rem}.practice-panel label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:.5rem}.practice-panel input[type=checkbox]{width:auto;flex:none}.practice-panel button{margin:.25rem}.analytics-table-card table{min-width:720px}.analytics-table-card th,.analytics-table-card td{word-break:normal;overflow-wrap:normal}.analytics-table-card th{white-space:nowrap}@media(max-width:620px){.practice-settings{grid-template-columns:1fr}}
.practice-comparison{margin:1rem 0}.practice-comparison form{display:flex;align-items:end;gap:.8rem;flex-wrap:wrap}.practice-comparison form label{flex:1;min-width:220px}.comparison-chapter{border:1px solid #d4dfcd;border-radius:16px;padding:1rem;margin:1rem 0;background:#fbfcf8}.comparison-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:1rem 0}.comparison-metric{display:flex;flex-direction:column;gap:.35rem;background:#eef4e9;border-radius:12px;padding:.9rem}.comparison-metric strong{font-size:1.6rem;color:#28533f}.comparison-metric small{line-height:1.45}.comparison-next{margin-top:1.5rem}.practice-comparison details{margin:1rem 0}.comparison-next article{margin:.8rem 0}@media(max-width:620px){.comparison-metrics{grid-template-columns:1fr}.practice-comparison form{display:block}}
.results-report{margin:24px 0;scroll-margin-top:20px}.result-heading{display:block;position:relative;background:linear-gradient(125deg,#edf5e6,#fff)}.result-heading h2{font-size:28px;margin:10px 0;overflow-wrap:anywhere}.result-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.result-tabs button[aria-pressed=true]{background:#2e614c;color:#fff;border-color:#2e614c}.result-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.result-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}.result-filters label{min-width:0}.result-review-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px;align-items:start}.result-question-list{max-height:75vh;overflow:auto;display:grid;gap:8px;position:sticky;top:12px}.result-question-list button{text-align:left;font-size:14px}.result-question-list button[data-outcome=correct]{border-left:5px solid #348062}.result-question-list button[data-outcome=wrong]{border-left:5px solid #b1443c}.result-question-list button[data-outcome=unanswered]{border-left:5px solid #b18a3f}.result-question-list button[aria-current=true]{outline:2px solid #2e614c;outline-offset:1px;background:#e8f1df;color:#244733}.result-question-detail{min-width:0;overflow-wrap:anywhere}.result-question-detail .exam-text{max-height:none;overflow:visible}.result-question-detail img{max-width:100%;height:auto;object-fit:contain}.result-option{display:flex;align-items:baseline;gap:10px;padding:12px 0;border-bottom:1px solid #e1e8dd}.result-option>.exam-text{min-width:0;flex:1}.result-answer{padding:16px;border-radius:12px;background:#eef4e8;font-weight:600}.results-report table{min-width:720px}.results-report .katex{font-size:1em}.results-report .katex-display{overflow-x:auto;overflow-y:hidden}.results-report .exam-text table{min-width:0;max-width:100%;table-layout:auto}.results-report .exam-text td{overflow-wrap:anywhere}.result-tabs button:focus-visible,.result-question-list button:focus-visible{outline:3px solid #a0782c;outline-offset:3px}@media(max-width:850px){.result-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.result-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.result-review-layout{grid-template-columns:155px minmax(0,1fr)}}@media(max-width:600px){.result-tiles,.result-filters,.result-review-layout{grid-template-columns:1fr}.result-question-list{position:static;max-height:200px;grid-template-columns:repeat(2,minmax(0,1fr))}.result-heading h2{font-size:23px}}
/* Individual practice retains the existing cards and responsive review layout. */
.followup-panel{margin-top:1.5rem;scroll-margin-top:1rem}.followup-students,.followup-papers{display:grid;gap:1rem}.followup-learner>label,.followup-paper>label,.followup-delivery>label{display:block;margin:.7rem 0}.followup-reason{font-size:.9rem;color:var(--muted,#59665c)}.followup-paper .practice-review-group{margin:1rem 0;padding:.8rem;border:1px solid #dce5da;border-radius:14px}.followup-delivery{margin-top:1.5rem}.followup-paper details{padding:.6rem 0}.followup-paper img{max-width:100%;height:auto}.followup-paper input:not([type=checkbox]){width:100%}
.practice-timeline{overflow:hidden}.practice-timeline>h3{font-size:24px}.timeline-next{margin:22px 0;padding:20px;background:#f0f5e8;border:1px solid #d6e3c9;border-radius:18px}.timeline-next h4{margin-top:0}.timeline-suggestion{margin-top:14px;padding:16px;background:#fff;border-radius:14px}.timeline-events{list-style:none;padding:0 0 0 22px;margin:24px 0;border-left:2px solid #c3d4b8}.timeline-events>li{position:relative;margin-bottom:22px;padding:20px;background:#fafcf7;border:1px solid #e0e8d8;border-radius:18px;animation:timeline-enter .16s ease-out}.timeline-events>li:before{content:'';position:absolute;left:-30px;top:26px;width:12px;height:12px;background:#477553;border:2px solid #fff;border-radius:50%}.timeline-event-head h4{margin:0 0 8px;font-size:18px;overflow-wrap:anywhere}.timeline-event-head time{color:#61775d;font-size:13px}.timeline-chapter{padding:14px 0;border-top:1px solid #dce6d5}.timeline-chapter p{margin:9px 0}.timeline-events details{margin-top:12px}.timeline-events .analytics-table-card{padding:10px;box-shadow:none}.practice-timeline select{max-width:100%}@keyframes timeline-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.timeline-events>li{animation:none}}@media(max-width:600px){.timeline-events{padding-left:14px}.timeline-events>li{padding:14px}.timeline-events>li:before{left:-22px}.timeline-next{padding:14px}}

.results-report .exam-text,.results-report .exam-text p{font:17px/1.65 Cambria,Georgia,serif}.result-heading>button{margin-top:12px}.result-heading>.section-eyebrow{display:block}.result-heading>p{font-size:14px}.results-report .exam-text td{padding:10px;border:1px solid #cbd8c3}.result-question-detail .result-answer{font-size:15px}.result-question-detail .exam-text p{margin:10px 0}

#question-nav button.marked-review{box-shadow:inset 0 -4px #9266b4} .tracking-note,#tracking-warning{font-size:13px;line-height:1.5}#tracking-warning:not(:empty){padding:12px;background:#fff4df;border:1px solid #d4b671;border-radius:12px}
