@font-face { font-family: Ubuntu; src: url('/assets/fonts/ubuntu-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Ubuntu; src: url('/assets/fonts/ubuntu-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Ubuntu; src: url('/assets/fonts/ubuntu-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }
.map-page { margin: 0; line-height: 1.6; }
.map-page *, .map-page *::before, .map-page *::after { box-sizing: border-box; }
.map-page a { color: inherit; }
.map-page button, .map-page input { font: inherit; }
.map-page button { cursor: pointer; }
.map-page button:disabled { cursor: not-allowed; opacity: .5; }
.map-page .skip { position: fixed; top: -100px; left: 16px; padding: 12px; background: white; }
.map-page .skip:focus { top: 12px; }
.map-layout { max-width: 1240px; margin: auto; padding: 56px 48px 80px; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.35fr); gap: 72px; align-items: start; }
.map-back { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; text-decoration: none; }
.map-intro h1 { font: 400 clamp(38px,4.2vw,56px)/1.05 Georgia,serif; letter-spacing: -.045em; margin: 28px 0; }
.map-intro > p { color: var(--color-muted); max-width: 34ch; font-size: 15px; }
.map-intro .map-lead { font-size: 20px; color: var(--color-ink); line-height: 1.4; }
.map-author { display: flex; gap: 14px; align-items: center; margin: 30px 0; }
.map-author img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 51% 18%; }
.map-author strong, .map-author small { display: block; }
.map-author small { font-size: 12px; color: var(--color-muted); }
.map-steps { padding-left: 24px; color: var(--color-muted); font-size: 13px; line-height: 2.3; }
.map-intro .map-privacy { border-top: 1px solid var(--color-line); padding-top: 20px; font-size: 12px; margin-top: 28px; }
.map-workspace { min-width: 0; }
.map-workspace > section { background: #fff; border: 1px solid var(--color-line); border-radius: 18px; padding: clamp(22px,3vw,40px); scroll-margin-top: 24px; }
.map-meta { font-size: 13px; color: #865b3e; margin: 0 0 18px; }
.map-workspace h2 { font: 500 clamp(26px,2.6vw,34px)/1.16 Ubuntu,sans-serif; margin: 0 0 18px; letter-spacing: -.035em; scroll-margin-top: 120px; }
.map-workspace h2:focus { outline: none; }
.map-workspace h2 + p, .map-goal { color: var(--color-muted); font-size: 15px; }
.map-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.map-path { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 20px; color: var(--color-ink); background: #f7f8f5; border: 1px solid var(--color-line); border-radius: 12px; gap: 10px; }
.map-path:hover { border-color: var(--color-accent); background: #edf3f0; }
.map-symbol { font-size: 29px; line-height: 1; color: #865b3e; margin-bottom: 8px; }
.map-path strong { font-size: 18px; line-height: 1.2; }
.map-path > span:not(.map-symbol) { font-size: 13px; line-height: 1.5; color: var(--color-muted); }
.map-path .map-path-action { margin-top: auto; padding-top: 12px; font-size: 11px; color: var(--color-accent); }
.map-footnote { font-size: 12px; color: var(--color-muted); margin: 22px 0 0; }
.map-progress-head { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--color-muted); }
.map-progress-head span:last-child { flex-shrink: 0; }
.map-page progress { display: block; width: 100%; height: 5px; border: 0; border-radius: 8px; margin: 14px 0 32px; background: #e5ece8; accent-color: #184e5e; }
.map-page progress::-webkit-progress-bar { background: #e5ece8; border-radius: 8px; }
.map-page progress::-webkit-progress-value { background: #184e5e; border-radius: 8px; }
.map-options { padding: 0; border: 0; margin: 26px 0; display: grid; gap: 10px; min-width: 0; }
.map-option { display: flex; gap: 12px; align-items: center; border: 1px solid var(--color-line); border-radius: 8px; padding: 15px; min-height: 56px; cursor: pointer; font-size: 15px; }
.map-option:has(input:checked) { border-color: #184e5e; background: #edf3f0; box-shadow: inset 3px 0 #184e5e; }
.map-option input { width: 18px; height: 18px; flex-shrink: 0; accent-color: #184e5e; }
.map-controls, .map-save { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; }
.map-primary, .map-secondary { display: inline-flex; justify-content: center; align-items: center; border-radius: 8px; padding: 12px 20px; min-height: 48px; font-size: 14px; text-decoration: none; }
.map-page .map-primary { background: #184e5e; color: white; border: 1px solid #184e5e; }
.map-secondary { color: #184e5e; border: 1px solid #c7d3d1; background: white; }
.map-primary:hover:not(:disabled) { background: #103d4b; }
.map-secondary:hover { background: #edf3f0; }
.map-actions { padding-left: 24px; margin-top: 32px; }
.map-actions li { padding: 0 0 26px 8px; }
.map-actions li::marker { color: #865b3e; font-weight: 500; }
.map-actions h3, .map-next-step h3 { font-size: 19px; line-height: 1.3; margin: 0; }
.map-actions p, .map-next-step p, .map-answers p { color: var(--color-muted); font-size: 14px; }
.map-actions li > div { border-left: 2px solid #a77750; padding-left: 16px; margin-top: 16px; }
.map-actions li > div span { font-size: 12px; color: #865b3e; }
.map-actions li > div p { margin: 6px 0 0; color: var(--color-ink); }
.map-notice, .map-next-step { background: #edf3f0; padding: 22px; border-radius: 10px; font-size: 14px; }
.map-next-step { margin-top: 28px; }
.map-answers { border-block: 1px solid var(--color-line); padding: 14px 0; margin-top: 28px; }
.map-answers summary { cursor: pointer; padding-block: 10px; font-size: 14px; }
.map-status { font-size: 14px; color: var(--color-accent); }
.map-capture { margin: 28px 0; padding: 24px; background: #edf3f0; border: 1px solid #c7d3d1; border-radius: 12px; }
.map-capture h3 { font-size: 22px; line-height: 1.2; margin: 0 0 12px; }
.map-capture p { font-size: 14px; }
.map-capture .map-meta { font-size: 12px; margin-bottom: 12px; }
.map-capture-goal { padding-bottom: 16px; border-bottom: 1px solid #c7d3d1; }
.map-capture fieldset { margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.map-capture label:not(.map-consent) { display: grid; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 500; }
.map-capture input:not([type='checkbox']) { width: 100%; padding: 12px; min-height: 48px; border: 1px solid #7c8d8d; border-radius: 6px; color: #203b42; background: white; font: 400 16px/1.4 Ubuntu,sans-serif; }
.map-capture .map-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-size: 13px; cursor: pointer; }
.map-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; accent-color: #184e5e; }
.map-capture .map-footnote { font-size: 12px; margin-top: 10px; }
.map-capture button { width: 100%; margin-top: 20px; text-align: center; }
.map-capture-error { color: #972c22; }
.map-capture-success { padding-top: 20px; }
.map-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .map-capture { padding: 18px 14px; } }
.map-sr, .map-page .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 960px) { .map-layout { padding: 32px 24px 56px; gap: 32px; grid-template-columns: minmax(0,1fr); max-width: 740px; } .map-intro h1 br { display: none; } .map-intro h1 { margin: 16px 0; } .map-intro > p { max-width: 56ch; } .map-steps, .map-intro .map-privacy { display: none; } .map-author { margin-bottom: 0; } }
@media (max-width: 520px) { .map-layout { padding: 20px 16px 40px; gap: 26px; } .map-intro h1 { font-size: 40px; } .map-intro .map-lead { font-size: 18px; } .map-paths { grid-template-columns: 1fr; } .map-path { display: grid; grid-template-columns: 32px 1fr; gap: 7px 14px; padding: 18px; } .map-symbol { grid-row: 1 / 4; margin: 0; } .map-path > span:not(.map-symbol) { grid-column: 2; } .map-path .map-path-action { padding-top: 4px; } .map-workspace > section { padding: 22px 18px; } .map-workspace h2 { scroll-margin-top: 24px; } .map-controls > *, .map-save > * { flex: 1 1 120px; padding-inline: 12px; } }

/* Contextual routes share the map typography and remain secondary to the result. */
.map-route-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.map-route-links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.map-other-paths { margin-top: 24px; font-size: 14px; line-height: 1.6; }
.map-other-paths a { text-underline-offset: 4px; }
