:root {
  color-scheme: light;
  --bg: #f3f4f0;
  --surface: #eaede8;
  --ink: #242c29;
  --muted: #686f6b;
  --line: #d5dbd5;
  --accent: #30685b;
  --button: #244c41;
  --button-ink: #fafbf8;
  --selected: #e4e9e1;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171918;
  --surface: #202421;
  --ink: #e7eae4;
  --muted: #a6ada4;
  --line: #353b35;
  --accent: #b4ceba;
  --button: #d0dfcb;
  --button-ink: #202a20;
  --selected: #303c32;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; letter-spacing: 0; }
h2 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.35; }
h3 { font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { max-width: 1248px; margin: auto; padding: 0 56px; }
.site-header { display: flex; gap: 36px; align-items: center; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 22px/1.2 Georgia, serif; }
.brand img { width: 27px; height: 27px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 12px; text-decoration: none; color: var(--muted); padding: 10px 0; }
.nav a:hover { color: var(--ink); }
.theme-control { display: inline-flex; gap: 9px; align-items: center; font-size: 11px; color: var(--muted); cursor: pointer; min-height: 36px; position: relative; }
#accountLink, #familyAccountLink { font-size: 12px; color: var(--muted); text-decoration: none; }
.theme-control input { position: absolute; width: 34px; height: 20px; right: 0; opacity: 0; cursor: pointer; }
.switch-track { display: block; width: 32px; height: 18px; border: 1px solid var(--line); background: var(--surface); border-radius: 20px; }
.switch-track::after { content: ""; display: block; width: 12px; height: 12px; margin: 2px; background: var(--muted); border-radius: 50%; transition: transform 150ms; }
.theme-control input:checked + .switch-track::after { transform: translateX(14px); background: var(--accent); }
.theme-control input:focus-visible + .switch-track { outline: 2px solid var(--accent); outline-offset: 4px; }
main { min-width: 0; }
.overview-header { padding: 48px 0 64px; min-height: min(640px, calc(100svh - 170px)); }
.overview-header > div { max-width: 840px; }
.edition-label { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--muted); font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.edition-mark { width: 6px; height: 6px; background: var(--accent); }
h1 { font: 30px/1.2 Georgia, "Times New Roman", serif; margin: 0 0 26px; }
.hero-statement { margin: 0 0 24px; font: 62px/1.08 Georgia, "Times New Roman", serif; }
.hero-statement em { color: var(--accent); }
.lede { max-width: 440px; margin: 0; font-size: 14px; color: var(--muted); }
.hero-actions { margin-top: 22px; }
.story-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; font-size: 12px; color: var(--accent); text-decoration: none; }
.story-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.story-kicker { margin: 0 0 20px; color: var(--accent); font-size: 12px; }
.story-problem { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 90px; padding: 48px 0 90px; }
.story-copy h2 { font: 34px/1.22 Georgia, serif; margin: 0 0 24px; }
.story-copy > p:not(.story-kicker) { max-width: 390px; color: var(--muted); font-size: 14px; margin: 0 0 14px; line-height: 1.85; }
.unanswered { padding: 35px 0; }
.unanswered p { margin: 0 0 25px; color: var(--muted); font: italic 25px/1.4 Georgia, serif; }
.unanswered p:nth-child(2) { margin-left: 28px; color: var(--ink); }
.unanswered p:nth-child(3) { margin-left: 56px; color: var(--accent); }
.story-solution { padding: 64px 0 70px; text-align: center; }
.story-solution h2 { font: 49px/1.15 Georgia, serif; margin: 0 0 26px; }
.story-solution h2 em, .story-reassurance h2 em { color: var(--accent); }
.story-solution > p:not(.story-kicker) { max-width: 470px; margin: 0 auto; color: var(--muted); font-size: 15px; line-height: 1.8; }
.story-solution .solution-afterthought { padding-top: 16px; font-family: Georgia, serif; font-style: italic; }
.story-reassurance { display: grid; grid-template-columns: 1fr 1fr; column-gap: 90px; padding: 90px 0; align-items: start; }
.story-reassurance > .story-kicker { grid-column: 1 / -1; }
.story-reassurance h2 { font: 40px/1.2 Georgia, serif; }
.story-reassurance > div p { max-width: 360px; margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.story-invitation { text-align: center; padding: 64px 0 80px; }
.story-invitation h2 { font: 32px/1.3 Georgia, serif; }
.story-invitation p { margin: 14px 0 24px; color: var(--muted); font-size: 14px; }
.story-invitation .preview-footnote { font-size: 10px; margin: 16px auto 0; max-width: 340px; }
button, .hero-link { display: inline-flex; justify-content: center; align-items: center; gap: 20px; padding: 10px 18px; min-height: 42px; background: var(--button); color: var(--button-ink); border: 1px solid var(--button); border-radius: 4px; font-size: 12px; font-weight: 500; text-decoration: none; cursor: pointer; }
button:hover, .hero-link:hover { opacity: .85; }
button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
button:disabled { opacity: .5; cursor: default; }
.preview-link { border-color: transparent; background: transparent; color: var(--accent); }
.continuity-map { padding: 20px 0 0; }
.map-heading { padding: 0 0 28px; }
.map-heading h2 { font: 28px/1.3 Georgia, serif; }
.map-heading .story-kicker { margin-bottom: 12px; }
.draft-label { color: var(--muted); font: 10px/1.5 ui-monospace, monospace; }
.draft-label > span:first-child { margin: 0 8px; color: var(--line); }
.map-entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.map-entry { display: flex; flex-direction: column; align-items: stretch; text-align: left; justify-content: start; min-height: 230px; min-width: 0; padding: 24px; border: 0; border-radius: 4px; color: var(--ink); background: var(--surface); gap: 0; transition: background 150ms ease; }
.map-entry:last-child { border-right: 0; }
.map-entry:hover { background: var(--selected); opacity: 1; }
.map-entry:focus-visible { outline-offset: -4px; }
.entry-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 26px; }
.entry-category, .entry-number { font: 10px/1.5 ui-monospace, monospace; color: var(--muted); }
.entry-category::before { display: inline-block; content: ""; width: 5px; height: 5px; margin-right: 8px; background: var(--accent); }
.map-entry:nth-child(2) .entry-category::before { background: #a57b58; }
.map-entry:nth-child(3) .entry-category::before { background: #698cb1; }
.map-entry strong { display: block; font: 23px/1.2 Georgia, serif; overflow-wrap: anywhere; }
.entry-name { display: block; margin: 7px 0 18px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.entry-step { display: block; margin-bottom: 20px; color: var(--ink); font-size: 12px; line-height: 1.5; }
.entry-bottom { display: flex; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 10px; font-size: 10px; color: var(--accent); }
.entry-bottom > span:last-child { font-size: 15px; line-height: 1; }
.map-caption { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 0 0; color: var(--muted); font-size: 10px; }
.map-caption .preview-link { padding-left: 0; }
.empty-map { grid-column: 1/-1; padding: 20px; font-size: 13px; }
.scenario-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px 44px; padding: 24px 0; }
.scenario-intro { grid-column: 1 / -1; font: 30px/1.3 Georgia, serif; }
.scenario-section .scenario-heading { display: flex; align-items: start; margin: 0; }
.scenario-tabs { display: inline-flex; padding: 0; gap: 18px; border: 0; border-radius: 0; }
.scenario-tabs button { padding: 10px 0 12px; min-height: 38px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--muted); background: transparent; font-size: 12px; }
.scenario-tabs button[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--ink); background: transparent; }
.scenario-story { min-height: 130px; }
.scenario-story h3 { font: 22px/1.3 Georgia, serif; margin: 0 0 8px; }
.scenario-story p { max-width: 450px; margin: 0; font-size: 12px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 42px; font-size: 12px; color: var(--accent); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
details { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 0; font-size: 13px; }
summary::marker { color: var(--muted); font-size: 11px; }
summary > span { float: right; color: var(--muted); font-size: 11px; }
.disclosure-body { padding: 6px 0 28px; }
.section-intro { margin-bottom: 20px; }
.assessment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.check-question { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; cursor: pointer; }
.check-question input { accent-color: var(--accent); flex-shrink: 0; width: 16px; height: 16px; margin: 3px 0 0; }
.assessment-result h3 { margin: 10px 0; font-size: 18px; }
.assessment-result p, .assessment-result li { color: var(--muted); font-size: 12px; }
.assessment-result ol { padding-left: 18px; }
.assessment-result li { padding-left: 4px; margin-bottom: 8px; }
.eyebrow, .pill { font-size: 10px; color: var(--muted); }
.eyebrow { margin: 0 0 5px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.workspace-heading p { color: var(--muted); font-size: 11px; margin: 0 0 18px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.metrics article { padding: 14px 10px; display: grid; gap: 5px; }
.metrics span { color: var(--muted); font-size: 10px; }
.metrics strong { font-size: 20px; font-weight: 400; }
.grid-two { display: block; }
.panel { padding: 24px 0; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.panel h2 { font-size: 18px; }
.pill { border: 1px solid var(--line); border-radius: 3px; padding: 3px 6px; white-space: nowrap; }
.architecture-panel { padding: 0; }
textarea { width: 100%; min-height: 130px; padding: 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); resize: vertical; font-size: 13px; line-height: 1.7; }
.analysis { margin-top: 16px; }
.analysis, .contact-list, .ledger-list { display: grid; gap: 8px; }
.suggestion, .contact, .ledger-event { border-bottom: 1px solid var(--line); padding: 14px 0; }
.suggestion, .contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.suggestion h3, .contact h3, .ledger-event h3 { margin: 0 0 4px; font-size: 14px; }
.suggestion p, .contact p, .ledger-event p { margin: 0; font-size: 12px; color: var(--muted); }
.handoff-diagram { display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr 20px 1fr; align-items: center; margin: 16px 0; }
.node { display: grid; place-items: center; min-height: 64px; padding: 8px; border: 1px solid var(--line); border-radius: 4px; text-align: center; font-size: 11px; overflow-wrap: anywhere; }
.rail { height: 1px; background: var(--line); }
.checks { display: grid; grid-template-columns: 1fr 1fr; list-style: none; padding: 0; gap: 8px; font-size: 12px; color: var(--muted); }
.table-wrap { overflow-x: auto; border-block: 1px solid var(--line); }
table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 12px; }
th, td { text-align: left; vertical-align: top; padding: 13px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: 10px; font-weight: 500; }
td span { color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; color: var(--accent); font-size: 10px; }
.policy { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.policy div { display: grid; font-size: 12px; }
.policy span { color: var(--muted); }
.policy strong { font-weight: 500; }
.hash { display: block; font: 10px/1.6 ui-monospace, monospace; color: var(--accent); overflow-wrap: anywhere; }
.questions-section p { color: var(--muted); font-size: 12px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 42px 0; color: var(--muted); font-size: 10px; }
.footer-brand { color: var(--ink); font: 17px/1 Georgia, serif; }
dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); }
dialog::backdrop { background: rgb(16 24 20 / 45%); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.dialog-top .edition-label { margin: 0; }
dialog h2 { font: 30px/1.2 Georgia, serif; }
.dialog-note { color: var(--muted); font-size: 11px; margin: 10px 0 22px; }
.handoff-entry { padding: 20px 0; border-top: 1px solid var(--line); }
.handoff-entry h3 { margin: 7px 0; font-size: 16px; }
.handoff-entry p, .handoff-entry li { font-size: 12px; color: var(--muted); }
.handoff-entry ol { padding-left: 20px; }
.toast { position: fixed; right: 20px; bottom: 20px; max-width: min(380px, calc(100% - 40px)); padding: 12px 18px; border-radius: 4px; background: var(--button); color: var(--button-ink); font-size: 12px; opacity: 0; pointer-events: none; }
.toast.is-visible { opacity: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.field-note { font-size: 11px; color: var(--muted); max-width: 650px; }
.backup-actions { margin-top: 0; }
.access-section { max-width: 560px; padding: 28px 0 40px; }
.access-section h2 { font: 30px/1.25 Georgia, serif; }
.access-section > p:not(.story-kicker) { color: var(--muted); }
.access-form { display: grid; gap: 16px; margin-top: 24px; }
.access-form label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.access-form button { justify-self: start; }
.access-form .check-question { display: flex; }
.access-form .field-note { margin: 0; }
.vault-toolbar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding: 18px 0; }
.vault-toolbar > span { color: var(--muted); font-size: 11px; }
.vault-toolbar > span:first-child { margin-right: auto; color: var(--accent); }
.notice-band { border-block: 1px solid var(--line); padding: 18px 0; margin: 16px 0; max-width: 760px; }
.notice-band p { color: var(--muted); font-size: 12px; }
.danger-section { margin-top: 28px; }
#vaultRecoveryPanel { margin-top: 24px; }
#storageAlert { padding: 20px 0; color: var(--ink); border-block: 1px solid var(--accent); }
#storageAlert p { max-width: 640px; color: var(--muted); }
.recovery-code { font-family: ui-monospace, monospace; font-size: 12px; margin-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid label, .draft-row > label:not(.draft-choice) { display: grid; gap: 6px; font-size: 12px; color: var(--muted); min-width: 0; }
input:not([type="checkbox"]), select { width: 100%; min-width: 0; min-height: 42px; padding: 9px 10px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.full-field { grid-column: 1 / -1; }
.draft-row { display: grid; grid-template-columns: 80px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.draft-choice, .table-check { display: flex; align-items: center; gap: 7px; font-size: 11px; cursor: pointer; }
.draft-evidence { grid-column: 2 / -1; margin: 0; color: var(--muted); font-size: 11px; }
.review-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.review-toolbar p { font: 21px/1.4 Georgia, serif; margin: 0; }
.review-toolbar label { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 12px; }
.review-toolbar select { width: 150px; }
.review-status { font-size: 10px; }
.needs-review { color: var(--accent); }
.row-actions { display: flex; gap: 4px; white-space: nowrap; }
.row-actions button { padding-inline: 10px; }
.family-section { margin: 16px 0 28px; }
.family-section .story-kicker { margin-bottom: 8px; }
.family-copy { color: var(--muted); max-width: 540px; }
.family-page { max-width: 960px; margin: 48px auto 80px; }
.privacy-page { max-width: 680px; margin: 64px auto 80px; }
.privacy-page h1 { font-size: 36px; margin: 12px 0; }
.privacy-page .privacy-intro { color: var(--muted); margin-bottom: 24px; }
.privacy-page section { margin: 40px 0; }
.privacy-page h2 { font-size: 20px; margin: 0 0 14px; }
.privacy-page section p { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 12px 0; }
.privacy-page a { overflow-wrap: anywhere; }
.family-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.family-page-heading h1 { font-size: 36px; margin: 10px 0; }
.family-page-heading p { color: var(--muted); }
.family-access-section { padding-block: 28px; }
.family-access-section h2 { font-size: 25px; }
.family-access-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.family-access-row h3 { font-size: 20px; margin-bottom: 8px; }
.family-access-row .field-note { margin: 4px 0; }
.family-access-row p, .family-access-row h3 { overflow-wrap: anywhere; }
.family-access-row .actions { justify-content: flex-end; flex-wrap: wrap; max-width: 360px; }
.family-claim { padding-block: 24px; }
.family-claim .access-form { margin-top: 20px; }
.sharing-disclosure p { font-size: 12px; line-height: 1.7; color: var(--muted); }
#familyShareDialog, #familyPermissionDialog { width: min(620px, calc(100% - 32px)); }
#familyReadDialog { width: min(780px, calc(100% - 32px)); }
#familyShareReady label { display: grid; gap: 8px; margin: 18px 0 12px; }
#familyShareReady .check-question { display: flex; }
#editDialog { width: min(760px, calc(100% - 32px)); }
.record-facts { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 16px; font-size: 12px; }
.record-facts dt { color: var(--muted); }
.record-facts dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.handoff-entry p { white-space: pre-wrap; }
section, details, #capture { scroll-margin-top: 24px; }
@media (max-width: 900px) {
  .shell { padding-inline: 32px; }
  .story-problem, .story-reassurance { column-gap: 40px; }
  .map-entry { padding-inline: 16px; }
  .map-entry strong { font-size: 20px; }
  .scenario-section { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 650px) {
  .family-page { margin-block: 28px 48px; }
  .family-page-heading { flex-direction: column; gap: 16px; }
  .family-page-heading h1 { font-size: 30px; }
  .family-access-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .family-access-row .actions { justify-content: flex-start; max-width: 100%; }
  .form-grid, .draft-row { grid-template-columns: 1fr; }
  .draft-evidence, .full-field { grid-column: 1; }
  dialog { padding: 20px; }
  .record-facts { grid-template-columns: 1fr; gap: 3px; }
  .record-facts dd { margin-bottom: 10px; }
  #vault table, #vault tbody { display: block; min-width: 0; }
  #vault thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #vault tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid var(--line); }
  #vault td { border: 0; padding: 6px 0; overflow-wrap: anywhere; }
  #vault td:first-child, #vault td:last-child { grid-column: 1 / -1; }
  #vault td:nth-child(2)::before { content: "Provider"; }
  #vault td:nth-child(3)::before { content: "Last confirmed"; }
  #vault td:nth-child(4)::before { content: "Family preview"; }
  #vault td::before { display: block; color: var(--muted); font-size: 10px; margin-bottom: 4px; }
  .shell { padding: 0 22px; }
  .site-header { min-height: 76px; gap: 18px; flex-wrap: wrap; padding: 16px 0; }
  .brand { font-size: 20px; }
  .nav { gap: 16px; }
  .nav a { font-size: 11px; }
  .theme-control { margin-left: auto; }
  .overview-header { padding: 28px 0; }
  h1 { font-size: 27px; margin-bottom: 24px; }
  .hero-statement { font-size: 40px; max-width: 100%; margin-inline: 0; }
  .lede { font-size: 13px; max-width: 300px; }
  .hero-actions { gap: 8px; margin-top: 20px; }
  .story-problem { grid-template-columns: 1fr; gap: 20px; padding: 40px 0 20px; }
  .story-copy h2 { font-size: 28px; }
  .story-copy > p:not(.story-kicker) { font-size: 13px; }
  .unanswered { padding: 14px 0; }
  .unanswered p { font-size: 22px; }
  .unanswered p:nth-child(3) { margin-left: 28px; }
  .story-solution { padding: 50px 0; text-align: left; }
  .story-solution h2 { font-size: 37px; }
  .story-solution > p:not(.story-kicker) { font-size: 14px; }
  .story-reassurance { grid-template-columns: 1fr; padding: 60px 0 36px; gap: 20px; }
  .story-reassurance .story-kicker { margin: 0; }
  .story-reassurance h2 { font-size: 34px; }
  .story-reassurance > div p { font-size: 13px; }
  .story-invitation { padding: 48px 0; text-align: left; }
  .story-invitation h2 { font-size: 29px; }
  .story-invitation .preview-footnote { margin-left: 0; }
  .hero-link, .preview-link { font-size: 11px; padding: 10px 12px; gap: 10px; }
  .map-heading { flex-wrap: wrap; gap: 6px; padding-block: 16px; }
  .map-heading > div { gap: 12px; }
  .map-heading h2 { font-size: 26px; }
  .draft-label { margin-left: 25px; }
  .map-entries { grid-template-columns: 1fr; gap: 14px; }
  .map-entry { min-height: 0; padding: 20px; border: 0; }
  .map-entry:last-child { border-bottom: 0; }
  .entry-top { margin-bottom: 10px; }
  .entry-name { margin-bottom: 10px; }
  .entry-bottom { padding-top: 10px; }
  .scenario-tabs { gap: 20px; }
  .scenario-tabs button { padding: 8px 0; font-size: 11px; }
  .scenario-story h3 { font-size: 22px; }
  .scenario-story { min-height: 136px; }
  .scenario-section { padding-block: 24px; }
  .assessment-grid { grid-template-columns: 1fr; gap: 24px; }
  summary > span { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .panel-head { flex-wrap: wrap; gap: 12px; }
  .contact { grid-template-columns: 1fr; gap: 6px; }
  .handoff-diagram { grid-template-columns: 1fr 10px 1fr 10px 1fr 10px 1fr; }
  .node { font-size: 10px; padding: 5px; }
  .site-footer > span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .switch-track::after { transition: none; } }
