:root{--navy:#10243b;--gold:#f2c94c;--ink:#182c43;--muted:#516174;--line:#d8e0e8;--paper:#f3f6fa;--white:#fff;--focus:#005cc8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:#134c86;text-underline-offset:4px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;background:white;border:1px solid var(--line);padding:10px 18px;border-radius:9px;color:var(--navy);font-weight:600;min-height:46px}button:hover{background:#eaf0f7}button:disabled{opacity:.6;cursor:default}#main[aria-busy="true"] button:disabled{cursor:wait}button.primary{background:var(--navy);color:white;border-color:var(--navy)}button.primary:hover{background:#24425e}button.gold{background:var(--gold)}:focus-visible{outline:3px solid var(--focus);outline-offset:4px}[hidden]{display:none!important}.skip{position:absolute;left:-9999px;top:0}.skip:focus{left:16px;background:white;padding:12px;z-index:3}.reviewbar{background:var(--gold);color:var(--navy);text-align:center;font-size:13px;padding:5px 16px}header{background:var(--navy);color:white;padding:20px max(20px,calc((100% - 1100px)/2));display:flex;justify-content:space-between;align-items:center;gap:20px}header a{color:white}.brand{display:flex;align-items:center;gap:16px;font-size:clamp(21px,3vw,28px);text-decoration:none;font-weight:700;white-space:nowrap}header nav{display:flex;gap:18px;align-items:center}main{max-width:1000px;margin:42px auto;padding:0 24px;min-height:65vh}.entry{max-width:570px;margin:70px auto}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:clamp(22px,4vw,38px);margin:22px 0;box-shadow:0 5px 25px #10243b05}h1{font-size:clamp(28px,4vw,38px);line-height:1.2;letter-spacing:-.025em;margin:0 0 18px}h2{font-size:23px;line-height:1.3;margin:4px 0 18px}h3{font-size:19px;margin:12px 0}.muted,.meta{color:var(--muted)}.meta{font-size:14px}.row{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}label{display:block;font-weight:600;margin:14px 0 5px}input,select{width:100%;background:white;color:var(--ink);border:1px solid #9baabd;border-radius:8px;min-height:48px;padding:9px 12px}input[type=checkbox],input[type=radio]{width:20px;min-height:20px;margin-right:10px}label.check{font-weight:400;display:flex;gap:4px;align-items:center;margin:9px 0}.code-input{font-family:ui-monospace,monospace;letter-spacing:.07em;text-transform:uppercase}fieldset{border:0;padding:0;margin:0}legend{font-size:clamp(22px,3vw,27px);line-height:1.45;font-weight:600;margin-bottom:20px;width:100%}.choice{width:100%;display:flex;gap:16px;text-align:left;font-weight:400;margin:12px 0;padding:15px 18px;background:white;border:1px solid #aebdcc}.choice .letter{font-weight:700;background:#edf2f7;border-radius:5px;min-width:29px;text-align:center}.choice.selected{border:2px solid var(--navy);background:#eaf0f7}.feedback{padding:18px 20px;background:#f0f4f9;border-left:4px solid var(--navy);border-radius:4px}.feedback.good{border-color:#166534;background:#f0f8f2}.error{color:#a21b16;background:#fff1ef;border-left:4px solid #a21b16;padding:13px 17px}.error:empty{display:none}.metrics{display:flex;gap:32px;flex-wrap:wrap}.metric strong{display:block;font-size:28px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:15px}th,td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#f0f4f8}.mono,code{font-family:ui-monospace,monospace;overflow-wrap:anywhere}.codes{background:#f0f4f8;padding:16px;white-space:pre-wrap}.topic-list{max-height:260px;overflow-y:auto;border:1px solid var(--line);padding:10px;border-radius:8px}summary{cursor:pointer;font-weight:600;padding:10px 0}footer{text-align:center;color:var(--muted);font-size:13px;padding:24px}#notice{max-width:950px;margin:0 auto;padding:0 24px}.timer{font-variant-numeric:tabular-nums;font-size:18px;font-weight:700}.report{margin:24px 0}.report details{border-bottom:1px solid var(--line)}.nowrap{white-space:nowrap}@media(max-width:600px){header{padding:15px 18px}.brand{gap:9px}.brand img{width:48px;height:48px}header nav{gap:8px;font-size:14px}header button{padding:8px}.entry{margin:30px auto}main{padding:0 16px;margin:28px auto}.card{padding:22px 18px}.metrics{gap:20px}.choice{padding:14px 12px}.actions>*{flex:1}th,td{padding:10px 8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(forced-colors:active){.choice.selected{outline:2px solid Highlight}.feedback{border:2px solid CanvasText}button{border:1px solid ButtonText}}

/* Answer feedback stays legible after choices are locked. */
.choice.answered:disabled,.choice.answer-pending:disabled{opacity:1}
.choice-text{flex:1;min-width:0}
.choice.is-correct{border:2px solid #15803d;background:#dcfce7;color:#14532d}
.choice.is-correct .letter{background:#15803d;color:#fff}
.choice.is-incorrect{border:2px solid #dc2626;background:#fee2e2;color:#7f1d1d}
.choice.is-incorrect .letter{background:#b91c1c;color:#fff}
.choice-result{align-self:center;font-size:13px;font-weight:750;white-space:nowrap}
.choice.answer-pending{border:2px solid #2563eb;background:#eff6ff;color:#1e3a8a}
.answer-status{margin:14px 0;padding:12px 16px;border-radius:10px;background:#eff6ff;color:#1e40af;font-weight:650}
.feedback.good,.feedback.incorrect{padding:0;margin-top:18px;border:2px solid #15803d;border-radius:12px;background:#f0fdf4;overflow:hidden;animation:feedback-enter 140ms ease-out}
.feedback.incorrect{border-color:#dc2626;background:#fff7f7}
.feedback-heading{display:flex;align-items:center;gap:12px;padding:14px 18px;background:#15803d;color:#fff;font-size:23px;line-height:1.25}
.feedback.incorrect .feedback-heading{background:#b91c1c}
.feedback-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#fff;color:#15803d;font-size:26px;font-weight:800}
.feedback.incorrect .feedback-icon{color:#b91c1c}
.feedback-body{padding:4px 20px 16px;color:#182c43}
.feedback-body p{margin:14px 0}
@keyframes feedback-enter{from{transform:translateY(4px)}to{transform:translateY(0)}}
@media(max-width:600px){.choice.answered{flex-wrap:wrap}.choice-result{flex-basis:100%;padding-left:45px}.feedback-heading{font-size:21px}.feedback-body{padding:2px 16px 12px}}
@media(prefers-reduced-motion:reduce){.feedback.good,.feedback.incorrect{animation:none}}
@media(forced-colors:active){.choice.is-correct,.choice.is-incorrect,.feedback.good,.feedback.incorrect{border-color:CanvasText}.feedback-heading,.feedback-icon{forced-color-adjust:auto}}

.class-title{margin-top:20px}
.class-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:26px 0 8px}.class-heading .home-eyebrow{margin-bottom:8px}.class-heading .class-title{margin:0}.class-state{background:#e8eef7;color:var(--navy);border-radius:20px;padding:5px 14px;font-size:13px;font-weight:650}.back-link{background:transparent;border-color:transparent;padding-left:0}.class-page h2{color:var(--navy)}.class-page #records-panel>.row h2{margin-bottom:6px}.class-page #records-panel>.row p{margin:0}.class-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin:24px 0;padding:22px;background:#f5f7fb;border-radius:12px}.class-tools label{margin-top:0;font-size:14px}.link-copy,.code-count{display:flex;gap:10px}.link-copy input{min-width:0;font-size:13px;text-overflow:ellipsis}.link-copy button{white-space:nowrap}.class-tools .meta{margin:8px 0 0}.code-generator{border-top:1px solid var(--line);padding-top:8px}.code-generator summary{color:var(--navy)}.code-generator form{max-width:420px;margin-top:10px}.code-count input{max-width:100px}.export-options,.guidance-notes{border-top:1px solid var(--line);padding-top:10px;margin-top:18px}.export-options summary,.guidance-notes summary{font-size:14px;color:var(--muted)}.issued-codes{border:1px solid #c9a000;border-radius:12px;background:#fffdf4;padding:22px;margin:20px 0}.issued-codes .table-wrap{max-height:360px;margin-top:20px}.issued-code{font-family:ui-monospace,monospace;font-size:18px;font-weight:750;letter-spacing:.04em;white-space:nowrap}.empty-students{padding:22px 0;color:var(--muted)}.empty-students h3{color:var(--navy);margin:0}.student-actions summary{font-size:14px;padding:4px 0;min-height:44px;white-space:nowrap}.student-action-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}.student-action-list button{font-size:13px;white-space:nowrap}.class-link-entry{margin-bottom:18px}.class-link-entry summary{font-size:13px}.class-ready{font-size:13px;color:var(--navy);background:#eef3fa;border-radius:7px;padding:10px 12px;margin:0 0 18px}.class-page #report .mono{font-size:12px;max-width:170px}.class-page #report th{font-size:13px}.class-page #report td{font-size:14px}
@media(max-width:600px){.class-tools{padding:16px}.link-copy{flex-direction:column}.link-copy button{align-self:flex-start}.issued-codes{padding:16px}.class-heading{align-items:flex-start}.class-state{padding:4px 10px}.code-count{flex-wrap:wrap}.class-page #records-panel>.row>button{width:100%}}

/* Focus and reflow enhancements; manual browser and assistive technology checks remain required. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.topics legend{font-size:17px;margin:14px 0 5px}.topics{margin-bottom:16px}.table-wrap:focus-visible{outline-offset:2px}.feedback:focus,#codes-output:focus,#owner-output:focus{outline:3px solid var(--focus);outline-offset:4px}header :focus-visible{outline-color:var(--gold)}.brand{white-space:normal}.brand span{overflow-wrap:anywhere}header{flex-wrap:wrap}header nav{flex-wrap:wrap}main,.card,fieldset,.row>*{min-width:0}.choice>span:last-child{overflow-wrap:anywhere}.codes{overflow-wrap:anywhere}input:disabled{background:#edf2f7;color:var(--muted)}@media(max-width:380px){header{gap:12px}.brand{font-size:23px}.entry{margin:22px auto}h1{font-size:28px}}

/* Aggregate guidance is primary; administrative and record detail panels start closed. */
.spiral-card{border-top:5px solid var(--gold)}.spiral-list{list-style:none;padding:0;margin:18px 0}.spiral-list>li{padding:18px 0;border-bottom:1px solid var(--line)}.spiral-list>li:last-child{border-bottom:0;padding-bottom:0}.spiral-list h3{margin:0}.spiral-list p{margin:7px 0}.action-label{display:inline-block;background:#edf2f7;color:var(--navy);padding:3px 10px;border-radius:6px;font-size:14px;font-weight:650}.action-label.reteach{background:#fff5d3}.spiral-word{font-weight:700}.secondary>summary{font-size:19px;min-height:46px}.secondary:not([open]){padding-top:12px;padding-bottom:12px}.secondary[open]>summary{margin-bottom:16px;border-bottom:1px solid var(--line)}.spiral-limit{border-left:3px solid var(--gold);padding-left:14px}.spiral-list .row{align-items:flex-start}.spiral-list h3{flex:1;min-width:160px}#deletion-output:focus{outline:3px solid var(--focus);outline-offset:4px}

/* Brand refresh: a quiet white masthead and a focused navy/gold welcome. */
:root{--navy:#002d74;--gold:#ffce07;--ink:#243448;--muted:#526174;--paper:#f5f7fb}
.reviewbar{background:#e9eef6;color:#384d68;font-size:12px;letter-spacing:.04em;padding:7px 20px}
header{background:#fff;border-bottom:1px solid var(--line);padding:20px max(24px,calc((100% - 1140px)/2));color:var(--navy)}
header a{color:var(--navy)}.brand{font-size:24px;letter-spacing:-.035em;gap:19px}.brand img{width:53px;height:53px}.brand-rule{width:1px;height:34px;background:var(--line)}
header nav a{font-size:14px;font-weight:650;text-decoration:none;border:1px solid var(--line);padding:10px 16px;border-radius:8px;min-height:44px;display:inline-flex;gap:14px;align-items:center}header nav a:hover{background:#f1f5fa}header :focus-visible{outline-color:var(--focus)}
main:has(.home-landing){max-width:1188px;margin:48px auto 28px;min-height:0}
.welcome-grid{display:grid;grid-template-columns:1.15fr 1fr;overflow:hidden;border:1px solid #d6dfeb;border-radius:22px;box-shadow:0 18px 48px #002d740a;background:#fff}
.welcome-story{background:var(--navy);color:white;padding:clamp(30px,4vw,54px);position:relative;overflow:hidden}
.home-eyebrow{font-size:11px;font-weight:750;letter-spacing:.14em;line-height:1.5;color:var(--muted);margin:0 0 20px}
.welcome-story .home-eyebrow{color:#cbdaf1}.welcome-story h1{font-size:clamp(36px,4.5vw,58px);line-height:1.09;letter-spacing:-.045em;margin:0 0 24px;font-weight:750}.welcome-story h1 span{color:var(--gold)}
.welcome-copy{font-size:16px;line-height:1.8;max-width:360px;color:#e0e9f7;margin:0}
.welcome-mark{display:flex;align-items:center;gap:22px;margin-top:36px}.welcome-mark img{width:76px;height:76px;background:#fff;border-radius:18px;padding:9px}.welcome-mark span{font-size:10px;font-weight:700;letter-spacing:.15em;line-height:1.9;color:#d2dff2}
.practice-entry{padding:clamp(28px,4vw,52px);align-self:center;min-width:0}.practice-entry .home-eyebrow{color:#52657e;margin-bottom:12px}.practice-entry h2{font-size:clamp(26px,3vw,33px);letter-spacing:-.035em;margin:0 0 12px;color:var(--navy)}.practice-entry>.muted{font-size:15px;margin:0 0 28px}.practice-entry label{font-size:14px;margin:0 0 8px}
.practice-entry .code-input{min-height:58px;border:1.5px solid #9aacc4;border-radius:9px;background:#fbfcfe;font-size:18px;padding:15px}.practice-entry .code-input::placeholder{font-family:system-ui,sans-serif;text-transform:none;letter-spacing:0;color:#607086;font-size:16px;opacity:1}.practice-entry .meta{font-size:12px;margin:10px 0 20px}
button.home-start{display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--gold);color:var(--navy);border-color:var(--gold);font-size:16px;min-height:54px;padding:13px 20px}button.home-start:hover{background:#f1c000;border-color:#f1c000}.home-start span{font-size:23px;line-height:1}
.entry-note{font-size:13px;color:var(--muted);line-height:1.7;margin:16px 0 24px}.entry-support{border-top:1px solid var(--line);padding-top:20px;font-size:13px;display:flex;flex-direction:column;gap:3px}.entry-support strong{color:var(--navy)}.entry-support span{color:var(--muted)}
.home-courses{margin:38px 0 0}.course-heading .home-eyebrow{margin-bottom:8px}.course-heading h2{font-size:23px;letter-spacing:-.025em;color:var(--navy);margin-bottom:7px}.course-heading p.muted{font-size:14px;margin:0}.course-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:22px 0 0;border-top:1px solid var(--line)}.course-strip li{display:flex;gap:16px;padding:23px 20px 10px 0}.course-strip li+li{padding-left:24px;border-left:1px solid var(--line)}.course-number{font-size:12px;color:#52657e;font-weight:700;padding-top:4px}.course-strip h3{font-size:16px;color:var(--navy);margin:0 0 6px}.course-strip p{font-size:13px;line-height:1.7;color:var(--muted);margin:0;max-width:240px}footer{padding:22px 20px 30px}
@media(max-width:760px){main:has(.home-landing){margin:24px auto}.welcome-grid{grid-template-columns:1fr}.welcome-story{padding:28px}.welcome-story h1{font-size:38px}.welcome-story h1 br{display:none}.welcome-story h1 br:after{content:' '}.welcome-story h1 span{display:block;margin-top:4px}.welcome-copy{max-width:none;font-size:15px}.welcome-mark{display:none}.practice-entry{padding:28px}.course-strip{grid-template-columns:1fr}.course-strip li,.course-strip li+li{padding:18px 0;border-left:0;border-bottom:1px solid var(--line)}.course-strip p{max-width:none}.home-courses{margin-top:30px}}
@media(max-width:440px){header{padding:15px 18px;gap:12px}.brand{font-size:22px;gap:10px}.brand img{width:44px;height:44px}.brand-rule{height:28px}header nav a{padding:8px 12px;font-size:13px}.welcome-story,.practice-entry{padding:25px 22px}.welcome-story h1{font-size:34px}.welcome-grid{border-radius:16px}.course-heading h2{font-size:21px}}
@media(forced-colors:active){.welcome-grid,.welcome-story,.practice-entry{border:1px solid CanvasText}.welcome-story h1 span{color:CanvasText}}

/* Teacher workspace: calm hierarchy, explicit evidence, one section at a time. */
main:has(.dashboard),main:has(.teacher-home){max-width:1240px;margin:30px auto 52px}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:14px 0 28px}.dashboard-heading h1{margin:0 0 12px}.dashboard-heading p{margin-bottom:0}.dashboard-heading .home-eyebrow{margin-bottom:12px}
.class-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.section-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:25px;display:flex;flex-direction:column;align-items:flex-start}.section-card .home-eyebrow{font-size:10px;margin:0 0 18px}.section-card h2{font-size:22px;margin:0;overflow-wrap:anywhere}.section-state{font-size:13px;color:var(--muted);margin:12px 0 24px}.section-card button{width:100%;display:flex;justify-content:space-between;margin-top:auto;text-align:left}.section-card button span{font-size:20px}.create-section{box-shadow:none;padding:16px 26px}.create-section summary{font-size:17px}.create-class-form{display:grid;grid-template-columns:1fr 1fr auto;gap:20px;align-items:end;margin:12px 0}.create-class-form label{font-size:13px}.create-class-form button{margin-bottom:1px}
.dashboard-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.dashboard-top .back-link{font-size:14px;min-height:44px}.section-switch{display:flex;align-items:center;gap:12px;max-width:440px;min-width:280px}.section-switch label{font-size:12px;white-space:nowrap;margin:0;color:var(--muted)}.section-switch select{font-size:14px;min-height:44px}.dashboard .class-heading{margin:24px 0 30px}.dashboard .class-title{font-size:clamp(28px,3vw,36px);letter-spacing:-.035em}.dashboard .class-heading .home-eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:8px}.dashboard-subtitle{font-size:14px;color:var(--muted);margin:10px 0 0}.dashboard .class-state{font-size:12px;background:#e9eef5;white-space:nowrap;padding:6px 12px}
.dashboard-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:32px;align-items:start}.dashboard-nav{position:sticky;top:24px;border-right:1px solid var(--line);padding:0 20px 0 0}.dashboard-nav [role=tablist]{display:flex;flex-direction:column;gap:5px}.dashboard-nav [role=tab]{border:0;border-radius:7px;background:transparent;text-align:left;font-size:14px;font-weight:550;padding:10px 13px;min-height:46px}.dashboard-nav [role=tab]:hover{background:#e9eef6}.dashboard-nav [aria-selected=true]{background:#e5ecf7;color:var(--navy);font-weight:750;box-shadow:inset 3px 0 var(--navy)}.nav-footnote{font-size:11px;line-height:1.8;color:var(--muted);padding:24px 13px 0;margin:12px 0 0;border-top:1px solid var(--line)}.dashboard-content{min-width:0}.dashboard [role=tabpanel]:focus{outline:0}.dashboard [role=tabpanel]:focus-visible{outline:3px solid var(--focus);outline-offset:5px}.dashboard [role=tabpanel]>.card:first-child{margin-top:0}
.performance-toolbar{background:#fff;border:1px solid var(--line);border-radius:11px;display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px 18px;padding:15px 18px;margin:0 0 25px}.range-control{min-width:175px}.range-control label,.custom-range label{font-size:11px;font-weight:650;margin:0 0 5px;color:var(--muted)}.performance-toolbar input,.performance-toolbar select{min-height:40px;font-size:13px;padding:7px 10px}.custom-range{display:flex;align-items:flex-end;gap:10px;flex:1}.custom-range>div{flex:1;min-width:130px}.custom-range button{min-height:40px;font-size:12px;white-space:nowrap;padding:7px 12px}.range-caption{font-size:11px;line-height:1.5;color:var(--muted);margin:0 0 8px;flex:1;min-width:150px}.load-status{font-size:13px;color:var(--muted);margin:0 0 12px}.load-status:empty{display:none}.refreshing{opacity:.45;pointer-events:none}.loading-state{padding:34px 0;color:var(--muted);font-size:14px}.view-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:0 0 22px}.view-heading .home-eyebrow{font-size:10px;margin:0 0 7px}.view-heading h2{font-size:24px;letter-spacing:-.025em;margin:0 0 5px}.view-heading p:not(.home-eyebrow){font-size:13px;color:var(--muted);margin:7px 0 0}.evidence-tag{display:inline-flex;align-items:center;background:#edf1f6;border:1px solid #e0e6ed;border-radius:20px;padding:4px 9px;font-size:10px;line-height:1.4;font-weight:650;color:#4b5f77;white-space:nowrap}.view-heading>.evidence-tag{margin-top:22px}
.performance-metrics{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 21px;min-width:0}.stat-card>p{font-size:12px;margin:0 0 13px;color:var(--muted)}.stat-card>strong{display:block;font-size:43px;line-height:1.05;font-weight:650;letter-spacing:-.04em;color:var(--navy);font-variant-numeric:tabular-nums}.stat-card>strong>span{font-size:24px;letter-spacing:-.02em;margin-left:2px}.stat-card small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:14px}.stat-card:not(.accuracy-stat) small{margin-top:24px}.accuracy-meter{height:7px;overflow:hidden;border-radius:5px;background:#e7edf4}.accuracy-meter>span{display:block;height:100%;background:#3d6799;border-radius:5px}.stat-card .accuracy-meter{margin-top:18px}.sample-caption{font-size:12px;line-height:1.7;margin:16px 0 25px;color:var(--muted)}.dashboard-empty{padding:36px 28px;background:#fff;border:1px dashed #c4cfdd;border-radius:12px;text-align:center;color:var(--muted);margin:20px 0}.dashboard-empty h2,.dashboard-empty h3{color:var(--navy);margin:0 0 12px}.dashboard-empty h2{font-size:23px}.dashboard-empty p{font-size:14px;max-width:500px;margin:0 auto 20px}.dashboard-empty p:last-child{margin-bottom:0}.dashboard-empty button{font-size:13px}.empty-mark{width:42px;height:42px;border-radius:50%;background:#f1f4f8;color:#8192a6;margin:0 auto 17px;display:grid;place-items:center;font-size:23px}.incomplete-evidence{background:#fffaf0;border-style:solid;border-color:#decf9b}
.performance-list{background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 24px}.performance-row{padding:22px 0;border-bottom:1px solid var(--line)}.performance-row:last-child{border-bottom:0}.performance-row-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:13px}.performance-row h3{font-size:15px;line-height:1.6;font-weight:650;margin:0;overflow-wrap:anywhere}.performance-row-meter{display:flex;align-items:center;gap:20px}.performance-row-meter .accuracy-meter{flex:1}.performance-row-meter strong{width:43px;text-align:right;color:var(--navy);font-size:16px;font-variant-numeric:tabular-nums}.performance-row>p{font-size:11px;color:var(--muted);margin:9px 0 0;line-height:1.7}.evidence-method{border-top:1px solid var(--line);margin:24px 0;padding:8px 0}.evidence-method summary{font-size:12px;color:var(--muted)}.evidence-method p{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0}.dashboard .secondary{border-radius:11px;box-shadow:none;padding:12px 22px}.dashboard .secondary>summary{font-size:14px}.dashboard #planning-panel{margin-top:24px}.dashboard .spiral-list h3{font-size:17px}.dashboard #spiral>h2{font-size:20px}.dashboard .spiral-list p{font-size:14px}.dashboard .spiral-list .meta,.dashboard .guidance-notes p{font-size:12px}.dashboard .action-label{font-size:11px}.dashboard #records-panel{box-shadow:none;padding:26px}.dashboard #records-panel h2{font-size:23px}.dashboard #records-panel>.row button{font-size:13px}.dashboard .class-tools{margin-top:22px;padding:18px}.dashboard .table-wrap{max-width:100%}.dashboard #report .issued-code{font-size:15px}.dashboard #insights{font-size:13px}.dashboard #insights h2{font-size:21px}.dashboard #insights table{font-size:12px}.dashboard #insights .meta{font-size:12px}
.assessment-card{box-shadow:none;padding:28px!important}.assessment-help{background:#f1f5fa;border-left:3px solid #b5c5da;padding:13px 16px;font-size:12px;line-height:1.8;color:var(--muted);margin:8px 0 25px}.assessment-card fieldset{margin:0 0 26px}.assessment-card legend{font-size:17px;display:flex;align-items:center;gap:10px;margin:0 0 10px;font-weight:650}.step-number{background:#ecf1f7;display:inline-grid;place-items:center;font-size:11px;color:var(--navy);border-radius:50%;width:25px;height:25px;flex:none}.field-help{font-size:12px;line-height:1.8;color:var(--muted);margin:6px 0 12px}.selection-tools{display:flex;align-items:center;gap:9px;margin:12px 0}.selection-tools button{font-size:11px;min-height:34px;padding:5px 11px}.selection-tools .meta{font-size:11px;margin-left:auto}.assessment-card .topic-list{display:grid;grid-template-columns:1fr 1fr;gap:2px 16px;padding:13px 16px;border-radius:9px;max-height:270px}.assessment-card label.check{font-size:12px;line-height:1.7;align-items:flex-start;margin:6px 0}.assessment-card label.check input{flex:none;margin-top:1px}.assessment-card label.check small{display:block;font-size:10px;color:var(--muted)}.assessment-card .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.assessment-card input,.assessment-card select{font-size:13px;min-height:43px}.assessment-card input[type=checkbox]{min-height:20px}.assessment-card label{font-size:12px}.assessment-card #minutes,.assessment-card #minimum{max-width:160px}.assessment-card #assessment-day{max-width:260px}.assessment-card .assessment-time{border-top:1px solid var(--line);padding-top:22px}.utc-window{font-size:11px;color:var(--muted);background:#f5f7fb;border-radius:7px;padding:11px 13px;overflow-wrap:anywhere;margin:16px 0 0}.assessment-advanced{border-top:1px solid var(--line);padding:8px 0}.assessment-advanced summary{font-size:12px;color:var(--muted)}.assessment-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:23px 0}.assessment-actions button,.activate-panel button{font-size:13px}.assessment-actions .meta{font-size:11px}.activate-panel{display:flex;align-items:center;gap:24px;border-top:1px solid var(--line);padding-top:20px;margin-top:8px}.activate-panel>div{flex:1}.activate-panel h3{font-size:15px;margin:0 0 6px}.activate-panel p{font-size:11px;line-height:1.8;margin:0}.activate-panel button{white-space:nowrap}.assessment-card #assessment-save-status:empty{display:none}.assessment-card #assessment-save-status{font-size:12px;border-left:3px solid #6d8aaa;padding:10px 13px;margin:20px 0 0}#assessment-save-status:focus{outline:3px solid var(--focus);outline-offset:4px}
@media(max-width:1000px){.dashboard-layout{grid-template-columns:165px minmax(0,1fr);gap:22px}.dashboard-nav{padding-right:13px}.dashboard-nav [role=tab]{font-size:12px}.stat-card{padding:20px 16px}.stat-card>strong{font-size:38px}.custom-range{flex-wrap:wrap}.performance-toolbar{gap:12px}.class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.assessment-card{padding:22px!important}}
@media(max-width:800px){main:has(.dashboard),main:has(.teacher-home){margin-top:22px}.dashboard-layout{grid-template-columns:minmax(0,1fr);gap:22px}.dashboard-nav{position:static;border-right:0;border-bottom:1px solid var(--line);padding:0 0 12px}.dashboard-nav [role=tablist]{flex-direction:row;flex-wrap:wrap;gap:5px}.dashboard-nav [role=tab]{font-size:12px;padding:8px 12px;min-height:40px}.dashboard-nav [aria-selected=true]{box-shadow:inset 0 -2px var(--navy)}.nav-footnote{display:none}.dashboard .class-heading{margin-bottom:23px}.dashboard-subtitle{font-size:13px}.performance-toolbar{margin-bottom:23px}.create-class-form{grid-template-columns:1fr 1fr}.create-class-form button{justify-self:start}.dashboard-heading{align-items:flex-start}.dashboard-heading>button{font-size:12px}}
@media(max-width:560px){.dashboard-top{align-items:flex-start;flex-direction:column;gap:8px}.section-switch{width:100%;max-width:none;min-width:0}.section-switch select{flex:1;min-width:0}.dashboard .class-heading{gap:12px;flex-wrap:wrap;margin-top:22px}.dashboard .class-state{font-size:10px}.dashboard .class-title{font-size:29px}.dashboard .class-heading .home-eyebrow{font-size:10px}.dashboard-nav [role=tablist]{gap:3px}.dashboard-nav [role=tab]{padding:8px 10px;min-height:42px;font-size:11px}.performance-toolbar{padding:13px}.range-control{flex:1;min-width:155px}.range-caption{min-width:100%;margin:0}.custom-range{width:100%;flex:auto}.custom-range>div{min-width:100px}.custom-range button{width:100%}.performance-metrics{grid-template-columns:1fr 1fr;gap:10px}.accuracy-stat{grid-column:1/-1}.stat-card{padding:20px}.stat-card>strong{font-size:38px}.stat-card:not(.accuracy-stat) small{margin-top:15px}.stat-card>p{font-size:11px;margin-bottom:10px}.stat-card small{font-size:10px}.view-heading{gap:12px}.view-heading h2{font-size:22px}.view-heading>.evidence-tag{font-size:9px}.performance-list{padding:0 17px}.performance-row-title{align-items:flex-start}.performance-row h3{font-size:13px}.performance-row .evidence-tag{font-size:9px}.performance-row>p{font-size:10px}.performance-row-meter{gap:10px}.performance-row-meter strong{font-size:14px}.dashboard-empty{padding:27px 20px}.dashboard-empty p{font-size:12px}.dashboard #records-panel{padding:20px 16px}.dashboard #records-panel h2{font-size:22px}.dashboard #records-panel>.row button{width:100%}.dashboard #records-panel .meta{font-size:12px}.assessment-card{padding:20px 16px!important}.assessment-card .topic-list{grid-template-columns:1fr;max-height:240px;padding:12px}.assessment-card .form-grid{grid-template-columns:1fr;gap:10px}.activate-panel{flex-direction:column;align-items:stretch;gap:16px}.assessment-actions{gap:8px}.assessment-actions .meta{width:100%}.assessment-actions button{flex:1}.assessment-card .view-heading{flex-wrap:wrap}.assessment-card .view-heading>.evidence-tag{margin:0}.class-grid{grid-template-columns:1fr}.section-card{padding:22px}.dashboard-heading{flex-wrap:wrap;gap:16px}.dashboard-heading>button{align-self:flex-start}.create-class-form{grid-template-columns:1fr;gap:10px}.create-section{padding:13px 20px}.create-section summary{font-size:15px}.dashboard .secondary{padding:12px 17px}}
@media(forced-colors:active){.accuracy-meter{border:1px solid CanvasText}.accuracy-meter>span{background:Highlight}.dashboard-nav [aria-selected=true]{outline:2px solid Highlight}.evidence-tag,.stat-card{border:1px solid CanvasText}}
.practice-gate-note{background:#fff9e6;border:1px solid #e5d79e;border-radius:8px;font-size:12px;line-height:1.8;padding:11px 15px;color:#5c4b17;margin:0 0 23px}.practice-gate-note strong{margin-right:5px}
meter.accuracy-meter{display:block;width:100%;appearance:none;border:0}meter.accuracy-meter::-webkit-meter-bar{background:#e7edf4;border:0;border-radius:5px;box-shadow:none;height:7px}meter.accuracy-meter::-webkit-meter-optimum-value{background:#3d6799;border-radius:5px}meter.accuracy-meter::-moz-meter-bar{background:#3d6799;border-radius:5px}@media(forced-colors:active){meter.accuracy-meter::-webkit-meter-optimum-value{background:Highlight}meter.accuracy-meter::-moz-meter-bar{background:Highlight}}

/* Keep issued codes compact; legacy recovery stays out of the main roster. */
.code-roster td{padding:10px 12px;vertical-align:middle}.code-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.code-row-actions button{font-size:13px;padding:7px 10px;min-height:36px;white-space:nowrap}.code-row-actions details{margin:0}.code-row-actions summary{font-size:13px;padding:8px;min-height:36px}.code-attention{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}.code-attention>summary{font-size:14px;font-weight:600}.code-attention>.meta{max-width:650px;margin:10px 0}.code-roster th:first-child{width:35%}
@media(min-width:761px){.code-roster th:first-child{width:120px}}

/* Reviewed question materials: restrained framing, readable data and responsive assets. */
.question-directions{font-size:.9rem;color:#586676;margin:.5rem 0 1rem}.question-context{line-height:1.65;white-space:pre-line}.question-stimulus{margin:1.4rem 0 1.8rem;padding:1.25rem;background:#f7fafb;border:1px solid #dce5e9;border-radius:12px;min-width:0}.question-stimulus figcaption{font-weight:650;margin-bottom:1rem;color:#243a48}.question-visual{display:block;width:100%;max-width:820px;max-height:640px;object-fit:contain;margin:0 auto;background:#fff}.question-table-scroll{max-width:100%;overflow-x:auto;border-radius:6px}.question-table{width:100%;border-collapse:collapse;background:white;font-size:.95rem}.question-table th,.question-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #dbe3e8;white-space:normal;min-width:6rem}.question-table thead th{background:#eaf0f4;font-weight:650}.question-table tbody th{font-weight:500}.question-note{font-size:.9rem;color:#485b68;white-space:pre-line}.question-alternative{margin-top:1rem}.question-alternative summary,.choice-explanations summary{cursor:pointer;font-weight:600;padding:.4rem 0}.choice-explanations{margin-top:1rem}.choice-explanations dt{font-weight:650;margin-top:1rem}.choice-explanations dd{margin:.35rem 0 0;line-height:1.6}.question-stimulus p{white-space:pre-line}.question-table-scroll:focus-visible{outline:3px solid #285c76;outline-offset:3px}fieldset{min-width:0}@media(max-width:600px){.question-stimulus{padding:.75rem;margin:1rem 0}.question-table th,.question-table td{padding:.6rem;font-size:.88rem}.question-visual{max-height:none}}

.assessment-card label.check{align-items:center}.assessment-card input[type=radio]{width:20px;height:20px;min-height:20px;padding:0;margin:0 10px 0 0;align-self:center}.assessment-card label.check>span{line-height:1.4}


/* Keep the teacher's classes primary; optional demo help stays quiet. */
.demo-workspace-note{margin:0 0 20px;color:var(--muted);font-size:13px;line-height:1.5}
.dashboard-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.empty-class-note{color:var(--muted);margin:0;padding:4px 0 12px;font-size:15px}
.demo-help{margin:22px 0 0;border-top:1px solid var(--line);padding-top:12px}
.demo-help>summary{display:list-item;width:fit-content;cursor:pointer;color:var(--navy);font-size:14px;font-weight:600;padding:10px 0;min-height:44px}
.demo-help>summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px;border-radius:4px}
.demo-help-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;counter-reset:demo-step;padding:8px 0;margin:4px 0 12px}
.demo-help-steps li{counter-increment:demo-step;position:relative;padding-left:32px;font-size:14px;line-height:1.55;min-width:0}
.demo-help-steps li:before{content:counter(demo-step);position:absolute;left:0;top:0;width:23px;height:23px;border-radius:50%;background:var(--navy);color:var(--gold);font-size:12px;font-weight:700;text-align:center;line-height:23px}
.demo-help-steps strong{display:block;color:var(--navy);font-size:14px;margin-bottom:5px}.demo-help-steps span{color:var(--muted)}
.demo-help-note{color:var(--muted);font-size:12px;line-height:1.5;margin:12px 0 0}
@media(max-width:680px){.demo-help-steps{grid-template-columns:1fr;gap:16px}.dashboard-actions{width:100%}.dashboard-actions button{flex:1}}

.guidance-caption{font-size:12px;line-height:1.5;color:var(--muted);margin-top:20px;max-width:75ch}


/* Original student concept: plum, violet, coral and subject-neutral branding. */
.student-brand-mark{display:none}
body.student-theme{--navy:#173d32;--gold:#377051;--ink:#173d32;--muted:#305f49;--line:#dce8d4;--paper:#fcfaf8;--focus:#377051;background:var(--paper)}
.student-theme header{background:transparent;border:0;padding-top:26px;padding-bottom:26px}
.student-theme .brand{font-family:ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif;font-weight:900;letter-spacing:-.045em;font-size:29px;gap:12px}
.student-theme .brand>img,.student-theme .brand-rule{display:none}.student-theme .student-brand-mark{display:block;flex:none}
.student-theme header nav a{border:0;font-size:16px}.student-theme header nav a:hover{background:#f5f2e7}
.student-theme .reviewbar{background:#f5f2e7;color:#305f49;letter-spacing:0;font-size:11px;padding:3px 16px}
.student-theme main:has(.home-landing){max-width:1240px;margin:28px auto 20px}
.student-theme .welcome-grid{grid-template-columns:1.1fr 1fr;align-items:center;gap:38px;overflow:visible;border:0;box-shadow:none;background:transparent}
.student-theme .welcome-story{background:transparent;padding:0;color:var(--ink);overflow:visible}
.student-theme .welcome-story h1{font-family:ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif;font-size:clamp(44px,5.6vw,76px);font-weight:900;line-height:1.1;letter-spacing:-.065em;white-space:nowrap;margin:0 0 12px}
.student-theme .welcome-illustration{display:block;width:100%;height:auto}
.student-theme .practice-entry{background:#fff;border:1px solid #dce8d4;border-radius:22px;padding:clamp(25px,3vw,42px);box-shadow:12px 12px 0 #f5f2e7}
.student-theme .practice-entry h2{font-family:ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif;font-size:clamp(29px,3.4vw,44px);font-weight:850;letter-spacing:-.04em;margin-bottom:14px}
.student-theme .practice-entry>.muted{font-size:17px;color:var(--ink);margin:0 0 32px}
.student-theme .practice-entry label{font-size:16px;font-weight:750}
.student-theme .practice-entry .code-input{border:2px solid #dce8d4;background:white;border-radius:10px;min-height:60px;font-size:22px}
.student-theme .practice-entry .code-input::placeholder{color:#377051;font-size:18px}
.student-theme button.home-start{margin-top:22px;justify-content:center;gap:18px;min-height:58px;background:#377051;border-color:#377051;color:white;border-radius:12px;font-size:20px}
.student-theme button.home-start:hover{background:#377051;border-color:#377051}
.student-theme .entry-note{text-align:center;font-size:13px;color:var(--muted);margin:19px 0 30px}
.student-theme .entry-support{display:block;text-align:center;font-size:14px;padding-top:24px;color:var(--ink)}
.student-theme .home-privacy{text-align:center;color:var(--muted);font-size:13px;margin:36px 0 0}
.student-theme:has(.home-landing) #student-footer{display:none}
.student-theme .card{border-color:var(--line);border-radius:20px;box-shadow:0 7px 24px #173d3206}
.student-theme .choice{border-color:#dce8d4;border-radius:13px;align-items:center;padding:14px 17px;transition:background-color .12s,border-color .12s}
.student-theme .choice:not(:disabled):hover{background:#f5f2e7;border-color:#86a78e}
.student-theme .choice .letter{display:grid;place-items:center;border-radius:10px;width:36px;min-width:36px;height:36px;background:#f5f2e7;color:#305f49}
.student-theme .choice:nth-of-type(2) .letter{background:#ffe8e1;color:#884534}
.student-theme .choice:nth-of-type(3) .letter{background:#f5f2e7;color:#305f49}
.student-theme .choice:nth-of-type(4) .letter{background:#f8edda;color:#72552c}
.student-theme .choice.selected:not(.is-correct):not(.is-incorrect),.student-theme .choice.answer-pending{border-color:#377051;background:#f5f2e7;color:var(--ink)}
.student-theme .choice.is-correct .letter{background:#e4f1e7;color:#24613c}.student-theme .choice.is-incorrect .letter{background:#fae8e4;color:#913c32}
.student-theme button.primary:not(.home-start){background:#377051;border-color:#377051;color:white}.student-theme button.primary:not(.home-start):hover{background:#377051}
.student-theme #finish{background:transparent;border-color:transparent;color:var(--muted)}
.student-theme .demo-workspace-note{font-size:11px;margin-bottom:18px}
@media(max-width:800px){.student-theme .welcome-grid{grid-template-columns:1fr;gap:24px;max-width:540px;margin:auto}.student-theme .welcome-story{display:flex;align-items:center;gap:14px}.student-theme .welcome-story h1{font-size:clamp(30px,7vw,48px);white-space:normal;margin:0;flex:1}.student-theme .welcome-illustration{width:42%;max-height:180px}.student-theme .practice-entry{padding:30px}.student-theme main:has(.home-landing){margin-top:14px}.student-theme .home-privacy{margin-top:28px}}
@media(max-width:440px){.student-theme header{padding:16px;gap:10px}.student-theme .brand{font-size:23px;gap:7px}.student-theme .student-brand-mark{width:43px;height:33px}.student-theme header nav a{font-size:13px;padding:8px}.student-theme .practice-entry{padding:26px 22px;box-shadow:6px 6px 0 #f5f2e7;border-radius:18px}.student-theme .practice-entry h2{font-size:32px}.student-theme .practice-entry>.muted{font-size:15px;margin-bottom:24px}.student-theme .welcome-story h1{font-size:34px}.student-theme .entry-note{font-size:12px}.student-theme .choice{padding:12px;gap:12px}}
@media(prefers-reduced-motion:reduce){.student-theme .choice{transition:none}}
@media(forced-colors:active){.student-theme .practice-entry,.student-theme .choice{border:1px solid CanvasText}.student-theme button.primary{border:2px solid ButtonText}.student-theme .choice.selected{outline:2px solid Highlight}}
/* Shared Waldo identity, carried from the approved student welcome into teaching. */
body.teacher-theme{--navy:#173d32;--gold:#377051;--ink:#173d32;--muted:#305f49;--line:#dce8d4;--paper:#fcfaf8;--focus:#377051;background:var(--paper)}
.teacher-theme a{color:#305f49}.teacher-theme header{background:transparent;border-bottom:1px solid var(--line);padding:26px max(24px,calc((100% - 1240px)/2));color:var(--ink)}
.teacher-theme .brand{color:var(--ink);font-family:ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif;font-weight:900;font-size:29px;letter-spacing:-.045em;gap:12px}
.teacher-theme .brand>img,.teacher-theme .brand-rule{display:none}.teacher-theme .student-brand-mark{display:block;flex:none}
.teacher-theme header nav a{color:var(--ink);border:0}.teacher-theme header nav button,.student-theme header nav button{background:transparent;border-color:transparent;color:var(--ink);font-weight:500}
.teacher-theme .reviewbar{background:#f5f2e7;color:#305f49;letter-spacing:0;font-size:11px;padding:3px 16px}
.teacher-theme button{border-radius:11px}.teacher-theme button:hover{background:#f5f2e7}.teacher-theme button.primary{background:#377051;border-color:#377051;color:white}.teacher-theme button.primary:hover{background:#377051}
.teacher-theme input,.teacher-theme select{border-color:#becfba;border-radius:10px;accent-color:#377051}
.teacher-theme h1,.teacher-theme h2,.teacher-theme h3,.student-theme .question-card legend{font-family:ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif;letter-spacing:-.035em}
.teacher-theme .card,.teacher-theme .section-card{border-color:var(--line);border-radius:18px;box-shadow:none;background:white}
.teacher-theme main:has(.dashboard),.teacher-theme main:has(.teacher-home){max-width:1290px;margin:30px auto 50px}
.teacher-theme .demo-workspace-note{font-size:11px;margin-bottom:24px}
.teacher-theme .dashboard-heading h1{font-size:clamp(32px,4vw,46px);font-weight:850}.teacher-theme .section-card{padding:28px;position:relative;overflow:hidden}.teacher-theme .section-card:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:#becfba}.teacher-theme .section-card:nth-child(3n+2):before{background:#f6b2a2}.teacher-theme .section-card:nth-child(3n):before{background:#86a78e}
.teacher-theme .section-card h2{font-size:26px;line-height:1.25}.teacher-theme .section-card button{border-color:var(--line);color:#305f49;background:#faf7ed}.teacher-theme .section-state{color:var(--muted)}
.teacher-theme .dashboard-top{margin-bottom:22px}.teacher-theme .back-link{color:#305f49;font-size:15px}.teacher-theme .section-switch{background:transparent}.teacher-theme .section-switch label{font-size:12px}
.teacher-theme .dashboard .class-heading{margin:12px 0 28px;align-items:center;gap:24px}.teacher-theme .class-title{font-size:clamp(30px,4vw,48px);font-weight:850;line-height:1.15;overflow-wrap:anywhere}.teacher-theme .class-heading .home-eyebrow{font-size:12px;color:var(--muted);margin-bottom:9px}
.class-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px;flex-wrap:wrap}.teacher-theme .class-state{background:#f5f2e7;border:1px solid #dce8d4;color:#244e3d;font-size:12px;padding:7px 13px}.class-heading-actions button{font-size:14px;min-height:48px;white-space:nowrap}
.teacher-theme .dashboard-layout{display:block}.teacher-theme .dashboard-nav{position:static;border:0;border-bottom:1px solid var(--line);padding:0 0 16px;margin-bottom:25px;width:auto}
.teacher-theme .dashboard-nav [role=tablist]{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}.teacher-theme .dashboard-nav [role=tab]{width:auto;min-height:46px;padding:10px 24px;font-size:15px;color:var(--ink);border-radius:12px;box-shadow:none}
.teacher-theme .dashboard-nav [aria-selected=true]{background:#f5f2e7;color:#173d32;box-shadow:none;font-weight:750}.teacher-theme .dashboard-content{min-width:0}
.teacher-theme .performance-toolbar{background:transparent;border:0;border-radius:0;padding:0;margin:0 0 24px;align-items:center}.teacher-theme .range-control select{background:white}.teacher-theme .range-caption{font-size:12px}.teacher-theme .view-heading{margin-bottom:18px}.teacher-theme .view-heading h2{font-size:25px}.teacher-theme .evidence-tag{background:#f5f2e7;border-color:var(--line);color:#305f49;font-size:11px}
.teacher-theme .performance-metrics{gap:20px}.teacher-theme .stat-card{border:1px solid var(--line);border-radius:16px;padding:25px 28px;background:white}.teacher-theme .stat-card>p{font-size:14px;color:var(--muted)}.teacher-theme .stat-card>strong{font-size:44px;letter-spacing:-.045em}.teacher-theme .stat-card small{font-size:12px;line-height:1.6}.teacher-theme .stat-card:not(.accuracy-stat) small{margin-top:18px}
.teacher-theme .accuracy-meter,.teacher-theme meter.accuracy-meter::-webkit-meter-bar{background:#dce8d4}.teacher-theme .accuracy-meter>span,.teacher-theme meter.accuracy-meter::-webkit-meter-optimum-value{background:#86a78e}.teacher-theme meter.accuracy-meter::-moz-meter-bar{background:#86a78e}.teacher-theme .sample-caption{font-size:12px;margin-bottom:24px}
.overview-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:24px;align-items:start}.overview-topics,.overview-tools{background:white;border:1px solid var(--line);border-radius:17px;padding:25px 28px;min-width:0}.overview-columns h3{font-size:24px;line-height:1.3;margin:0 0 12px}.overview-columns>.overview-topics>.meta{font-size:12px;margin:0 0 12px}
.topic-preview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 18px;padding:20px 0;border-bottom:1px solid var(--line)}.topic-preview h4{font-size:17px;line-height:1.4;margin:0 0 7px;overflow-wrap:anywhere}.topic-preview>strong{font-size:23px;align-self:center}.topic-preview>p{grid-column:1/-1;font-size:12px;color:var(--muted);margin:2px 0 0}.teacher-theme .text-action{background:transparent;border:0;color:#305f49;padding:12px 0;margin-top:8px;font-size:14px}
.overview-tools button{display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;font-weight:500;padding:17px 0;min-height:60px}.overview-tools button>span:last-child{color:#377051;font-size:21px}.overview-tools .meta{font-size:12px;margin:20px 0 0}
.teacher-theme .dashboard .secondary{border-radius:16px;padding:15px 25px;background:white}.teacher-theme .performance-list{border-radius:16px;padding:0 28px}.teacher-theme .performance-row h3{font-size:17px}.teacher-theme .performance-row>p{font-size:12px}.teacher-theme .dashboard-empty{border-color:#becfba;border-radius:16px}.teacher-theme .empty-mark{background:#f5f2e7;color:#377051}
.teacher-theme th{background:#f5f2e7;color:var(--ink)}.teacher-theme .codes,.teacher-theme .utc-window{background:#faf7ed}.teacher-theme .assessment-help{background:#faf7ed;border-color:#becfba}.teacher-theme .step-number{background:#f5f2e7;color:#305f49}.teacher-theme .assessment-card legend{font-size:20px}.teacher-theme .assessment-card label,.teacher-theme .assessment-card label.check{font-size:14px}.teacher-theme .assessment-card input,.teacher-theme .assessment-card select{font-size:14px}.teacher-theme .assessment-card .field-help{font-size:13px}.teacher-theme .assessment-card .topic-list{background:#faf7ed;border-color:var(--line)}.teacher-theme .assessment-card #assessment-save-status{border-color:#86a78e}.teacher-theme .code-generator{background:#faf7ed;border-color:var(--line)}
.teacher-theme .entry{box-shadow:8px 8px 0 #f5f2e7;padding:38px}.teacher-theme .entry h1{font-size:36px}.teacher-theme .demo-help-steps li:before{background:#f5f2e7;color:#305f49}
/* Question layout preserves immediate answer saving and the existing feedback policy. */
.student-theme main:has(.exam-screen){max-width:1100px;margin:30px auto 50px}.exam-progress{padding:0 22px;margin:0 0 24px}.question-position{font-size:17px;font-weight:750}.question-topic{margin-left:auto}.exam-progress .timer{font-size:13px;font-weight:500;color:var(--muted)}
.question-progress{appearance:none;display:block;width:100%;height:12px;border:0;border-radius:20px;overflow:hidden;background:#f5f2e7;margin:15px 0 0;accent-color:#377051}.question-progress::-webkit-progress-bar{background:#f5f2e7;border-radius:20px}.question-progress::-webkit-progress-value{background:#377051;border-radius:20px}.question-progress::-moz-progress-bar{background:#377051;border-radius:20px}
.student-theme .question-card{padding:clamp(22px,4vw,48px);margin:0;box-shadow:none;border:2px solid #dce8d4}.student-theme .question-card legend{font-size:clamp(24px,2.7vw,32px);line-height:1.4;font-weight:800;margin-bottom:24px}.student-theme .question-card .choice{min-height:68px;border-width:2px;font-size:18px;line-height:1.55;margin:14px 0;padding:14px 20px;gap:20px}.student-theme .question-card .letter{width:42px;min-width:42px;height:42px;font-size:22px}
.student-theme .question-context{background:#f5f2e7;padding:20px 24px;border-radius:13px;font-size:18px}.student-theme .question-directions{color:var(--muted)}.student-theme .question-stimulus{background:#faf7ed;border-color:var(--line)}.student-theme .question-stimulus figcaption{color:var(--ink)}.student-theme .question-table th{background:#f5f2e7}.student-theme .question-note{color:var(--muted)}
.student-theme .question-actions{align-items:center;justify-content:flex-end;margin-top:28px}.student-theme .question-actions #finish{order:-1;margin-right:auto;padding-left:0}.student-theme .question-actions .primary{padding:13px 30px;min-height:52px;border-radius:12px;font-size:17px}.student-theme .question-card>.meta{font-size:12px;margin-top:18px}
/* Quiet visual feedback; correctness, explanations, and saved-answer behavior remain intact. */
.student-theme .choice.is-correct{background:#f4faf5;border-color:#9fc5aa;color:#245438}.student-theme .choice.is-incorrect{background:#fff7f5;border-color:#deb4ad;color:#813e35}.student-theme .feedback.good,.student-theme .feedback.incorrect{border:1px solid #d6e5d9;background:#f8fbf8;border-radius:13px;animation:none}.student-theme .feedback.incorrect{border-color:#ebd7d2;background:#fffaf8}.student-theme .feedback-heading,.student-theme .feedback.incorrect .feedback-heading{background:transparent;color:#245438;font-size:18px;padding:16px 20px 5px}.student-theme .feedback.incorrect .feedback-heading{color:#813e35}.student-theme .feedback-icon{background:#e4f1e7;color:#245438;width:26px;height:26px;flex-basis:26px;font-size:18px}.student-theme .feedback.incorrect .feedback-icon{background:#fae8e4;color:#813e35}.student-theme .feedback-body{color:var(--ink);font-size:16px}.student-theme .answer-status{background:#f5f2e7;color:#244e3d;font-size:14px;font-weight:500}
@media(max-width:800px){.teacher-theme .dashboard .class-heading{align-items:flex-start;flex-wrap:wrap}.class-heading-actions{justify-content:flex-start}.teacher-theme .dashboard-nav [role=tab]{padding:10px 16px;font-size:14px}.overview-columns{grid-template-columns:1fr}.overview-tools{padding:22px}.teacher-theme .performance-metrics{gap:12px}.teacher-theme .stat-card{padding:22px 18px}.teacher-theme .performance-row h3{font-size:15px}.teacher-theme .overview-tools button{min-height:52px}}
@media(max-width:560px){.teacher-theme header{padding:18px 16px;gap:10px}.teacher-theme .brand{font-size:23px;gap:7px}.teacher-theme .student-brand-mark{width:43px;height:33px}.teacher-theme header nav{gap:4px}.teacher-theme header nav a,.teacher-theme header nav button{font-size:13px;padding:8px}.teacher-theme main:has(.dashboard),.teacher-theme main:has(.teacher-home){margin-top:22px}.teacher-theme .dashboard-top{gap:16px}.teacher-theme .dashboard .class-title{font-size:32px}.class-heading-actions{width:100%;justify-content:space-between;gap:10px}.class-heading-actions button{font-size:12px;padding:10px 12px}.teacher-theme .dashboard-nav [role=tablist]{gap:5px}.teacher-theme .dashboard-nav [role=tab]{padding:9px 12px;font-size:13px}.teacher-theme .stat-card>strong{font-size:36px}.teacher-theme .stat-card>p{font-size:12px}.teacher-theme .stat-card small{font-size:11px}.teacher-theme .performance-metrics{grid-template-columns:1fr 1fr}.teacher-theme .accuracy-stat{grid-column:1/-1}.overview-topics,.overview-tools{padding:22px 18px}.overview-columns h3{font-size:22px}.topic-preview h4{font-size:16px}.teacher-theme .entry{padding:26px 22px;box-shadow:5px 5px 0 #f5f2e7}.teacher-theme .entry h1{font-size:30px}.teacher-theme .assessment-card .form-grid{grid-template-columns:1fr}.teacher-theme .assessment-card .topic-list{grid-template-columns:1fr}.teacher-theme .section-card{padding:24px}
.student-theme main:has(.exam-screen){margin-top:20px}.exam-progress{padding:0 2px;margin-bottom:20px}.exam-progress .row{gap:7px 15px}.question-position{font-size:15px}.question-topic{order:3;flex-basis:100%;font-size:12px}.exam-progress .timer{margin-left:auto}.question-progress{height:9px;margin-top:12px}.student-theme .question-card{padding:24px 18px;border-radius:16px}.student-theme .question-card legend{font-size:23px;line-height:1.4}.student-theme .question-card .choice{font-size:16px;padding:13px 12px;gap:12px}.student-theme .question-card .letter{width:34px;min-width:34px;height:34px;font-size:18px}.student-theme .question-context{padding:16px;font-size:16px}.student-theme .question-actions>*{flex:initial}.student-theme .question-actions .primary{padding:12px 18px;font-size:15px}.student-theme .feedback-body{font-size:15px}}
@media(forced-colors:active){.teacher-theme .dashboard-nav [aria-selected=true]{outline:2px solid Highlight}.question-progress{border:1px solid CanvasText}.student-theme .choice.is-correct,.student-theme .choice.is-incorrect,.overview-topics,.overview-tools{border:1px solid CanvasText}}

/* Keep the teacher sign-in action clear of the password field. */
.teacher-theme #login>button[type=submit]{margin-top:20px}


/* Approved teacher performance dashboard. */
.teacher-theme main:has(.dashboard){max-width:1500px;padding:0 32px}
.teacher-theme .dashboard-layout{display:grid;grid-template-columns:170px minmax(0,1fr);gap:28px}
.teacher-theme .dashboard-nav{border:0;margin:0;padding:12px 0}
.teacher-theme .dashboard-nav [role=tablist]{flex-direction:column;align-items:stretch;gap:9px}
.teacher-theme .dashboard-nav [role=tab]{text-align:left;width:100%;padding:14px 18px}
.teacher-theme .dashboard-nav [aria-selected=true]{color:#377051;background:#f5f2e7}
.teacher-theme .view-heading h2{font-size:clamp(26px,3vw,38px);letter-spacing:-.035em;margin:0}
.teacher-theme .view-heading p{margin:7px 0 0;color:#305f49}
.teacher-theme .performance-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin-bottom:24px;background:transparent;border:0;padding:0}
.teacher-theme .performance-toolbar label{font-size:12px;margin:0 0 5px;color:#305f49}
.teacher-theme .performance-toolbar select{border:1px solid #dce8d4;border-radius:14px;min-height:48px;background:white;padding:10px 35px 10px 15px}
.teacher-theme .performance-toolbar .range-caption{font-size:12px;margin:0 0 12px auto}
.teacher-theme .performance-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}
.teacher-theme .stat-card{padding:22px 24px;border-radius:20px;border-color:#dce8d4;box-shadow:none}
.teacher-theme .stat-card>strong{font-size:clamp(32px,4vw,52px);line-height:1.1;color:#173d32;display:block}
.teacher-theme .stat-card>strong span{font-size:24px}
.teacher-theme .stat-card>p{font-size:16px;font-weight:700;color:#173d32;margin:12px 0 5px}
.teacher-theme .stat-card small,.live-card small{display:block;color:#305f49;font-size:12px;margin:6px 0}
.teacher-theme .stat-card:not(.accuracy-stat) small{margin-top:5px}
.live-columns{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(240px,1fr);gap:18px}
.live-card{background:white;border:1px solid #dce8d4;border-radius:20px;padding:24px;margin-bottom:18px;min-width:0}
.live-card h3{font-size:23px;line-height:1.25;margin:0 0 12px;color:#173d32}
.context-card{background:#f5f2e7}
.context-card>p{margin:8px 0 20px}.context-card label{font-size:14px;margin:18px 0 4px}
.live-topic{display:grid;grid-template-columns:1fr 1.1fr;gap:20px;align-items:center;border-bottom:1px solid #dce8d4;padding:20px 0}
.topic-link{padding:0;border:0;background:transparent;text-align:left;min-height:0;line-height:1.35;font-size:16px;color:#173d32}
.live-bar-row{display:grid;grid-template-columns:minmax(0,1fr) 45px;gap:12px;align-items:center;margin:7px 0;font-size:14px}
.live-bar-row meter{width:100%;height:12px;border:0;border-radius:8px;appearance:none;background:#dce8d4}
.live-bar-row meter::-webkit-meter-bar{background:#dce8d4;border:0;border-radius:8px}
.live-bar-row meter::-webkit-meter-optimum-value{background:#377051;border-radius:8px}
.live-bar-row meter::-moz-meter-bar{background:#377051;border-radius:8px}
.year-bar meter::-webkit-meter-optimum-value{background:#becfba}.year-bar meter::-moz-meter-bar{background:#becfba}
.bar-legend{display:flex;flex-wrap:wrap;gap:18px;font-size:12px;color:#377051;margin:0}.bar-legend span+span{color:#377051}
.live-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.live-topic-grid .live-card{padding:22px}.live-topic-grid h3{font-size:20px}.topic-percent{font-size:46px;line-height:1.2}.live-topic-grid p{font-size:13px}
.trend-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.trend-heading>div:last-child{max-width:260px}.trend-heading label{margin:0;font-size:12px}.trend-heading select{font-size:13px}
.live-card table{font-size:14px}.live-card th,.live-card td{background:white;padding:14px 10px}.live-card td small{font-size:11px}
.trend-change{font-size:13px;color:#377051}.trend-change.down{color:#a74433}
.teacher-theme .evidence-method{margin:16px 0;padding:16px 22px;border:1px solid #dce8d4;border-radius:16px;background:white;font-size:13px}
.student-theme .exam-progress .row{justify-content:space-between;flex-wrap:nowrap}
.student-theme .exam-progress .timer{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;min-width:140px;padding:12px 22px;border:1px solid #becfba;border-radius:18px;background:#f5f2e7;color:#173d32;line-height:1.15}
.student-theme .timer strong{font-size:34px;font-variant-numeric:tabular-nums;letter-spacing:.02em}.student-theme .timer small{font-size:12px;margin-top:5px}
@media(max-width:1050px){.teacher-theme .dashboard-layout{grid-template-columns:135px minmax(0,1fr);gap:18px}.live-columns{grid-template-columns:1fr}.live-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-theme .stat-card{padding:18px}.teacher-theme .stat-card>strong{font-size:35px}}
@media(max-width:760px){.teacher-theme main:has(.dashboard){padding:0 16px}.teacher-theme .dashboard-layout{display:block}.teacher-theme .dashboard-nav [role=tablist]{flex-direction:row;flex-wrap:wrap}.teacher-theme .dashboard-nav [role=tab]{width:auto;padding:10px 14px}.teacher-theme .performance-toolbar .range-caption{margin:0;width:100%}.teacher-theme .performance-metrics{grid-template-columns:1fr}.teacher-theme .stat-card>strong{font-size:42px}.live-topic-grid{grid-template-columns:1fr}.live-topic{grid-template-columns:1fr;gap:6px}.live-card{padding:20px}.trend-heading{flex-direction:column}.teacher-theme .custom-range{flex-wrap:wrap}.student-theme .exam-progress .timer{min-width:112px;padding:10px 14px}.student-theme .timer strong{font-size:29px}}
.teacher-theme main:has(.dashboard){margin-top:20px}
.teacher-theme .dashboard-top{margin-bottom:8px}
.teacher-theme .dashboard .class-heading{margin:10px 0 20px;align-items:center}
.teacher-theme .dashboard .class-heading .home-eyebrow{display:none}
.teacher-theme .dashboard .class-title{font-size:26px;margin:0}
.teacher-theme main:focus{outline:none}
.teacher-theme .dashboard .view-heading{margin-bottom:12px}
.live-bar-row .empty-meter{height:12px;background:#dce8d4;border-radius:8px}

/* Match the approved compact dashboard while retaining readable touch targets. */
.teacher-theme main:has(.dashboard){max-width:1500px;padding:0 24px}
.teacher-theme .dashboard-layout{grid-template-columns:170px minmax(0,1fr);gap:24px}
.teacher-theme .dashboard-nav [role=tab]{display:flex;align-items:center;gap:12px;padding:10px 14px;min-height:46px}
.nav-icon{width:22px;height:22px;flex:none}
.teacher-theme .performance-toolbar{gap:10px 16px;margin-bottom:16px}
.filter-buttons{display:flex;flex-wrap:wrap;border:1px solid #dce8d4;border-radius:11px;padding:3px;background:#fff;gap:3px}
.teacher-theme .filter-buttons button{border:0;border-radius:8px;background:transparent;color:#173d32;font-size:12px;font-weight:500;min-height:40px;padding:8px 12px}
.teacher-theme .filter-buttons button[aria-pressed=true]{background:#377051;color:white;box-shadow:0 2px 5px #37705126}
.teacher-theme .filter-buttons button:hover{background:#f5f2e7;color:#173d32}
.teacher-theme .filter-buttons button[aria-pressed=true]:hover{background:#377051;color:white}
.teacher-theme .performance-toolbar .range-caption{width:100%;margin:0;font-size:11px}
.teacher-theme .view-heading h2{font-size:clamp(26px,2.6vw,34px)}
.teacher-theme .view-heading p{font-size:14px}
.teacher-theme .performance-metrics{gap:12px;margin:14px 0}
.teacher-theme .stat-card{padding:16px 20px;border-radius:14px}
.teacher-theme .stat-card>strong{font-size:clamp(32px,3.5vw,46px)}
.teacher-theme .stat-card>p{margin:4px 0 2px;font-size:14px}
.teacher-theme .stat-card small{margin:3px 0 0;font-size:12px}
.teacher-theme .stat-card:not(.accuracy-stat) small{margin-top:3px}
.live-columns{gap:14px;align-items:start;grid-template-columns:minmax(0,2fr) minmax(250px,1fr)}
.live-card{padding:18px 20px;border-radius:14px;margin-bottom:14px}
.live-card h3{font-size:21px;margin:0 0 10px}
.topic-chart-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;margin-bottom:4px}
.topic-chart-heading h3{margin:0}.bar-legend{font-size:11px;gap:12px}
.live-topic{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:16px;padding:14px 0}
.topic-link{font-size:14px}.live-topic small{font-size:11px;line-height:1.4;margin:4px 0 0}.live-topic .topic-dates{font-size:10px}
.live-bar-row{margin:6px 0;gap:9px;grid-template-columns:minmax(0,1fr) 38px;font-size:13px}
.live-bar-row meter,.live-bar-row .empty-meter{height:14px;border-radius:10px;display:block}
.live-bar-row meter::-webkit-meter-bar{height:14px;border-radius:10px}
.live-bar-row meter::-webkit-meter-optimum-value{background:#377051;border-radius:10px}
.live-bar-row meter::-moz-meter-bar{background:#377051;border-radius:10px}
.year-bar meter::-webkit-meter-optimum-value{background:#becfba}.year-bar meter::-moz-meter-bar{background:#becfba}
.context-card>p{font-size:14px;line-height:1.5;margin:6px 0 12px}.context-card label{font-size:13px;margin:12px 0 4px}.context-card .meta{font-size:12px}
.teacher-theme .live-card .text-action{font-size:13px;margin-top:4px;min-height:40px;padding:8px 0}
.trend-heading{gap:12px}.trend-heading .meta{font-size:12px;margin:4px 0 10px}.trend-heading select{min-height:40px}
.live-card th,.live-card td{padding:10px 8px;vertical-align:middle}.live-card table{font-size:13px}.live-card td small{margin:2px 0;font-size:11px}
.daily-spark{display:block;width:140px;height:48px;color:#377051}.daily-spark polyline{fill:none;stroke:currentColor;stroke-width:2}.daily-spark circle{fill:currentColor;stroke:white;stroke-width:1}.spark-baseline{stroke:#dce8d4;stroke-width:1}.spark-empty{font-size:11px;color:#305f49;white-space:nowrap}
@media(max-width:1100px){.teacher-theme .dashboard-layout{grid-template-columns:145px minmax(0,1fr);gap:16px}.live-columns{grid-template-columns:1fr}.live-card{padding:16px}.teacher-theme .dashboard-nav [role=tab]{font-size:13px;padding:10px;gap:8px}}
@media(max-width:760px){.teacher-theme main:has(.dashboard){padding:0 16px}.teacher-theme .dashboard-layout{display:block}.teacher-theme .dashboard-nav [role=tab]{width:auto}.teacher-theme .dashboard-nav [role=tablist]{gap:4px}.teacher-theme .performance-toolbar{align-items:start}.filter-buttons{max-width:100%}.teacher-theme .filter-buttons button{padding:8px 10px;min-height:44px}.teacher-theme .performance-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.teacher-theme .stat-card{padding:12px}.teacher-theme .stat-card>strong{font-size:30px}.teacher-theme .stat-card>strong span{font-size:16px}.teacher-theme .stat-card>p{font-size:12px}.teacher-theme .stat-card small{font-size:11px}.live-topic{grid-template-columns:1fr;gap:8px}.trend-heading{flex-direction:column}}
@media(max-width:440px){.teacher-theme .performance-metrics{grid-template-columns:1fr}.teacher-theme .stat-card{padding:14px 16px}.teacher-theme .stat-card>strong{font-size:34px}.teacher-theme .stat-card>p{font-size:14px}}
@media(forced-colors:active){.teacher-theme .filter-buttons button[aria-pressed=true]{outline:2px solid Highlight}.daily-spark{color:CanvasText}}

/* Teacher credential visibility and student sign-in field spacing. */

.practice-entry #login label[for="code"]{margin-top:24px;margin-bottom:8px}

/* Overview layout matched to the approved class-at-a-glance reference. */
.overview-teacher-code{font-size:15px;color:#305f49;margin:0}.teacher-home .overview-teacher-code{margin-top:12px}.overview-teacher-code small{display:inline-block;font-size:inherit}
.teacher-theme .overview-active .dashboard-top{display:grid;grid-template-columns:170px minmax(260px,440px) 1fr;gap:28px;align-items:center;margin-bottom:32px}
.teacher-theme .overview-active .section-switch{max-width:none;min-width:0;width:100%}
.teacher-theme .overview-active .section-switch label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.teacher-theme .overview-active .section-switch select{font-size:18px;font-weight:750;border:1px solid #86a78e;border-radius:12px;min-height:50px;background:white}
.dashboard-top .overview-teacher-code{text-align:right;white-space:nowrap}
.overview-teacher-code strong{color:#173d32;letter-spacing:.1em;margin-left:6px;font-variant-numeric:tabular-nums}
.teacher-theme .overview-active .class-heading{display:none}
.teacher-theme .overview-active .dashboard-layout{grid-template-columns:170px minmax(0,1fr);gap:28px}
.teacher-theme .overview-active .dashboard-nav{padding:4px 0;position:sticky;top:20px}
.teacher-theme .overview-active .dashboard-nav [role=tab]{font-size:17px;min-height:54px;border-radius:14px;padding:13px 15px}
.teacher-theme .overview-active .dashboard-nav [aria-selected=true]{background:#dce8d4;color:#173d32;box-shadow:none}
.teacher-theme .overview-active .overview-title{font-size:clamp(30px,3.4vw,46px);font-weight:850;line-height:1.15;letter-spacing:-.025em;margin:0 0 25px;color:#173d32}
.teacher-theme .overview-active .performance-toolbar{display:flex;gap:14px 24px;margin:0 0 6px;align-items:center}
.teacher-theme .overview-active .range-control,.teacher-theme .overview-active .practice-filter{flex:0 1 auto;min-width:0}
.teacher-theme .overview-active .filter-buttons{display:flex;flex-wrap:wrap;border:1px solid #86a78e;border-radius:24px;overflow:hidden;padding:0;background:white;gap:0}
.teacher-theme .overview-active .filter-buttons button{border:0;border-radius:22px;background:transparent;min-height:42px;padding:8px 18px;font-size:15px;font-weight:500;color:#173d32;box-shadow:none}
.teacher-theme .overview-active .filter-buttons button[aria-pressed=true]{background:#dce8d4;font-weight:750}
.teacher-theme .overview-active .range-caption{flex-basis:100%;margin:0;font-size:17px;color:#173d32}
.teacher-theme .overview-active .load-status:empty{display:none}
.teacher-theme .overview-active .performance-metrics{gap:18px;margin:22px 0 24px;grid-template-columns:repeat(3,minmax(0,1fr))}
.teacher-theme .overview-active .stat-card{border:1px solid #becfba;border-radius:16px;padding:18px 22px}
.teacher-theme .overview-active .stat-card>strong{font-size:clamp(34px,3.8vw,56px);font-weight:850;line-height:1.05;letter-spacing:-.035em;white-space:nowrap}
.teacher-theme .overview-active .stat-card>strong span{font-size:inherit;letter-spacing:inherit;margin:0}
.teacher-theme .overview-active .stat-card>p{font-size:17px;line-height:1.4;font-weight:650;margin:6px 0}
.teacher-theme .overview-active .stat-card small{font-size:14px;line-height:1.45;color:#305f49}
.overview-active .live-columns{grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:20px;align-items:stretch}
.overview-active .live-card{border:1px solid #becfba;border-radius:16px;padding:22px;background:#fff;margin:0}
.overview-active .live-card h2{font-size:clamp(24px,2.4vw,34px);font-weight:850;line-height:1.2;margin:0 0 6px;letter-spacing:-.025em;color:#173d32}
.overview-active .topic-chart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}
.overview-active .topic-chart-heading p,.overview-active .student-check-in>p{font-size:14px;line-height:1.5;color:#305f49;margin:0}
.overview-active .bar-legend{display:flex;flex-direction:column;gap:7px;flex-shrink:0;color:#173d32;font-size:12px;margin:4px 0 0}
.overview-active .bar-legend span{display:flex;align-items:center;gap:8px;color:inherit}
.overview-active .bar-legend i{width:15px;height:15px;border-radius:5px;background:#377051;display:inline-block}
.overview-active .bar-legend span+span i{background:#becfba}
.overview-active .live-topic{grid-template-columns:minmax(110px,.8fr) minmax(0,1.6fr);gap:18px;border:0;padding:16px 0}
.overview-active .topic-link{font-size:17px;font-weight:750}
.overview-active .live-topic small{font-size:11px;line-height:1.5;margin-top:4px}
.overview-active .live-bar-row{font-size:15px;margin:5px 0;gap:10px;grid-template-columns:minmax(0,1fr) 42px}
.overview-active .live-bar-row meter{height:16px}
.overview-active .live-bar-row meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#86a78e,#377051)}
.overview-active .year-bar meter::-webkit-meter-optimum-value{background:#becfba}
.overview-active .live-bar-row meter::-moz-meter-bar{background:#377051}
.overview-active .year-bar meter::-moz-meter-bar{background:#becfba}
.student-check-in{display:flex;flex-direction:column}
.student-check-in ul{list-style:none;padding:0;margin:18px 0 15px;display:grid;gap:10px}
.student-check-in li{display:flex;align-items:center;gap:14px;padding:9px 12px;background:#f5f2e7;border-radius:12px;font-size:15px;line-height:1.35}
.student-check-in li strong{display:grid;place-items:center;min-width:48px;padding:3px 9px;border-radius:9px;background:#dce8d4;color:#377051;font-size:21px;font-variant-numeric:tabular-nums}
.student-check-in li.check-in-lower strong{background:#ffdede;color:#bd3246}
.student-check-in li.check-in-none,.student-check-in li.check-in-insufficient{background:#f5f2e7}
.student-check-in li.check-in-none strong,.student-check-in li.check-in-insufficient strong{background:#dce8d4;color:#305f49}
.student-check-in .text-action{border:0;border-top:1px solid #dce8d4;border-radius:0;width:100%;text-align:right;font-size:16px;margin:auto 0 0;padding:12px 0 0;color:#377051;background:transparent;white-space:normal}
.student-check-in .text-action span{margin-left:10px}
.overview-explore{display:flex;align-items:center;gap:24px;width:100%;margin:26px 0 20px;padding:16px 22px;border:1px solid #becfba;border-radius:16px;background:#dce8d4;color:#173d32;text-align:left}
.overview-explore strong{font-size:25px;font-weight:850;line-height:1.25;white-space:nowrap}
.overview-explore span:not(:last-child){border-left:1px solid #86a78e;padding-left:24px;font-size:16px;font-weight:450}
.overview-explore span:last-child{margin-left:auto;color:#377051;font-size:30px;line-height:1}
.overview-trend-details{margin:16px 0}.overview-trend-details>summary{font-size:14px;color:#305f49;padding:8px 0}.overview-trend-details .live-card{margin-top:12px}
.overview-no-data{padding:35px 0;color:#305f49}
@media(max-width:1150px){.overview-active .live-columns{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.overview-active .topic-chart-heading{flex-wrap:wrap}.overview-active .bar-legend{flex-direction:row;flex-wrap:wrap}.teacher-theme .overview-active .stat-card>p{font-size:15px}.teacher-theme .overview-active .stat-card{padding:18px}}
@media(max-width:900px){.overview-active .live-columns{grid-template-columns:1fr}.overview-active .student-check-in ul{grid-template-columns:1fr 1fr}.teacher-theme .overview-active .dashboard-top{grid-template-columns:140px minmax(0,1fr);gap:12px}.teacher-theme .overview-active .overview-teacher-code{grid-column:2;text-align:left}.teacher-theme .overview-active .dashboard-layout{grid-template-columns:140px minmax(0,1fr);gap:20px}.teacher-theme .overview-active .dashboard-nav [role=tab]{font-size:14px;padding:12px}.teacher-theme .overview-active .performance-metrics{grid-template-columns:1fr}.overview-explore{gap:14px;flex-wrap:wrap}.overview-explore span:not(:last-child){border:0;padding:0}.overview-explore strong{font-size:22px}}
@media(max-width:760px){.teacher-theme .overview-active .dashboard-layout{display:block}.teacher-theme .overview-active .dashboard-nav{position:static;border-bottom:1px solid #dce8d4;margin:0 0 24px;padding-bottom:14px}.teacher-theme .overview-active .dashboard-nav [role=tablist]{flex-direction:row;flex-wrap:wrap;gap:4px}.teacher-theme .overview-active .dashboard-nav [role=tab]{width:auto;min-height:44px;font-size:13px;padding:9px 11px}.teacher-theme .overview-active .dashboard-top{grid-template-columns:1fr;gap:8px;margin-bottom:20px}.teacher-theme .overview-active .overview-teacher-code{grid-column:auto}.teacher-theme .overview-active .dashboard-top .back-link{justify-self:start}.teacher-theme .overview-active .filter-buttons button{font-size:13px;padding:8px 13px}.overview-active .student-check-in ul{grid-template-columns:1fr}.overview-active .live-topic{grid-template-columns:1fr;gap:6px}.overview-active .live-card{padding:20px}.overview-explore span:last-child{margin-left:auto}.teacher-theme .overview-active .stat-card>strong{font-size:44px}.teacher-theme main:has(.overview-active){padding:0 18px}}

/* Student answer portal: choose first, then explicitly submit. */
.student-theme:has(.answer-portal){background:#faf7ed}
.student-theme:has(.answer-portal) header{max-width:none;padding:14px 32px;border-bottom:1px solid #dce8d4;background:#faf7ed}
.student-theme:has(.answer-portal) header .brand{font-size:32px}
.student-theme #student-identity{font-weight:750;color:#173d32;font-size:18px;letter-spacing:.015em;border-right:1px solid #becfba;padding-right:24px;font-variant-numeric:tabular-nums}
.student-theme:has(.answer-portal) #signout{border:1px solid #377051;border-radius:12px;color:#305f49;background:white;padding:7px 20px;min-height:44px;font-size:18px}
.student-theme main:has(.answer-portal){max-width:1680px;margin:22px auto 0;padding:0 32px}
.student-theme .answer-portal .exam-progress{display:grid;grid-template-columns:auto minmax(100px,1fr) auto;align-items:center;gap:clamp(20px,4vw,70px);margin:0 0 24px;padding:12px 22px 12px 30px;border:2px solid #dce8d4;border-radius:18px;background:white}
.student-theme .answer-portal .question-position{font-size:clamp(20px,2.2vw,32px);font-weight:850;line-height:1.2;white-space:nowrap;color:#173d32}
.student-theme .answer-portal .question-progress{width:100%;height:18px;margin:0;appearance:none;border:0;border-radius:20px;background:#dce8d4;overflow:hidden}
.student-theme .answer-portal .question-progress::-webkit-progress-bar{background:#dce8d4;border-radius:20px}
.student-theme .answer-portal .question-progress::-webkit-progress-value{background:linear-gradient(90deg,#86a78e,#becfba);border-radius:20px}
.student-theme .answer-portal .question-progress::-moz-progress-bar{background:#86a78e;border-radius:20px}
.exam-clock{display:flex;align-items:center;gap:18px;padding:8px 20px;background:#fffdf6;border-radius:16px;color:#275d45;min-width:220px}
.exam-clock svg{width:42px;height:42px;flex-shrink:0}
.student-theme .answer-portal .timer{border:0;border-left:1px solid #cbd7c5;border-radius:0;background:none;box-shadow:none;color:#173d32;min-width:0;margin:0;padding:0 0 0 20px;text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap}
.student-theme .answer-portal .timer strong{font-size:clamp(28px,3vw,42px);font-weight:850;line-height:1.05;display:block}
.student-theme .answer-portal .timer small{display:block;font-size:15px;font-weight:500;line-height:1.4}

.student-theme .answer-portal .question-card{margin:0;padding:30px 34px 20px;border:2px solid #dce8d4;border-radius:18px;background:#fff;box-shadow:none}
.student-theme .answer-portal fieldset{min-width:0;margin:0;padding:0;border:0}
.student-theme .answer-portal legend{font-size:clamp(25px,3vw,44px);line-height:1.25;font-weight:850;letter-spacing:-.025em;color:#173d32;padding:0;margin:0 0 28px;width:100%;float:none}
.student-theme .answer-portal .answer-options{display:grid;gap:14px;margin:0}
.student-theme .answer-portal .choice{width:100%;display:flex;align-items:center;gap:26px;text-align:left;padding:10px 22px;min-height:68px;margin:0;border:2px solid #becfba;border-radius:16px;background:#fff;color:#173d32;box-shadow:none;font-size:clamp(18px,2vw,27px);font-weight:650;line-height:1.35;transform:none}
.student-theme .answer-portal .choice:hover:not(:disabled){background:#faf7ed;border-color:#86a78e;transform:none}
.student-theme .answer-portal .choice .letter{display:grid;place-items:center;flex:0 0 54px;width:54px;height:44px;border:0;border-radius:12px;background:#dce8d4;color:#173d32;font-size:30px;font-weight:850;line-height:1}
.student-theme .answer-portal .choice .choice-text{min-width:0;overflow-wrap:anywhere;font-weight:500}
.student-theme .answer-portal .choice.selected{background:#dce8d4;border-color:#377051;box-shadow:0 0 0 1px #377051}
.student-theme .answer-portal .choice.selected .letter{background:#305f49;color:white}
.student-theme .answer-portal .choice:disabled{opacity:1;cursor:default}
.student-theme .answer-portal .choice.is-correct{border-color:#478969;background:#f1f8f4;box-shadow:none}
.student-theme .answer-portal .choice.is-correct .letter{background:#dbeee3;color:#24593e}
.student-theme .answer-portal .choice.is-incorrect{border-color:#c56d7a;background:#fff5f5;box-shadow:none}
.student-theme .answer-portal .choice.is-incorrect .letter{background:#f7dfe3;color:#873544}
.student-theme .answer-portal .choice-result{font-size:13px;line-height:1.35;margin-left:auto;flex-shrink:0}
.student-theme .answer-portal .selection-help{font-size:18px;font-style:italic;color:#305f49;margin:18px 0 0;line-height:1.5}
.student-theme .answer-portal .question-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0 0;padding:0 0 0 12px}
.student-theme .answer-portal .question-actions .primary{font-size:24px;font-weight:750;min-height:58px;padding:10px 26px;border:0;border-radius:15px;background:linear-gradient(110deg,#377051,#305f49);color:white;box-shadow:none}
.student-theme .answer-portal .question-actions .primary:disabled{opacity:.5;cursor:default}
.student-theme .answer-portal .question-actions .primary span{margin-left:16px;font-size:29px}
.student-theme .answer-portal .end-practice{border:0;border-radius:0;background:transparent;color:#305f49;text-decoration:underline;text-underline-offset:4px;padding:6px 0;font-weight:500;font-size:20px;box-shadow:none}
.student-theme .answer-portal .answer-save-note{text-align:center;color:#305f49;font-size:15px;margin:8px 0 18px}
.student-theme:has(.answer-portal) #student-footer{display:none}
@media(max-width:850px){.student-theme:has(.answer-portal) header{padding:12px 18px}.student-theme:has(.answer-portal) header .brand{font-size:24px}.student-theme #student-identity{font-size:14px;padding-right:12px}.student-theme:has(.answer-portal) header nav{gap:12px}.student-theme main:has(.answer-portal){padding:0 18px}.student-theme .answer-portal .exam-progress{grid-template-columns:1fr auto;gap:12px;padding:14px 18px}.student-theme .answer-portal .question-progress{grid-column:1/-1;grid-row:2;height:12px}.exam-clock{min-width:0;gap:10px;padding:8px 12px}.exam-clock svg{width:28px;height:28px}.student-theme .answer-portal .timer{padding-left:10px}.student-theme .answer-portal .timer strong{font-size:26px}.student-theme .answer-portal .timer small{font-size:12px}.student-theme .answer-portal .question-card{padding:24px}.student-theme .answer-portal .choice{gap:16px;padding:10px 14px}.student-theme .answer-portal .choice-result{flex-shrink:1}.student-theme .answer-portal .choice .letter{flex-basis:42px;width:42px;height:40px;font-size:25px}}
@media(max-width:520px){.student-theme:has(.answer-portal) header{gap:10px;flex-wrap:wrap}.student-theme:has(.answer-portal) header .brand{font-size:21px}.student-theme:has(.answer-portal) header nav{margin-left:auto}.student-theme #student-identity{font-size:12px;padding-right:8px}.student-theme:has(.answer-portal) #signout{font-size:13px;padding:6px 10px}.student-theme main:has(.answer-portal){padding:0 12px;margin-top:14px}.student-theme .answer-portal .exam-progress{padding:12px;gap:10px;margin-bottom:16px}.student-theme .answer-portal .question-position{font-size:20px;white-space:normal}.exam-clock{padding:7px 10px;gap:7px}.exam-clock svg{width:24px;height:24px}.student-theme .answer-portal .timer strong{font-size:24px}.student-theme .answer-portal .timer small{font-size:11px}.student-theme .answer-portal .question-card{padding:22px 16px 16px}.student-theme .answer-portal legend{font-size:26px;margin-bottom:22px}.student-theme .answer-portal .choice{font-size:17px;gap:12px;padding:12px;align-items:flex-start;flex-wrap:wrap}.student-theme .answer-portal .choice .letter{flex-basis:34px;width:34px;height:34px;font-size:23px}.student-theme .answer-portal .choice-text{flex:1;min-width:160px}.student-theme .answer-portal .choice-result{margin-left:46px}.student-theme .answer-portal .selection-help{font-size:15px}.student-theme .answer-portal .question-actions{padding:0;flex-wrap:wrap}.student-theme .answer-portal .question-actions .primary{font-size:18px;padding:10px 18px;min-height:50px}.student-theme .answer-portal .question-actions .primary span{font-size:22px;margin-left:8px}.student-theme .answer-portal .end-practice{font-size:16px}.student-theme .answer-portal .answer-save-note{font-size:13px;margin-top:14px}}

.student-theme:has(.answer-portal) header nav a[href="/teacher"]{display:none}
/* Compact practice workspace; source material keeps its natural proportions. */
.student-theme:has(.answer-portal) header{padding:8px 24px}
.student-theme:has(.answer-portal) header .brand{font-size:26px}
.student-theme main:has(.answer-portal){margin-top:10px;padding:0 24px}
.student-theme:has(.answer-portal) .demo-workspace-note{margin:4px 0 10px;font-size:11px}
.student-theme .answer-portal .exam-progress{padding:8px 18px;gap:24px;margin-bottom:14px;border-radius:14px}
.student-theme .answer-portal .question-position{font-size:23px}
.student-theme .answer-portal .question-progress{height:12px}
.student-theme .answer-portal .exam-clock{min-width:0;padding:4px 12px;gap:10px}
.student-theme .answer-portal .exam-clock svg{width:28px;height:28px}
.student-theme .answer-portal .timer{padding-left:12px}
.student-theme .answer-portal .timer strong{font-size:27px}
.student-theme .answer-portal .timer small{font-size:12px}
.student-theme .answer-portal .question-card{padding:20px 24px 14px}
.student-theme .answer-portal legend{font-size:clamp(25px,2.1vw,32px);line-height:1.25;margin-bottom:16px}
.student-theme .answer-portal .choice{font-size:20px;min-height:52px;padding:7px 14px;gap:16px;border-radius:12px}
.student-theme .answer-portal .choice .letter{width:38px;flex-basis:38px;height:34px;font-size:25px;border-radius:9px}
.student-theme .answer-portal .answer-options{gap:10px}
.student-theme .answer-portal .selection-help{font-size:15px;margin-top:12px}
.student-theme .answer-portal .question-actions{position:sticky;bottom:0;z-index:2;background:#faf7ed;padding:10px 8px;margin-top:6px;border-radius:12px}
.student-theme .answer-portal .question-actions .primary{font-size:20px;min-height:46px;padding:6px 22px}
.student-theme .answer-portal .answer-save-note{font-size:12px;margin:0 0 8px}
.question-layout{display:grid;gap:16px;align-items:start}
.question-layout.with-source{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
.source-panel{min-width:0;border:2px solid #dce8d4;border-radius:18px;background:white;padding:16px}
.source-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.source-toolbar h2{font-size:22px;margin:0 auto 0 0}
.source-toolbar button{font-size:13px;padding:6px 10px;min-height:36px}
.source-content{max-height:calc(100dvh - 275px);overflow:auto;scrollbar-gutter:stable;padding:2px 8px 8px 2px;min-width:0}
.source-content:focus-visible{outline:2px solid #305f49;outline-offset:2px}
.student-theme .source-content .question-stimulus{margin:8px 0 16px;padding:12px}
.student-theme .source-content .question-context{font-size:17px;padding:12px;margin:0 0 12px}
.student-theme .source-content .question-visual{width:100%;height:auto;max-height:none;object-fit:contain}
.question-layout.source-above{grid-template-columns:1fr}
.source-dialog{width:min(1200px,94vw);max-width:94vw;max-height:90dvh;box-sizing:border-box;border:2px solid #becfba;border-radius:18px;padding:18px;color:#173d32;background:white}
.source-dialog::backdrop{background:rgba(35,15,55,.55)}
.source-dialog form{display:flex;justify-content:flex-end;margin:0 0 12px;position:sticky;top:0;background:white;z-index:1}
.source-dialog .source-content{max-height:none;overflow:visible}
.source-dialog .question-visual{max-width:none}
@media(max-width:900px){.question-layout.with-source{grid-template-columns:1fr}.source-content{max-height:none;overflow:visible}.source-toolbar #source-wide{display:none}}
@media(max-width:520px){.student-theme:has(.answer-portal) header{padding:8px 12px}.student-theme:has(.answer-portal) header .brand{font-size:21px}.student-theme main:has(.answer-portal){padding:0 12px}.student-theme .answer-portal .question-position{font-size:18px}.student-theme .answer-portal .exam-progress{padding:10px;gap:10px}.student-theme .answer-portal .question-card{padding:18px 14px}.student-theme .answer-portal legend{font-size:25px}.student-theme .answer-portal .choice{font-size:17px;gap:12px}.student-theme .answer-portal .question-actions .primary{font-size:17px}.source-panel{padding:12px}}
@media(min-width:901px){.student-theme .answer-portal legend{font-size:28px}.student-theme .answer-portal .timer{display:flex;align-items:baseline;gap:8px}.student-theme .answer-portal .timer strong{font-size:25px}.student-theme .answer-portal .question-card{padding:16px 22px 12px}.student-theme .answer-portal .question-directions{margin:0 0 10px}.student-theme .answer-portal .question-actions .primary{min-height:44px;padding:4px 20px}.student-theme .answer-portal .question-actions .primary span{font-size:23px}}
.student-theme main:has(.answer-portal){margin-bottom:12px}
@media(min-width:901px){.student-theme .answer-portal .timer{flex-direction:row}.student-theme .answer-portal .exam-clock{padding:2px 10px}.student-theme .answer-portal .choice{min-height:48px;padding:5px 14px}.student-theme .answer-portal .answer-options{gap:8px}.student-theme .answer-portal .question-progress{margin:0}.student-theme .answer-portal .question-actions{position:static}.student-theme .answer-portal legend{font-size:28px;margin-bottom:10px}.student-theme .answer-portal .selection-help{margin-top:8px}}
@media(min-width:901px) and (max-height:800px){.student-theme:has(.answer-portal) header{padding-top:4px;padding-bottom:4px}.student-theme .answer-portal .exam-progress{margin-bottom:8px}.student-theme .answer-portal .question-card{padding-top:12px;padding-bottom:8px}.student-theme .answer-portal .question-actions{padding-top:6px;padding-bottom:6px}}


/* Teacher account forms use the same palette with clear spacing between fields. */
.teacher-email-entry label:not(:first-child){margin-top:1.25rem}
.teacher-email-entry p{line-height:1.6}
.teacher-email-entry form>button{margin-top:1.25rem}

/* Assessment setup, scoped to the teacher's section workspace. */
.practice-setup {color:#173d32}
.practice-setup .setup-heading {margin:0 0 1.35rem}
.practice-setup .setup-heading h2 {font-size:clamp(1.8rem,3vw,2.75rem);line-height:1.12;margin:0}
.practice-setup .setup-heading p {margin:.35rem 0;color:#305f49}
.practice-setup #settings {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:1rem;align-items:start}
.practice-setup .setup-side {display:grid;gap:1rem;min-width:0}
.practice-setup .setup-card {min-width:0;margin:0;padding:clamp(.9rem,1.8vw,1.45rem);border:1px solid #becfba;border-radius:16px;background:white}
.practice-setup h3 {font-size:clamp(1.25rem,2vw,1.65rem);margin:0 0 .85rem;line-height:1.2}
.practice-setup .setup-options {display:flex;flex-wrap:wrap;gap:.35rem;margin:.65rem 0}
.practice-setup .setup-options label {position:relative;flex:1 0 auto;margin:0;cursor:pointer}
.practice-setup .setup-options label input {position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0}
.practice-setup .setup-options span {display:block;text-align:center;border:1px solid #becfba;border-radius:.65rem;padding:.5rem .35rem;font-weight:650;color:#173d32}
.practice-setup .setup-options input:checked+span {background:#dce8d4;border-color:#86a78e}
.practice-setup .setup-options input:focus-visible+span {outline:3px solid #305f49;outline-offset:2px}
.practice-setup fieldset {padding:0;margin:0;border:0;min-width:0}
.practice-setup .setup-tools {display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin:.7rem 0}
.practice-setup #setup-search {width:100%;margin:.5rem 0}
.practice-setup .setup-list {max-height:32rem;overflow:auto;border:1px solid #dce8d4;border-radius:.7rem}
.practice-setup .setup-row {padding:.65rem .8rem;border-bottom:1px solid #dce8d4}
.practice-setup .setup-row:has(input:checked) {background:#f5f2e7}
.practice-setup .setup-row label {display:flex;gap:.7rem;align-items:center;font-weight:700;margin:0;cursor:pointer}
.practice-setup .setup-row input {accent-color:#377051;width:1.15rem;height:1.15rem;min-height:0;margin:0}
.practice-setup .setup-row details {margin:.15rem 0 0 1.85rem;padding:0;border:0;background:transparent}
.practice-setup .setup-row summary,.practice-setup .setup-row details button,.practice-setup #all-ready,.practice-setup #setup-clear {color:#305f49;font-size:.9rem}
.practice-setup #all-ready {margin-top:.6rem}
.practice-setup .setup-caption {background:#f5f2e7;border-radius:.6rem;padding:.8rem;margin:.8rem 0 0}
.practice-setup .setup-review {background:linear-gradient(#f5f2e7,#fff 62%)}
.practice-setup .setup-review ul {list-style:none;margin:0;padding:0}
.practice-setup .setup-review li {padding:.55rem 0;border-bottom:1px solid #dce8d4}
.practice-setup .setup-review button {display:block;width:100%;margin:.5rem 0}
.practice-setup .setup-review small {display:block;text-align:center}
.practice-setup #save-assessment {background:transparent;border:0;color:#305f49}
.practice-setup #assessment-selection:empty,.practice-setup [hidden] {display:none!important}
.practice-setup #assessment-selection {color:#69391c}
.practice-setup #time-window label,.practice-setup #custom-time {display:block;margin-top:.6rem}
@media(max-width:960px){.practice-setup #settings {grid-template-columns:1fr}.practice-setup .setup-list {max-height:25rem}}
@media(max-width:480px){.practice-setup .setup-options span {font-size:.9rem}.practice-setup .setup-card {padding:.85rem}}

.discovery-icon{display:inline-block;vertical-align:middle;width:64px;height:56px;flex:none;border-radius:12px}
.setup-row .discovery-icon{width:42px;height:34px}
.student-theme main:has(.wrapup){max-width:1250px;margin:auto;width:100%}
.wrapup .wrap-heading{text-align:center;margin:.7rem 0 1rem}.wrap-heading h1{font-size:clamp(1.7rem,3.4vw,2.8rem);margin:0}.wrap-heading p{margin:.3rem}
.wrap-banner{display:flex;align-items:center;gap:1.2rem;padding:1.25rem 5%;border-radius:1rem;color:white;background:linear-gradient(115deg,#305f49,#377051 58%,#305f49)}
.wrap-banner .discovery-icon{width:92px;height:78px;background:#faf7ed}.wrap-banner h2{color:white;margin:.2rem 0;font-size:clamp(1.4rem,3vw,2rem)}.wrap-banner p{margin:.25rem 0}.wrap-banner span{font-size:.75rem;font-weight:bold;letter-spacing:.12em}
.wrap-columns{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:start;gap:1rem;margin:1rem 0}.wrap-columns aside{display:grid;gap:1rem}.wrapup .card{margin:0 0 .6rem;padding:1.2rem;border:1px solid #becfba;border-radius:1rem;background:white}.wrapup .card h2{margin:0 0 .45rem}.wrapup .card h3{margin:.3rem 0}.wrapup .card p{margin:.5rem 0}
.wrap-topic,.activity-log li{display:flex;gap:.8rem;align-items:center;border-top:1px solid #dce8d4;padding:.55rem 0}.wrap-topic p{font-size:.9rem}.wrap-columns aside .discovery-icon{float:left;margin:.2rem .8rem .4rem 0}.wrap-actions{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap;margin:1rem 0}.wrap-actions button:first-child{background:#377051;color:white}
.activity-log{padding:0;list-style:none}.activity-log li{justify-content:space-between;flex-wrap:wrap}.badge-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.6rem}.badge-tile{display:grid;align-content:start;justify-items:center;text-align:center;gap:.3rem;padding:.8rem;border-radius:.7rem;background:#f5f2e7}.badge-tile.earned{background:#dce8d4;border:1px solid #86a78e}
@media(max-width:700px){.wrap-columns{grid-template-columns:1fr}.wrap-banner{padding:1rem;gap:.75rem}.wrap-banner .discovery-icon{width:65px;height:56px}}

.student-theme main:has(.student-ready){width:100%;max-width:1150px;margin:0 auto;padding:0 clamp(12px,3vw,32px)}
.student-ready{padding:12px 0 28px;color:#173d32}
.student-ready nav{display:flex;align-items:center;gap:.65rem;border-bottom:1px solid #dce8d4;padding-bottom:.6rem}
.student-ready nav strong,.student-ready nav button{padding:.42rem 1rem;border:0;border-radius:.65rem;background:transparent;color:#244e3d;font-size:1rem}
.student-ready nav strong{background:#dce8d4}
.ready-heading{text-align:center;margin:clamp(1.25rem,4vh,2.7rem) 0 1.35rem}
.ready-heading h1{margin:0;font-size:clamp(2rem,4.2vw,3.65rem);line-height:1.08}
.ready-heading p{margin:.35rem 0;font-size:clamp(1.1rem,2vw,1.55rem)}
.ready-card,.ready-recent{background:white;border:1px solid #becfba;border-radius:18px;padding:clamp(1.15rem,2.8vw,2.2rem)}
.ready-card h2{margin:.65rem 0 .2rem;font-size:clamp(1.65rem,3vw,2.65rem)}
.ready-status{display:inline-block;font-weight:700;color:#305f49;background:#f5f2e7;padding:.3rem .8rem;border-radius:1rem}.ready-status.is-open{color:#226838;background:#e2f6e6}
.home-selection{margin:.35rem 0;line-height:1.5}.home-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:1.45rem 0}.home-facts div{padding:0 1rem;border-left:1px solid #becfba}.home-facts div:first-child{border:0;padding-left:0}.home-facts dt{font-size:.86rem;color:#305f49}.home-facts dd{margin:.1rem 0;font-size:clamp(1.05rem,2vw,1.4rem);font-weight:750}
.ready-start,.ready-note{text-align:center}.ready-start button.primary{width:min(100%,30rem);font-size:1.2rem}.ready-start p,.ready-note{font-size:.93rem;margin:.5rem 0 0}.ready-recent{margin-top:1rem;display:flex;align-items:center;justify-content:space-between;gap:.7rem}.ready-recent h2,.ready-recent p{margin:.15rem 0}.ready-recent button{white-space:nowrap}
@media(max-width:540px){.home-facts div{padding:0 .5rem}.ready-recent{align-items:flex-start;flex-direction:column}.ready-heading{margin:1.2rem 0}}

.teacher-theme .roster-active .class-heading{display:none}
.teacher-theme .roster-active .dashboard-top{justify-content:flex-start;flex-wrap:wrap;margin-bottom:28px}
.teacher-theme .roster-active .overview-teacher-code{display:block;margin:0}
.roster-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}
.roster-toolbar h3,.roster-toolbar>div:first-child{margin-right:auto}
.roster-toolbar h2,.roster-toolbar h3{margin-block:.25rem}
#students-title{font-size:clamp(1.8rem,3vw,2.6rem)}
.roster-card{margin-top:1rem}
.roster-toolbar input[type=search]{width:min(100%,14rem)}
#codes-panel #count{width:5rem}
#codes-panel{padding:.7rem 0}
.practice-status{display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap}
.practice-status svg{width:1.25rem;height:1.25rem;fill:none;stroke:#377051;stroke-width:2}
.practice-status .orbit-active{stroke:#377051}
.orbit-active path{fill:#377051;stroke:none}
.time-options{display:inline-flex;border:1px solid #becfba;border-radius:.55rem;overflow:hidden}
.teacher-theme .time-options button{border:0;border-radius:0;min-width:2.5rem;min-height:34px;padding:.25rem .45rem;background:white;color:#244e3d}
.teacher-theme .time-options button[aria-pressed=true]{background:#377051;color:white}
.time-options button:focus-visible{outline-offset:-3px}
.roster-more summary{cursor:pointer;list-style:none;text-align:center;min-width:2.4rem;padding:.25rem;border:1px solid #becfba;border-radius:.5rem}
.roster-more summary::-webkit-details-marker{display:none}
.roster-more[open] .code-row-actions{display:grid;gap:.3rem;margin-top:.35rem}
#records-panel [hidden]{display:none!important}
@media(max-width:760px){.roster-toolbar>h3{flex-basis:100%}.roster-card{padding:12px}.code-roster{min-width:680px}}

#result-workspace h2{font-size:clamp(2rem,3vw,2.75rem);margin:0 0 1rem}
.results-tools,.results-switch{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.results-tools{margin:1rem 0}
.results-tools input[type=search]{width:min(100%,15rem);margin-left:auto}
.results-tools [aria-pressed=true],.result-detail [aria-pressed=true],.result-picker [aria-pressed=true]{background:#305f49;color:white}
#results-caption{margin-left:auto;font-size:.85rem}
.results-export{position:relative}
.results-export summary,#results-dates summary{cursor:pointer;color:#305f49;padding:.6rem}
.results-export>div{position:absolute;z-index:2;right:0;display:grid;min-width:14rem;background:white;border:1px solid #becfba;padding:.5rem;border-radius:.6rem}
#results-dates label{display:inline-block;margin-right:.6rem}
.results-table{width:100%}.results-table th:first-child{width:120px}
.results-table small,.results-table progress{display:block;margin-top:.3rem}
#result-workspace progress{width:min(100%,18rem);height:.5rem;accent-color:#377051}
.result-code{font-weight:750;min-width:4rem}
.result-split{display:grid;grid-template-columns:minmax(6rem,20%) minmax(0,1fr);gap:1rem}
.result-picker{display:flex;flex-direction:column;gap:.4rem;max-height:68vh;overflow:auto}
.result-detail h3{font-size:1.7rem;margin:0 auto 0 0}.result-detail h4{font-size:1.15rem;margin:1.25rem 0 .5rem}
.result-summary{border-radius:.7rem;background:#f5f2e7;padding:.8rem}.result-summary strong{font-size:1.85rem}.result-summary p{margin:.25rem 0}
.result-skill{display:grid;grid-template-columns:1fr auto;gap:.4rem;padding:.65rem 0;border-bottom:1px solid #dce8d4}
.result-skill progress{grid-column:1/-1}.result-detail details{border-top:1px solid #dce8d4;padding:.65rem 0}.result-detail summary{cursor:pointer}
@media(max-width:760px){.result-split{display:block}.result-picker{flex-direction:row;margin-bottom:.6rem;overflow-x:auto}.results-tools input[type=search]{margin-left:0}.result-skill{grid-template-columns:1fr}#results-caption{margin-left:0}.results-table th:first-child{width:auto}}

.answer-portal .compact-feedback{margin:8px 0 0;padding:0;border:0;background:transparent;color:inherit}
.answer-portal .compact-feedback p{margin:0 0 6px}

.wrap-score strong{font-size:1.5rem}.wrap-score span{color:var(--muted)}
.wrap-comparison{width:100%;border-collapse:collapse;margin:.7rem 0}.wrap-comparison th,.wrap-comparison td{padding:.55rem .35rem;text-align:left;border-bottom:1px solid var(--line)}.wrap-comparison td{white-space:nowrap;font-variant-numeric:tabular-nums}.wrap-comparison th:first-child{width:auto;overflow-wrap:anywhere}.wrapup p.milestone{font-size:.9rem;color:var(--muted)}


/* School and teacher exam outlook share the established teacher palette and components. */
.teacher-theme main:has(.school-workspace){max-width:1500px}
.school-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:28px}
.school-nav{display:flex!important;flex-direction:column;gap:8px;border:0!important}
.school-nav a{padding:12px 14px;border-radius:12px;text-decoration:none;color:var(--ink)}
.school-nav a[aria-current=page]{background:#f5f2e7;font-weight:750;color:#305f49}
.projection-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}
.projection-heading h1,.projection-heading h2,.projection-heading p{margin:0 0 8px}
.projection-toolbar,.projection-roster-tools{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:20px 0}
.projection-toolbar label{margin:0;min-width:180px}.projection-toolbar [role=status]{font-size:13px;color:var(--muted);align-self:center}
.projection-pilot,.projection-method{padding:14px 18px;background:#f5f2e7;border-radius:12px;font-size:14px;margin:16px 0}
.projection-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}
.projection-metrics article{background:white;border:1px solid var(--line);border-radius:16px;padding:18px}
.projection-metrics strong{display:block;font-size:32px;line-height:1.3;margin:8px 0}.projection-metrics span{font-size:14px}
.school-workspace small,.projection-table small,.projection-metrics small{display:block;color:var(--muted);font-size:12px;line-height:1.5}
.projection-bar{display:block;width:100%;height:22px;border-radius:5px;background:#f5f2e7;margin:16px 0 8px}
.projection-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:13px}.projection-legend span{padding:3px 9px;border-radius:5px}
.projection-badge{display:inline-block;padding:5px 10px;border-radius:8px;font-size:13px;font-weight:700}
.level-0{background:#fae9e6;color:#843c35}.level-1{background:#fff1d8;color:#795308}.level-2{background:#f5f2e7;color:#305f49}.level-3{background:#e0f1eb;color:#205d50}.evidence{background:#dce8d4;color:#305f49}
.projection-course{padding:20px 0;border-bottom:1px solid var(--line)}.projection-course:last-child{border:0}.projection-course a{font-size:19px}.projection-course p{margin:5px 0}
.projection-table th:first-child{width:100px}.projection-table td{vertical-align:middle}.projection-table button{white-space:nowrap}.projection-table th,.projection-table td{padding:14px 10px}
.projection-student-link{border:0;background:transparent;color:#305f49;text-decoration:underline;padding:5px;font-variant-numeric:tabular-nums}
.projection-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.projection-score{font-size:44px;line-height:1.2}
.projection-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:20px}.projection-settings label{font-size:14px}
.projection-roster-tools .filter-buttons{display:flex;flex-wrap:wrap;gap:6px}.projection-roster-tools button[aria-pressed=true]{background:#f5f2e7;border-color:#377051}
#teacher-projection{margin-top:20px}#teacher-projection[hidden]{display:none}
@media(max-width:1000px){.projection-metrics{grid-template-columns:1fr 1fr}.school-layout{grid-template-columns:150px minmax(0,1fr)}.projection-table{min-width:740px}}
@media(max-width:760px){.school-layout{display:block}.school-nav{flex-direction:row;flex-wrap:wrap;gap:4px;margin-bottom:20px}.school-nav a{padding:8px 10px}.projection-detail-grid,.projection-settings{grid-template-columns:1fr}.projection-heading{align-items:start;flex-direction:column}.projection-metrics{gap:8px}.projection-metrics article{padding:12px}.projection-metrics strong{font-size:26px}.projection-roster-tools{display:block}.projection-toolbar{gap:10px}.projection-legend{gap:6px}}


/* TSIA Math shares the existing portal, with intrinsic mathematical sizing. */
.tsia-mode{grid-column:1/-1}.tsia-blueprint dl{display:grid;grid-template-columns:1fr auto;gap:1rem}.tsia-blueprint dd{margin:0;font-weight:700}.tsia-note{font-size:.95rem;max-width:70ch;margin:1rem auto;color:var(--muted,#305f49)}
.math-tools{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.3rem .8rem;color:#305f49;font-size:.9rem}.math-tools button{padding:.45rem .9rem}
.math-portal .math-wrap{display:inline-block;vertical-align:middle;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:.15em .05em}.math-portal math,.math-review math{font-size:1.05em;font-weight:400}.math-portal .question-card legend{font-size:clamp(1.2rem,2vw,1.7rem);line-height:1.5}.math-portal .choice-text{font-weight:500;line-height:1.5}.math-portal .source-content{display:block}.stimulus-figure{margin:0 auto;max-width:600px}.stimulus-figure svg{width:100%;height:auto;max-height:52vh;display:block}.stimulus-figure figcaption{font-size:.9rem;line-height:1.5;margin-top:.65rem}.diagram-navy{stroke:#173d32;fill:none;stroke-width:2}.diagram-gold{stroke:#8e6518;fill:none;stroke-width:2}.diagram-gray{stroke:#305f49;fill:none;stroke-width:1.4}.diagram-dashed{stroke-dasharray:5 4}text.diagram-navy{stroke:none;fill:#173d32}text.diagram-gray{stroke:none;fill:#305f49}text.diagram-gold{stroke:none;fill:#7d5512}.stimulus-figure text{font-family:Arial,sans-serif;font-size:14px}.stimulus-table-wrap{overflow:auto;max-width:100%}.stimulus-table{width:100%;border-collapse:collapse;font-size:1rem}.stimulus-table caption{font-weight:600;text-align:left;padding:.75rem 0}.stimulus-table th,.stimulus-table td{padding:.7rem;border:1px solid #becfba;text-align:center}.stimulus-table th{background:#f5f2e7}.math-review article+article{border-top:1px solid #becfba;margin-top:1.5rem;padding-top:1.5rem}.math-review li{margin:.65rem 0}.math-review summary{font-weight:700}
@media(max-width:700px){.math-tools{flex-wrap:wrap}.tsia-blueprint dl{font-size:.95rem}.math-portal .question-card legend{font-size:1.15rem}.stimulus-figure svg{max-height:none}}

/* Calculator occupies its own grid track; it never overlays question content. */
.math-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.math-workspace.calculator-open{grid-template-columns:minmax(0,1fr) 264px}
.math-workspace>.question-layout{min-width:0}
.math-calculator{min-width:0;border:2px solid #dce8d4;border-radius:18px;padding:14px;background:white;color:#173d32}
.math-calculator[hidden]{display:none}
.calculator-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.calculator-heading h2{font-size:22px;margin:0}
.calculator-close{min-width:44px;min-height:44px;padding:4px;font-size:25px;background:transparent;border:0}
.math-calculator label{font-size:13px;margin:0 0 4px}
.math-calculator input{box-sizing:border-box;width:100%;min-width:0;margin:0;font-size:18px;text-align:right;background:#faf7ed}
.math-calculator output{display:block;min-height:32px;padding:6px 0;text-align:right;font-size:18px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.calculator-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.calculator-keys button{min-width:0;min-height:44px;padding:6px 0;font-size:22px;border:1px solid #becfba;border-radius:10px;background:#faf7ed;color:#173d32}
.calculator-keys .calculator-operator{background:#dce8d4}
.calculator-keys .calculator-equals{background:#305f49;color:white}
#math-calculator[aria-expanded=true]{background:#dce8d4;border-color:#86a78e}
@media(max-width:1100px) and (min-width:761px){.math-workspace.calculator-open .question-layout.with-source{grid-template-columns:1fr}.math-workspace.calculator-open .source-content{max-height:32dvh}}
@media(max-width:760px){
 .math-workspace.calculator-open{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(140px,1fr) auto;max-height:calc(100dvh - 160px);align-items:stretch}
 .math-workspace.calculator-open>.question-layout{overflow:auto;overscroll-behavior:contain;min-height:0;padding-right:3px;grid-template-columns:minmax(0,1fr)}
 .math-calculator{padding:8px 12px;border-radius:14px}
 .calculator-heading{margin-bottom:2px}.calculator-heading h2{font-size:18px}.calculator-heading .calculator-close{min-height:32px}
 .math-calculator label{font-size:12px}.math-calculator input{min-height:32px;padding:4px 8px}
 .math-calculator output{min-height:24px;padding:2px 0;font-size:16px}
 .calculator-keys{gap:4px}.calculator-keys button{min-height:40px;padding:2px;font-size:20px}
}

/* Owner directory and class-local setup guide reuse existing brand assets. */
.class-directory{margin-block:1.5rem}
.class-directory-controls{display:flex;align-items:end;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.class-directory-controls .filter-buttons{display:flex;flex-wrap:wrap;gap:.35rem}
.class-directory-controls [aria-pressed="true"]{background:#377051;color:#fff;border-color:#377051}
.class-search{display:grid;gap:.35rem;flex:1;max-width:32rem;min-width:12rem}
.class-search input{width:100%;box-sizing:border-box}
.class-owner{font-weight:600;color:#244e3d;overflow-wrap:anywhere}
.class-directory .section-card .overview-teacher-code{font-size:.95rem;overflow-wrap:anywhere}
.class-directory .section-card{min-width:0}
.class-setup{border:1px solid #becfba;border-radius:16px;background:#fff;margin:1rem 0 1.5rem;padding:1rem 1.25rem}
.class-setup>summary{cursor:pointer;font-size:1.2rem;font-weight:700;color:#173d32}
.class-setup>summary span{float:right;font-size:.85rem;font-weight:400}
.class-setup>ol{padding:0;margin:0;list-style:none}
.class-setup>ol>li{display:grid;grid-template-columns:2rem minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.85rem 0;border-top:1px solid #dce8d4}
.class-setup>ol>li>div{min-width:0}
.class-setup p{margin:.3rem 0;color:#305f49}
.setup-step-mark{display:grid;place-items:center;width:1.8rem;height:1.8rem;border-radius:50%;background:#dce8d4;color:#244e3d;font-weight:700}
.setup-step-mark.is-done{background:#e0f2e9;color:#176343}
.class-setup button{min-height:42px}
.student-demo-help{margin-top:.4rem}
.student-demo-help>summary{cursor:pointer;color:#377051}
.student-demo-help ol{padding-left:1.2rem}
.student-demo-help li{margin:.5rem 0}
.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:760px){
 .class-directory-controls{align-items:stretch;flex-direction:column}
 .class-search{max-width:none;min-width:0}
 .class-setup{padding:.85rem}
 .class-setup>summary span{float:none;display:block;margin:.3rem 0 0 1rem}
 .class-setup>ol>li{grid-template-columns:1.8rem minmax(0,1fr);align-items:start}
 .class-setup>ol>li>button{grid-column:2;justify-self:start}
}


/* Neutral mathematical stimuli used by the fixed Thursday snapshot. */
.tsia-pilot-stimulus{font:16px Arial,sans-serif;color:#17202a;background:#fff;max-width:100%}.tsia-pilot-stimulus .stimulus-figure{margin:12px 0}.tsia-pilot-stimulus .pilot-viewport{max-width:100%;overflow-x:auto}.tsia-pilot-stimulus svg{display:block;flex:none;max-width:none}.tsia-pilot-stimulus svg text{font:16px Arial,sans-serif;fill:#17202a;stroke:none}.tsia-pilot-stimulus figcaption{font-size:16px;line-height:1.5;margin-top:6px}.tsia-pilot-stimulus details{margin:12px 0}.tsia-pilot-stimulus summary{cursor:pointer;font-weight:600;padding:8px 2px}.tsia-pilot-stimulus table{border-collapse:collapse;font-size:16px;line-height:1.5;white-space:nowrap}.tsia-pilot-stimulus caption{text-align:left;font-weight:600;padding:8px}.tsia-pilot-stimulus th,.tsia-pilot-stimulus td{border:1.5px solid #697480;padding:10px 14px;text-align:right}.tsia-pilot-stimulus th:first-child{text-align:left}.tsia-pilot-stimulus :focus-visible{outline:3px solid #135b9e;outline-offset:3px}.pilot-observations li{padding:4px}.pilot-equivalent p{line-height:1.5}

/* Teacher class directory */
.directory-actions,.course-group h2{display:flex;align-items:center;gap:.65rem}
.directory-actions{flex-wrap:wrap}
.workspace-menu{position:relative}
.workspace-menu summary{cursor:pointer;padding:.65rem;color:#305f49}
.workspace-menu>div{position:absolute;right:0;top:100%;z-index:5;min-width:12rem;display:grid;gap:.2rem;padding:.45rem;background:white;border:1px solid var(--line);border-radius:.7rem;box-shadow:0 6px 20px #173d3216}
.workspace-menu>div :is(a,button){display:block;padding:.65rem;text-align:left;border:0;background:white;color:#244e3d;font:inherit}
.teacher-theme:has(.teacher-home) header #signout{display:none}
.teacher-home .dashboard-heading{margin-bottom:1rem}
.course-directory{display:grid;gap:1.3rem;margin:1.2rem 0}
.course-group h2{font-size:clamp(1.25rem,2vw,1.65rem);margin:0 0 .5rem;overflow-wrap:anywhere}
.course-group h2 svg{flex:none}
.course-group>div{overflow:hidden;border:1px solid var(--line);border-radius:.8rem;background:white}
.teacher-theme .course-row{width:100%;border:0;border-radius:0;background:white;color:inherit;padding:.75rem 1rem;min-height:48px;display:grid;align-items:center;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto;gap:.8rem;text-align:left}
.course-row+.course-row{border-top:1px solid var(--line)}
.teacher-theme .course-row:hover,.teacher-theme .course-row:focus-visible{background:#f5f2e7}
.course-row:focus-visible{outline-offset:-3px}
.section-name,.availability{overflow-wrap:anywhere}
.section-name{font-weight:700}.section-name small{display:block;font-weight:400}
.availability{font-size:.85rem;font-weight:450;color:#305f49}
.availability.is-open::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#277348;margin-right:.4rem}
.row-action{color:#305f49}.section-subtitle{font-size:1.05rem;margin:.35rem 0 0}
@media(max-width:600px){
 .teacher-home .dashboard-heading{display:block;margin:0 0 .75rem}
 .teacher-home .dashboard-heading h1{font-size:1.8rem}
 .teacher-home .directory-actions{justify-content:space-between;margin-top:.55rem}
 .teacher-home .class-directory-controls{gap:.55rem}
 .teacher-theme .course-row{padding:.65rem .75rem;gap:.45rem}
 .row-action>span{display:none}
 .teacher-home .overview-teacher-code{margin:.3rem 0;font-size:.95rem}
 .teacher-home .overview-teacher-code small{display:inline;font-size:.8rem}
 .course-directory{gap:1rem}
 .teacher-theme main:has(.teacher-home){margin-top:.75rem}
 .teacher-theme main:has(.teacher-home) .demo-workspace-note{font-size:.8rem;margin:0 0 .7rem}
}

.school-directory{max-width:76rem;margin:auto;color:#173d32}
.school-directory-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0}
.school-directory-title h1{margin:0;overflow-wrap:anywhere}
.school-directory h2{margin:1rem 0 .5rem}
.school-directory input[type=search]{width:100%;margin:0 0 1rem}
.school-entries{display:grid;gap:.8rem}
.school-entry-link,.school-course{border:1px solid #becfba;border-radius:1rem;background:white}
.school-entry-link,.school-course summary{padding:1rem;display:flex;align-items:center;gap:.7rem;font-weight:700}
.school-entry-link span,.school-course summary::after{margin-left:auto;color:#377051}
.school-course summary{cursor:pointer;font-size:1.15rem;list-style:none}
.school-course summary::-webkit-details-marker{display:none}
.school-course summary::after{content:'⌄'}
.school-course[open]>summary::after{content:'⌃'}
.school-section,.school-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1.2fr) auto;gap:.75rem;padding:.75rem 1rem;align-items:center}
.school-section{color:inherit;text-decoration:none;border-top:1px solid #dce8d4;min-height:48px;overflow-wrap:anywhere}
.school-section:hover,.school-section:focus-visible{background:#f5f2e7}
.school-columns{background:#f5f2e7;font-weight:600}
.school-status::before{content:'';display:inline-block;width:.55em;height:.55em;border-radius:100%;margin-right:.45em;background:#377051}
.school-status.is-open::before{background:#287443}
.school-arrow{color:#305f49}
.school-entries [hidden]{display:none}
@media(max-width:620px){
 .school-columns{display:none}
 .school-section{display:block;position:relative;padding-right:2.6rem}
 .school-period::before{content:' · '}
 .school-status{display:block;font-size:.9rem}
 .school-arrow{position:absolute;right:1rem;top:50%;transform:translateY(-50%)}
 .school-directory-title{align-items:start}
}

/* Compact course and teacher drill-down in the existing school palette. */
.school-browse{display:inline-flex;gap:4px;padding:4px;border:1px solid #becfba;border-radius:12px;background:white;margin:8px 0}
.school-browse button{border:0;background:transparent;color:#305f49;border-radius:8px;padding:10px 22px;min-height:44px}
.school-browse button[aria-pressed=true]{background:#377051;color:white}
.school-browse-hint{color:#305f49;margin:8px 0 18px}
.school-group-title{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.school-group-title small{font-size:.85rem;font-weight:400;color:#305f49}
.school-teacher{border:1px solid #becfba;border-radius:1rem;background:white}
.school-teacher>summary{display:flex;align-items:center;gap:.8rem;padding:1rem;cursor:pointer;list-style:none;font-size:1.15rem}
.school-teacher>summary::-webkit-details-marker{display:none}
.school-teacher>summary::after{content:'⌄';margin-left:auto;color:#377051}
.school-teacher[open]>summary::after{content:'⌃'}
.school-teacher-mark{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;background:#dce8d4;color:#305f49;font-weight:700}
.school-teacher-courses{display:grid;gap:12px;padding:0 16px 16px}
.school-directory summary:focus-visible,.school-browse button:focus-visible{outline:3px solid #377051;outline-offset:3px}
@media(max-width:620px){.school-teacher-courses{padding:0 8px 8px}.school-browse{display:flex}.school-browse button{flex:1}.school-course summary,.school-teacher>summary{font-size:1rem}.school-group-title small{font-size:.8rem}}

/* Saved student results */
.student-theme main:has(.completion-page){max-width:1080px}
.completion-page{padding:20px 12px 48px;color:#173d32}
.completion-context{color:#305f49;font-size:.9rem;margin:0 0 16px}
.completion-hero{display:grid;grid-template-columns:1fr 220px;gap:28px;background:linear-gradient(115deg,#fff,#f5f2e7);border:1px solid #dce8d4;border-radius:24px;padding:36px;margin-bottom:24px;box-shadow:0 10px 28px #244e3d09}
.completion-hero h1{font-size:clamp(1.8rem,4vw,2.7rem);letter-spacing:-.04em;margin:16px 0 12px;line-height:1.12}
.completion-hero p{line-height:1.6;color:#305f49;max-width:48ch}
.completion-saved{display:inline-block;border-radius:24px;background:#dce8d4;color:#305f49;padding:7px 12px;font-size:.85rem;font-weight:650}
.completion-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.completion-score{align-self:center;text-align:center;border-left:1px solid #dce8d4;padding:22px 0 22px 24px}
.completion-score>strong{font-size:3.6rem;line-height:1;color:#305f49}.completion-score strong span{font-size:1.6rem;color:#377051;font-weight:500}.completion-score p{margin:10px 0}.completion-score small{display:block;line-height:1.5;color:#305f49}.completion-percent{display:inline-block;padding:6px 18px;background:#dce8d4;border-radius:22px;color:#305f49;font-weight:700}
.completion-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-bottom:20px}.completion-page .card{padding:26px;border-radius:20px;margin:0}.completion-page h2{font-size:1.25rem;margin:0 0 22px}.completion-guidance p{line-height:1.65;color:#305f49}.completion-guidance button{margin-top:10px}.completion-topic{margin:20px 0}.completion-topic>div{display:flex;justify-content:space-between;gap:16px;margin-bottom:10px}.completion-topic span{color:#305f49;white-space:nowrap}.completion-topic progress{width:100%;height:9px;accent-color:#377051}.completion-topic progress::-webkit-progress-bar{background:#dce8d4;border-radius:8px}.completion-topic progress::-webkit-progress-value{background:#377051;border-radius:8px}
.completion-answer{border-top:1px solid #dce8d4;padding:16px 0}.completion-answer summary,.completion-correct>summary{cursor:pointer;font-weight:650;color:#305f49;padding:6px 0}.completion-answer>div{line-height:1.7;padding-top:12px}.completion-answer li{margin:10px 0}.completion-correct{margin-top:18px}.completion-review h3{font-size:1rem;color:#305f49}.completion-review img,.completion-review svg{max-width:100%}.completion-review{overflow-wrap:anywhere}.completion-review h2:focus{outline:2px solid #377051;outline-offset:5px}
.student-theme:has(.completion-page) .teacher-link{display:none}
.activity-log button{flex-shrink:0}
@media(max-width:680px){.completion-page{padding:12px 0 32px}.completion-hero{grid-template-columns:1fr;padding:24px;gap:22px}.completion-score{border-left:0;border-top:1px solid #dce8d4;padding:24px 0 0}.completion-grid{grid-template-columns:1fr}.completion-page .card{padding:22px}.completion-topic>div{flex-wrap:wrap;gap:5px}.completion-actions button{flex:1}.activity-log li{flex-wrap:wrap}}
@media(max-width:680px){.completion-actions{flex-direction:column}.completion-actions button{width:100%;flex:auto}}

/* Growtopo classroom palette: evergreen text, mint surfaces, cream paper and ochre actions. */
body.student-theme,body.teacher-theme {
  --navy:#163f34;--gold:#e7a23d;--ink:#143c31;--muted:#506458;--line:#cbd7c5;
  --paper:#faf5e9;--focus:#17634f;--mint:#e3efdb;--card:#fffdf6;
  background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
}
body.student-theme header,body.teacher-theme header {
  background:#fcf6e9;border-bottom:1px solid var(--line);border-top:3px solid var(--ink);box-shadow:none;
  padding-block:9px;
}
body header .brand,body.student-theme:has(.answer-portal) header .brand {
  display:inline-flex;align-items:center;gap:.4rem;font:800 clamp(23px,3vw,30px)/1 system-ui,sans-serif;
  color:var(--ink);letter-spacing:-.055em;
}
body.student-theme header .brand>.growtopo-mark,body.teacher-theme header .brand>.growtopo-mark {
  display:block;width:43px;height:35px;object-fit:contain;background:transparent;
}
body :is(a,.back-link,.result-code,.results-switch button,.projection-student-link,.overview-explore,.end-practice) {color:#215f4b}
body :is(button,a,input,select,summary):focus-visible {outline:3px solid var(--focus);outline-offset:3px}
body :is(input,select,progress) {accent-color:#316c52}
body :is(.card,.setup-card,.live-card,.ready-recent,.practice-entry,.dashboard-empty,.school-teacher,.school-course,.overview-topics,.math-calculator,.projection-course,.results-export>div,.badge-tile,.result-skill,.assignment-overview) {
  background-color:var(--card);border-color:var(--line);color:var(--ink);box-shadow:none;
}
body :is(.card,.setup-card,.live-card,.projection-course,.ready-recent,.badge-tile) :is(h1,h2,h3,h4,strong) {color:var(--ink)}
body :is(.meta,.muted,.section-subtitle,.range-caption,.completion-hero p,.projection-pilot,.school-browse-hint) {color:var(--muted)}
body :is(th,.setup-options label:has(:checked),.projection-legend,.class-state,.completion-saved,.student-ready nav strong,.course-heading,.result-summary) {background-color:var(--mint);color:var(--ink)}
body.teacher-theme button.primary,body.student-theme button.primary,body.student-theme .practice-entry .home-start,body.student-theme .answer-portal .question-actions .primary {
  background:#efb24c;border:1px solid #c88b31;color:#173a2b;box-shadow:none;text-shadow:none;border-radius:12px;font-weight:750;
}
body button.primary:hover:not(:disabled),body.student-theme .practice-entry .home-start:hover {background:#f6bd5d}
body :is(.teacher-home,.dashboard,.student-ready,.wrapup,.completion-page,.school-directory,header,main) button[aria-pressed=true],
body.teacher-theme [role=tab][aria-selected=true] {color:#143f31;background:#d5e8cd;border-color:#83aa88}
body .welcome-story .welcome-illustration {width:min(100%,310px);height:auto;max-height:340px;object-fit:contain}
body.student-theme .welcome-story {background:#f5eddc;border-radius:22px;padding:clamp(12px,2vw,28px);text-align:center}
body.student-theme .welcome-story h1 {color:var(--ink);font-size:clamp(2.3rem,4vw,4rem)}
body.student-theme .practice-entry {background:var(--card);border:1px solid var(--line);box-shadow:none}
body .ready-heading {text-align:left;margin:22px 0 16px}
body .ready-heading h1 {color:var(--ink);font-size:clamp(2rem,3vw,2.8rem)}
body .ready-heading p {font-size:1rem;color:var(--muted)}
body .student-ready {color:var(--ink)}
body .student-ready nav,body .ready-recent,body .companion-picker {border-color:var(--line)}
body .trail-card {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:20px;background:#e0ecd7;padding:0;overflow:hidden;color:var(--ink)}
.trail-copy {padding:clamp(19px,2.7vw,34px);align-self:center}
.trail-art {align-self:center;min-width:0;margin:clamp(12px,1.5vw,22px);margin-inline-start:0;}
.trail-scene {display:block;width:100%;height:auto;margin-inline:auto;border-radius:14px;}
.trail-scene[width="455"] {max-width:455px;}
body .trail-card h2 {font-size:clamp(1.55rem,2.6vw,2.2rem);line-height:1.17;color:var(--ink)}
body .ready-start,body .ready-note {text-align:left}
body .ready-start .primary {width:auto}
body .home-facts {margin:12px 0;gap:10px}
body .home-facts>div {background:transparent;border:0;padding:0}
body .home-facts dt {color:var(--muted)}
body .ready-status {background:var(--card);color:var(--ink)}
body .ready-status.is-open {background:#bddbbc;color:#1c4938}
.companion-picker {margin-top:16px;border:1px solid;border-radius:14px;background:var(--card);padding:14px 18px}
.companion-picker summary,.item-report summary {cursor:pointer;color:var(--ink);font-weight:700}
.companion-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin-top:16px}
.companion-grid button {display:grid;gap:7px;text-align:left;padding:7px;background:var(--card)}
.companion-grid img {display:block;width:100%;height:auto;border-radius:7px}
body .completion-hero,body .projection-heading,body .setup-heading {background:#e6efdc;border-color:var(--line);color:var(--ink)}
body .completion-score,body .completion-answer {border-color:var(--line)}
body .completion-score strong,body .completion-answer summary {color:var(--ink)}
body .student-ready nav button,body .class-title,body .overview-title,body .wrap-heading h1 {color:var(--ink)}
body.student-theme .answer-portal .exam-progress {background:#e3edd7;border:1px solid var(--line);color:var(--ink);box-shadow:none}
body.student-theme .answer-portal .question-position,body.student-theme .answer-portal .timer {color:var(--ink)}
body.student-theme .answer-portal .question-card,body.student-theme .answer-portal .source-panel {background:var(--card);border:1px solid var(--line);box-shadow:none}
body.student-theme .answer-portal legend,body.student-theme .answer-portal .source-toolbar h2 {color:var(--ink)}
body.student-theme .answer-portal .choice:not(.is-correct):not(.is-incorrect) {border-color:var(--line);background:#fffdf6;color:var(--ink)}
body.student-theme .answer-portal .choice.selected:not(.is-incorrect) {border-color:#275d45;background:#dfeddb;box-shadow:inset 0 0 0 1px #275d45}
body.student-theme .answer-portal .choice:not(.is-correct):not(.is-incorrect) .letter {background:#dcead4;color:var(--ink)}
body .answer-portal .selection-help,body .question-actions .end-practice {color:var(--muted)}
body .results-table strong,body .results-table .result-code {color:var(--ink)}
body .report-toolbar,.assignment-overview {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.report-toolbar label {display:grid;gap:5px;max-width:100%;min-width:0}
.report-toolbar select {max-width:100%}
#participation {font-weight:650;margin:16px 0}
.assignment-name {grid-column:1/-1;display:grid;gap:5px;padding:12px 16px;background:var(--card);border-radius:12px}
.assignment-name small {font-weight:400}
.assignment-overview {margin:0 0 12px;padding:16px 20px;border:1px solid var(--line);border-radius:14px}
.assignment-overview h2,.assignment-overview p {margin:0}
.item-report {border-top:1px solid var(--line);padding:12px 0}
.item-report summary span {display:block;margin-top:3px;color:var(--muted);font-weight:500}
.item-report table {width:100%;text-align:left}
.item-report td {vertical-align:top;overflow-wrap:anywhere}
body .ready-recent {flex-wrap:wrap}
body :is(.results-switch,.results-tools,.ready-start,.report-toolbar)[hidden],body [hidden]:not([hidden=until-found]) {display:none!important}
@media(min-width:761px) and (max-height:850px) {
  body.student-theme .answer-portal .question-actions {position:sticky;bottom:0;z-index:3;background:var(--paper);border-top:1px solid var(--line);padding:6px 8px}
  body.student-theme .math-portal .math-workspace.calculator-open {max-height:max(240px,calc(100dvh - 265px));overflow:auto;scroll-padding:12px}
}
@media(max-width:650px) {
  body .trail-card {grid-template-columns:1fr}
  .trail-art {margin:0 clamp(16px,4vw,24px) 18px;}
  .report-toolbar, .assignment-overview {align-items:stretch}
  .report-toolbar label {width:100%}
  .companion-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  body .welcome-story .welcome-illustration {height:90px;width:auto}
}
.student-makeups {margin:1rem 0;padding:clamp(1rem,2.8vw,1.6rem)}
.student-makeups h2 {margin:0 0 .65rem;font-size:1.3rem}
.student-makeups ul {list-style:none;margin:0;padding:0}
.student-makeups li {display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding:.85rem 0}
.student-makeups li>div {min-width:0;overflow-wrap:anywhere}
.student-makeups li p,.student-makeups>p {color:var(--muted);font-size:.95rem;margin:.2rem 0}
.student-makeups button {flex-shrink:0;min-height:44px}
@media(max-width:540px){.student-makeups li {align-items:flex-start;flex-direction:column;gap:.4rem}}
.home-skills {margin-top:16px;padding:14px 22px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.home-skills h2 {font-size:1.2rem}
.home-skills ul {padding:0;list-style:none}
.home-skills li {display:flex;gap:12px;justify-content:space-between;padding:7px 0;border-top:1px solid var(--line)}
.home-skills li strong {white-space:nowrap}
body .welcome-story .welcome-illustration {display:block;margin-inline:auto}
body .math-calculator .calculator-keys button {border-color:var(--line);color:var(--ink);background:var(--card)}
body .math-calculator .calculator-keys .calculator-operator {background:var(--mint)}
body .math-calculator .calculator-keys .calculator-equals {background:#edb24d}
body.student-theme .answer-portal .question-actions {background:var(--paper)}
body.student-theme .ready-card .ready-start button.primary {background:#efb24c;color:#173a2b;border:1px solid #c88b31}
body.student-theme .welcome-story {align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center}
body.student-theme .welcome-story .welcome-illustration {border-radius:10px;}
.older-code {margin:10px 0;text-align:center;font-size:.9rem}
.older-code summary,.time-details summary {cursor:pointer;color:var(--ink)}
.item-filter {display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
.item-filter select {max-width:100%}
.time-details .time-options {margin-top:8px}
body.student-theme .answer-portal .question-progress {accent-color:#397d52}
body.student-theme .answer-portal .question-progress::-webkit-progress-value {background:#397d52}
@media(max-width:650px){body.student-theme .welcome-story {flex-direction:row}.older-code{text-align:left}}

/* An assessment clock becomes prominent only during its final minute. */
.student-theme .answer-portal .exam-clock.untimed {background:transparent;}
.student-theme .answer-portal .exam-clock.untimed svg {display:none;}
.student-theme .answer-portal .exam-clock.untimed .timer {border:0;padding:0;}
.student-theme .answer-portal .exam-clock.untimed strong {font-size:1rem;font-weight:650;}
.student-theme .answer-portal .exam-clock.final-minute {background:#fff0c9;color:#805400;}
.student-theme .answer-portal .exam-clock.final-minute .timer {color:#805400;border-color:#b88624;}
.saved-progress {display:flex;align-items:center;gap:.65rem;min-width:0;}
.saved-progress small {color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;}
.student-theme .answer-portal .saved-progress .question-progress {flex:1;min-width:0;}
body.student-theme .answer-portal .question-progress::-moz-progress-bar {background:#397d52;}
@media(max-width:850px){.saved-progress{grid-column:1/-1;grid-row:2;}}
.finish-dialog {width:min(28rem,calc(100% - 2rem));padding:1.5rem;border:1px solid var(--line);border-radius:16px;background:var(--card);color:var(--ink);}
.finish-dialog::backdrop {background:rgb(20 60 49 / .36);}
.finish-dialog h2 {margin:0 0 .7rem;}
.finish-dialog p {margin:.45rem 0;}
.finish-actions,.participation-states {display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;}
.finish-actions {margin-top:1rem;}
.participation-states button {font:inherit;font-size:.85rem;padding:.3rem .6rem;background:var(--card);color:var(--ink);border:1px solid var(--line);}
.participation-states strong {font-variant-numeric:tabular-nums;}
.started-total,.assignment-overview .started-total {margin:.4rem 0;font-weight:650;}
.roster-filter {display:grid;gap:.15rem;font-size:.85rem;}
@media(forced-colors:active){.exam-clock.final-minute {outline:1px solid CanvasText;}.participation-states [aria-pressed=true]{outline:2px solid Highlight;}}

#skill-coverage:not(:empty) { margin-block: 1rem; }
#skill-coverage h3, #skill-coverage h4 { margin-block: .65rem; }
#skill-coverage table { width: 100%; }
#skill-coverage .coverage-person { display: flex; align-items: baseline; gap: .6rem; padding-block: .4rem; border-bottom: 1px solid var(--line); }
#skill-coverage .coverage-person details { min-width: 0; overflow-wrap: anywhere; }
#skill-coverage summary { cursor: pointer; }
#skill-coverage input[type=checkbox] { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
#skill-coverage [data-send] { margin-top: .75rem; }

#skill-coverage td small { display: block; margin-top: .25rem; color: var(--muted); }

.class-actions { margin-block: 1rem; }
.class-actions .action-heading { display:flex; align-items:center; justify-content:space-between; gap:.75rem; }
.class-actions h2,.class-actions h3,.learning-summary h2 { margin-block:.4rem; }
.class-actions .priority-list,.class-actions .priority-roster { padding:0; list-style:none; }
.class-actions .priority-list { display:grid; gap:.45rem; }
.class-actions .priority-list button { display:flex; width:100%; justify-content:space-between; align-items:baseline; text-align:left; flex-wrap:wrap; gap:.25rem 1rem; padding:.65rem .85rem; }
.class-actions summary { cursor:pointer; padding-block:.6rem; font-weight:700; }
.class-actions td small,.class-actions .priority-list span { display:block; color:var(--muted); }
.class-actions .priority-roster li { padding-block:.3rem; border-bottom:1px solid var(--line); }
.class-actions select { max-width:100%; }
.learning-summary { margin-block:1rem; }
.learning-summary p { margin:.35rem 0; }

/* Class assessments stay in the main report; selected-student checks share one disclosure. */
.assessment-evidence { margin: .75rem 0 .35rem; }
.assessment-evidence strong { color: #174e41; }
#skill-followups { margin: 1.25rem 0; padding: .9rem 1.1rem; border: 1px solid #d1dbce; border-radius: .8rem; background: #fffefa; min-width: 0; }
#skill-followups > summary { color: #174e41; font-weight: 750; cursor: pointer; }
#skill-followups > .meta { margin: .6rem 0 1.25rem; }
#skill-followups .skill-head { position: static; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem; margin: 0; padding: 0 0 .85rem; background: transparent; border: 0; border-bottom: 1px solid #d1dbce; box-shadow: none; color: #173f34; }
.skill-head h2, .skill-progress h3, .skill-work h4 { margin: 0; color: #173f34; }
.skill-head h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.skill-head p, .skill-totals { margin: .2rem 0 .65rem; color: #455951; }
.skill-settings summary, .skill-progress summary { cursor: pointer; }
.skill-settings { max-width: 100%; }
.skill-settings select, .skill-filters select { display: block; width: 100%; max-width: 100%; min-height: 2.5rem; margin-top: .25rem; padding: .35rem 1.75rem .35rem .65rem; }
.skill-settings label, .skill-filters label { margin: 0; color: #24463c; font-size: .9rem; }
.skill-filters { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; margin: .95rem 0; }
.skill-filters label { min-width: 0; max-width: 100%; }
.skill-notice:empty { display: none; }
.skill-roster { width: 100%; border-collapse: collapse; }
.skill-roster thead th { background: #e8f0e1; color: #264a3c; }
.skill-roster th, .skill-roster td { padding: .65rem .8rem; text-align: left; border-bottom: 1px solid #dbe2d8; }
.skill-roster tbody th, .skill-roster td { background: #fffefa; color: #173f34; }
.skill-roster .is-selected > * { background: #f0f5e9; }
.skill-roster small { display: block; }
.skill-student { display: inline-flex; align-items: center; gap: .45rem; font-variant-numeric: tabular-nums; }
.skill-student > span { width: 1.6rem; display: inline-flex; align-items: center; }
.skill-student input { width: 1.25rem; height: 1.25rem; min-height: 0; margin: 0; accent-color: #1d5b48; }
.skill-state { color: #3c574c; }
.skill-state.ready, .skill-state.mastered { display: inline-block; padding: .15rem .48rem; border-radius: .5rem; }
.skill-state.ready { background: #ffebbc; color: #704609; }
.skill-state.mastered { background: #e0ecd9; color: #24543e; }
.skill-action-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem; padding: .65rem .8rem; background: #edf1e6; border-radius: .5rem; }
.skill-action-bar button.primary { background: #195541; color: white; border-color: #195541; }
.skill-action-bar button.primary:disabled { background: #e3e8dd; color: #536557; border-color: #c3cfc0; }
.skill-progress .report-text-button, .report-text-button { background: transparent; color: #205442; border: 0; padding: .35rem .45rem; text-decoration: underline; text-underline-offset: .2em; }
.skill-work { margin: .15rem .45rem; border-left: 2px solid #b9cbb6; padding-left: .9rem; }
.skill-work details { margin-top: .35rem; }
.skill-progress [data-breakdown], #skill-followups #followup-tracker { margin-top: .9rem; padding-top: .75rem; border-top: 1px solid #dbe2d8; }
.skill-mobile-label { display: none; }
@media(max-width: 650px) {
  #skill-followups { padding: .75rem; }
  .skill-roster, .skill-roster tbody { display: block; min-width: 0; }
  .skill-roster thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .skill-roster .skill-row { display: grid; grid-template-columns: minmax(5.5rem, .9fr) minmax(0, 1.5fr); align-items: center; border-top: 1px solid #dbe2d8; }
  .skill-roster .skill-row > * { padding: .4rem; border: 0; overflow-wrap: anywhere; }
  .skill-roster .skill-row > :nth-child(3) { font-size: .85rem; }
  .skill-roster .skill-work-row:not([hidden]), .skill-roster .skill-work-row > td { display: block; }
  .skill-roster .skill-work-row td { padding: .5rem .25rem; }
  .skill-mobile-label { display: inline; }
  .skill-filters { gap: .6rem; }
  .skill-filters label { flex: 1 1 10rem; }
}

.source-dialog form:has(button[aria-pressed]){gap:.5rem}.source-dialog.history-image-zoom .expanded-source{overflow:auto}.source-dialog.history-image-zoom .question-stimulus{width:max-content;min-width:100%;box-sizing:border-box}.source-dialog.history-image-zoom .source-content .question-visual{width:auto;min-width:100%;max-width:none}.source-dialog.history-image-zoom .question-note{max-width:70ch}


/* Shared student assessment surface, also used by the public sample. */
body.student-theme:has(.answer-portal){background:#f7f4eb;color:#183b32}
body.student-theme:has(.answer-portal) header{background:#fffdf6;border-top:3px solid #204d40}
body.student-theme main:has(.answer-portal){max-width:1240px;margin:22px auto;padding:0 28px}
body.student-theme .answer-portal .exam-progress{background:#174739;color:#fffdf5;border:1px solid #143f33;grid-template-columns:auto 1fr auto;gap:26px;padding:10px 15px 10px 22px;border-radius:14px;margin-bottom:18px}
body.student-theme .answer-portal .question-position{color:white;font-weight:720;letter-spacing:-.025em}
body.student-theme .answer-portal .saved-progress small{color:#dceae1}
body.student-theme .answer-portal progress.question-progress{background:#528373;height:6px;width:100%}
body.student-theme .answer-portal .question-progress::-webkit-progress-bar{background:#528373}
body.student-theme .answer-portal .question-progress::-webkit-progress-value{background:#f2b24b}
body.student-theme .answer-portal .exam-clock{background:#fff9e7;color:#285749;border-radius:11px;gap:10px;padding:6px 14px}
body.student-theme .answer-portal .timer{border:0;color:#183f34;padding:0;gap:8px}
body.student-theme .answer-portal .timer strong{font-size:26px;letter-spacing:-.03em}
body.student-theme .answer-portal .timer small{color:#425d50;font-size:12px}
body.student-theme .answer-portal .exam-clock.final-minute{background:#ffda98}
body.student-theme .answer-portal .exam-clock svg{width:33px;height:33px}
body.student-theme .answer-portal .question-card,body.student-theme .answer-portal .source-panel{background:#fffefa;border:1px solid #bdc9bd;box-shadow:0 2px 5px #263d2710;border-radius:15px;padding:22px}
body.student-theme .answer-portal .source-panel{border-top:4px solid #33766e;padding-top:16px}
body.student-theme .answer-portal .source-toolbar{margin-bottom:22px;align-items:center}
body.student-theme .answer-portal .source-toolbar h2{font-size:18px;color:#235950}
body.student-theme .answer-portal .source-toolbar button{color:#265b50;background:white;border-color:#a6bcb2;font-size:13px}
body.student-theme .answer-portal .source-content{padding:0;scrollbar-gutter:auto}
body.student-theme .source-content .question-stimulus{margin:0;padding:0;border:0;background:transparent}
body.student-theme .source-content figcaption{font-family:Georgia,serif;font-size:25px;letter-spacing:-.025em;color:#173e34;margin:0 0 14px;line-height:1.2}
body.student-theme .source-content .question-table-scroll{border:1px solid #91ada5;border-radius:8px;overflow-x:auto}
body.student-theme .source-content .question-table{border:0;border-collapse:collapse;margin:0;width:100%;font-variant-numeric:tabular-nums}
body.student-theme .source-content .question-table :is(th,td){padding:12px 14px;text-align:left;border:0;color:#1b3832}
body.student-theme .source-content .question-table thead th{color:#fff;background:#28665f;font-size:14px}
body.student-theme .source-content .question-table tbody :is(th,td){background:#fff;font-size:16px;border-top:1px solid #b8cbc5;font-weight:500}
body.student-theme .source-content .question-table tbody tr:nth-child(even) :is(th,td){background:#edf5f3}
body.student-theme .source-content .question-note{display:block;background:#fff3d6;border-left:3px solid #cc8b21;padding:9px 12px;margin:14px 0 0;color:#513d1e;font-size:15px}
body.student-theme .answer-portal legend{font-size:clamp(23px,2.3vw,32px);color:#173a30;letter-spacing:-.032em;line-height:1.19;margin-bottom:17px}
body.student-theme .answer-portal .choice:not(.is-correct):not(.is-incorrect){border:1px solid #acbdb4;background:#fff;border-radius:10px;min-height:47px;padding:6px 12px;gap:14px}
body.student-theme .answer-portal .choice:not(.is-correct):not(.is-incorrect) .letter{color:#304c41;background:#eef1eb;border:1px solid #c3cec2;font-size:16px;border-radius:7px;width:31px;height:30px;flex:0 0 31px}
body.student-theme .answer-portal .choice.selected:not(.is-correct):not(.is-incorrect){background:#ecf5ef;border-color:#245d44;box-shadow:inset 0 0 0 1px #245d44}
body.student-theme .answer-portal .choice.selected:not(.is-correct):not(.is-incorrect) .letter{background:#245d44;color:white;border-color:#245d44}
body.student-theme .answer-portal .question-actions .primary{background:#f2ae42;color:#263720;border:1px solid #bc8124}
body.student-theme .answer-portal .selection-help{font-style:normal;font-size:13px;color:#496054}
@media(max-width:650px){
body.student-theme main:has(.answer-portal){margin:10px auto;padding:0 12px}
body.student-theme .answer-portal .exam-progress{grid-template-columns:1fr auto;gap:5px 12px;padding:9px 12px;margin-bottom:10px}
body.student-theme .answer-portal .question-position{grid-column:1;grid-row:1;font-size:17px}
body.student-theme .answer-portal .saved-progress{grid-column:1;grid-row:2;display:flex;align-items:center;gap:6px}
body.student-theme .answer-portal .saved-progress small{white-space:nowrap;font-size:10px}
body.student-theme .answer-portal .exam-clock{grid-column:2;grid-row:1/span 2;padding:5px 8px;gap:6px}
body.student-theme .answer-portal .exam-clock svg{width:26px;height:26px}
body.student-theme .answer-portal .timer{flex-direction:column;gap:0}
body.student-theme .answer-portal .timer strong{font-size:21px}
body.student-theme .answer-portal .timer small{font-size:10px}
body.student-theme .answer-portal .source-panel,body.student-theme .answer-portal .question-card{padding:13px 14px}
body.student-theme .answer-portal .source-toolbar{margin-bottom:10px}
body.student-theme .source-content figcaption{font-size:20px;margin-bottom:8px}
body.student-theme .source-content .question-table :is(th,td){padding:7px 10px;font-size:14px}
body.student-theme .source-content .question-note{padding:6px 9px;margin-top:8px;font-size:13px}
body.student-theme .answer-portal .choice:not(.is-correct):not(.is-incorrect){min-height:42px}
}

body.student-theme .answer-portal .exam-clock.untimed {background:transparent}
body.student-theme .answer-portal .exam-clock.untimed .timer {color:#fff}
body.student-theme .answer-portal :focus-visible {outline:3px solid #a65c12;outline-offset:3px}

.demo-score {margin: .4rem 0 1rem; color: #204c3e; font-size: 1.05rem}
.demo-score strong {font-size: 2.15rem; line-height: 1.1; font-variant-numeric: tabular-nums}
#demo-results details {margin-bottom: 1rem}
