/* Full-exam extension: the existing IESB palette and controls are unchanged. */
.full-exam-screen [hidden] { display: none !important; }
.full-intro { margin-bottom: 28px; }
.full-intro > p, .full-instructions { max-width: 75ch; }
.full-facts { display: flex; flex-wrap: wrap; gap: 22px 36px; padding-block: 16px; margin: 0 0 18px; }
.full-facts > div { flex: 1 1 180px; }
.full-facts dt { color: var(--muted); font-size: .875rem; margin-bottom: 6px; }
.full-facts dd { margin: 0; font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.full-instructions { padding-left: 22px; line-height: 1.65; }
.full-instructions li { padding-bottom: 12px; }
.full-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.full-loading { min-height: 180px; border-radius: 14px; padding: 28px; background: var(--surface); color: var(--muted); }
.full-attempt-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.full-attempt-header h1 { font-size: 1.5rem; margin: 0 0 5px; }
.full-attempt-header p { margin: 0; color: var(--muted); }
.full-clock { font-size: 1.65rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.full-time-alert { color: var(--amber); padding-block: 8px; min-height: 16px; font-weight: 700; }
.full-time-alert:empty { display: none; }
.full-exam-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 16px; }
.full-navigation { position: sticky; top: 100px; padding-block: 8px; }
.full-navigation h2 { font-size: 1rem; }
.full-map-toggle { display: none; }
.full-question-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-block: 16px; }
.full-question-map .map-item { position: relative; width: 100%; height: 42px; }
.full-question-map .map-item.current { background: white; outline: 2px solid var(--red); outline-offset: 2px; border-color: var(--red); color: var(--red-dark); }
.full-question-map .map-item.current.answered { background: var(--green-soft); }
.full-question-map .map-item.review::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); right: 3px; top: 3px; }
.full-navigation > p[role="status"] { font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.full-navigation > button { width: 100%; margin-bottom: 10px; }
.full-question { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; scroll-margin-top: 90px; }
.full-question-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.full-question-heading h2 { font-size: 1.25rem; margin-bottom: 4px; }
.full-source-images { margin-top: 18px; }
.full-source-images figure { margin: 0 0 20px; }
.full-image-tools { margin: 0 0 8px; font-size: .875rem; }
.full-source-images img { display: block; width: 100%; height: auto; background: white; }
.full-source-images figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.full-transcript { margin-block: 18px 24px; }
.full-prewrap { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.7; max-width: 75ch; }
.full-transcript p { color: var(--muted); font-size: .875rem; }
.full-options { min-width: 0; border: 0; padding: 0; margin: 26px 0; }
.full-options legend { font-weight: 700; margin-bottom: 14px; }
.full-options .option { margin-bottom: 10px; }
.full-options .option:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.full-options .option > span:last-child { white-space: pre-wrap; overflow-wrap: anywhere; }
.full-essay { min-height: 300px; line-height: 1.7; }
#full-drawing, #full-report-drawing { display: block; width: 100%; max-width: 720px; height: auto; border: 1px solid #b9bdc5; border-radius: 8px; background: white; }
#full-drawing { touch-action: none; cursor: crosshair; }
.full-review-check { display: flex; align-items: center; gap: 10px; margin-block: 24px; font-weight: 600; }
.full-review-check input { width: 20px; height: 20px; accent-color: var(--red); }
.full-error { color: var(--red-dark); }
.full-mobile-finish { display: none; }
.full-report-section { margin-top: 24px; }
.full-report-section h3 { font-size: 1.1rem; margin: 28px 0 14px; }
.full-report-section > p, .full-report-section > ul { max-width: 75ch; }
.full-score-bars { display: grid; gap: 20px; margin-block: 20px; }
.full-score-bars .area-row-head { gap: 16px; }
.full-score-bars .area-row-head strong { overflow-wrap: anywhere; }
.full-score-bars .area-row-head span { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.full-key-item { padding-block: 16px; border-bottom: 1px solid var(--line); }
.full-report-section details > summary, .full-transcript > summary { cursor: pointer; line-height: 1.6; padding-block: 8px; font-weight: 600; }
.full-grade-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.full-grade-form h3, .full-grade-form > .field:has(textarea), .full-grade-form > p { grid-column: 1 / -1; }
.full-grade-form button { justify-self: start; }
.full-hash { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.full-dashboard-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 24px; }
.full-dashboard-tools .field { flex: 1 1 260px; margin: 0; }
.full-distribution { display: grid; gap: 14px; }
.full-distribution > div { display: grid; grid-template-columns: 85px 1fr 120px; align-items: center; gap: 12px; font-size: .875rem; }
.full-definition-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.full-definition-row .full-actions { margin-top: 0; }
.full-json { min-height: 440px; font-family: ui-monospace, monospace; font-size: .875rem; }
.full-exam-screen :focus-visible, .full-report-section :focus-visible, .full-intro :focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.full-exam-screen ::selection, .full-report-section ::selection { background: var(--red-soft); color: var(--red-dark); }
.full-essay, .full-json { caret-color: var(--red); }
@media (max-width: 980px) {
  .full-exam-layout { grid-template-columns: minmax(0, 1fr); }
  .full-navigation { position: static; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 12px; padding-block: 4px; }
  .full-navigation > :not(.full-map-toggle):not(#full-save-status) { grid-column: 1 / -1; }
  .full-navigation > #full-save-status { margin: 0; font-size: .75rem; align-self: center; }
  .full-navigation > #full-save-status.full-error { grid-column: 1 / -1; }
  .full-map-toggle { display: inline-flex; }
  .full-navigation h2, .full-navigation > .small.muted { display: none; }
  .full-navigation .full-question-map { display: none; }
  .full-navigation.map-open .full-question-map { display: grid; }
  .full-navigation.map-open > .small.muted { display: block; }
  .full-question-map { grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); }
  .full-navigation > button { width: auto; margin: 0; justify-self: start; }
  .full-navigation #full-finish { display: none; }
  .full-navigation.map-open #full-finish { display: inline-flex; }
  .full-mobile-finish { display: inline-flex; margin-top: 24px; }
}
@media (max-width: 600px) {
  .full-attempt-header { gap: 12px; }
  .full-attempt-header h1 { font-size: 1.25rem; }
  .full-clock { font-size: 1.4rem; }
  .full-question { padding: 18px 12px; }
  .full-facts { gap: 18px; }
  .full-facts > div { flex-basis: 140px; }
  .full-grade-form { grid-template-columns: minmax(0, 1fr); }
  .full-distribution > div { grid-template-columns: 75px 1fr; }
  .full-distribution strong { grid-column: 2; }
  .full-score-bars .area-row-head { flex-wrap: wrap; gap: 5px; }
  .full-actions .btn { flex: 1 1 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .full-exam-screen *, .full-report-section *, .full-intro * { transition: none !important; scroll-behavior: auto !important; }
}
