/* Shared reading and assessment components. Role colours also serve legacy pages. */
:root {
  --color-action: #2455c6;
  --color-action-dark: #173c95;
  --color-text: #243047;
  --color-text-muted: #586579;
  --color-surface: #fff;
  --color-canvas: #faf9f5;
  --color-selection: #edf3ff;
  --color-success: #1f6b46;
  --color-success-bg: #edf8f1;
  --color-error: #a83232;
  --color-error-bg: #fff2f1;
  --color-note: #795700;
  --color-note-bg: #fff6d7;
  --color-border: #dce3ef;
  --ink: var(--color-text);
  --muted: var(--color-text-muted);
  --teal: var(--color-action);
  --teal-dark: var(--color-action-dark);
}
html { font-size: 100%; scroll-padding-top: 5rem; }
body { line-height: 1.8; }
button, input, select, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #173c95; outline-offset: 4px; }
button:disabled { cursor: not-allowed; }
h1, h2, h3 { overflow-wrap: anywhere; text-wrap: pretty; }
.button { font-size: 1rem; min-height: 3rem; line-height: 1.5; padding: .8rem 1.15rem; }
.button.small, .chip, .save-button, .segmented button { min-height: 2.75rem; font-size: .875rem; }
.segmented button, .hint, footer, .quiz-footnote, .source-note, .muted { color: var(--color-text-muted); }
.segmented button.active { color: var(--color-action-dark); background: var(--color-selection); }
footer, .source-note, .quiz-footnote, .quiz-origin, .nav-item, .reading-time, .article-top { font-size: .875rem; line-height: 1.8; }
.term-link { color: #204fab; text-underline-offset: .2em; }
.term-link:hover { text-decoration: underline; }
.mock-paper h2, .mock-paper .eyebrow { color: #fff; }
.mock-paper small, .paper-bottom { color: #f5f7ff; }
.article .article-intro { color: var(--color-text-muted); font-size: 1.125rem; }
.article .reading-section > p, .article .reading-list li, .foundation-primer p, .term-detail p { font-size: 1.125rem; line-height: 1.95; }
.article .reading-section > h2 { font-size: 1.45rem; padding: 1rem 1.2rem; }
.article .reading-section { scroll-margin-top: 5rem; }
.article .conversation-block { background: transparent; border: 0; padding: .5rem 0; }
.article .conversation-row, .article .conversation-block .conversation-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 1rem; }
.article .conversation-row .speaker { width: 72px; flex-direction: column; }
.article .conversation-row .bubble { padding: 1rem 1.1rem; font-size: 1.0625rem; line-height: 1.9; }
.article .speaker > span:last-child { font-size: .875rem; }
.article .conversation .conversation-row .speaker .character.speaker-pose { width: 64px; height: 72px; padding: 0; }
.reading-unit-heading { margin: 3rem 0 1.5rem; border-top: 2px solid var(--color-border); padding-top: 1.5rem; }
.reading-unit-heading span { display: inline-block; color: var(--color-action); font-size: .875rem; font-weight: 700; margin-bottom: .4rem; }
.reading-unit-heading h2 { margin: 0; font-size: 1.5rem; }
.reading-unit-heading p { margin: .65rem 0 0; color: var(--color-text-muted); font-size: 1rem; }
.section-purpose { border-left: 3px solid #e8c45b; padding-left: 1rem; color: var(--color-text-muted); }
.section-takeaway { background: var(--color-note-bg); padding: 1rem 1.1rem; border-radius: .6rem; font-size: 1rem; margin-top: 1.2rem; }
.section-takeaway strong { display: block; color: var(--color-note); margin-bottom: .25rem; }
.reader-page-toc button[aria-current="location"], .lesson-section-nav button[aria-current="location"] { background: var(--color-selection); border-left: 3px solid var(--color-action); color: var(--color-action-dark); font-weight: 700; }
.reader-page-toc button { text-align: left; min-height: 2.75rem; font-size: .875rem; }
.reader-location { display: none; }
.starter-path { background: #fff; border: 1px solid var(--color-border); border-left: 5px solid #e7bf44; border-radius: .8rem; padding: 1.4rem; margin: 0 0 2rem; }
.starter-path h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.starter-path p { margin: 0 0 .9rem; font-size: 1rem; }
.starter-path-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.starter-path-links a { border: 1px solid #bfcee9; border-radius: .6rem; padding: .65rem .9rem; color: #204fab; font-size: .9375rem; }
.first-mention { color: var(--color-text-muted); font-size: 1em; }
.abbreviation-notes { border-top: 1px solid var(--color-border); padding-top: .65rem; margin: 1.2rem 0; font-size: .875rem; }
.abbreviation-notes summary { color: #204fab; cursor: pointer; min-height: 2.75rem; }
.abbreviation-notes dl { margin: .5rem 0; }
.abbreviation-notes dt { font-weight: 700; margin-top: .65rem; }
.abbreviation-notes dd { margin-left: 0; color: var(--color-text-muted); }
.exam-heading { max-width: 800px; margin-bottom: 1.6rem; }
.exam-heading h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: .3rem 0 .65rem; }
.exam-heading > p { margin: 0; font-size: 1rem; color: var(--color-text-muted); }
.exam-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.exam-mode-card { background: #fff; border: 1px solid var(--color-border); border-top: 5px solid var(--color-action); border-radius: .85rem; padding: 1.5rem; display: flex; flex-direction: column; min-width: 0; }
.exam-mode-card.original { border-top-color: #d7ad31; }
.exam-mode-card h2 { font-size: 1.45rem; margin: .8rem 0; }
.exam-mode-card p { font-size: 1rem; margin: 0 0 1rem; }
.exam-spec { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; padding: 0; margin: .5rem 0 1.2rem; list-style: none; }
.exam-spec li { font-size: 1rem; color: var(--color-text-muted); }
.exam-spec strong { display: inline-block; color: var(--color-text); font-size: 1.4rem; margin-right: .25rem; }
.exam-mode-card .button { margin: 0 0 1rem; }
.exam-secondary { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; background: #eef3ff; border-radius: .8rem; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.exam-secondary h2 { margin: 0 0 .25rem; font-size: 1.15rem; }
.exam-secondary p { margin: 0; font-size: .9375rem; }
.exam-resume { background: var(--color-note-bg); border: 1px solid #ddc887; border-radius: .7rem; margin-bottom: 1.3rem; padding: 1rem 1.25rem; }
.exam-resume p { margin: .4rem 0 .85rem; }
.exam-resume-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.exam-guide { max-width: 800px; margin-top: 1.8rem; }
.exam-guide h2 { font-size: 1.25rem; }
.exam-guide li { margin: .5rem 0; }
.exam-source { border-top: 1px solid var(--color-border); padding-top: .75rem; margin-top: 1rem; font-size: .875rem; color: var(--color-text-muted); overflow-wrap: anywhere; }
.exam-source a { color: #204fab; text-decoration: underline; text-underline-offset: .15em; }
.exam-source p { margin: .35rem 0; }
.quiz-card { max-width: 860px; padding: 2rem; margin-left: auto; margin-right: auto; border: 1px solid var(--color-border); box-shadow: none; }
.quiz-progress { font-size: .875rem; gap: .75rem; flex-wrap: wrap; }
.quiz-card legend { font-size: 1.125rem; font-weight: 500; line-height: 1.95; white-space: pre-line; overflow-wrap: anywhere; }
.quiz-card fieldset { min-width: 0; }
.quiz-top { max-width: 860px; margin-left: auto; margin-right: auto; gap: 1rem; flex-wrap: wrap; }
.timer { font-size: 1rem; color: var(--color-text); white-space: nowrap; }
.answer-option { border: 1px solid var(--color-border); border-radius: .7rem; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; display: grid; grid-template-columns: 1.25rem 1.7rem minmax(0, 1fr); align-items: start; gap: .6rem; padding: 1rem; font-size: 1.0625rem; line-height: 1.85; }
.answer-option input[type="radio"] { position: static; opacity: 1; width: 1.1rem; height: 1.1rem; margin: .4rem 0 0; grid-column: 1; accent-color: var(--color-action); }
.answer-option > .option-letter { grid-column: 2; display: grid; place-items: center; width: 1.7rem; min-height: 1.7rem; border-radius: 50%; background: #f1f3f6; color: var(--color-text-muted); font-size: .875rem; font-weight: 700; }
.answer-option > span:nth-of-type(2) { grid-column: 3; min-width: 0; }
.answer-option.selected { background: var(--color-selection); border-color: var(--color-action); }
.answer-option.correct { background: var(--color-success-bg); border-color: var(--color-success); }
.answer-option.wrong { background: var(--color-error-bg); border-color: var(--color-error); }
.answer-option .answer-status { position: static; grid-column: 3; font-size: .875rem; font-weight: 700; color: var(--color-success); display: flex; gap: .3rem; align-items: center; }
.answer-status.wrong { color: var(--color-error); }
.answer-status .icon { display: inline-block; }
.quiz-actions { gap: 1rem; flex-wrap: wrap; align-items: center; }
.exam-navigation { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.3rem; }
.exam-navigation .button { flex: 1 1 auto; }
.exam-overview { border-top: 1px solid var(--color-border); margin-top: 1.5rem; padding-top: 1rem; }
.exam-overview summary { font-weight: 700; cursor: pointer; min-height: 2.75rem; }
.exam-question-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: .5rem; margin-top: 1rem; }
.exam-question-grid button { min-width: 44px; min-height: 44px; background: #fff; border: 1px solid #8999b4; border-radius: .5rem; color: var(--color-text); font-size: .9375rem; position: relative; }
.exam-question-grid button.answered { background: var(--color-selection); color: var(--color-action-dark); }
.exam-question-grid button.flagged::after { content: '★'; font-size: .65rem; position: absolute; right: 1px; top: -4px; color: #795700; }
.exam-question-grid button[aria-current="step"] { outline: 2px solid var(--color-action); outline-offset: 1px; font-weight: 700; }
.exam-question-grid-caption { font-size: .875rem; color: var(--color-text-muted); margin: .7rem 0; }
.feedback { font-size: 1.0625rem; line-height: 1.9; }
.feedback h2 { font-size: 1.3rem; color: var(--color-text); }
.feedback > p, .reasons p { font-size: 1.0625rem; line-height: 1.9; }
.reasons p { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; }
.result-card { max-width: 900px; }
.result-question summary { font-size: 1rem; line-height: 1.8; align-items: start; }
.result-question > div { font-size: 1.0625rem; line-height: 1.9; }
.result-question .result-indicator { flex-shrink: 0; }
.result-question .result-indicator.ok { background: var(--color-success-bg); color: var(--color-success); }
.result-option-list { list-style: none; padding-left: 0; }
.result-option-list li { padding: .35rem 0; }
.result-option-list .is-correct { color: var(--color-success); font-weight: 700; }
.exam-table-wrap, .public-table-wrap, .public-figure { max-width: 100%; overflow-x: auto; }
.exam-table-wrap table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.exam-table-wrap th, .exam-table-wrap td { border: 1px solid #b8c3d5; padding: .55rem .8rem; text-align: left; }
.exam-table-wrap th { background: var(--color-selection); }
.quiz-card .data-table, .result-question .data-table { font-size: 1rem; line-height: 1.8; }
.quiz-card .table-scroll, .result-question .table-scroll { max-width: 100%; }
pre.exam-code { white-space: pre; overflow-x: auto; overflow-wrap: normal; color: #1e334d; font-size: .95rem; font-weight: 400; line-height: 1.75; letter-spacing: 0; background: #f4f6fa; padding: 1rem; border: 1px solid #d8e0eb; border-radius: .5rem; tab-size: 2; }
.exam-content-mix { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; }
.exam-content-mix span { padding: .4rem .65rem; border: 1px solid #d8e0eb; background: #f4f7fb; border-radius: .4rem; font-size: .9rem; color: #263d5a; }
.exam-research-note { padding: 1.25rem 1.5rem; margin: 1.5rem 0; border: 1px solid #d8e0eb; border-left: 4px solid #34746b; border-radius: .6rem; background: #f6faf8; }
.exam-research-note h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.exam-research-note p { margin: .4rem 0; line-height: 1.85; }
.exam-research-note a { text-underline-offset: .2em; }
.exam-confirm-dialog { width: min(560px, calc(100% - 2rem)); padding: 1.75rem; border-radius: 1rem; }
.exam-confirm-dialog h2 { font-size: 1.4rem; }
.exam-confirm-dialog::backdrop { background: #17243a70; }
.exam-confirm-dialog .dialog-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.4rem; }
.reader-unit-picker { margin: 1.6rem 0; scroll-margin-top: 5rem; }
.reader-unit-picker label { display: block; font-size: .875rem; color: var(--color-text-muted); margin-bottom: .4rem; }
.reader-unit-picker select { width: 100%; min-height: 48px; background: #fff; border: 1px solid #a9bad8; border-radius: .5rem; padding: .6rem; color: var(--color-action-dark); font-size: 1rem; }
.reader-unit-picker > span { display: block; color: var(--color-text-muted); font-size: .875rem; margin-bottom: .6rem; }
.reader-unit-picker > div { display: flex; flex-wrap: wrap; gap: .55rem; }
.reader-unit-picker .chip { white-space: normal; text-align: left; border-radius: .6rem; line-height: 1.6; }
.reading-unit[hidden] { display: none; }
.reader-unit-next { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: space-between; padding: 1rem 0 1.8rem; border-bottom: 1px solid var(--color-border); }
.reader-unit-next .button { white-space: normal; }
.concept-pairs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin: 1rem 0; }
.concept-pairs > div { padding: 1rem; border: 1px solid #c5d3ed; background: #fff; border-radius: .6rem; min-width: 0; }
.concept-pairs dt { font-size: 1.0625rem; font-weight: 700; color: #173c95; margin-bottom: .4rem; }
.concept-pairs dd { font-size: 1rem; margin: 0; line-height: 1.85; }
.boxplot-steps { margin: 1rem 0; padding-left: 1.5rem; }
.boxplot-steps li { padding: .3rem 0; font-size: 1rem; }
.boxplot-steps p { margin: .4rem 0; }
.editorial-figure svg { display: block; width: 100%; height: auto; }
.editorial-exit-task h3 { font-size: 1.25rem; }
.editorial-exit-task details { background: #fff; border: 1px solid #dbc8a7; border-radius: .6rem; padding: .8rem 1rem; }
.editorial-exit-task summary { color: #674913; font-weight: 700; min-height: 2.75rem; cursor: pointer; }
.standard-check { background: #eef3ff; border: 1px solid #c1d0ed; border-radius: .8rem; padding: 1.4rem; margin: 2rem 0; }
.standard-check h2 { font-size: 1.3rem; }
@media (max-width: 850px) {
  .exam-grid { grid-template-columns: 1fr; }
  .reader-location { display: flex; position: sticky; top: .4rem; z-index: 8; justify-content: space-between; align-items: center; padding: .4rem .65rem; margin: .6rem 0; border: 1px solid #bac9e4; border-radius: .6rem; background: #fffffff7; box-shadow: 0 3px 12px #2430470c; font-size: .875rem; }
  .reader-location button { border: 0; background: var(--color-selection); color: var(--color-action-dark); border-radius: .45rem; padding: .5rem .75rem; min-height: 44px; }
}
@media (max-width: 760px) {
  .app-shell { margin-left: 0; }
  .lesson-outline:not([open]) { display: none; }
  .reader-unit-picker { margin: 1rem 0; }
}
@media (max-width: 650px) {
  .exam-mode-card { padding: 1.2rem; }
  .exam-mode-card h2 { font-size: 1.35rem; }
  .exam-secondary { display: block; padding: 1.2rem; }
  .exam-secondary .button { margin-top: 1rem; width: 100%; }
  .quiz-card { padding: 1.15rem; }
  .quiz-card legend { font-size: 1.0625rem; }
  .answer-option { padding: .85rem .7rem; font-size: 1rem; gap: .4rem; grid-template-columns: 1.1rem 1.5rem minmax(0, 1fr); }
  .quiz-progress, .answer-status { font-size: .875rem; }
  .feedback, .feedback > p, .reasons p { font-size: 1rem; }
  .article .reading-section > p, .article .reading-list li, .foundation-primer p, .term-detail p { font-size: 1.0625rem; }
  .article .reading-section > h2 { font-size: 1.3rem; padding: .9rem; }
  .article .conversation-row, .article .conversation-block .conversation-row { grid-template-columns: minmax(0, 1fr); gap: .4rem; margin: 1.2rem 0; }
  .article .conversation-row .speaker { flex-direction: row; width: auto; gap: .6rem; }
  .article .conversation .conversation-row .speaker .character.speaker-pose { width: 44px; height: 48px; }
  .article .conversation-row .bubble { font-size: 1.0625rem; padding: .9rem 1rem; border-radius: .7rem; }
  .reader-location { top: .3rem; }
  .result-card { padding: 1.1rem; }
  .result-question > div { padding: .8rem; }
  .result-question summary { padding: .8rem .4rem; }
  .result-breakdown > div { gap: .5rem; flex-wrap: wrap; }
  .exam-navigation .button { font-size: .9375rem; }
  .starter-path { padding: 1rem; }
  .starter-path-links { flex-direction: column; }
  .concept-pairs { grid-template-columns: 1fr; }
  .reader-unit-picker .chip { font-size: .875rem; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.exam-key { text-underline-offset: .3em; text-decoration-line: underline; }
.primary-key { text-decoration-style: solid; }
.foreign-key { text-decoration-style: dashed; }
.exam-table-wrap caption { text-align: left; font-weight: 700; padding: .6rem 0; }

.unit-check { margin: 1.5rem 0; padding: 1.2rem; background: var(--color-selection); border-left: 3px solid var(--color-action); }
.unit-check h3 { margin-top: 0; }
.unit-check summary { min-height: 44px; padding: .6rem 0; }
.whole-lesson-review { margin: 2rem 0 1rem; border-top: 2px solid var(--color-border); padding-top: 1rem; }

/* A consistent explanation → review → practice → next sequence. */
.lesson-flow-steps { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; margin: 1.5rem 0; padding: 1rem 1.2rem; list-style: none; border: 1px solid var(--color-border); border-radius: .65rem; background: #f5f8ff; }
.lesson-flow-steps li { display: flex; align-items: center; gap: .5rem; color: #30466b; font-size: .875rem; line-height: 1.6; }
.lesson-flow-steps li span { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; border: 1px solid #b7c7e2; font-weight: 700; }
.lesson-review-stage { margin: 3rem 0 2.5rem; padding-top: 2rem; border-top: 2px solid #bacbe6; scroll-margin-top: 6rem; }
.lesson-stage-heading { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.5rem; }
.lesson-stage-number { display: grid; place-items: center; flex: 0 0 2.3rem; height: 2.3rem; border-radius: .6rem; background: #2455c6; color: #fff; font-size: 1.1rem; font-weight: 700; }
.article .lesson-stage-heading p { margin: 0 0 .25rem; font-size: .875rem; line-height: 1.4; color: #496285; font-weight: 600; }
.article .lesson-stage-heading h2 { margin: 0; font-size: 1.5rem; line-height: 1.6; }
.lesson-review-points { margin: 0; padding: 1.3rem 1.3rem 1.3rem 2.6rem; border: 1px solid #cfdcef; border-radius: .7rem; background: #f6f8fc; }
.lesson-review-points li { padding-left: .3rem; line-height: 1.95; }
.lesson-review-points li + li { margin-top: .65rem; }
.lesson-review-stage .worked-case { margin-bottom: 0; }
.lesson-review-stage .takeaway { margin-top: 0; }
.lesson-review-stage .unit-check { margin-bottom: 0; }
.lesson-practice-stage { scroll-margin-top: 6rem; }
.lesson-anchor { scroll-margin-top: 6rem; }
.lesson-flow-status { color: #425877; font-size: .95rem; line-height: 1.9; padding: 1rem 0 0; }
.lesson-flow-next { margin-top: .75rem; padding-top: 1rem; }
.lesson-flow-next a, .lesson-flow-next button { display: block; min-width: 0; min-height: 5rem; padding: 1rem; text-align: left; white-space: normal; font-size: 1rem; line-height: 1.8; border-radius: .6rem; }
.lesson-flow-next small { display: block; margin-bottom: .4rem; font-size: .8rem; color: inherit; }
.lesson-flow-next > :last-child { background: #2455c6; border-color: #2455c6; color: #fff; text-align: left; }
.lesson-flow-next > :last-child:hover { background: #173c95; border-color: #173c95; }
@media (max-width: 600px) {
  .lesson-flow-steps { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem .5rem; padding: 1rem; }
  .lesson-stage-heading { gap: .65rem; }
  .article .lesson-stage-heading h2 { font-size: 1.25rem; }
  .lesson-review-points { padding: 1.1rem 1rem 1.1rem 2.2rem; }
  .lesson-flow-next { grid-template-columns: 1fr; gap: .75rem; }
  .lesson-flow-next > :first-child:not(:last-child) { min-height: auto; }
}
.result-question:not([open]) .result-summary-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.question-conditions { font-size: 1.0625rem; line-height: 1.9; font-weight: 400; }
.question-conditions p { white-space: pre-line; margin: 1.2rem 0; }

.article .segmented { display: flex; flex-wrap: wrap; max-width: 100%; }
.article .segmented button { flex: 1 1 8rem; white-space: normal; min-width: 0; }
.result-breakdown > div, .result-breakdown span, .result-breakdown b { font-size: .9375rem; }

.visual-axis-label { font-size: 1rem; margin: .2rem 0 .8rem; color: var(--color-text); }

.answer-option:focus-within { outline: 3px solid var(--color-action-dark); outline-offset: 3px; }
.answer-option input:focus-visible { outline: none; }

.result-card > p { font-size: 1rem; line-height: 1.85; }
.result-quick-actions, .result-filters { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.2rem 0; }
.result-filters { scroll-margin-top: 5rem; }
.result-filters .chip[aria-pressed="true"] { background: var(--color-action); color: #fff; border-color: var(--color-action); }
.result-state-label { font-size: .875rem; margin-right: .35rem; }
.result-question[open] .result-summary-text { white-space: pre-line; }

.answer-option.selected .option-letter { background: var(--color-action); color: #fff; }
.quiz-top { position: sticky; top: 0; z-index: 9; background: var(--color-canvas); padding: .65rem 0; }
@media(max-width:760px) { .quiz-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: center; } .quiz-top .back-link { min-width: 0; } }

@media (max-width: 600px) {
  .exam-table-wrap th, .exam-table-wrap td { padding: .55rem .35rem; }
  .exam-table-wrap th { text-wrap: balance; }
}

.result-card > .muted { font-size: 1rem; }
/* Timed question changes should not animate the document between positions. */
html:has(.exam-navigation) { scroll-behavior: auto; }
