:root {
    --paper: #f5f3ee;
    --surface: #ffffff;
    --surface-soft: #ebe8e0;
    --graphite: #202724;
    --ink: #26302c;
    --muted: #65706b;
    --line: #d9d6ce;
    --forest: #2f5d50;
    --forest-dark: #21443a;
    --forest-soft: #e2ece8;
    --bronze: #8c6a43;
    --bronze-soft: #f2eadf;
    --danger: #9d3d36;
    --danger-soft: #f8e8e5;
    --success: #286044;
    --shadow: 0 18px 44px rgba(32, 39, 36, .08);
    --radius: 16px;
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.62; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; }
h1 { margin-bottom: 0; font-size: clamp(1.55rem, 3vw, 2.25rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); }
h3 { font-size: 1.35rem; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }
.container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.site-header { background: var(--graphite); color: #fff; border-bottom: 4px solid var(--bronze); }
.header-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.eyebrow, .section-kicker { margin: 0 0 6px; color: var(--bronze); font-size: .84rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.site-header .eyebrow { color: #d9c4a7; }
.main-content { flex: 1; padding-block: 52px 70px; }
.site-footer { margin-top: auto; background: var(--graphite); color: #d7ddd9; font-size: .92rem; }
.footer-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.phase-nav { background: #fff; border-bottom: 1px solid var(--line); }
.phase-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 18px; margin-block: 0; }
.phase-step { display: flex; align-items: center; gap: 10px; position: relative; color: #69736e; font-size: .9rem; }
.phase-step:not(:last-child)::after { content: ""; height: 1px; background: var(--line); flex: 1; margin-inline: 10px; }
.phase-step.complete, .phase-step.current { color: var(--forest-dark); font-weight: 700; }
.phase-number { flex: 0 0 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-weight: 800; }
.complete .phase-number { background: var(--forest); border-color: var(--forest); color: #fff; }
.current .phase-number { border: 2px solid var(--forest); color: var(--forest); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 7vw, 84px); align-items: center; }
.intro-copy .lead { max-width: 650px; }
.lead { font-size: 1.16rem; color: var(--muted); }
.muted { color: var(--muted); }
.journey-preview { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.journey-preview li { display: flex; gap: 14px; align-items: center; }
.journey-preview li > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--forest-soft); color: var(--forest-dark); font-weight: 800; }
.journey-preview strong, .journey-preview small { display: block; }
.journey-preview small { color: var(--muted); margin-top: 2px; font-size: .95rem; line-height: 1.5; }
.form-card { padding: clamp(25px, 4vw, 42px); }
.form-card h2 { font-size: 1.8rem; margin-bottom: 8px; }
.form-stack { display: grid; gap: 20px; margin-top: 26px; }
.form-stack label > span:first-child, legend { display: block; margin-bottom: 7px; font-weight: 750; color: var(--ink); }
.form-stack small { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
input[type="text"], input[type="search"], input:not([type]), select { width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid #aeb7b1; border-radius: 9px; background: #fff; color: var(--ink); }
fieldset { padding: 0; border: 0; margin: 0; }
.level-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.choice-tile { position: relative; }
.choice-tile input { position: absolute; opacity: 0; }
.choice-tile span { display: grid; place-items: center; min-height: 54px; padding: 9px; border: 1px solid #aeb7b1; border-radius: 9px; cursor: pointer; }
.choice-tile input:checked + span { border: 2px solid var(--forest); background: var(--forest-soft); color: var(--forest-dark); }
.consent-row { display: grid !important; grid-template-columns: 25px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.consent-row input { width: 22px; height: 22px; accent-color: var(--forest); margin-top: 3px; }
.button { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 13px 24px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-weight: 800; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-primary { background: var(--forest); color: #fff; box-shadow: 0 8px 18px rgba(47,93,80,.18); }
.button-primary:hover { background: var(--forest-dark); }
.button-secondary { background: var(--surface-soft); border-color: var(--line); color: var(--ink); }
.button-wide { width: 100%; }
.button-small { min-height: 44px; padding: 9px 15px; font-size: .95rem; }
.alert { padding: 14px 16px; border-radius: 9px; font-size: 1rem; }
.alert-error { background: var(--danger-soft); border: 1px solid #e7b8b2; color: #732a25; }
.hidden { display: none !important; }
.assessment-shell { max-width: 920px; margin-inline: auto; }
.compact-card { padding: 15px 19px; box-shadow: none; }
.assessment-meta { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 24px; }
.assessment-meta div { display: grid; gap: 2px; }
.meta-label { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.progress-track { height: 7px; margin: 18px 2px 25px; overflow: hidden; background: #dcddd8; border-radius: 99px; }
.progress-track span { display: block; height: 100%; background: var(--bronze); border-radius: inherit; }
.question-card { padding: clamp(24px, 5vw, 50px); }
.question-heading { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.question-heading h2 { font-size: clamp(1.35rem, 2.5vw, 1.95rem); margin-bottom: 0; }
.timer-box { min-width: 84px; padding: 9px 12px; border-radius: 9px; background: var(--surface-soft); text-align: center; }
.timer-box span, .timer-box strong { display: block; }
.timer-box span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }
.answer-form { margin-top: 27px; }
.answer-form legend { margin-bottom: 14px; }
.answer-options { display: grid; gap: 11px; }
.answer-option { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; min-height: 62px; padding: 11px 15px; border: 1px solid #cbd0cc; border-radius: 11px; cursor: pointer; transition: border .15s, background .15s; }
.answer-option:hover { border-color: var(--forest); background: #fafbf9; }
.answer-option input { position: absolute; opacity: 0; }
.answer-option:has(input:checked) { border: 2px solid var(--forest); background: var(--forest-soft); }
.option-letter { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--forest-dark); font-weight: 850; }
.answer-option:has(input:checked) .option-letter { background: var(--forest); color: #fff; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 25px; }
.interaction-note { color: var(--muted); font-size: .96rem; }

/* The assessment is a fixed-height workspace. Exceptionally long content
   scrolls inside the prompt/options region while Submit remains visible. */
.assessment-page { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
.assessment-page .site-header { flex: 0 0 auto; }
.assessment-page .header-inner { min-height: 58px; }
.assessment-page .header-inner h1 { font-size: clamp(1.15rem, 1.7vw, 1.42rem); }
.assessment-page .phase-nav { flex: 0 0 auto; }
.assessment-page .phase-list { padding-block: 5px; }
.assessment-page .phase-number { flex-basis: 27px; height: 27px; }
.assessment-page .main-content { min-height: 0; padding-block: 8px 10px; overflow: hidden; }
.assessment-page .site-footer { display: none; }
.assessment-page .assessment-shell { width: 100%; max-width: 1100px; height: 100%; display: flex; flex-direction: column; align-items: stretch; }
.assessment-page .compact-card { padding: 8px 15px; }
.assessment-page .assessment-meta { grid-template-columns: 1fr auto; gap: 18px; font-size: .95rem; }
.assessment-page .assessment-meta div:nth-child(2) { display: none; }
.assessment-page .meta-label { font-size: .74rem; color: #56615c; }
.assessment-page .progress-track { height: 6px; margin: 6px 2px 9px; }
.assessment-page .question-card { flex: 0 1 auto; min-height: 0; max-height: 100%; padding: 22px 26px 24px; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.assessment-page .question-heading { min-height: 0; gap: 18px; padding-bottom: 15px; }
.assessment-page .question-prompt { max-height: 30vh; overflow-y: auto; padding-right: 7px; scrollbar-gutter: stable; }
.assessment-page .question-heading h2 { font-size: clamp(1.65rem, 2.8vw, 2.15rem); line-height: 1.3; font-weight: 800; color: #111a16; }
.assessment-page .section-kicker { margin-bottom: 6px; font-size: .84rem; }
.assessment-page .timer-box { min-width: 86px; padding: 9px 12px; }
.assessment-page .timer-box span { font-size: .74rem; }
.assessment-page .timer-box strong { font-size: 1.18rem; color: #111a16; }
.assessment-page .answer-form { min-height: 0; margin-top: 15px; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: 12px; }
.assessment-page .answer-form fieldset { min-height: 0; overflow-y: auto; padding-right: 5px; scrollbar-gutter: stable; }
.assessment-page .answer-form legend { margin-bottom: 10px; font-size: 1.02rem; }
.assessment-page .answer-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.assessment-page .answer-option { min-height: 80px; padding: 14px 16px; grid-template-columns: 40px 1fr; gap: 13px; font-size: 1.18rem; line-height: 1.45; font-weight: 650; color: #111a16; }
.assessment-page .option-letter { width: 38px; height: 38px; font-size: 1.05rem; }
.assessment-page .form-actions { margin-top: 2px; }
.assessment-page .interaction-note { font-size: .96rem; color: #4d5853; }
.assessment-page .form-actions .button { min-height: 54px; padding: 12px 27px; font-size: 1.08rem; }
.assessment-page #submit-error { padding: 8px 11px; }
.neutral-overlay { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(32,39,36,.78); z-index: 20; padding: 20px; }
.neutral-panel { width: min(390px, 100%); background: #fff; padding: 35px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); }
.status-icon { width: 58px; height: 58px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--forest-soft); color: var(--forest-dark); font-size: 2rem; font-weight: 800; }
.feedback-wrap { max-width: 790px; margin-inline: auto; }
.feedback-card { padding: clamp(26px, 5vw, 48px); border-top: 5px solid var(--success); }
.feedback-incorrect { border-top-color: var(--danger); }
.feedback-status { display: flex; gap: 17px; align-items: center; }
.feedback-status h2 { margin-bottom: 0; }
.feedback-incorrect .status-icon { background: var(--danger-soft); color: var(--danger); }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.comparison-grid div { padding: 17px; border-radius: 10px; background: var(--surface-soft); }
.comparison-grid span, .comparison-grid strong { display: block; }
.comparison-grid span { color: var(--muted); font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; }
.comparison-grid strong { margin-top: 4px; }
.explanation-box { padding: 22px; border-left: 4px solid var(--bronze); background: var(--bronze-soft); border-radius: 0 10px 10px 0; }
.explanation-box h3 { margin-bottom: 8px; }
.explanation-box p { margin-bottom: 10px; }
.explanation-box small { color: var(--muted); }
.feedback-action { display: flex; justify-content: flex-end; margin-top: 28px; }
.result-heading { max-width: 760px; margin-bottom: 30px; }
.result-heading h2 { margin-bottom: 10px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 22px; }
.metric-card { min-height: 155px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.metric-card span, .metric-card strong, .metric-card small { display: block; }
.metric-card span { color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 750; }
.metric-card strong { margin: 14px 0 7px; font-family: Georgia, serif; color: var(--forest-dark); font-size: 2rem; }
.metric-card small { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.summary-card, .gain-card, .table-card { padding: clamp(22px, 4vw, 35px); margin-top: 22px; box-shadow: none; }
.summary-header { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.summary-header h3 { margin-bottom: 0; }
.status-pill { padding: 7px 11px; border-radius: 99px; background: var(--forest-soft); color: var(--forest-dark); font-size: .86rem; font-weight: 800; text-transform: uppercase; }
.summary-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 28px 0 0; }
.summary-list div { padding-top: 14px; border-top: 1px solid var(--line); }
.summary-list dt { color: var(--muted); font-size: .9rem; }
.summary-list dd { margin: 5px 0 0; font-weight: 750; }
.gain-badge { padding: 8px 12px; border-radius: 8px; font-weight: 850; }
.gain-badge.positive { color: var(--success); background: var(--forest-soft); }
.gain-badge.negative { color: var(--danger); background: var(--danger-soft); }
.prepost-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin: 30px 0; }
.prepost-grid > div:not(.arrow) { padding: 21px; background: var(--surface-soft); border-radius: 11px; text-align: center; }
.prepost-grid span, .prepost-grid strong { display: block; }
.prepost-grid span { color: var(--muted); }
.prepost-grid strong { margin-top: 5px; font-family: Georgia, serif; color: var(--forest-dark); font-size: 2.1rem; }
.arrow { color: var(--bronze); font-size: 2rem; }
.transition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.transition-grid > div { display: flex; gap: 11px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 10px; }
.transition-grid strong { color: var(--forest-dark); font-family: Georgia, serif; font-size: 1.7rem; }
.transition-grid span { font-size: .95rem; font-weight: 700; }
.transition-grid small { color: var(--muted); font-weight: 400; }
.method-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .96rem; }
.continue-panel, .completion-panel { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 24px; padding: 23px 27px; border-radius: var(--radius); background: var(--graphite); color: #fff; }
.continue-panel span, .continue-panel strong { display: block; }
.continue-panel span { color: #d3dad6; font-size: .92rem; }
.completion-panel { justify-content: flex-start; background: var(--forest-dark); }
.completion-panel p { margin: 3px 0 0; color: #dce7e2; }
.filter-panel { display: grid; grid-template-columns: repeat(3, minmax(145px, 1fr)) auto; gap: 12px; align-items: end; padding: 18px; margin-bottom: 22px; box-shadow: none; }
.filter-panel label { display: grid; gap: 5px; }
.filter-panel label > span { color: var(--muted); font-size: .84rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.filter-panel select { min-height: 50px; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 14px; margin-bottom: 22px; }
.cohort-overview { padding: clamp(22px, 4vw, 35px); margin-bottom: 24px; box-shadow: none; }
.cohort-summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 20px; }
.cohort-summary-grid > div { display: flex; align-items: baseline; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.cohort-summary-grid strong { color: var(--forest-dark); font-family: Georgia, serif; font-size: 1.8rem; }
.cohort-summary-grid span { color: var(--muted); font-weight: 750; }
.export-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 32px 0 18px; }
.export-heading h3 { margin-bottom: 0; }
.export-group { margin-bottom: 28px; }
.export-group-heading { align-items: center; margin-bottom: 12px; }
.export-group-heading h3 { margin-bottom: 2px; }
.export-group-heading p { margin-bottom: 0; font-size: .96rem; }
.download-card { display: grid; gap: 5px; padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: #fff; text-decoration: none; }
.download-card:hover { border-color: var(--forest); }
.download-card span { color: var(--muted); font-size: .94rem; }
.data-card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.viewer-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.viewer-heading h2 { margin-bottom: 6px; }
.viewer-heading-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.viewer-toolbar { display: grid; grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(130px, 1fr)) auto; gap: 11px; align-items: end; padding: 16px; box-shadow: none; }
.viewer-toolbar label { display: grid; gap: 5px; }
.viewer-toolbar label > span { color: var(--muted); font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.viewer-toolbar input, .viewer-toolbar select { min-height: 50px; }
.viewer-mode-bar { display: flex; align-items: center; gap: 8px; margin: 15px 0; color: var(--muted); font-size: .96rem; }
.mode-pill { padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; background: #fff; text-decoration: none; font-weight: 750; }
.mode-pill.active { border-color: var(--forest); background: var(--forest-soft); color: var(--forest-dark); }
.csv-viewer-card { padding: 0; overflow: hidden; box-shadow: none; }
.csv-table-scroll { max-height: 64vh; overflow: auto; }
.csv-table { min-width: max-content; }
.csv-table th { position: sticky; top: 0; z-index: 3; background: var(--graphite); color: #fff; }
.csv-table th:first-child { left: 0; z-index: 4; }
.csv-table td:first-child { position: sticky; left: 0; z-index: 2; background: #fff; }
.csv-table tbody tr:nth-child(even) td { background: #faf9f6; }
.csv-table tbody tr:nth-child(even) td:first-child { background: #faf9f6; }
.csv-table td { max-width: 330px; vertical-align: top; }
.csv-cell { display: block; overflow: hidden; text-overflow: ellipsis; }
.cell-details summary { max-width: 285px; overflow: hidden; text-overflow: ellipsis; cursor: pointer; color: var(--forest-dark); font-weight: 700; }
.cell-details div { width: min(520px, 70vw); padding: 9px 0 3px; white-space: normal; overflow-wrap: anywhere; color: var(--ink); }
.empty-table { padding: 35px !important; text-align: center; color: var(--muted); }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-top: 16px; }
.pagination > :last-child { justify-self: end; }
.table-scroll { overflow-x: auto; margin-top: 22px; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--muted); font-size: .86rem; text-transform: uppercase; letter-spacing: .04em; }
.error-panel { max-width: 660px; margin: 35px auto; padding: 48px; text-align: center; }
.error-code { display: block; color: var(--bronze); font-family: Georgia, serif; font-size: 3rem; font-weight: 800; }

@media (max-width: 900px) {
    .phase-label { display: none; }
    .phase-step:not(:last-child)::after { margin-inline: 5px; }
    .intro-grid { grid-template-columns: 1fr; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .summary-list { grid-template-columns: repeat(2, 1fr); }
    .transition-grid { grid-template-columns: repeat(2, 1fr); }
    .download-grid { grid-template-columns: 1fr; }
    .cohort-summary-grid { grid-template-columns: 1fr; }
    .filter-panel { grid-template-columns: repeat(2, 1fr); }
    .viewer-toolbar { grid-template-columns: repeat(2, 1fr); }
    .viewer-search { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
    .container { width: min(100% - 24px, 1240px); }
    .header-inner { min-height: 88px; }
    .main-content { padding-block: 35px 52px; }
    .footer-inner { padding-block: 18px; display: grid; }
    .assessment-meta { grid-template-columns: 1fr; gap: 12px; }
    .question-heading { grid-template-columns: 1fr; }
    .timer-box { width: 84px; }
    .form-actions, .continue-panel { align-items: stretch; flex-direction: column; }
    .form-actions .button, .continue-panel .button { width: 100%; }
    .comparison-grid, .metric-grid, .summary-list, .transition-grid { grid-template-columns: 1fr; }
    .filter-panel { grid-template-columns: 1fr; }
    .export-heading, .export-group-heading { align-items: stretch; flex-direction: column; }
    .export-heading .button, .export-group-heading .button { width: 100%; }
    .prepost-grid { grid-template-columns: 1fr; }
    .arrow { transform: rotate(90deg); text-align: center; }
    .assessment-page .container { width: min(100% - 14px, 1240px); }
    .assessment-page .header-inner { min-height: 52px; }
    .assessment-page .site-header .eyebrow { display: none; }
    .assessment-page .header-inner h1 { font-size: 1.08rem; }
    .assessment-page .phase-list { padding-block: 4px; }
    .assessment-page .assessment-meta { grid-template-columns: 1fr auto; gap: 8px; padding: 6px 9px; }
    .assessment-page .question-heading { grid-template-columns: 1fr auto; }
    .assessment-page .timer-box { width: auto; }
    .assessment-page .answer-options { grid-template-columns: 1fr; }
    .assessment-page .question-card { padding: 16px 16px 18px; }
    .assessment-page .question-prompt { max-height: 28vh; }
    .assessment-page .question-heading h2 { font-size: clamp(1.45rem, 6vw, 1.75rem); }
    .assessment-page .answer-option { min-height: 70px; padding: 11px 13px; font-size: 1.08rem; }
    .assessment-page .form-actions { flex-direction: column; align-items: stretch; gap: 6px; }
    .assessment-page .interaction-note { display: none; }
    .assessment-page .form-actions .button { width: 100%; }
    .viewer-heading { align-items: stretch; flex-direction: column; }
    .viewer-heading-actions .button { flex: 1; }
    .viewer-toolbar { grid-template-columns: 1fr; }
    .viewer-search { grid-column: auto; }
    .viewer-mode-bar { align-items: stretch; flex-wrap: wrap; }
    .viewer-mode-bar > span { width: 100%; }
    .pagination { grid-template-columns: 1fr auto 1fr; font-size: .92rem; }
}
@media (max-height: 700px) {
    .assessment-page .header-inner { min-height: 48px; }
    .assessment-page .site-header .eyebrow { display: none; }
    .assessment-page .phase-list { padding-block: 3px; }
    .assessment-page .assessment-meta { display: none; }
    .assessment-page .progress-track { margin-top: 2px; }
    .assessment-page .question-prompt { max-height: 20vh; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
