/* Exam paper uses the existing sage palette and system typeface. */
.exam-wrap{max-width:1400px}.exam-intro{display:grid;grid-template-columns:1fr 1.2fr;gap:48px;margin-bottom:48px}.exam-start-card{padding:32px;border:1px solid #c8d7bf;border-radius:16px;background:#eaf0e4}.exam-facts{display:flex;gap:44px;padding:24px 0}.exam-facts strong{font-size:46px;letter-spacing:-.05em}.exam-facts strong span{font-size:16px;margin-left:6px}.exam-facts p{font-size:12px;color:var(--muted)}.exam-start-card>.button{width:100%}.exam-instructions{padding:16px 0}.exam-instructions h2{font-size:23px}.exam-instructions ol{padding-left:22px;line-height:1.85}.exam-instructions li{margin:12px 0}.exam-start-card .tiny{margin:16px 0;line-height:1.8}.exam-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 0}.exam-toolbar h1{font-size:27px;margin:10px 0}.exam-toolbar .eyebrow{font-size:11px}.exam-clock{text-align:right;flex-shrink:0}.exam-clock>span{display:block;font-size:12px;color:var(--muted)}.exam-clock strong{font-variant-numeric:tabular-nums;font-size:32px;letter-spacing:-.025em}.exam-clock strong.urgent{color:#a53b20}.exam-controls{display:flex;gap:20px;align-items:center;font-size:12px;padding:15px 0;border-top:1px solid var(--line);flex-wrap:wrap}.exam-controls label{display:flex;gap:10px;align-items:center}.exam-controls select{padding:8px 30px 8px 12px;border:1px solid #b8c8b1;background:#fff;border-radius:6px;font:inherit;font-size:14px;max-width:100%}.exam-controls>button{margin-left:auto;border:0;background:none;cursor:pointer;font:inherit;color:var(--green);text-decoration:underline}.exam-workspace{display:grid;grid-template-columns:minmax(0,1fr) 256px;gap:24px;margin:4px 0 50px;align-items:start}.exam-paper{min-width:0;background:#fff;border:1px solid #cbd5c5;border-radius:12px;overflow:hidden}.exam-paper-heading{display:flex;justify-content:space-between;align-items:center;padding:17px 24px;background:#e4eadf;border-bottom:1px solid #cbd5c5;gap:16px}.exam-paper-heading strong{font-size:16px}.exam-paper-heading>span{font-size:12px}.exam-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 24px;column-gap:36px}.exam-question{padding:26px 0;border-bottom:1px solid #dbe2d7;min-width:0}.exam-question fieldset{border:0;padding:0;margin:0;min-width:0}.exam-question legend{font-size:16px;line-height:1.8;font-weight:750;padding:0;display:block;max-width:100%;overflow-wrap:anywhere;scroll-margin-top:28px}.exam-number{color:var(--green);margin-right:4px}.exam-options{margin-top:16px}.exam-options label{display:flex;align-items:flex-start;gap:9px;cursor:pointer;line-height:1.75;font-size:14px;padding:9px 7px;margin:4px 0;border:1px solid transparent;border-radius:7px;overflow-wrap:anywhere}.exam-options input{appearance:none;width:1px;height:1px;position:absolute;opacity:0}.exam-options label:has(input:checked){background:#ecf3e6;border-color:#789967}.exam-options label:has(input:focus-visible){outline:3px solid #296ec5;outline-offset:2px}.exam-choice{flex-shrink:0;font-size:16px;font-weight:650;color:#57704d}.exam-question-actions{display:flex;gap:16px;justify-content:space-between;margin-top:18px;flex-wrap:wrap}.exam-question-actions button{border:0;background:transparent;padding:8px 0;cursor:pointer;font:inherit;font-size:12px;color:var(--muted);min-height:40px}.exam-question-actions button[aria-pressed=true]{color:#885b00;font-weight:700}.exam-question-actions button:disabled{opacity:.4;cursor:default}.exam-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;font-size:12px}.exam-pagination .button{font-size:13px;padding:10px 15px}.exam-answer-sheet{padding:23px 18px;background:#edf1e8;border:1px solid #d0dcc8;border-radius:12px;position:sticky;top:18px}.exam-answer-sheet h2{font-size:21px;margin:0}.exam-answer-sheet>p{font-size:13px;margin:10px 0}.exam-answer-sheet .tiny{font-size:11px;line-height:1.8}.exam-answer-sheet h3{font-size:13px;margin:21px 0 10px}.exam-answer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.exam-answer-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:48px;min-width:0;padding:3px 0;line-height:1.4;border:1px solid #bdcbb5;border-radius:5px;background:white;cursor:pointer;color:var(--ink)}.exam-answer-grid b{font-size:12px}.exam-answer-grid span{font-size:11px;min-height:15px;white-space:nowrap}.exam-answer-grid .answered{background:#dce9d2;border-color:#789967}.exam-answer-grid .flagged{box-shadow:inset 0 -3px #c88b24}.exam-answer-grid .current{outline:2px solid #355c31;outline-offset:1px}.exam-sheet-actions{display:flex;flex-direction:column;gap:8px;margin-top:24px}.exam-sheet-actions .button{font-size:12px;padding:10px}.exam-data{overflow-x:auto;max-width:100%;margin:18px 0}.exam-data table{table-layout:fixed;font-size:12px;margin:0}.exam-data th,.exam-data td{font-size:12px;min-width:0;padding:8px 6px;overflow-wrap:anywhere;text-align:center}.exam-data caption{font-size:11px;line-height:1.65}.exam-dialog,.exam-chart,.exam-context{margin:18px 0;padding:14px;border:1px solid #b9c9b1;background:#f4f6f0;border-radius:5px}.exam-dialog figcaption,.exam-chart figcaption,.exam-context figcaption{font-size:12px;font-weight:700;margin-bottom:12px}.exam-dialog dl{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:12px;margin:0}.exam-dialog dt{padding-top:6px}.exam-dialog dd{margin:0;padding:6px 9px;border:1px solid #bbc5b7;background:#fff}.exam-chart svg{width:100%;display:block;font:12px sans-serif}.exam-context p{font-family:monospace;font-size:13px;overflow-wrap:anywhere;line-height:1.8}.exam-score-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.exam-result-list{margin:35px 0 50px}.exam-result-list .section-heading{flex-wrap:wrap}.exam-result-list label{font-size:14px;display:flex;align-items:center;gap:8px}.exam-result-list input{accent-color:var(--green);width:18px;height:18px}.exam-result-list .exam-data,.exam-result-list figure{max-width:540px}.exam-result-list .rationale-list{line-height:1.9}.exam-missing-list{display:flex;flex-wrap:wrap;gap:6px;max-height:160px;overflow:auto;margin:16px 0}.exam-missing-list .filter-button{font-size:12px;padding:7px 12px}.exam-history{margin:35px 0 50px}.exam-history h2{font-size:23px}#exam-progress{margin:35px 0;padding-top:30px;border-top:1px solid var(--line)}#exam-progress>.tiny{line-height:1.8;margin:18px 0}.exam-entry{margin:20px 0 32px;padding:25px;border:1px solid #c5d4bb;background:#eaf0e4;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:20px}.exam-entry h2{font-size:22px;margin:7px 0}.exam-entry p{font-size:14px;color:var(--muted);margin:8px 0}.exam-entry .button{flex-shrink:0}
@media(max-width:1100px){.exam-workspace{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.exam-columns{grid-template-columns:1fr}.exam-question legend{font-size:18px}.exam-options label{font-size:16px}}
@media(max-width:800px){.exam-intro{grid-template-columns:1fr;gap:20px}.exam-workspace{grid-template-columns:1fr}.exam-answer-sheet{position:static}.exam-answer-grid{grid-template-columns:repeat(10,minmax(0,1fr))}.exam-answer-grid button{min-height:48px}.exam-sheet-actions{flex-direction:row;flex-wrap:wrap}.exam-sheet-actions .button{flex:1}.exam-sheet-actions .primary{flex-basis:100%}.exam-score-grid{grid-template-columns:1fr}.exam-score-grid .stat-card{margin:0}.exam-entry{align-items:flex-start;flex-direction:column}.exam-entry .button{width:100%}.exam-controls{gap:10px}.exam-toolbar h1{font-size:22px}.exam-clock strong{font-size:28px}}
@media(max-width:600px){.main-nav{gap:4px}.main-nav a{font-size:12px;padding-left:0;padding-right:0}.exam-toolbar{align-items:flex-start}.exam-toolbar h1{font-size:20px;line-height:1.6;max-width:205px}.exam-toolbar .eyebrow{font-size:9px}.exam-clock strong{font-size:23px}.exam-clock>span{font-size:10px}.exam-clock{padding-top:6px}.exam-controls{font-size:11px}.exam-controls label{width:100%;justify-content:space-between}.exam-controls select{font-size:14px;max-width:210px}.exam-columns{padding:0 16px}.exam-question{padding:24px 0}.exam-question legend{font-size:17px;line-height:1.9}.exam-options label{font-size:15px;padding:10px 4px;gap:8px;min-height:44px}.exam-paper-heading{padding:14px 16px}.exam-paper-heading strong{font-size:14px}.exam-paper-heading>span{font-size:10px}.exam-pagination{padding:18px 12px;gap:6px}.exam-pagination .button{font-size:12px;padding:10px 12px}.exam-answer-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.exam-answer-grid button{min-height:49px}.exam-answer-grid b{font-size:14px}.exam-answer-sheet{padding:22px}.exam-answer-sheet .tiny{font-size:12px}.exam-sheet-actions .button{font-size:13px}.exam-start-card{padding:25px}.exam-facts{gap:35px}.exam-facts strong{font-size:41px}.exam-facts p{font-size:11px}.exam-instructions{font-size:15px}.exam-entry{padding:22px}.exam-entry h2{font-size:21px}.exam-result-list summary{overflow-wrap:anywhere}.exam-data th,.exam-data td{font-size:12px;padding:8px 4px}.exam-result-list .rationale-list strong{overflow-wrap:anywhere}.exam-toolbar:has(#exam-timer){position:sticky;top:0;z-index:5;background:var(--paper,#f7f7f2);border-bottom:1px solid var(--line)}.exam-question legend{scroll-margin-top:122px}}

.exam-question,.exam-answer-sheet{scroll-margin-top:28px}@media(max-width:600px){.exam-question,.exam-answer-sheet{scroll-margin-top:140px}.exam-controls>button{margin-left:0}#exam-sheet-jump{margin-left:auto}.exam-toolbar h1{margin-bottom:0}}
