/* Original exam workspace. Scoped to timed sessions, not the practice dashboard. */
body.exam-active{background:#f5f7fa}
body.exam-active .site-header,body.exam-active .site-footer{display:none}
body.exam-active #app{max-width:none;padding:0;min-height:100dvh}
.exam-shell{--exam-blue:#245ac7;--exam-ink:#202c3c;--exam-line:#cbd4df;--exam-pale:#eaf1fc;color:var(--exam-ink);background:#fff;min-height:calc(100dvh - 230px);border:1px solid var(--exam-line);border-radius:12px;overflow:clip;display:flex;flex-direction:column;font-family:Arial,"Helvetica Neue",sans-serif}
body.exam-active .exam-shell{min-height:100dvh;border:0;border-radius:0}
.exam-shell h1,.exam-shell h2,.exam-shell h3{letter-spacing:normal;color:var(--exam-ink)}
.exam-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:20px 30px;background:#eaf1fc;border-bottom:1px solid #b8c8e0;min-height:98px}
.exam-heading{font-size:1.18rem;font-weight:700;line-height:1.4;margin:0}
.exam-shell .exam-heading{font-size:1.18rem;margin:0}
.exam-subtitle{font-size:.78rem;line-height:1.45;color:#52657e;margin:5px 0 0}
.exam-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.exam-tool{background:transparent;color:#233b5b;min-height:40px;padding:7px 11px;border:1px solid transparent;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:.82rem;font-weight:600;line-height:1.3;text-decoration:none}
.exam-tool:hover{background:#dae6f8;border-color:#bacde8}
.exam-tool[aria-pressed=true],.exam-tool.active{background:#d6e4fb;border-color:#7294cb;color:#183f7e}
.exam-tool svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6}
.exam-timer{text-align:center;font-variant-numeric:tabular-nums;min-width:95px;font-size:1.35rem;font-weight:700;letter-spacing:.035em;color:#1b2f4d}
.exam-timer small{display:block;font-size:.69rem;font-weight:400;letter-spacing:0;margin:4px 0;color:#586b84}
.exam-timer.urgent{color:#ad2626}
.exam-timer .exam-tool{display:block;margin:auto;font-size:.7rem;min-height:26px;padding:3px 10px}
.exam-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);flex:1;min-height:470px;background:#fff}
.exam-passage,.exam-question{padding:32px clamp(24px,3vw,54px) 42px;min-width:0;line-height:1.65;font-size:1rem}
.exam-passage{border-right:1px solid var(--exam-line);background:#fff;font-family:Georgia,"Times New Roman",serif;white-space:pre-line}
.exam-passage>p{font:inherit;line-height:1.8;margin-bottom:1.3em}
.exam-passage h2,.exam-passage h3{font-family:Arial,"Helvetica Neue",sans-serif;font-size:1.05rem;line-height:1.5}
.exam-passage .passage{border:0;border-radius:0;padding:0;background:transparent;font-size:1.05rem;line-height:1.8}
.exam-passage .muted{font-family:Arial,"Helvetica Neue",sans-serif}
.exam-question .prompt{font:inherit;line-height:1.65;margin-top:22px}
.exam-question-top{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d4dbe5;padding-bottom:12px;margin-bottom:22px;background:#f4f6f9}
.exam-question-number{background:#29384b;color:white;display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;font-size:1rem;font-weight:700;padding:5px 10px}
.exam-options{display:grid;gap:13px;margin:24px 0}
.exam-option{display:flex;gap:14px;align-items:center;text-align:left;width:100%;border:1px solid #939eac;background:white;color:var(--exam-ink);border-radius:7px;min-height:58px;padding:12px 16px;font-size:.96rem;line-height:1.5}
.exam-option:hover:not(:disabled){border-color:#245ac7;background:#f6f9ff}
.exam-option.selected,.exam-option[aria-pressed=true]{border-color:#245ac7;box-shadow:0 0 0 1px #245ac7;background:#edf3ff}
.exam-option .option-letter{width:27px;height:27px;border-color:#647185;border-radius:50%;font-size:.83rem;color:#29384b}
.exam-option.selected .option-letter,.exam-option[aria-pressed=true] .option-letter{background:#245ac7;border-color:#245ac7;color:white}
.exam-option.correct{border-color:#357657;background:#edf8f0}
.exam-option.incorrect{border-color:#aa4545;background:#fff2f2}
.exam-option.eliminated{text-decoration:line-through;color:#6e7784;opacity:.65}
.exam-shell input[type=text],.exam-shell input[type=number]{border-radius:4px;border-color:#8693a4;max-width:300px;font-size:1.05rem}
.exam-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#eaf1fc;border-top:1px solid #b8c8e0;padding:18px 30px;min-height:86px;margin-top:auto}
.exam-progress-label{font-size:.88rem;font-weight:700;color:#283b56}
.exam-progress-label small{display:block;font-size:.7rem;font-weight:400;color:#52657e;margin-top:4px}
.exam-nav{display:flex;align-items:center;gap:12px}
.exam-shell .btn{border-radius:100px;min-height:42px;padding:10px 24px;box-shadow:none;font-family:inherit;font-size:.84rem;transition:background .15s}
.exam-shell .btn:hover{transform:none}
.exam-shell .btn-primary{background:#245ac7;color:#fff;border:1px solid #245ac7}
.exam-shell .btn-primary:hover{background:#1849a8}
.exam-shell .btn-secondary{background:#fff;color:#234e95;border:1px solid #6485b9}
.exam-shell .btn-secondary:hover{background:#e0ebfd}
.exam-shell .btn-danger{background:#fff;color:#9f3030;border-color:#bf8989}
.exam-review-panel{max-width:760px;width:100%;padding:40px 30px 60px;margin:0 auto;flex:1}
.exam-review-panel h1,.exam-review-panel h2{font-size:1.55rem;line-height:1.3;margin-bottom:12px}
.exam-review-panel>p{color:#536276;font-size:.92rem}
.exam-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:12px;margin:28px 0;max-width:620px}
.exam-review-cell{position:relative;min-height:45px;padding:8px;background:#fff;border:1px dashed #7c899b;border-radius:4px;color:#2a3d59;font-size:.93rem;font-weight:600}
.exam-review-cell:hover{background:#eef3fc}
.exam-review-cell.answered{border:1px solid #245ac7;background:#245ac7;color:white}
.exam-review-cell.current{outline:2px solid #172e52;outline-offset:3px}
.exam-review-cell.flagged::after{content:"";position:absolute;top:-7px;right:-4px;width:9px;height:14px;background:#ce8824;clip-path:polygon(0 0,100% 0,100% 100%,50% 72%,0 100%);filter:drop-shadow(0 0 1px white)}
.exam-review-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:.78rem;color:#56647a;margin-top:22px}
.exam-review-legend span{display:flex;align-items:center;gap:8px}
.exam-shell .notice{border-radius:5px;background:#f2f6fc;font-family:inherit;margin:20px 0}
.exam-shell :focus-visible{outline:3px solid #a65e00;outline-offset:3px}
.exam-workspace.math-only{grid-template-columns:1fr}
.exam-workspace.math-only .exam-question{width:min(760px,100%);margin:0 auto}
.exam-shell .exam-disclaimer{font-size:.7rem;line-height:1.5;color:#627189;padding:10px 30px;background:#f8faff;margin:0;border-top:1px solid #e1e7ef}
@media(min-width:1000px){body.exam-active .exam-workspace{max-height:calc(100dvh - 218px);min-height:400px}body.exam-active .exam-passage,body.exam-active .exam-question{overflow-y:auto;overscroll-behavior:contain}}
@media(max-width:850px){.exam-header{padding:16px 20px;grid-template-columns:1fr auto;gap:12px}.exam-tools{grid-column:1/-1;justify-content:flex-start;border-top:1px solid #d2ddef;padding-top:7px;gap:6px}.exam-tool{font-size:.76rem}.exam-passage,.exam-question{padding:25px 23px}.exam-bottom{padding:16px 20px}.exam-heading,.exam-shell .exam-heading{font-size:1.05rem}}
@media(max-width:640px){.exam-workspace{grid-template-columns:1fr;min-height:0}.exam-passage{border-right:0;border-bottom:1px solid var(--exam-line);padding-bottom:26px}.exam-question{padding-top:22px}.exam-header{gap:9px}.exam-timer{font-size:1.15rem}.exam-bottom{flex-wrap:wrap;gap:12px}.exam-nav{margin-left:auto;gap:8px}.exam-shell .btn{padding:10px 17px;min-height:42px}.exam-progress-label{font-size:.8rem}.exam-review-panel{padding:30px 23px 40px}.exam-review-grid{gap:11px;grid-template-columns:repeat(5,minmax(0,1fr))}.exam-shell .exam-disclaimer{padding:10px 20px}.exam-question-top{margin-bottom:18px}.exam-option{padding:12px;gap:11px}}
@media(prefers-reduced-motion:reduce){.exam-shell *{transition:none!important}}

/* Integrated timed-flow controls. */
.exam-header>div:nth-child(2){text-align:center}
.exam-header>div:nth-child(2)>.exam-tool{display:block;margin:4px auto 0;min-height:28px;font-size:.72rem;padding:3px 10px}
.exam-timer{display:block}
.exam-question .exam-question-number{display:flex;justify-content:space-between;gap:12px;background:#f3f5f8;border-bottom:1px solid #d4dbe5;border-radius:0;color:var(--exam-ink);padding:0 8px 0 0;min-height:42px;height:auto;margin-bottom:24px;font-weight:400}
.exam-question-number>span{align-self:stretch;min-width:42px;display:grid;place-items:center;background:#29384b;color:white;font-weight:700}
.exam-question h2{font-size:1rem;font-weight:400;line-height:1.65;white-space:pre-line;letter-spacing:normal}
.exam-workspace.exam-single{grid-template-columns:1fr}
.exam-workspace.exam-single .exam-question{width:min(760px,100%);margin:0 auto}
.exam-bottom>.exam-progress-label{padding:11px 18px;min-height:42px;background:#fff;border:1px solid #b7c9e3;border-radius:7px}
.exam-bottom>.exam-progress-label:hover{background:#f5f8ff}
.exam-bottom>span{font-size:.82rem;font-weight:700;color:#40546e}
.exam-option.exam-crossed{text-decoration:line-through;color:#6e7784;background:#f7f7f8;border-color:#b3bbc5;box-shadow:none}
.exam-option.exam-crossed .option-letter{background:#e7ebf0;color:#687586;border-color:#9faab9}
.exam-reading-guide{position:relative;--reader-pos:50%}
.exam-reading-guide::after{content:"";pointer-events:none;position:absolute;left:15px;right:15px;top:clamp(32px,var(--reader-pos),calc(100% - 70px));height:2.2em;background:#f5d86a30;border-top:1px solid #bd9f42;border-bottom:1px solid #bd9f42;z-index:1}
.exam-reader-slider{position:relative;z-index:2;display:block;width:100%;height:24px;min-height:24px;margin:24px 0 0;padding:0;accent-color:#245ac7}
.exam-shell>section[aria-label="Testing tool"]{max-width:none;flex:0 0 auto;padding:20px 30px;border-bottom:1px solid #cbd4df;background:#f8faff}
.exam-shell>section[aria-label="Testing tool"] h2{font-size:1.1rem;margin-bottom:12px}
.exam-shell>section[aria-label="Testing tool"] textarea{max-width:760px;display:block}
.exam-shell>section[aria-label="Testing tool"] p{font-size:.85rem;margin:10px 0}
@media(max-width:640px){.exam-bottom>span{display:none}.exam-bottom>.exam-progress-label{font-size:.76rem;padding:10px 12px}.exam-shell>section[aria-label="Testing tool"]{padding:20px}}
/* Decorative inline icon geometry and alignment. */
.exam-shell .exam-icon{display:inline-block;width:18px;height:18px;flex:0 0 18px;vertical-align:-3px;fill:none;stroke-width:1.5}
.exam-shell .exam-tool .exam-icon,.exam-shell .btn .exam-icon{vertical-align:middle}
.exam-shell .exam-timer .exam-icon{margin-right:6px}
/* Responsive exam audit: protect long prompts, controls, and module review. */
.exam-header{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.exam-header>*,.exam-workspace>*,.exam-bottom>*{min-width:0}
.exam-heading,.exam-subtitle{overflow-wrap:break-word}
.exam-tools{gap:5px}.exam-tool{max-width:100%;white-space:normal;line-height:1.45}
.exam-option>span:last-child{min-width:0;flex:1;overflow-wrap:anywhere}
.exam-question h2,.exam-passage p{overflow-wrap:break-word}
.exam-review-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:14px;padding:5px}
.exam-review-cell{width:100%;min-width:0;min-height:44px}
.exam-review-panel{min-width:0}.exam-review-panel h2{overflow-wrap:break-word}
.exam-question-number .exam-tool{font-size:.78rem;padding:7px 9px}
.exam-shell #calc-form{align-items:end;gap:14px}
.exam-shell #calc-form label{display:flex;flex-direction:column;gap:7px;flex:1 1 150px;min-width:0;font-size:.8rem}
.exam-shell #calc-form input{width:100%;min-width:0;max-width:100%}
.exam-shell #calc-form select{width:100%}
.exam-shell #calc-output{display:block;padding-top:12px;overflow-wrap:anywhere}
.exam-bottom .exam-nav{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:1000px){.exam-header{grid-template-columns:minmax(0,1fr) auto}.exam-tools{grid-column:1/-1;justify-content:flex-start}.exam-workspace{max-height:none!important}}
@media(max-width:640px){.exam-review-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.exam-question,.exam-passage{padding-left:20px;padding-right:20px}.exam-bottom{padding:14px 18px}.exam-nav{gap:7px}.exam-bottom .btn{padding:10px 14px}.exam-bottom>.exam-progress-label{max-width:100%}.exam-header .exam-tool{padding:7px 9px}.exam-subtitle{font-size:.65rem}.exam-shell>section[aria-label="Testing tool"]{padding:20px}}
@media(max-width:380px){.exam-header{padding-left:16px;padding-right:16px;gap:10px}.exam-shell .exam-heading{font-size:.95rem}.exam-timer{min-width:70px}.exam-bottom{flex-direction:column;align-items:stretch}.exam-bottom>.exam-progress-label{align-self:center}.exam-nav{margin-left:0;justify-content:space-between!important}.exam-nav>.btn{flex:1}.exam-review-grid{gap:10px}}
/* Shared timed/untimed workspace and original calculator controls. */
.exam-timer.exam-untimed{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#42638e;background:#f7faff;border:1px solid #ccdaef;border-radius:7px;padding:8px 12px;font-size:.78rem;font-weight:600;line-height:1.4;letter-spacing:0;min-height:36px}
.exam-timer.exam-untimed small{font-size:.7rem;font-weight:400}
.exam-bottom .exam-actions,.exam-bottom .exam-footer-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
.exam-bottom .exam-actions>.btn,.exam-bottom .exam-footer-actions>.btn{max-width:100%;white-space:normal}
.exam-calculator{display:grid;gap:13px;width:100%;max-width:360px;padding:19px;background:#fff;border:1px solid #cbd9ec;border-radius:13px;box-shadow:0 5px 18px #23477008;font-variant-numeric:tabular-nums;color:#18304f}
.exam-calculator .calc-display,.exam-shell .calc-display{display:block;width:100%;max-width:100%;min-height:58px;min-width:0;margin:0;padding:13px 14px;background:#f5f8fd;border:1px solid #b7c8df;border-radius:7px;text-align:right;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.25rem;line-height:1.5;letter-spacing:.01em;overflow-wrap:anywhere;color:#18304f}
.calc-keypad{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0}
.exam-shell .calc-key{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:9px 7px;background:#f0f4fa;border:1px solid #d6e0ee;border-radius:7px;color:#29476d;font-size:1.08rem;font-weight:600;line-height:1.3;touch-action:manipulation}
.exam-shell .calc-key:hover:not(:disabled){background:#e4edfc;border-color:#8ca9d8}
.exam-shell .calc-key:active:not(:disabled){background:#d5e4fc}
.exam-shell .calc-key.operator,.exam-shell .calc-key[data-op],.exam-shell .calc-key[data-calc="="]{background:#e5edff;border-color:#b1c8ed;color:#2456b3}
.exam-shell .calc-key.equals,.exam-shell .calc-key.primary{background:#245cdd;border-color:#245cdd;color:#fff}
.exam-shell .calc-key.wide{grid-column:span 2}
.calc-result{display:block;min-height:25px;margin:0;padding:5px 1px;color:#234e92;font-size:.92rem;font-weight:600;line-height:1.6;overflow-wrap:anywhere;white-space:normal}
.exam-question .field{max-width:420px;min-width:0;margin:12px 0;line-height:1.6;gap:10px;color:#526984;font-size:.83rem}
.exam-question #numeric-answer{width:100%;max-width:320px;min-width:0;min-height:52px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.15rem;letter-spacing:.04em;padding:12px 15px;border:1px solid #899ebd;border-radius:6px;background:#fff;color:#18304f}
.exam-question #numeric-answer:focus{border-color:#245cdd}
.exam-workspace.exam-single .exam-question{padding-top:30px;padding-bottom:45px}
.exam-question .math,.exam-question .math-expression,.exam-question math{font-family:"Cambria Math",Cambria,Georgia,serif;font-size:1.14em;line-height:1.9;letter-spacing:.015em}
.exam-question .math-expression{display:block;max-width:100%;overflow-x:auto;padding:12px 0}
.exam-question sup,.exam-option sup{font-size:.73em;line-height:0;vertical-align:super}
.exam-question sub,.exam-option sub{font-size:.73em;line-height:0;vertical-align:sub}
.exam-question table{font-variant-numeric:tabular-nums;line-height:1.5}
.exam-question .exam-options{margin-top:23px;line-height:1.7}
@media(max-width:640px){.exam-tools{gap:3px}.exam-header .exam-tool{font-size:.72rem;padding:7px;min-height:38px;gap:5px}.exam-header .exam-tool .exam-icon{width:16px;height:16px;flex-basis:16px}.exam-header{padding-top:13px;padding-bottom:13px}.exam-timer.exam-untimed{font-size:.7rem;padding:7px 9px;min-height:32px}.exam-calculator{max-width:340px;padding:15px}.exam-bottom .exam-actions,.exam-bottom .exam-footer-actions{justify-content:flex-end;gap:7px}.exam-question #numeric-answer{max-width:100%}.exam-workspace.exam-single .exam-question{padding-top:23px}}
@media(max-width:380px){.exam-tools{gap:2px}.exam-header .exam-tool{font-size:.68rem;padding:6px;gap:4px;min-height:38px}.exam-calculator{padding:12px}.calc-keypad{gap:7px}.exam-bottom .exam-actions,.exam-bottom .exam-footer-actions{width:100%;justify-content:space-between}.exam-bottom .exam-actions>.btn,.exam-bottom .exam-footer-actions>.btn{flex:1 1 auto}}
/* Reference-informed geometry, original blue identity and controls. */
.exam-header{position:relative;background:#fff;border-bottom:0;padding:22px 30px 26px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:22px;min-height:110px}
.exam-header::after,.exam-bottom::before{content:"";position:absolute;left:0;right:0;height:4px;background:repeating-linear-gradient(90deg,#6980a0 0,#6980a0 60px,#b0bfd3 60px,#b0bfd3 120px);pointer-events:none}
.exam-header::after{bottom:0}.exam-bottom::before{top:0}
.exam-header>div:nth-child(2){justify-self:center;min-width:90px}
.exam-header .exam-tools{justify-self:end;justify-content:flex-end}
.exam-header .exam-tool{color:#4c607c}
.exam-header>div:first-child>.exam-tool{color:#245cdd;padding-left:0}
.exam-shell .exam-heading{font-size:1.1rem;line-height:1.45}
.exam-timer{font-size:1.35rem;font-weight:700;color:#233a59;white-space:nowrap}
.exam-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:490px}
.exam-passage,.exam-passage>p,.exam-passage .passage{font-family:Arial,"Helvetica Neue",sans-serif;font-size:1rem;line-height:1.85;color:#283b54}
.exam-passage,.exam-question{padding:30px clamp(24px,3vw,48px) 42px}
.exam-passage{border-right:1px solid #d7dfea;white-space:normal}
.exam-passage>p{white-space:pre-line}
.exam-question .exam-question-number{justify-content:flex-start;gap:10px;background:#f2f4f7;border:0;border-radius:9px;padding:10px 12px;min-height:60px;margin-bottom:25px}
.exam-question-number>span{align-self:center;min-width:34px;height:36px;border-radius:5px;background:#203957;font-weight:700}
.exam-question-number>.exam-tool{font-weight:400;color:#4f627d}
.exam-question-number>.exam-tool:last-child:not(:nth-child(2)){margin-left:auto}
.exam-question h2{font-size:1rem;line-height:1.75;margin-bottom:23px}
.exam-option{border:1.5px solid #bcc7d6;border-radius:9px;padding:14px 16px;min-height:59px}
.exam-option .option-letter{border:1.5px solid #9aabc1;width:27px;height:27px;flex:0 0 27px}
.exam-option.selected{background:#f2f6ff;border-color:#245cdd;box-shadow:0 0 0 .5px #245cdd}
.exam-bottom{position:sticky;bottom:0;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);background:#fff;border-top:0;gap:18px;min-height:83px;padding:20px 30px 16px;padding-bottom:max(16px,env(safe-area-inset-bottom));box-shadow:0 -3px 12px #23477005}
.exam-bottom>span{justify-self:start;font-size:.85rem}
.exam-bottom>.exam-progress-label{justify-self:center;align-self:center;background:#244f99;border:1px solid #244f99;color:white;border-radius:100px;padding:11px 19px;font-weight:500;line-height:1.4}
.exam-bottom>.exam-progress-label:hover{background:#194484}
.exam-bottom>.exam-nav{justify-self:end;margin:0;display:flex;justify-content:flex-end;gap:10px}
.exam-bottom .exam-actions,.exam-bottom .exam-footer-actions{justify-self:end}
.exam-workspace.exam-single .exam-question{width:min(760px,100%);padding:32px 30px 50px}
.exam-workspace.exam-single .exam-question .field{max-width:100%;margin-top:27px}
.exam-workspace.exam-single #numeric-answer{max-width:100%;width:100%;letter-spacing:.02em}
.exam-workspace.exam-single .math-expression{padding:12px 0 20px;text-align:center;font-size:1.2rem}
@media(min-width:1001px){body.exam-active .exam-workspace{max-height:none;min-height:calc(100dvh - 193px)}body.exam-active .exam-passage,body.exam-active .exam-question{overflow-y:visible}}
@media(max-width:1000px){.exam-header{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:18px 24px 21px}.exam-header>div:nth-child(2){justify-self:end}.exam-header .exam-tools{grid-column:1/-1;justify-self:stretch;justify-content:flex-start;border-top:1px solid #e4eaf2;padding-top:7px}.exam-bottom{padding-left:22px;padding-right:22px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px}.exam-bottom .btn{padding:10px 17px}}
@media(max-width:640px){.exam-workspace{grid-template-columns:minmax(0,1fr);min-height:0}.exam-passage{border-right:0;border-bottom:1px solid #d7dfea}.exam-passage,.exam-question{padding:24px 20px 30px}.exam-header{padding:16px 20px 19px}.exam-shell .exam-heading{font-size:.98rem}.exam-bottom{grid-template-columns:auto minmax(0,1fr);padding:16px 16px 13px;gap:9px}.exam-bottom>span{display:none}.exam-bottom>.exam-progress-label{justify-self:start;font-size:.72rem;padding:10px 13px}.exam-bottom>.exam-nav{justify-self:end;gap:7px}.exam-bottom .btn{padding:10px 13px;font-size:.77rem}.exam-question .exam-question-number{padding:9px;gap:5px}.exam-question-number>.exam-tool{font-size:.72rem}.exam-workspace.exam-single .exam-question{padding:25px 20px 35px}.exam-header .exam-tools{gap:3px}.exam-header .exam-tool{font-size:.72rem}.exam-header::after,.exam-bottom::before{height:3px}}
@media(max-width:380px){.exam-header{padding-left:15px;padding-right:15px}.exam-bottom{display:flex;flex-direction:column;align-items:stretch;gap:10px}.exam-bottom>.exam-progress-label{align-self:center}.exam-bottom>.exam-nav{width:100%;justify-content:space-between!important}.exam-bottom>.exam-nav .btn{flex:1}.exam-question-number>.exam-tool{padding:6px;font-size:.68rem}.exam-question-number>span{min-width:29px;height:32px}}

.exam-question .practice-explanation{margin:24px 0 5px;padding:20px;background:#f1f6ff;border:1px solid #ccdcf4;border-left:3px solid #4779c9;border-radius:0 9px 9px 0;font-size:.9rem;line-height:1.8;color:#2b496e;overflow-wrap:anywhere}
.exam-question .practice-explanation h3{font-size:.98rem;margin:0 0 10px}
.exam-question .practice-explanation p:last-child{margin-bottom:0}
.exam-shell.exam-untimed{padding:0}
.exam-formulas{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:.65rem;margin:1rem 0}
.exam-formulas>div{padding:.75rem .9rem;border:1px solid #d9e4f3;border-radius:8px;background:#f8fbff}
.exam-formulas dt{font-weight:700}
.exam-formulas dd{margin:.25rem 0 0;line-height:1.55}
#numeric-hint{font-size:.8rem;color:#536782;line-height:1.4}
#numeric-answer[aria-invalid="true"]{border-color:#a33939}
#numeric-answer[aria-invalid="true"] + #numeric-hint{color:#8d2e2e}
.graph-tabs{display:flex;gap:8px;margin:0 0 15px}
.graph-bounds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.graph-bounds .field{min-width:0}
.graph-output{margin:0;border:1px solid #d4dfef;border-radius:9px;overflow:hidden;background:#fff}
.graph-output svg{display:block;width:100%;height:auto}
.graph-output path{fill:none;stroke:#245cdd;stroke-width:2.7;vector-effect:non-scaling-stroke}
.graph-grid{stroke:#e1e9f4;stroke-width:1}
.graph-axis{stroke:#677d9a;stroke-width:1.5}
.graph-output figcaption{padding:7px 11px;font-size:.82rem;color:#435d80;border-top:1px solid #d4dfef}
.question-table-block{min-width:0;max-width:100%;margin:14px 0 20px}
.table-touch-hint{margin:0 0 5px;color:#40546e;font-size:.82rem}
.question-table{min-width:0;max-width:100%;overflow-x:auto;border:1px solid #d4dfef;border-radius:8px}
.question-table caption{padding:10px 12px;text-align:left;font-weight:650;background:#eef4ff}
.question-table th,.question-table td{padding:8px 12px;line-height:1.4}
.question-table th[scope=row]{color:var(--ink);text-transform:none;letter-spacing:0;font-size:inherit}
.external-calc{line-height:1.5}
@media(max-width:430px){.exam-question .exam-question-number{flex-wrap:wrap}.exam-question-number>.exam-tool:last-child:not(:nth-child(2)){margin-left:0}}
/* Keep the question-review controls readable on narrow screens. */
@media(max-width:380px){.exam-review-grid{gap:6px}.exam-review-cell{min-height:42px}.exam-header .exam-tools{justify-content:flex-start;flex-wrap:wrap}}
/* Clear module navigator: status only, never correctness during the test. */
.exam-question-menu{max-width:960px;margin:0 auto;width:100%}.exam-menu-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.exam-menu-heading h2{margin:6px 0 10px}.exam-menu-heading p{margin-bottom:0}.exam-menu-heading .exam-menu-eyebrow{font-size:.65rem;font-weight:700;letter-spacing:.12em;color:#57708f}.exam-menu-heading>.btn{flex-shrink:0}.exam-menu-summary{display:flex;flex-wrap:wrap;gap:14px 24px;margin:25px 0 12px;padding:16px 0;border-top:1px solid #dce4ef;border-bottom:1px solid #dce4ef}.exam-menu-summary>span{display:inline-flex;align-items:center;gap:7px;font-size:.84rem;color:#3b506b}.exam-menu-summary strong{font-variant-numeric:tabular-nums;color:#183859}.exam-status-key{display:inline-block;width:16px;height:16px;box-sizing:border-box;border-radius:3px;flex-shrink:0}.exam-status-key.is-answered{background:#245ac7;border:1px solid #245ac7}.exam-status-key.is-unanswered{background:#fff;border:1px dashed #7c899b}.exam-status-key.is-marked{background:#ce8824;clip-path:polygon(0 0,100% 0,100% 100%,50% 72%,0 100%);border-radius:0;width:12px;margin-left:2px;margin-right:2px}.exam-question-menu .exam-menu-position{font-size:.78rem;line-height:1.6;color:#57708f;max-width:640px}.exam-question-menu .exam-review-grid{max-width:620px;margin:20px 0 26px;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px;padding:5px}.exam-question-menu .exam-review-cell{min-height:48px;font-variant-numeric:tabular-nums}.exam-question-menu .exam-review-cell:focus-visible{outline:3px solid #9a5b00;outline-offset:3px}.exam-menu-submit{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid #dce4ef;padding-top:20px}.exam-menu-submit>p{font-size:.83rem;line-height:1.6;margin:0;color:#526681;max-width:520px}.exam-menu-submit>.btn{flex-shrink:0}@media(max-width:640px){.exam-menu-heading{display:block}.exam-menu-heading>.btn{margin-top:16px}.exam-question-menu .exam-review-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.exam-menu-summary{gap:12px 17px;margin-top:20px}.exam-menu-summary>span{font-size:.76rem}.exam-menu-submit{flex-direction:column;align-items:stretch;gap:16px}.exam-menu-submit>.btn{width:100%}.exam-question-menu .exam-menu-position{font-size:.74rem}}@media(max-width:380px){.exam-question-menu .exam-review-grid{gap:9px}.exam-question-menu .exam-review-cell{min-height:44px}.exam-menu-summary{gap:10px 12px}}

.question-table:focus-visible{outline:3px solid #245ac7;outline-offset:3px}
