.calculator-page {
  --calculator-muted: #b0b2a7;
  --calculator-accent: #c4d69c;
  --calculator-ink: #20271a;
  --calculator-paper: #f4eee4;
  --calculator-border: #d5d8c7;
  line-height: 1.55;
}
.calculator-page [hidden] { display: none !important; }
.calculator-page :focus-visible { outline: 3px solid #5f813f; outline-offset: 4px; }
.calculator-page .container { max-width: 1120px; }
.calculator-page button, .calculator-page input { font: inherit; }
.calculator-page button { cursor: pointer; }
.calculator-page .inline-link { text-decoration: underline; text-underline-offset: 3px; }
.calculator-nav { min-height: 72px; }
.calculator-nav .brand { min-height: 44px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 18px; background: var(--calculator-paper); color: var(--calculator-ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.calculator-main { min-height: calc(100vh - 150px); padding-top: 32px; padding-bottom: 54px; }
.calculator-intro { max-width: 1100px; margin: 0 auto 22px; text-align: center; }
.calculator-kicker { margin: 0 0 8px; color: var(--calculator-accent); font-size: 0.69rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.calculator-intro h1 { margin: 0 0 10px; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(2rem, 4.3vw, 3rem); font-weight: 700; font-kerning: normal; line-height: 1.14; letter-spacing: 0.012em; text-wrap: balance; }
.intro-lead { max-width: 570px; margin: 0 auto; color: #c4c7b9; font-size: 0.95rem; line-height: 1.7; }

.wizard-panel { max-width: 650px; min-width: 0; margin: 0 auto; padding: 24px; color: var(--calculator-ink); background: var(--calculator-paper); border: 1px solid #fff5e4; border-radius: 20px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.19); scroll-margin-top: 94px; }
.fallback-copy { color: #4f5942; font-size: 0.85rem; }
.fallback-copy h2 { margin: 0 0 12px; color: var(--calculator-ink); font-size: 1.15rem; }
.fallback-copy p { margin: 10px 0 0; }
.wizard-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: #60664e; font-size: 0.7rem; }
.wizard-meta p { margin: 0; color: #3f4e31; font-weight: 650; }
.progress-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 24px; }
.progress-track span { height: 3px; border-radius: 999px; background: #d3d7c5; }
.progress-track span[data-state="complete"], .progress-track span[data-state="current"] { background: #688347; }
.progress-track span[data-state="current"] { box-shadow: 0 0 0 1px #688347; }
.form-error { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #a07152; border-radius: 9px; color: #843426; background: #fff4e8; font-size: 0.78rem; }
.wizard-step { min-height: 304px; display: flex; flex-direction: column; }
.step-eyebrow { margin: 0 0 8px; color: #63704e; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.wizard-step h2 { max-width: 580px; margin: 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.35rem, 3.2vw, 1.8rem); font-weight: 700; font-kerning: normal; line-height: 1.3; letter-spacing: 0.012em; text-wrap: balance; }
.wizard-step h2:focus, .result-heading h2:focus { outline: none; }
html[data-input-modality="keyboard"] .wizard-step h2:focus,
html[data-input-modality="keyboard"] .result-heading h2:focus { outline: 3px solid #5f813f; outline-offset: 6px; border-radius: 2px; }
.step-copy { max-width: 550px; margin: 9px 0 18px; color: #626a54; font-size: 0.85rem; line-height: 1.65; }
.question-label { font-size: 0.84rem; font-weight: 600; }
.people-stepper { display: grid; grid-template-columns: 44px minmax(44px, 1fr) 44px; background: #fffaf2; border: 1px solid #788966; border-radius: 10px; overflow: clip; }
.people-stepper button { min-height: 48px; border: 0; background: transparent; color: #354429; font-size: 1.35rem; }
.people-stepper button:hover { background: #e0e8cc; }
.people-stepper button:disabled { background: transparent; color: #8c927e; cursor: default; }
.people-stepper input { width: 100%; min-width: 44px; border: 0; border-radius: 0; background: transparent; color: var(--calculator-ink); appearance: textfield; -moz-appearance: textfield; text-align: center; font-size: 1.25rem; font-weight: 600; padding: 4px 0; }
.people-stepper input::-webkit-inner-spin-button, .people-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.people-stepper :focus-visible { outline: 3px solid #526d33; outline-offset: -4px; }
.field-hint { margin: 9px 0 0; color: #60664e; font-size: 0.73rem; line-height: 1.6; }
.field-error { margin: 8px 0 0; color: #9a2d21; font-size: 0.78rem; }

.detail-panel > summary::-webkit-details-marker { display: none; }
.duration-field, .answer-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.duration-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.food-inputs { display: grid; gap: 14px; margin: 0 0 18px; padding: 14px; border: 1px solid #c1c8b3; border-radius: 12px; background: #eeeee3; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58); }
.meal-formula { font-variant-numeric: tabular-nums; }
.food-window-note { margin: 3px 0 9px; color: #626c56; font-size: 0.72rem; line-height: 1.5; }
.food-window-note strong { color: #405131; font-weight: 650; }
.food-input-row { min-width: 0; }
.food-input-row--people { display: grid; grid-template-columns: minmax(0, 1fr) calc((100% - 16px) / 3); align-items: center; gap: 8px 16px; }
.food-input-row--days { display: block; }
.food-input-row .people-stepper { width: 100%; }
.food-input-row--people .field-error { grid-column: 1 / -1; margin-top: 0; }

.choice { position: relative; display: flex; min-width: 0; cursor: pointer; }
.choice > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice > span { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 52px; padding: 11px 13px; border: 1px solid #788966; border-radius: 9px; color: var(--calculator-ink); background: #faf6ee; font-size: 0.76rem; font-weight: 500; line-height: 1.35; transition: background 140ms ease, border-color 140ms ease, transform 140ms ease; }
.choice > span::before { content: ""; width: 13px; height: 13px; flex: 0 0 13px; border: 1px solid #788966; border-radius: 50%; }
.choice > input:checked + span { color: #213115; background: #e0e8cc; border-color: #667c43; box-shadow: inset 0 0 0 1px #667c43; }
.choice > input:checked + span::before { background: #536e32; border-color: #536e32; box-shadow: inset 0 0 0 3px #e0e8cc; }
.choice > input:focus-visible + span { outline: 3px solid #516b32; outline-offset: 3px; }
.choice:hover > span { border-color: #607b3c; transform: translateY(-1px); }
.duration-choices .choice > span { min-height: 48px; justify-content: center; gap: 4px; padding: 7px 4px; font-size: 0.73rem; }
.duration-choices .choice > span::before { display: none; }
.duration-choices .choice > span strong { font-size: 0.95rem; line-height: 1; }
.duration-choices .choice > span small { color: #626c56; font-size: 0.65rem; font-weight: 500; line-height: 1; }
.duration-choices .choice > input:checked + span small { color: #526340; }
.answer-grid { display: grid; gap: 9px; }
.answer-grid--light { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice > .choice-surface { position: relative; gap: 12px; min-height: 64px; padding: 13px 14px; border-radius: 12px; }
.choice-copy { display: grid; gap: 3px; min-width: 0; }
.choice-copy strong { font-size: 0.94rem; font-weight: 650; line-height: 1.34; }
.choice-copy small { color: #5e674f; font-size: 0.78rem; font-weight: 400; line-height: 1.5; }
.choice > input:checked + .choice-surface .choice-copy small { color: #4e5e3f; }
.choice--scenario > .choice-surface { min-height: 101px; align-items: flex-start; }
.choice--scenario > .choice-surface::before, .choice--route > .choice-surface::before, .choice--food > .choice-surface::before { display: none; }
.choice-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; color: #415331; background: #e6ecd7; font-size: 1rem; font-weight: 700; }
.choice-icon--phone { font-size: 1.35rem; line-height: 1; }
.answer-list { display: grid; gap: 8px; }
.answer-list--phone .choice-surface { min-height: 63px; }
.route-line { width: 4px; height: 32px; flex: 0 0 4px; border-radius: 999px; background: #b4bea3; }
.choice--route:nth-child(1) .route-line { background: #6f8b4f; }
.choice--route:nth-child(2) .route-line { background: #9a8058; }
.choice--route:nth-child(3) .route-line { background: #8f694e; }
.choice--route:nth-child(4) .route-line { background: #8b8f80; }
.battery-scenario { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 13px 0 15px; padding: 10px 13px; border: 1px solid #c5c9b6; border-radius: 10px; color: #4e5843; background: #e9e9dc; font-size: 0.72rem; font-weight: 700; }
.battery-scenario i { position: relative; display: block; width: 72px; height: 18px; padding: 2px; border: 2px solid #68715f; border-radius: 5px; }
.battery-scenario i::after { content: ""; position: absolute; top: 4px; right: -5px; width: 3px; height: 6px; border-radius: 0 2px 2px 0; background: #68715f; }
.battery-scenario b { display: block; width: 20%; height: 100%; border-radius: 2px; background: #a45f48; }
.answer-grid--food { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice--food > .choice-surface { min-height: 106px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; padding: 12px 10px; text-align: left; }
.food-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; width: 100%; height: 7px; }
.food-meter i { border-radius: 999px; background: #d1d5c5; }
.food-meter[data-level="4"] i, .food-meter[data-level="2"] i:nth-child(-n + 2) { background: #668144; }
.food-meter[data-level="unknown"] i { background: #adb4a2; opacity: 0.58; }
.branch-choices { display: grid; gap: 7px; }
.branch-choices--food { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice--compact > .choice-surface { min-height: 59px; padding: 10px 12px; }
.choice--compact > .choice-surface::before { order: 2; margin-left: auto; }
.reality-check { position: relative; margin-top: 18px; padding: 18px; border: 1px solid #91a673; border-radius: 14px; background: #edf1df; animation: reality-check-in 180ms ease-out; }
.reality-check::before { content: ""; position: absolute; top: -19px; left: 26px; width: 1px; height: 18px; background: #91a673; }
.reality-check__eyebrow { margin: 0 0 6px; color: #52653d; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.reality-check h3 { margin: 0; font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-size: 1.05rem; font-kerning: normal; line-height: 1.36; letter-spacing: 0.012em; text-wrap: balance; }
.reality-check > p:not(.reality-check__eyebrow, .field-error) { margin: 7px 0 14px; color: #58634c; font-size: 0.77rem; line-height: 1.58; }
.reality-check--food { background: #eef0df; }
.reality-check--nested { margin: 16px -5px -5px; padding: 16px; border-color: #a69b72; background: #f8f2e5; }
.reality-check--nested::before { left: 22px; background: #a69b72; }
.answer-field:disabled { opacity: 0.72; }
.answer-error { margin-top: 12px; }

@keyframes reality-check-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-actions { display: grid; grid-template-columns: minmax(96px, 0.55fr) minmax(0, 1.45fr); gap: 9px; margin-top: auto; padding-top: 22px; }
.step-actions-forward { grid-template-columns: 1fr; }
.primary-button, .secondary-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 11px 17px; border-radius: 10px; font: inherit; font-size: 0.9rem; font-weight: 600; }
.primary-button { width: 100%; border: 1px solid #34472a; background: #35492b; color: #fffdf8; text-align: left; }
.primary-button:hover { background: #435d34; }
.primary-button > span { flex-shrink: 0; font-size: 1.05rem; }
.primary-button:focus-visible { outline-color: #466a2b; }
.secondary-button { justify-content: flex-start; border: 1px solid #b8bfaa; background: transparent; color: #4a5740; }
.secondary-button:hover { background: #e8e7dc; }
.form-note { margin: 10px 0 0; color: #656c57; font-size: 0.68rem; text-align: center; }
.wizard-complete { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wizard-complete div { display: grid; gap: 2px; }
.wizard-complete span { color: #626b54; font-size: 0.68rem; }
.wizard-complete strong { font-size: 0.9rem; }
.text-button { min-height: 44px; padding: 7px 0 7px 12px; border: 0; background: transparent; color: #4d6631; font-size: 0.75rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

#post-plan { max-width: 960px; margin: 58px auto 0; }
.results, #result-title, .detail-panel, #sheltr-app { scroll-margin-top: 94px; }
.result-kicker { margin: 0 0 8px; color: var(--calculator-accent); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.result-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; }
.result-heading h2 { margin: 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.6rem, 3.6vw, 2.35rem); font-kerning: normal; line-height: 1.25; letter-spacing: 0.012em; text-wrap: balance; }
.result-heading p { margin: 0; color: var(--calculator-muted); font-size: 0.8rem; }
.result-summary { max-width: 620px; margin: 10px 0 22px; color: #c4c9bb; font-size: 0.875rem; }
.priority-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.priority-card { min-width: 0; padding: 20px; border: 1px solid #3b4d31; border-radius: 15px; background: #1b2418; }
.priority-card[data-status="check"] { border-color: #665d39; background: #252218; }
.priority-top { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 16px; }
.priority-label { color: #cbd7bc; font-size: 0.78rem; font-weight: 600; }
.status-badge { padding: 4px 8px; border: 1px solid #829764; border-radius: 999px; color: #dce8c9; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.priority-card[data-status="check"] .status-badge { color: #eadcb5; border-color: #8b7b49; }
.priority-card h3 { margin: 0 0 8px; color: #edf2e6; font-size: 1rem; line-height: 1.45; }
.priority-card p { margin: 0; color: #b9c4b0; font-size: 0.875rem; line-height: 1.68; }
.priority-empty { grid-column: 1 / -1; padding: 20px; border: 1px solid #405136; border-radius: 15px; color: #dce8cf; background: #1b2418; }
.priority-empty strong { display: block; margin-bottom: 5px; font-size: 1rem; }
.priority-empty p { margin: 0; color: #b9c4b0; font-size: 0.875rem; }
.covered-items { margin-top: 13px; padding: 14px 17px; border: 1px solid #30382b; border-radius: 12px; background: #121610; }
.covered-items h3 { margin: 0 0 9px; color: #d5ddcb; font-size: 0.8rem; font-weight: 600; }
.covered-items ul { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: 0; padding: 0; list-style: none; }
.covered-items li { color: #aeb9a4; font-size: 0.82rem; }
.covered-items li::before { content: "✓"; margin-right: 6px; color: #91ad72; }
.estimate-note { margin: 13px 0 0; color: #9fa797; font-size: 0.78rem; line-height: 1.7; }

.app-continuation { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 28px; margin-top: 28px; padding: 28px; color: var(--calculator-ink); background: var(--calculator-paper); border: 1px solid #fff6e6; border-radius: 20px; }
.app-copy { align-self: center; }
.app-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; color: #5b674b; font-size: 0.74rem; font-weight: 600; }
.app-eyebrow img { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; }
.app-copy h2 { max-width: 560px; margin: 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.45rem, 2.7vw, 2rem); font-kerning: normal; line-height: 1.28; letter-spacing: 0.012em; text-wrap: balance; }
.app-copy > p:not(.app-eyebrow) { max-width: 540px; margin: 12px 0 18px; color: #5e6852; font-size: 0.9rem; line-height: 1.65; }
.app-copy .primary-button { max-width: 340px; }
.app-copy small { display: block; max-width: 420px; margin-top: 9px; color: #626b54; font-size: 0.8rem; line-height: 1.6; }
.app-preview { margin: 0; align-self: center; min-width: 0; }
.screen-window { height: 250px; overflow: hidden; border: 4px solid #30342c; border-radius: 22px; background: #fff; box-shadow: 0 12px 24px #242c181c; }
.screen-window img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.app-preview figcaption { margin-top: 9px; color: #657056; font-size: 0.68rem; line-height: 1.55; text-align: center; }

.practical-details { margin-top: 34px; }
.details-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.details-heading h2 { margin: 0; font-size: 1rem; font-weight: 600; }
.details-heading p { margin: 0; color: var(--calculator-muted); font-size: 0.72rem; }
.details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.detail-panel { min-width: 0; border: 1px solid #353d2f; border-radius: 13px; background: #141810; }
.detail-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 78px; padding: 15px 17px; cursor: pointer; list-style: none; }
.detail-panel > summary strong { display: block; color: #e1e5d8; font-size: 0.84rem; font-weight: 500; }
.detail-panel > summary small { display: block; margin-top: 4px; color: #adb7a1; font-size: 0.74rem; line-height: 1.45; }
.detail-toggle { color: #b9cc99; font-size: 1.15rem; }
.detail-panel[open] { grid-column: 1 / -1; }
.detail-panel[open] > summary { border-bottom: 1px solid #353d2f; }
.detail-panel[open] > summary .detail-toggle { transform: rotate(45deg); }
.detail-body { max-width: 760px; padding: 4px 18px 18px; color: #bcc6b1; font-size: 0.875rem; line-height: 1.78; }
.detail-body p { margin: 14px 0 0; }
.detail-body a { color: #cfdfb7; }
.detail-body .source-note { color: #aeb9a2; font-size: 0.74rem; }
.cooking-warning { padding-left: 13px; border-left: 2px solid #bda16e; color: #dfcda9; }

.calculator-footer { color: var(--calculator-muted); font-size: 0.75rem; }
.calculator-footer p { margin: 0; }
.calculator-footer .footer-nav { flex-wrap: wrap; gap: 20px; }
.calculator-footer .footer-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; border: 0; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 760px) {
  .calculator-page .container { width: calc(100% - 32px); }
  .calculator-nav { min-height: 62px; gap: 12px; }
  .calculator-main { padding-top: 28px; padding-bottom: 42px; }
  .calculator-intro { margin-bottom: 23px; }
  .calculator-intro h1 { font-size: clamp(1.9rem, 8.1vw, 2.5rem); line-height: 1.16; }
  .intro-lead { max-width: 450px; font-size: 0.84rem; }
  .wizard-panel { padding: 21px; border-radius: 16px; }
  .wizard-step { min-height: 365px; }
  .wizard-step h2 { font-size: 1.45rem; }
  .answer-grid--food { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch-choices--food { grid-template-columns: 1fr; }
  .people-stepper { margin-top: 0; }
  .people-stepper button { min-height: 44px; }
  .people-stepper input { font-size: 1.1rem; }
  #post-plan { margin-top: 43px; }
  .priority-grid { grid-template-columns: 1fr; }
  .app-continuation { grid-template-columns: 1fr; gap: 18px; padding: 21px; border-radius: 16px; }
  .app-copy h2 { font-size: 1.55rem; }
  .app-preview { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 14px; }
  .screen-window { height: 190px; border-width: 3px; border-radius: 17px; }
  .details-grid { grid-template-columns: 1fr; }
  .detail-panel[open] { grid-column: auto; }
  .detail-panel > summary { min-height: 72px; }
  .calculator-footer { align-items: flex-start; flex-direction: column; gap: 15px; }
}

@media (max-width: 540px) {
  .food-input-row--people { display: block; }
  .food-input-row--people .people-stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 7px; border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .food-input-row--people .people-stepper > button,
  .food-input-row--people .people-stepper > input { min-height: 48px; border: 1px solid #788966; border-radius: 9px; background: #fffaf2; }
  .food-input-row--people .people-stepper > button:disabled { color: #8c927e; background: #f1eee6; }
  .food-input-row--people .field-error { margin-top: 7px; }
}

@media (max-width: 420px) {
  .calculator-page .container { width: calc(100% - 24px); }
  .brand-word { font-size: 0.96rem; }
  .calculator-main { padding-top: 20px; }
  .calculator-intro { margin-bottom: 18px; }
  .calculator-kicker { margin-bottom: 8px; }
  .calculator-intro h1 { margin-bottom: 10px; font-size: 1.75rem; line-height: 1.17; letter-spacing: 0.012em; }
  .intro-lead { font-size: 0.82rem; line-height: 1.55; }
  .wizard-panel { padding: 16px; }
  .progress-track { margin-bottom: 20px; }
  .wizard-step { min-height: 335px; }
  .wizard-step h2 { font-size: 1.32rem; letter-spacing: 0.012em; }
  .step-copy { margin-bottom: 14px; }
  .food-inputs { padding: 11px 12px; }
  .answer-grid { gap: 7px; }
  .choice > span { padding: 10px; gap: 8px; }
  .choice-copy strong { font-size: 0.9rem; }
  .choice-copy small { font-size: 0.76rem; }
  .choice--scenario > .choice-surface { min-height: 98px; }
  .choice-icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 8px; }
  .choice--food > .choice-surface { min-height: 98px; }
  .reality-check { padding: 16px; }
  .reality-check h3 { letter-spacing: 0.012em; }
  .result-heading h2, .app-copy h2 { letter-spacing: 0.012em; }
  .step-actions { grid-template-columns: minmax(84px, 0.55fr) minmax(0, 1.45fr); gap: 7px; }
  .step-actions { padding-top: 16px; }
  .step-actions-forward { grid-template-columns: 1fr; }
  .primary-button, .secondary-button { padding-left: 12px; padding-right: 12px; font-size: 0.9rem; }
  .app-continuation { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .app-copy h2 { font-size: 1.32rem; }
  .app-copy > p:not(.app-eyebrow) { font-size: 0.875rem; }
  .app-preview { display: grid; grid-template-columns: 105px minmax(0, 1fr); align-items: center; gap: 12px; }
  .screen-window { height: 168px; border-radius: 14px; }
  .app-preview figcaption { margin-top: 0; font-size: 0.72rem; text-align: left; }
}

@media (max-width: 520px) {
  .answer-grid--light { grid-template-columns: 1fr; }
  .choice--scenario > .choice-surface { min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice > span { transition: none; }
  .choice:hover > span { transform: none; }
  .reality-check { animation: none; }
}

@media (forced-colors: active) {
  .choice { align-items: center; }
  .choice > input { position: static; width: 18px; height: 18px; flex: 0 0 18px; margin: 0 8px 0 0; opacity: 1; }
  .choice > span { flex: 1; min-width: 0; width: auto; color: CanvasText; background: Canvas; border-color: ButtonText; }
  .choice > span::before { display: none; }
  .choice > input:checked + span { color: CanvasText; background: Canvas; border: 3px solid Highlight; box-shadow: none; }
  .choice > input:focus-visible + span { outline-color: Highlight; }
  .choice-copy small { color: CanvasText; }
  .choice-icon, .route-line, .food-meter i, .battery-scenario b { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .reality-check, .battery-scenario { border-color: ButtonText; background: Canvas; color: CanvasText; }
  .people-stepper button:disabled { color: GrayText; }
  .primary-button, .secondary-button { border: 2px solid ButtonText; }
  .progress-track span { border: 1px solid ButtonText; }
  .progress-track span[data-state="complete"], .progress-track span[data-state="current"] { background: Highlight; }
}
