/* Buckeye care briefings: black ink, oatmeal newsprint and moss. */
:root {
  color-scheme: light;
  --canvas: #e1dfd4;
  --panel: #efeee6;
  --raised: #d3d3c4;
  --ink: #22251e;
  --soft: #3e4136;
  --quiet: #535749;
  --moss: #4d5d35;
  --rule: #929680;
  --reading-width: 65ch;
  --book: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 18px/1.65 var(--book); }
button, input, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: #4d5d3526; }
button { color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, dl { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--book); letter-spacing: 0; text-wrap: balance; overflow-wrap: break-word; }
h1 { max-width: 19ch; font-size: clamp(40px, 10.5vw, 52px); font-weight: 400; line-height: 1.1; }
h1 span { color: var(--moss); }
h2 { font-size: 31px; font-weight: 700; line-height: 1.22; }
h3 { font-size: 24px; font-weight: 700; line-height: 1.3; }
p, li, dd { color: var(--soft); }
p { max-width: var(--reading-width); }
p + p { margin-top: 16px; }
ul { padding-left: 24px; }
li + li { margin-top: 10px; }
dd { margin: 0; }
a { color: var(--moss); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--moss); outline-offset: 5px; }
::selection { background: var(--moss); color: var(--panel); }
[hidden] { display: none !important; }
.briefing-header, main, .guide-footer { width: min(1192px, calc(100% - 40px)); margin-inline: auto; }
.briefing-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 112px; padding-block: 20px; border-bottom: 3px double var(--ink); }
.guide-name { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding-block: 4px; text-decoration: none; line-height: 1.25; color: var(--ink); }
.guide-name span:first-child { font-size: 32px; font-weight: 700; }
.guide-name span + span { color: var(--quiet); font-size: 17px; margin-top: 4px; }
.briefing-menu { position: relative; flex-shrink: 0; }
.briefing-menu details > summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 48px; min-width: 116px; padding: 8px 16px; border: 1px solid var(--moss); border-radius: 0; background: var(--panel); cursor: pointer; color: var(--moss); list-style: none; }
.briefing-menu summary::-webkit-details-marker { display: none; }
.briefing-menu summary > span { font-size: 26px; line-height: 1; transition: transform .16s ease; }
.briefing-menu details[open] > summary > span { transform: rotate(45deg); }
.briefing-menu details[open] > summary { background: var(--raised); }
.menu-pages { position: absolute; z-index: 10; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 40px)); padding: 10px; border: 2px solid var(--moss); background: var(--panel); box-shadow: 5px 5px 0 var(--raised); }
.menu-pages a { display: flex; align-items: center; min-height: 56px; padding: 12px 16px; }
.menu-pages a:hover { background: var(--canvas); }
.menu-pages a[aria-current="page"] { color: var(--ink); background: var(--raised); font-weight: 700; }
.skip-reading { position: absolute; z-index: 20; top: 8px; left: 20px; transform: translateY(-160%); display: inline-flex; align-items: center; min-height: 48px; padding: 8px 16px; background: var(--panel); border: 2px solid var(--moss); }
.skip-reading:focus { transform: translateY(0); }
.care-intro { display: grid; gap: 40px; padding-block: 40px 48px; border-bottom: 2px solid var(--ink); }
.care-intro > *, .medicine-kind > *, .licence-check > *, .public-cost > *, .visit-question > *, .guide-footer > * { min-width: 0; }
.brief-kind, .section-topic, .question-label { color: var(--moss); font-size: 18px; line-height: 1.5; font-weight: 400; letter-spacing: 0; text-transform: none; }
.brief-kind { margin-bottom: 24px; }
.intro-lead { max-width: 47ch; margin-top: 28px; font-size: 21px; line-height: 1.55; }
.reading-link { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; padding-block: 12px; margin-top: 22px; font-size: 18px; font-weight: 700; }
.reading-link::after { content: "↓"; font-size: 23px; }
/* A mounted typographic plate; the leaf is an ornament, not new copy. */
.first-question { position: relative; align-self: center; padding: 28px; border: 4px double var(--rule); border-radius: 0; background: var(--panel); }
.first-question::before { content: "❧"; display: grid; place-items: center; width: 104px; height: 80px; margin: 0 auto 28px; border: 2px solid var(--moss); border-radius: 50%; color: var(--moss); font-size: 56px; line-height: 1; }
.first-question .question-label { padding-top: 20px; border-top: 1px solid var(--rule); font-size: 17px; }
.first-question h2 { margin-block: 14px 20px; font-size: 28px; font-weight: 400; }
.first-question .quiet-answer { padding-top: 16px; margin-top: 24px; color: var(--quiet); border-top: 1px solid var(--rule); font-size: 17px; }
.peptide-meaning, .buckeye-context, .medicine-kinds, .visit-questions, .cost-questions, .visit-preparation, .licence-checks, .pharmacy-check, .approval-check, .help-routes { padding-block: 40px; border-bottom: 1px solid var(--rule); }
.section-topic { margin-bottom: 14px; }
.peptide-meaning h2 { margin-bottom: 24px; }
.medicine-kinds > h2, .visit-questions > h2, .cost-questions > h2, .licence-checks > h2 { margin-bottom: 32px; }
.medicine-kind { padding: 28px 24px; display: grid; gap: 24px; border: 1px solid var(--rule); border-top: 3px double var(--rule); background: var(--panel); }
.medicine-kind + .medicine-kind { margin-top: 24px; }
.kind-label { color: var(--quiet); margin-top: 12px; font-size: 17px; }
.source-note { margin-top: 24px; padding-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; border-top: 1px solid var(--rule); color: var(--quiet); }
.source-note > span { color: var(--quiet); font-size: 17px; }
.source-note > div { display: flex; flex-wrap: wrap; gap: 0 24px; min-width: 0; max-width: 100%; }
.source-note a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; font-size: 17px; }
.buckeye-context > h2, .visit-preparation > h2, .pharmacy-check > h2, .approval-check > h2, .help-routes > h2 { margin-bottom: 24px; }
.word-meanings { margin-block: 40px; border: 2px solid var(--rule); background: var(--raised); padding: 24px; }
.words-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.words-heading h2 { font-size: 27px; line-height: 1.3; }
.language-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 160px; max-width: 100%; border: 1px solid var(--moss); border-radius: 0; padding: 8px 16px; background: var(--panel); cursor: pointer; color: var(--moss); font-size: 17px; }
.language-toggle[aria-pressed="true"] { border-width: 2px; font-weight: 700; }
.language-toggle:disabled { cursor: default; }
.language-toggle:hover:enabled { background: var(--canvas); }
.word-meaning { padding-top: 28px; }
.word-meaning h3 { font-size: 21px; margin-bottom: 8px; }
.briefing-next { padding-block: 0 48px; }
.next-briefing { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; padding: 24px; border: 2px solid var(--moss); background: var(--panel); }
.next-briefing > span:first-child { min-width: 0; }
.next-briefing:hover { background: var(--raised); }
.next-label { display: block; color: var(--moss); font-size: 24px; font-weight: 700; line-height: 1.3; }
.next-detail { display: block; margin-top: 8px; font-size: 18px; color: var(--soft); }
.next-arrow { color: var(--moss); font-size: 32px; flex-shrink: 0; }
.guide-footer { padding-block: 28px 40px; display: grid; gap: 20px; border-top: 3px double var(--ink); }
.guide-footer p { max-width: 64ch; color: var(--quiet); font-size: 17px; }
.guide-footer > div { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0 28px; }
.guide-footer a { display: inline-flex; align-items: center; min-height: 48px; padding-block: 12px; font-size: 17px; }
.visit-question { display: grid; gap: 20px; padding-block: 32px; border-top: 1px solid var(--rule); }
.visit-question:last-child { padding-bottom: 0; }
.cost-breakdown { margin-block: 28px 36px; border: 1px solid var(--rule); }
.cost-breakdown > div { display: grid; gap: 10px; padding: 24px; background: var(--panel); }
.cost-breakdown > div:nth-child(even) { background: var(--raised); }
.cost-breakdown > div + div { border-top: 1px solid var(--rule); }
.cost-breakdown dt { font-weight: 700; color: var(--ink); }
.public-cost { display: grid; gap: 32px; padding: 28px 24px; margin-block: 36px; border: 4px double var(--rule); background: var(--panel); }
.public-cost h3 { margin-top: 16px; }
.public-cost .cost-value { display: flex; align-items: center; justify-content: center; width: min(100%, 220px); min-height: 220px; padding: 32px; margin-block: 28px; border: 2px solid var(--moss); border-radius: 50%; color: var(--moss); text-align: center; font-size: 34px; font-weight: 700; line-height: 1.2; }
.cost-answer h3 { margin-bottom: 18px; }
.visit-preparation ul { margin-top: 20px; }
.licence-records { margin-top: 32px; }
.licence-check { display: grid; gap: 20px; padding: 28px 24px; border: 1px solid var(--rule); border-top: 3px double var(--rule); background: var(--panel); }
.licence-check + .licence-check { margin-top: 24px; }
.record-link { display: inline-flex; align-items: center; min-height: 48px; padding-block: 12px; margin-top: 8px; }
.record-limit { padding: 28px; margin-top: 28px; background: var(--raised); border-left: 4px solid var(--moss); }
.record-limit h3 { margin-bottom: 16px; }
.urgent-help { padding: 28px; border: 2px solid var(--moss); background: var(--raised); margin-bottom: 32px; }
.urgent-help h3 { margin-bottom: 16px; }
.missing-brief { min-height: 65vh; padding-block: 48px; }
.missing-brief h1 { max-width: 16ch; margin-bottom: 28px; }
.missing-brief .briefing-next { margin-top: 36px; max-width: 740px; padding-bottom: 0; }
@media (min-width: 720px) {
  .briefing-header, main, .guide-footer { width: min(1192px, calc(100% - 80px)); }
  .briefing-header { min-height: 124px; }
  .care-intro { padding-block: 56px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; }
  h1 { font-size: clamp(48px, 5.2vw, 70px); }
  .first-question { padding: 32px; }
  .peptide-meaning { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 48px; }
  .peptide-meaning, .buckeye-context, .medicine-kinds, .visit-questions, .cost-questions, .visit-preparation, .licence-checks, .pharmacy-check, .approval-check, .help-routes { padding-block: 52px; }
  .medicine-kind, .visit-question, .licence-check { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 48px; }
  .medicine-kind, .licence-check { padding: 36px; }
  .cost-breakdown > div { grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); gap: 32px; }
  .public-cost { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 40px; padding: 36px; }
  .word-meanings { padding: 36px; }
  .word-meaning { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 48px; }
  .word-meaning h3 { margin: 0; }
  .guide-footer { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; }
  .guide-footer > div { justify-content: flex-end; }
}
@media (min-width: 1100px) {
  .care-intro { gap: 88px; padding-block: 64px; }
  .first-question { padding: 36px; }
  .intro-lead { font-size: 23px; }
  .question-brief .care-intro, .evidence-brief .care-intro { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .buckeye-context, .visit-preparation, .pharmacy-check, .approval-check, .help-routes { padding-left: calc((100% - 48px) / 2.75 + 48px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  :root { --canvas: #fff; --panel: #fff; --raised: #fff; --ink: #111; --soft: #222; --quiet: #444; --moss: #344024; --rule: #999; }
  .briefing-menu, .language-toggle, .skip-reading { display: none; }
  .briefing-header, main, .guide-footer { width: 100%; }
  h1 { font-size: 36px; }
  .care-intro { padding-block: 24px; }
  a { color: #111; }
  .first-question, .medicine-kind, .licence-check, .word-meaning, .public-cost, .urgent-help { break-inside: avoid; }
}
