:root {
    --site-width: 42rem;
    color: #24352f;
    background: #f6f5ef;
    font-family: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
.site-header, .site-footer { max-width: var(--site-width); margin: auto; padding: 1rem 1.5rem; font-family: sans-serif; }
.site-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #e5ebe5; }
.site-identity { display: flex; gap: .45rem; align-items: baseline; }
.site-identity__link { display: inline-flex; gap: .45rem; align-items: baseline; text-decoration: none; }
.site-identity__name { color: #31594b; font: 700 1.15rem Georgia, serif; }
.site-identity__support, .site-footer { color: #87928d; font-size: .75rem; }
.site-nav, .site-footer__links, .site-footer__meta { display: flex; gap: .85rem; flex-wrap: wrap; align-items: baseline; }
.site-nav, .site-footer a { font-family: sans-serif; }
.site-nav a, .site-footer a { color: #31594b; text-decoration: none; }
.site-nav a { display: inline-flex; gap: .3rem; align-items: center; }
.site-nav__icon { width: .85rem; height: .85rem; fill: none; stroke: currentColor; stroke-width: 1.4; }
.site-nav a:hover, .site-nav a:focus-visible, .site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; }
.shell { max-width: var(--site-width); margin: auto; padding: 6vh 1.5rem; }
.shell--wide { max-width: 60rem; }
.site-footer { display: grid; justify-items: center; gap: .35rem; padding-top: 0; padding-bottom: 1.25rem; text-align: center; }
.site-footer__links, .site-footer__meta { justify-content: center; text-align: center; }
.site-footer__meta { display: grid; gap: .2rem; }
.site-footer__meta span { display: block; }
.info-page { max-width: 100%; }
.info-page h1 { margin-bottom: .8rem; }
.info-page h2 { margin: 2rem 0 .65rem; color: #31594b; font: 700 1rem sans-serif; letter-spacing: .04em; }
.info-page p, .info-page li { color: #607069; font: 1rem/1.6 sans-serif; }
.info-page ul { padding-left: 1.25rem; }
.info-page__notice { color: #87928d; font-size: .85rem; }
.info-page__email { font: 1.1rem Georgia, serif; }
.hero { max-width: 34rem; }
h1 { font-size: clamp(2.2rem, 9vw, 4.2rem); line-height: 1.05; font-weight: 400; margin: .4rem 0 1.2rem; }
.eyebrow { color: #7b8b73; letter-spacing: .16em; text-transform: uppercase; font: 700 .75rem sans-serif; }
.lede { color: #607069; font: 1.05rem/1.6 sans-serif; max-width: 34rem; }
.button { display: block; min-width: 8rem; min-height: 2.75rem; width: fit-content; margin: 1.5rem auto 0; padding: .75rem 1.3rem; border: 0; border-radius: 999px; color: #fff; background: #31594b; font: 700 .9rem sans-serif; text-decoration: none; cursor: pointer; text-align: center; }
.trust { color: #87928d; font: .8rem sans-serif; margin-top: 1rem; }
.baseline-progress { margin: 0 0 1.25rem; font: .8rem sans-serif; color: #607069; }
.baseline-progress__title { margin: 0 0 .35rem; color: #7b8b73; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.baseline-progress__count, .baseline-progress__stage { margin: .35rem 0; }
.baseline-progress__bar { height: .25rem; overflow: hidden; border-radius: 999px; background: #d8ddd7; }
.baseline-progress__bar span { display: block; height: 100%; background: #31594b; }
fieldset { border: 0; padding: 0; margin: 2rem 0 0; }
.choice, .choice-card { display: grid; align-items: center; gap: .8rem; padding: 1rem; margin: .6rem 0; border: 1px solid #d8ddd7; border-radius: .8rem; background: #fff; font: 1rem sans-serif; cursor: pointer; }
.choice { grid-template-columns: 2rem 1fr auto; }
.choice-card { grid-template-columns: 1fr auto; }
.choice:has(input:checked), .choice-card:has(input:checked) { border-color: #7b9b87; background: #f0f6f1; }
.choice:focus-within, .choice-card:focus-within { outline: 2px solid #7b9b87; outline-offset: 2px; }
.choice input, .choice-card input { width: auto; margin: 0; padding: 0; accent-color: #31594b; cursor: pointer; }
.choice-content { display: flex; gap: .7rem; align-items: center; }
.currency-symbol { color: #31594b; font: 1.5rem Georgia, serif; text-align: center; }
.currency-details { display: flex; gap: .35rem; align-items: baseline; flex-wrap: wrap; }
.currency-details strong { color: #24352f; }
.currency-details span { color: #607069; }
.notice { padding: .8rem; font: .9rem sans-serif; background: #f3dddd; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
label { display: block; margin: 1rem 0; font: .9rem sans-serif; color: #607069; }
input { display: block; width: 100%; box-sizing: border-box; margin-top: .35rem; padding: .75rem; border: 1px solid #d8ddd7; border-radius: .5rem; font: 1rem sans-serif; }
textarea { display: block; width: 100%; box-sizing: border-box; margin-top: .35rem; padding: .75rem; border: 1px solid #d8ddd7; border-radius: .5rem; font: 1rem sans-serif; resize: vertical; }
textarea:focus-visible { outline: 2px solid #7b9b87; outline-offset: 2px; }
select.future-select { display: block; width: 100%; box-sizing: border-box; min-height: 2.75rem; margin-top: .35rem; padding: .65rem .75rem; border: 1px solid #d8ddd7; border-radius: .5rem; background: #fff; color: #24352f; font: 1rem sans-serif; }
select.future-select:focus-visible, input:focus-visible { outline: 2px solid #7b9b87; outline-offset: 2px; }
.baseline-progress + h1 { margin-top: 1.25rem; }
.money-input { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; padding-left: .75rem; border: 1px solid #d8ddd7; border-radius: .5rem; background: #fff; color: #31594b; font: 1.2rem Georgia, serif; }
.money-input input { margin: 0; border: 0; }
.money-input input:focus { outline: 0; }
small { display: block; margin-top: .35rem; color: #607069; font: .8rem sans-serif; }
.form-actions { display: flex; align-items: stretch; gap: .8rem; width: min(100%, 28rem); margin: 1.5rem auto 0; }
.form-actions .button { flex: 1; margin: 0; text-align: center; }
.form-actions.single-action { justify-content: center; }
.form-actions.single-action .button { flex: 0 1 auto; }
.form-actions .button:hover { background: #26483d; }
.form-actions .button:focus-visible { outline: 2px solid #b18b52; outline-offset: 3px; }
.button.secondary { color: #31594b; background: #e5ebe5; }
.form-actions .button.secondary:hover { background: #d4e0d5; }
.scenario-grid, .metric-grid { display: grid; gap: .8rem; margin-top: 2rem; }
.scenario-card, .metric-card, .timeline-card { display: block; padding: 1rem; border: 1px solid #d8ddd7; border-radius: .8rem; background: #fff; text-decoration: none; color: inherit; }
.scenario-card strong, .scenario-card span { display: block; font: 1rem sans-serif; }
.scenario-card span, .metric-card span { margin-top: .35rem; color: #607069; font-size: .9rem; }
.metric-card strong { display: block; margin-top: .5rem; font: 1.2rem Georgia, serif; }
.current-metric-grid .metric-card { min-width: 0; }
.current-metric-grid .metric-card strong { overflow-wrap: anywhere; }
.admin-dashboard { max-width: 70rem; }
.admin-header, .admin-toolbar { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.admin-header .button { margin-top: 0; }
.admin-toolbar { margin: 1.5rem 0; padding: 1rem; border: 1px solid #d8ddd7; border-radius: .8rem; background: #fff; font: .85rem sans-serif; color: #607069; }
.admin-toolbar span { display: block; margin-top: .3rem; }
.range-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.range-links a { padding: .45rem .7rem; border-radius: 999px; color: #31594b; text-decoration: none; }
.range-links a.selected { background: #e5ebe5; font-weight: 700; }
.admin-dashboard section { margin-top: 2.5rem; }
.admin-dashboard h2 { color: #31594b; font: 700 1rem sans-serif; letter-spacing: .04em; }
.admin-dashboard h3 { margin-top: 0; color: #31594b; font: 700 1rem sans-serif; }
.admin-note { color: #607069; font: .85rem/1.5 sans-serif; }
.admin-metric-grid, .admin-feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.admin-funnel { display: grid; grid-template-columns: repeat(7, minmax(8rem, 1fr)); gap: .6rem; padding: 0; list-style: none; }
.admin-funnel li { padding: .8rem; border: 1px solid #d8ddd7; border-radius: .8rem; background: #fff; font: .85rem sans-serif; }
.admin-funnel strong, .distribution strong { display: block; margin-top: .4rem; color: #31594b; }
.admin-funnel small { color: #87928d; font-weight: 400; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; font: .85rem sans-serif; }
th, td { padding: .65rem; border-bottom: 1px solid #e5ebe5; text-align: right; }
th:first-child { text-align: left; }
.card { padding: 1rem; border: 1px solid #d8ddd7; border-radius: .8rem; background: #fff; }
.distribution { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid #e5ebe5; font: .85rem sans-serif; color: #607069; }
.distribution strong { margin: 0; }
.admin-empty { max-width: 40rem; }
code { font-family: Consolas, monospace; font-size: .9em; }
@media (max-width: 52rem) { .admin-header, .admin-toolbar { flex-direction: column; } .admin-metric-grid, .admin-feedback-grid { grid-template-columns: 1fr 1fr; } .admin-funnel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .admin-metric-grid, .admin-feedback-grid { grid-template-columns: 1fr; } }
.current-future { max-width: 60rem; margin: auto; }
.current-hero { max-width: 38rem; margin-bottom: 2rem; }
.current-hero h1 { margin-bottom: .7rem; }
.current-section { margin-top: 2rem; }
.current-section h2, .current-future > section > h2 { color: #31594b; font: 700 1rem sans-serif; letter-spacing: .04em; }
.current-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1rem; }
.metric-card small { color: #87928d; }
.breakdown { display: flex; min-height: 1.25rem; overflow: hidden; border-radius: 999px; background: #e5ebe5; }
.breakdown__segment { min-width: 0; }
.breakdown__segment--essential, .legend-dot--essential { background: #7b9b87; }
.breakdown__segment--debt, .legend-dot--debt { background: #b18b52; }
.breakdown__segment--remaining, .legend-dot--remaining { background: #31594b; }
.breakdown-legend { display: flex; gap: .8rem 1.5rem; flex-wrap: wrap; padding: 0; list-style: none; font: .85rem sans-serif; color: #607069; }
.breakdown-legend li { display: flex; gap: .4rem; align-items: center; }
.legend-dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; }
.explanation-list { margin: 0; padding-left: 1.2rem; color: #607069; font: 1rem/1.6 sans-serif; }
.current-transition { max-width: 38rem; }
.current-actions { width: min(100%, 38rem); margin: 1.5rem auto 0; }
.current-actions__explanation { margin: 0 0 .8rem; }
.current-actions__buttons { display: flex; gap: .8rem; align-items: stretch; }
.current-actions__buttons > a, .current-actions__buttons > form { flex: 1 1 0; min-width: 0; }
.current-actions__buttons .button { width: 100%; min-width: 0; min-height: 2.75rem; margin: 0; text-align: center; }
.current-actions__buttons form { display: flex; }
.current-actions .button:focus-visible, .confirmed-back:focus-visible { outline: 2px solid #b18b52; outline-offset: 3px; }
.feedback-panel { max-width: 38rem; padding: 1.25rem; border: 1px solid #d8ddd7; border-radius: .8rem; background: #fff; }
.feedback-panel fieldset { margin-top: 1.25rem; }
.feedback-panel legend { color: #31594b; font: 700 1rem sans-serif; }
.feedback-panel .choice { grid-template-columns: 2rem 1fr; }
.feedback-other { margin-top: 1.25rem; }
.feedback-thanks { color: #31594b; font: 1rem/1.5 sans-serif; }
.current-timeline { margin-top: 1rem; }
@media (max-width: 42rem) { .current-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.timeline-card { margin: 2rem 0; }
.timeline-legend { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; font: .8rem sans-serif; }
.timeline-legend i { display: inline-block; width: 1.2rem; height: .2rem; margin-right: .35rem; vertical-align: middle; }
.legend-baseline { background: #9eaca4; }
.legend-scenario { background: #31594b; }
.life-timeline { display: block; width: 100%; min-height: 12rem; overflow: visible; }
.timeline-baseline, .timeline-scenario { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.timeline-baseline { stroke: #9eaca4; }
.timeline-scenario { stroke: #31594b; }
.timeline-zero { stroke: #c7cec9; stroke-width: 1; stroke-dasharray: 4 4; }
.timeline-marker { stroke: #b18b52; stroke-width: 1; stroke-dasharray: 3 3; }
.timeline-year-guides line { stroke: #c7cec9; stroke-width: 1; stroke-dasharray: 2 4; }
.timeline-year-dot { fill: #31594b; stroke: #fff; stroke-width: 1.5; }
.timeline-event-dot { fill: #b18b52; stroke: #fff; stroke-width: 2; }
.timeline-event-legend { margin: .75rem 0 0; color: #24352f; font: .9rem/1.5 sans-serif; overflow-wrap: anywhere; }
.timeline-transparency { color: #607069; font: 1rem/1.6 sans-serif; }
.timeline-transparency h2 { color: #31594b; font: 700 1.1rem/1.3 sans-serif; }
.timeline-transparency p { margin: .55rem 0; }
.life-timeline text { fill: #607069; font: 11px sans-serif; }
.timeline-grid line { stroke: #e5ebe5; stroke-width: 1; }
.timeline-grid text { font-size: 10px; }
.timeline-axis-title { font-size: 11px; font-weight: 700; }
.timeline-label { font-size: 11px; }
.timeline-key-values { margin-top: 1rem; font: .85rem sans-serif; }
.timeline-key-values h3 { margin: 0 0 .5rem; color: #31594b; font-size: .9rem; }
.timeline-key-values dl { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; }
.timeline-key-values dl > div { display: flex; gap: .35rem; }
.timeline-key-values dt { color: #607069; }
.timeline-key-values dd { margin: 0; color: #24352f; font-weight: 700; }
.text-link { display: inline-block; margin: 1.5rem; font: .9rem sans-serif; color: #31594b; }
.baseline-review { max-width: 48rem; margin: auto; }
.review-section { margin-top: 2rem; }
.review-section h2 { margin: 0 0 .7rem; color: #31594b; font: 700 1rem sans-serif; letter-spacing: .04em; }
.review-list { margin: 0; border-top: 1px solid #d8ddd7; }
.review-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #d8ddd7; font-family: sans-serif; }
.review-row dt { color: #607069; }
.review-row dd { margin: 0; color: #24352f; font-weight: 700; overflow-wrap: anywhere; }
.review-row a, .review-skipped a { margin-left: .8rem; color: #31594b; font-weight: 400; }
.review-help { color: #607069; font: .9rem/1.5 sans-serif; }
.review-skipped { padding-left: 1.2rem; color: #607069; font: .9rem/1.6 sans-serif; }
.review-section + .lede { margin-top: 2rem; }
button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 30rem) {
    .site-header, .site-footer { padding-left: 1rem; padding-right: 1rem; }
    .site-header { align-items: flex-start; flex-wrap: wrap; }
    .site-nav { margin-left: auto; }
    .site-nav a { width: 44px; min-width: 44px; min-height: 44px; justify-content: center; }
    .site-nav a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
    .site-nav__icon { width: 1.2rem; height: 1.2rem; }
    .shell { padding: 7vh 1rem; }
    .site-footer { gap: .3rem; }
    .site-footer__links, .site-footer__meta { justify-content: center; text-align: center; }
    .review-row { grid-template-columns: 1fr; gap: .25rem; }
    .review-row dd { display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: baseline; }
    .review-row dd a { display: inline-block; margin: 0; padding: .2rem 0; }
    .form-actions { flex-direction: column; }
    .form-actions .button { width: 100%; min-width: 0; }
    .current-actions__buttons { flex-direction: column; }
    .current-actions__buttons > a, .current-actions__buttons > form { flex-basis: auto; }
    .current-actions__buttons .button { box-sizing: border-box; }
}
