@charset "UTF-8";

/* 2026 ISU guide: licensed Google fonts plus its prescribed Mallory substitutes. */
@font-face { font-family: 'Hepta Slab'; src: url('./assets/fonts/HeptaSlab.woff2') format('woff2'); font-style: normal; font-weight: 1 900; font-display: swap; }
@font-face { font-family: 'Red Hat Mono'; src: url('./assets/fonts/RedHatMono.woff2') format('woff2'); font-style: normal; font-weight: 300 700; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #003665;
  --blue: #0053a5;
  --ink: #243b4d;
  --muted: #65737f;
  --canvas: #f7f8fa;
  --white: #fff;
  --line: #dce2e7;
  --selected: #f0f6fb;
  --sans: 'Trebuchet MS', sans-serif;
  --heading: Tahoma, sans-serif;
  --subheading: Verdana, sans-serif;
  --brand: 'Hepta Slab', Georgia, serif;
  --caption: 'Red Hat Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--ink); background: var(--canvas); font: 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
input, select, textarea { color: var(--ink); }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { background: #d9f3fd; color: var(--navy); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); }
h1 { font-family: var(--heading); }
h2, h3 { font-family: var(--subheading); }
h1 { font-size: 32px; font-weight: 600; line-height: 1.22; letter-spacing: -.025em; }
h2 { font-size: 24px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
h3 { font-size: 20px; line-height: 1.4; }
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted, .text-muted { color: var(--muted); }
.skip-link { position: fixed; top: 10px; left: 14px; z-index: 50; padding: 10px 15px; color: white; background: var(--navy); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); color: white; }

/* Original logo, quiet header, and one draft indicator. */
.site-header { flex-shrink: 0; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1152px; min-height: 80px; padding: 2px 30px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.institution-brand { display: block; flex: 0 1 320px; line-height: 0; }
.brand-logo { display: block; width: 320px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 19px; flex-shrink: 0; }
.preview-label { min-width: 0; color: var(--muted); background: #f3f5f7; border: 1px solid #e6eaee; border-radius: 4px; padding: 3px 7px; font-size: 14px; line-height: 1.5; }
.header-help.button { min-height: 44px; padding: 6px 0; font-size: 16px; }
.main-content { width: 100%; max-width: 964px; flex: 1 0 auto; margin: 0 auto; padding: 48px 32px 60px; }
.main-content:focus, #screen-title:focus { outline: none; }
.site-footer { flex-shrink: 0; padding: 18px 24px; text-align: center; }
.footer-inner { color: var(--muted); font-size: 14px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: inherit; text-decoration: none; }
.footer-inner a:hover { color: var(--navy); text-decoration: underline; }
.noscript-message { max-width: 620px; margin: 20px auto; }

/* One purpose, one centered starting point. */
.hero { display: block; max-width: 720px; margin: 58px auto 60px; }
.hero h1 { font-size: 36px; max-width: 720px; margin-bottom: 16px; }
.hero-description { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 680px; }
.hero-benefit { color: var(--ink); font-size: 20px; line-height: 1.6; margin: 0 0 19px; max-width: 700px; }
.hero-sources { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 24px; max-width: 700px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 27px; }
.hero-actions .button-primary { min-width: 116px; }
.hero-time, .hero-note { font-size: 16px; color: var(--muted); }
.hero > .button { min-width: 112px; margin-top: 9px; }
.hero-time { margin: 16px 0 6px; }
.hero-note { margin: 0; font-size: 16px; }
.eyebrow { display: block; margin: 0 0 12px; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.5; letter-spacing: 0; }
.eyebrow { font-family: var(--brand); }
.button-primary, .button-secondary { font-family: var(--brand); font-weight: 700; }
.course-code, .evidence-caption, .guide-version { font-family: var(--caption); font-weight: 500; }

/* Narrow question layout: progress, question, answer, navigation. */
.app-shell { display: block; width: 100%; }
.question-shell { width: 100%; max-width: 760px; margin: 0 auto; min-width: 0; }
.question-meta { display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--muted); font-size: 16px; margin-bottom: 27px; }
.question-meta .eyebrow { margin: 0; font-size: 16px; }
.progress { flex: 0 0 106px; height: 2px; background: #e0e6eb; overflow: hidden; margin: 0; }
.progress-bar { display: block; height: 100%; background: var(--blue); transition: width .18s ease; }
.question-title { font-size: 34px; line-height: 1.25; margin-bottom: 11px; }
.question-description { color: var(--muted); font-size: 18px; line-height: 1.6; margin-bottom: 25px; max-width: 700px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice-grid.one-column, .choice-grid.credential-options { grid-template-columns: 1fr; }
.choice-card { display: flex; align-items: flex-start; gap: 11px; padding: 17px 16px; min-height: 64px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); cursor: pointer; transition: border-color .14s ease, background .14s ease; }
.choice-card:hover { border-color: #99b3c7; }
.choice-card:has(input:checked), .choice-card.is-selected { border-color: var(--blue); background: var(--selected); }
.choice-card:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.choice-card input[type="checkbox"], .choice-card input[type="radio"] { flex: 0 0 21px; width: 21px; height: 21px; margin: 3px 0 0; accent-color: var(--blue); cursor: inherit; }
.choice-card input:focus-visible { outline: 0; }
.choice-card:has(input:disabled) { color: var(--muted); cursor: not-allowed; background: #f1f3f5; }
.choice-content { display: block; min-width: 0; }
.choice-title, .choice-label { display: block; font-size: 18px; line-height: 1.5; font-weight: 400; color: var(--ink); }
.choice-description { display: block; font-size: 16px; line-height: 1.6; color: var(--muted); margin-top: 3px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 25px; padding-top: 19px; border-top: 1px solid var(--line); }
.next-actions { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.skip-note { font-size: 16px; text-align: right; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 54px; padding: 10px 19px; border: 1px solid transparent; border-radius: 4px; font-size: 18px; line-height: 1.5; font-weight: 600; text-decoration: none; text-align: center; transition: background-color .14s ease, border-color .14s ease; }
.button-primary { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: #004486; border-color: #004486; color: var(--white); }
.button-secondary { color: var(--navy); background: var(--white); border-color: #c9d3db; }
.button-secondary:hover { background: #eef3f7; border-color: #8ea9bd; }
.button-text { color: var(--blue); background: transparent; padding-inline: 0; }
.button-text:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--navy); }
.button-small { min-height: 50px; font-size: 16px; padding: 6px 11px; }
.back-button { color: var(--muted); font-weight: 400; }

/* Inputs and the two longer optional selections. */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-full { grid-column: 1 / -1; }
.field-spaced { margin-top: 22px; }
.field-label { font-size: 16px; font-weight: 600; color: var(--ink); }
.input, .select, .textarea { width: 100%; min-height: 54px; padding: 10px 12px; border: 1px solid #cfd8df; border-radius: 4px; background: var(--white); font-size: 18px; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: #7a8690; opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: #91a9ba; }
.input[aria-invalid="true"] { border-color: #9e3c32; }
.textarea { resize: vertical; min-height: 100px; }
.field-hint { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }
fieldset + .field-hint, .choice-grid + .field-hint { margin-top: 14px; }
.small-heading { font-size: 16px; font-weight: 600; margin: 20px 0 8px; }
.years-input { display: flex; align-items: center; gap: 12px; }
.years-input .input { width: 135px; font-size: 22px; min-height: 52px; }
.years-input > span { font-size: 16px; color: var(--muted); }
.experience-entry .field-hint { max-width: 480px; }
.experience-entry .callout { margin-top: 22px; }
.input-error, .form-error { font-size: 16px; line-height: 1.5; color: #913b32; margin: 10px 0 0; }
.skill-groups { display: grid; gap: 8px; }
.option-group { min-width: 0; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.option-group > summary { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 16px; font-size: 18px; font-weight: 500; color: var(--ink); list-style: none; }
.option-group > summary::-webkit-details-marker { display: none; }
.option-group > summary::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--muted); }
.option-group[open] > summary::after { content: "−"; }
.group-count { margin-left: auto; font-size: 16px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.option-group > .choice-grid { padding: 0 9px 9px; gap: 7px; }
.option-group .choice-card { padding: 14px; min-height: 58px; }
.option-group .choice-title { font-size: 18px; }
.option-group > .field-hint { padding: 0 14px 12px; }
.selection-summary { margin: 12px 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.credential-search { margin-bottom: 12px; }
.credential-options { max-height: 460px; overflow-y: auto; padding: 3px; overscroll-behavior: contain; scrollbar-color: #b5c2cc #f1f3f5; }
.credential-options .choice-card { padding: 12px 13px; }
#prior-course-section > .field-hint { margin-bottom: 13px; }
#prior-course-section > .field-label { margin: 19px 0 10px; }
.subject-options { max-height: 420px; overflow-y: auto; padding: 3px; overscroll-behavior: contain; }
.inline-help { margin-top: 18px; }
.inline-help > summary { color: var(--blue); font-size: 16px; }
.inline-help > p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 11px 0 0; }
.inline-help > .field { margin-top: 13px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: 16px; line-height: 1.5; padding: 4px 7px; border: 1px solid var(--line); border-radius: 3px; background: #f7f9fb; color: var(--ink); }
.chip button { border: 0; background: transparent; color: var(--muted); padding: 0; }

/* Course guide: collapsed rows first, preparation detail when requested. */
.results-shell, .results-shell .question-shell { max-width: 900px; }
.result-headline { font-size: 36px; font-weight: 700; line-height: 1.6; margin: 0 0 14px; max-width: 900px; }
.result-course-count { color: var(--blue); background: #d9f3fd; border-radius: 4px; font-family: var(--brand); font-size: 44px; font-weight: 700; padding: 1px 7px 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; font-variant-numeric: tabular-nums; }
.result-count-expression { white-space: nowrap; }
.result-breakdown { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 24px; }
.result-breakdown > span { padding-inline: 4px; }
.result-approval { border-left: 3px solid var(--blue); padding: 14px 18px; margin-bottom: 20px; background: #edf3f8; font-size: 18px; line-height: 1.65; }
.result-approval strong { font-weight: 600; }
.course-group { margin-top: 24px; }
.course-group-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 10px; }
.course-group-heading h2 { font-size: 24px; margin: 0; }
.course-group-count { font-size: 18px; color: var(--muted); white-space: nowrap; }
.course-group-description { font-size: 18px; line-height: 1.6; color: var(--muted); margin-bottom: 16px; }
.verification-section { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 32px; }
.learning-to-verify { border-top: 1px solid var(--line); margin-top: 20px; }
.result-benefit { color: var(--ink); font-size: 20px; line-height: 1.6; margin: 0 0 23px; max-width: 850px; }
.claim-count { font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--navy); margin: 22px 0 14px; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: -4px 0 16px; }
.result-notice { color: var(--muted); font-size: 16px; margin: 0; }
.results-toolbar .button { font-size: 18px; min-height: 50px; padding-block: 4px; flex-shrink: 0; }
.profile-summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-bottom: 17px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.profile-summary p { margin: 0; font-size: 16px; color: var(--muted); }
.profile-summary p span { margin-inline: 4px; }
.profile-summary .button { min-height: 50px; font-size: 16px; padding-block: 3px; white-space: nowrap; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 15px; margin: 26px 0 14px; }
.section-heading h2 { font-size: 16px; margin: 0; }
.section-heading .eyebrow { font-size: 16px; margin-bottom: 5px; }
.results-total { font-size: 16px; color: var(--muted); }
.results-list { display: grid; gap: 8px; }
.result-card { border: 1px solid var(--line); border-radius: 5px; background: var(--white); overflow: hidden; }
.result-summary { display: grid; grid-template-columns: 100px minmax(0, 1fr) 22px; align-items: center; gap: 14px; padding: 16px; list-style: none; }
.result-summary::-webkit-details-marker { display: none; }
.result-summary:hover { background: #fafcfd; }
.course-code { color: var(--muted); font-size: 16px; white-space: nowrap; align-self: start; padding-top: 2px; }
.course-summary-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.course-title { color: var(--navy); font-size: 18px; font-weight: 600; line-height: 1.5; }
.status-label { display: inline-flex; align-items: center; font-size: 16px; line-height: 1.5; color: var(--muted); }
.status-proposed { color: #80633c; }
.status-review { color: #4e6a7d; }
.result-toggle { font-size: 0; color: var(--muted); text-align: center; }
.result-toggle::before { content: "+"; font-size: 18px; line-height: 1; }
.result-card[open] .result-toggle::before { content: "−"; }
.result-card[open] { border-color: #bdcbd6; }
.result-body { padding: 0 19px 19px; border-top: 1px solid var(--line); }
.result-body h3 { font-size: 20px; margin: 21px 0 9px; }
.result-body p, .result-body li { font-size: 18px; line-height: 1.7; }
.preparation-route { margin-top: 18px; }
.preparation-route + .preparation-route { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 22px; }
.preparation-route h4 { color: var(--navy); font-family: var(--subheading); font-size: 18px; font-weight: 600; line-height: 1.5; margin: 0 0 8px; }
.preparation-route .route-description { color: var(--ink); font-size: 18px; line-height: 1.65; margin-bottom: 14px; }
.route-notes { margin-top: 13px; color: var(--muted); }
.route-notes .detail-list li { font-size: 16px; line-height: 1.65; }
.detail-list { padding-left: 18px; margin: 10px 0 14px; }
.detail-list li { font-size: 18px; line-height: 1.7; padding-left: 2px; margin-bottom: 6px; }
.detail-list li:last-child { margin-bottom: 0; }
.detail-list li::marker { color: #849aa9; }
.checklist { list-style: none; padding: 0; margin: 10px 0 0; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; }
.checklist li:last-child { margin-bottom: 0; }
.check-box { flex: 0 0 20px; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 4px; border: 1px solid #a6b7c3; border-radius: 2px; color: var(--blue); font-size: 16px; line-height: 1; }
.checklist li > div { min-width: 0; }
.checklist p { margin: 0 0 3px; }
.evidence-caption { display: block; color: var(--muted); font-size: 16px; line-height: 1.6; }
.document-kind { display: block; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.6; margin: 16px 0 7px; }
.result-missing { border-top: 1px solid var(--line); margin-top: 17px; }
.review-notes { border-top: 1px solid var(--line); padding-top: 13px; margin-top: 18px; }
.review-notes > summary { color: var(--blue); font-size: 16px; font-weight: 400; }
.review-notes p { font-size: 16px; color: var(--muted); line-height: 1.7; }
.course-next-step { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.course-next-step strong { font-weight: 600; color: var(--ink); }
.readiness-panel { margin-top: 20px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.readiness-panel > summary { display: flex; gap: 12px; align-items: center; font-size: 18px; color: var(--ink); list-style: none; }
.readiness-panel > summary::-webkit-details-marker { display: none; }
.readiness-panel > summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 17px; }
.readiness-panel[open] > summary::after { content: "−"; }
.readiness-panel > summary .muted { font-size: 16px; }
.readiness-panel > div { padding-top: 11px; }
.readiness-panel .detail-list { margin-top: 0; }
.readiness-panel p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.transfer-panel { margin-top: 20px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 5px; }
.transfer-panel > summary { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; color: var(--navy); list-style: none; }
.transfer-panel > summary::-webkit-details-marker { display: none; }
.transfer-panel > summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 17px; font-weight: 400; }
.transfer-panel[open] > summary::after { content: "−"; }
.transfer-panel > div { margin-top: 13px; }
.transfer-panel h2 { font-size: 24px; margin-bottom: 11px; }
.transfer-panel .eyebrow { font-size: 16px; margin-bottom: 7px; }
.transfer-panel p { font-size: 18px; color: var(--muted); line-height: 1.7; }
.transfer-panel h3 { font-size: 20px; }
.additional-review { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.additional-review > summary { color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.5; }
.additional-review > p { color: var(--muted); font-size: 16px; margin: 13px 0; }
.additional-review > .results-list, .additional-review > div { margin-top: 16px; }
.next-step-panel { margin: 27px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.next-step-panel h2 { font-size: 24px; line-height: 1.4; margin: 0 0 11px; }
.next-step-panel p { font-size: 18px; line-height: 1.6; max-width: 850px; margin-bottom: 18px; }
.next-step-panel .guide-actions, .next-step-panel .guide-buttons, .next-step-actions { display: flex; flex-wrap: wrap; gap: 12px; border: 0; padding: 0; margin-top: 18px; }
.next-step-panel .button { min-height: 54px; margin: 0 9px 9px 0; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.guide-actions h2 { font-size: 24px; margin-bottom: 8px; }
.guide-actions p { color: var(--muted); font-size: 18px; }
.guide-buttons { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.guide-version { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 18px 0 7px; }
.guide-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 13px; color: var(--muted); font-size: 16px; }
.guide-footer .button { font-size: 18px; min-height: 50px; font-weight: 400; }
.callout { padding: 14px 16px; background: #edf3f7; border-left: 2px solid #94b4ca; font-size: 16px; line-height: 1.65; }
.callout h3 { font-size: 20px; margin-bottom: 6px; }
.callout p { margin-bottom: 8px; }
.callout p:last-child { margin: 0; }
.callout-soft { background: #eef2f5; border-left-color: #c5d1da; }
.eligibility-note, .result-note { margin: 18px 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.empty-state { padding: 25px 20px; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 5px; }
.empty-state h3 { font-size: 20px; margin-bottom: 9px; }
.empty-state p { color: var(--muted); font-size: 18px; }
.empty-state .button { margin-top: 8px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.filter-tab { font-size: 16px; line-height: 1.5; color: var(--muted); border: 1px solid var(--line); background: transparent; padding: 7px 10px; border-radius: 4px; }
.filter-tab.is-active { background: #eaf2f8; color: var(--navy); border-color: #b8cad8; }

/* Native dialog keeps keyboard focus and escape-key behavior. */
.app-dialog { width: min(650px, calc(100vw - 36px)); max-height: 88vh; padding: 28px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--white); box-shadow: 0 12px 48px rgb(0 35 65 / 13%); }
.app-dialog::backdrop { background: rgb(0 30 54 / 35%); }
.dialog-close { position: absolute; top: 11px; right: 12px; border: 0; background: transparent; color: var(--muted); padding: 5px 9px; font-size: 22px; line-height: 1; }
.app-dialog .eyebrow { font-size: 16px; padding-right: 20px; }
.app-dialog h2 { font-size: 28px; padding-right: 15px; margin-bottom: 18px; }
.app-dialog > p { font-size: 18px; color: var(--muted); }
.help-list { padding-left: 20px; margin: 0 0 19px; }
.help-list li { font-size: 18px; line-height: 1.7; padding-left: 3px; margin-bottom: 12px; }
.help-list li::marker { color: var(--blue); }
.app-dialog .field-hint { font-size: 16px; margin: 15px 0; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.loading-state { min-height: 300px; display: flex; justify-content: center; align-items: center; gap: 11px; color: var(--muted); font-size: 16px; }
.loading-mark { width: 16px; height: 16px; border: 2px solid #d2dce3; border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 650px) {
  .header-inner { padding: 0 17px 8px; min-height: 76px; flex-wrap: wrap; justify-content: center; gap: 0; }
  .institution-brand { flex: 0 1 310px; }
  .brand-logo { width: 310px; }
  .header-actions { width: 100%; justify-content: space-between; gap: 12px; }
  .preview-label { font-size: 14px; padding: 3px 5px; }
  .main-content { padding: 35px 22px 45px; }
  .hero { margin-block: 39px; }
  .hero h1 { font-size: 36px; }
  .hero-description { font-size: 18px; }
  .question-title { font-size: 34px; }
  .question-description { font-size: 18px; }
  .result-summary { grid-template-columns: 90px minmax(0, 1fr) 22px; gap: 11px; padding: 15px; }
  .profile-summary { flex-wrap: wrap; gap: 5px; }
  .profile-summary p { font-size: 16px; }
  .profile-summary p span { margin-inline: 2px; }
}
@media (max-width: 460px) {
  .header-inner { min-height: 72px; flex-wrap: wrap; justify-content: center; gap: 0; padding: 0 17px 8px; }
  .institution-brand { flex: 0 1 310px; }
  .brand-logo { width: 310px; }
  .header-actions { flex-direction: row; justify-content: space-between; width: 100%; gap: 16px; }
  .header-help.button { min-height: 38px; padding: 2px 0; font-size: 16px; }
  .preview-label { font-size: 14px; padding: 2px 4px; }
  .main-content { padding: 29px 19px 40px; }
  .hero { margin-top: 39px; }
  .hero h1 { font-size: 34px; }
  .hero-actions { gap: 16px; }
  .question-title { font-size: 32px; }
  .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 62px; padding: 13px; }
  .input, .select, .textarea { font-size: 18px; }
  .field-grid { gap: 16px; }
  .progress { flex-basis: 88px; }
  .form-actions { margin-top: 22px; gap: 11px; }
  .skip-note { display: none; }
  .button { padding-inline: 16px; }
  .next-actions .button { padding-inline: 14px; }
  .option-group > summary { padding: 13px; font-size: 18px; }
  .option-group .choice-card { padding: 11px; }
  .group-count { font-size: 16px; }
  .result-summary { grid-template-columns: minmax(0, 1fr) 22px; gap: 9px; padding: 14px 12px; }
  .result-headline { font-size: 28px; line-height: 1.6; }
  .result-course-count { font-size: 32px; padding-inline: 4px; }
  .result-approval { padding: 13px 14px; }
  .course-code { font-size: 16px; grid-column: 1; grid-row: 1; }
  .course-summary-text { grid-column: 1; grid-row: 2; }
  .result-toggle { grid-column: 2; grid-row: 1 / 3; }
  .course-title { font-size: 18px; }
  .status-label { font-size: 16px; }
  .result-body { padding-inline: 14px; }
  .readiness-panel > summary .muted { display: none; }
  .results-toolbar { align-items: flex-start; flex-wrap: wrap; gap: 7px; }
  .result-notice { max-width: none; font-size: 16px; line-height: 1.6; }
  .results-toolbar .button { min-height: 50px; padding-top: 0; }
  .guide-actions .button { flex: 1 1 auto; padding-inline: 12px; font-size: 18px; }
  .guide-buttons { flex-direction: column; }
  .guide-buttons .button { width: 100%; }
  .next-step-panel .button { width: 100%; margin-right: 0; }
  .guide-footer { flex-wrap: wrap; gap: 6px; }
  .app-dialog { padding: 26px 20px; }
  .app-dialog h2 { font-size: 24px; }
  .dialog-actions .button { flex: 1 1 auto; padding-inline: 10px; }
}
@media (max-width: 360px) {
  .result-course-count { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  @page { size: A4; margin: 16mm; }
  body { display: block; min-height: 0; background: white; color: #243b4d; font-size: 11pt; }
  .header-inner { padding: 0 0 10px; min-height: 0; }
  .brand-logo { width: 290px; }
  .header-actions, .skip-link, .button, .filter-tabs, .guide-actions, .guide-buttons, .form-actions, .app-dialog, .result-toggle { display: none !important; }
  .main-content { max-width: none; padding: 18px 0; }
  .question-shell, .results-shell { max-width: none; }
  .question-title { font-size: 22pt; }
  .question-description { font-size: 11pt; }
  .result-card { break-inside: auto; border-color: #b8c3cb; }
  .result-summary { grid-template-columns: 64px minmax(0, 1fr); padding: 11px 14px; break-after: avoid; }
  .course-code, .course-summary-text { grid-column: auto; grid-row: auto; }
  .result-body { display: block !important; }
  details > * { content-visibility: visible !important; }
  .result-body > section, .readiness-panel, .transfer-panel, .next-step-panel { break-inside: avoid; }
  .result-body > .course-preparation { break-inside: auto; }
  .preparation-route { break-inside: avoid; }
  .result-body p, .result-body li, .detail-list li { font-size: 11pt; }
  .preparation-route h4, .preparation-route .route-description { font-size: 11pt; }
  .route-notes .detail-list li { font-size: 10pt; }
  .result-headline { font-size: 19pt; }
  .result-course-count { font-size: 22pt; }
  .result-breakdown { font-size: 11pt; }
  .result-approval, .course-group-description, .course-group-count { font-size: 11pt; }
  .course-group-heading { break-after: avoid; }
  .course-group-heading h2 { font-size: 14pt; }
  .course-title { font-size: 11pt; }
  .status-label, .course-code, .evidence-caption, .guide-version, .document-kind, .guide-footer, .result-notice, .footer-inner { font-size: 10pt; }
  .result-benefit, .hero-benefit, .next-step-panel p, .readiness-panel p, .transfer-panel p, .review-notes p { font-size: 11pt; }
  .result-body h3, .next-step-panel h2, .additional-review > summary { font-size: 13pt; }
  .additional-review { margin-top: 18px; }
  .check-box { flex-basis: 12px; }
  .readiness-panel > summary::after, .transfer-panel > summary::after { display: none; }
  .guide-actions { margin-top: 16px; padding-top: 14px; }
  .callout { background: #f3f6f8; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .site-footer { padding: 12px 0 0; font-size: 10pt; }
  a { color: inherit; }
}
