:root {
  --ink: #18333a;
  --body: #587078;
  --muted: #789096;
  --line: #d9e5e1;
  --paper: #f8fbf9;
  --white: #fff;
  --orange: #f58b3c;
  --orange-soft: #fff4e8;
  --green: #489b70;
  --green-soft: #ecf7f4;
  --blue: #55a5d7;
  --blue-soft: #eef8fd;
  --purple: #8b4bc7;
  --purple-soft: #f5effb;
  --yellow: #f4b942;
  --shadow: 0 12px 36px rgba(24, 51, 58, .08);
  --radius: 20px;
  --max: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; }
body:has(dialog[open]) { overflow: hidden; }
a { color: #146b73; text-underline-offset: 3px; }
a:hover { color: #0c4f58; }
button, input, select { font: inherit; }
button, select { color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.16; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.7rem); max-width: 10ch; margin-bottom: 1.1rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: .7rem; }
h3 { font-size: 1.15rem; }
small { color: var(--body); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .7rem 1rem; border-radius: 999px; background: var(--ink); color: white; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248,251,249,.94); border-bottom: 1px solid rgba(217,229,225,.92); backdrop-filter: blur(14px); padding-top: env(safe-area-inset-top); }
.header-inner, .section-shell { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); line-height: 1.1; flex-shrink: 0; }
.brand-mark { display: none; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .95rem; }
.brand small { font-size: .7rem; color: var(--body); margin-top: .2rem; }
.site-nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { padding: .6rem .7rem; border-radius: 10px; color: var(--body); font-size: .78rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a:focus-visible { background: var(--white); color: var(--ink); }
.site-nav a.is-active { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.nav-toggle { display: none; width: 2.75rem; height: 2.5rem; border: 1px solid var(--line); background: var(--white); padding: .55rem .62rem; border-radius: 10px; font-size: 0; }
.nav-toggle span { display: block; width: 1.45rem; height: 2px; margin: .22rem auto; border-radius: 2px; background: var(--ink); }

.hero { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; min-height: min(730px, calc(100svh - 75px)); padding-block: 5.5rem 5rem; }
.page-hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) 2.6rem; }
.page-hero h1 { max-width: 13ch; margin-bottom: .8rem; }
.page-hero .lede { max-width: 64ch; }
.page-content { padding-block: 1rem 5.5rem; }
.section-short { padding-block: 4.5rem; }
.hero-copy { padding-block: 1rem; }
.eyebrow { color: var(--body); text-transform: uppercase; font-size: .71rem; font-weight: 800; letter-spacing: .13em; margin-bottom: 1rem; }
.accent-orange { color: #ba5f20; }.accent-green { color: #2f805a; }.accent-blue { color: #2679a3; }.accent-purple { color: #7940ae; }
.lede { max-width: 50ch; color: var(--body); font-size: 1.08rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.hero-notes span { padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--body); font-size: .8rem; background: rgba(255,255,255,.65); }
.hero-notes b { color: var(--ink); font-size: 1rem; margin-right: .15rem; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.planner-card { position: relative; padding: clamp(1.2rem, 4vw, 2rem); overflow: hidden; }
.planner-card::before { content: ""; height: 8px; position: absolute; inset: 0 0 auto; background: var(--orange); }
.card-heading { display: flex; align-items: start; justify-content: space-between; margin-bottom: 1.35rem; padding-top: .35rem; }
.card-heading h2 { font-size: 1.55rem; margin: .25rem 0 0; }
.step-label, .result-kicker { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.status-dot { width: .72rem; height: .72rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px var(--green-soft); margin: .35rem .35rem 0 0; }
.planner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
label { display: block; font-size: .75rem; color: var(--body); font-weight: 750; }
.required { display: inline-block; margin-left: .3rem; color: var(--muted); font-size: .62rem; font-weight: 500; }
select, input { width: 100%; margin-top: .38rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); min-height: 44px; padding: .62rem .7rem; color: var(--ink); }
select:focus, input:focus, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(85,165,215,.45); outline-offset: 2px; }
.target-result { margin-top: 1.25rem; padding: 1.2rem; border-radius: 15px; background: var(--green-soft); border: 1px solid #c7e2db; }
.target-result-top { display: flex; justify-content: space-between; align-items: center; }
.prestige-badge { width: 2rem; height: 2rem; display: inline-grid; place-items: center; border-radius: 50%; color: white; font-weight: 850; font-size: .9rem; flex-shrink: 0; }
.badge-a, .prestige-badge:empty { background: var(--yellow); }.badge-b { background: #e67e45; }.badge-c { background: #4fa6c4; }.badge-d { background: #829098; }.badge-s { background: var(--purple); }
#target-name { font-size: clamp(1.55rem, 3vw, 2rem); margin: .45rem 0 .15rem; }
.target-meta { color: var(--body); margin-bottom: 1.05rem; }
.target-details { display: grid; gap: .75rem; margin: 0; }
.target-details div { padding-top: .7rem; border-top: 1px solid #c7e2db; }
.target-details dt { color: #2f805a; text-transform: uppercase; letter-spacing: .08em; font-size: .64rem; font-weight: 850; }
.target-details dd { margin: .18rem 0 0; font-size: .89rem; }
.target-note { margin: 1rem 0 .8rem; font-size: .84rem; color: var(--body); }
.text-button { border: 0; background: none; color: #146b73; font-size: .82rem; font-weight: 800; padding: .25rem 0; }
.text-button:hover { text-decoration: underline; }

.section { padding-block: 6.2rem; scroll-margin-top: 74px; }
.quick-rules { padding-bottom: 5.5rem; }
.section-heading { max-width: 700px; margin-bottom: 2rem; }
.section-heading p:last-child { color: var(--body); }
.section-heading.compact { max-width: 770px; }
.section-heading.compact h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.diagram-card { margin: 1.5rem 0 0; padding: .75rem; border: 1px solid var(--line); background: var(--white); border-radius: 18px; box-shadow: 0 7px 25px rgba(24, 51, 58, .05); }
.diagram-card img { width: 100%; border-radius: 11px; background: var(--paper); }
.diagram-card figcaption { padding: .85rem .3rem .25rem; color: var(--body); font-size: .79rem; }
.diagram-card figcaption strong { color: var(--ink); }
.diagram-card details { display: inline; margin-left: .4rem; }.diagram-card summary { display: inline; color: #146b73; cursor: pointer; font-weight: 700; }.diagram-card details p { margin: .7rem 0 .2rem; padding: .75rem; background: var(--green-soft); border-radius: 10px; }

.browse-tools { display: grid; grid-template-columns: 1fr 220px; gap: 1rem; padding: 1rem; margin-bottom: 1.5rem; }
.search-field { position: relative; display: flex; align-items: center; gap: .4rem; padding-left: .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--muted); }
.search-field input { border: 0; background: transparent; margin: 0; padding-left: .2rem; }.search-field input:focus { outline: 0; }
.adult-results { min-height: 40px; }
.adult-results:empty { display: none; }
.adult-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.adult-card { position: relative; min-height: 168px; padding: 1rem 3.6rem 1rem 5.8rem; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 5px 18px rgba(24, 51, 58, .04); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.adult-card:hover { transform: translateY(-2px); border-color: #a8c7c0; box-shadow: 0 10px 26px rgba(24, 51, 58, .09); }
.tama-portrait { position: absolute; top: .95rem; left: .85rem; width: 4.2rem; height: 4.2rem; border: 1px solid var(--line); border-radius: 17px; background-color: var(--paper); overflow: hidden; box-shadow: inset 0 0 0 4px rgba(255,255,255,.55); }
.tama-portrait::before { content: ""; position: absolute; inset: 6%; border-radius: inherit; background-repeat: no-repeat; background-size: 400% 400%; background-position: calc(var(--sprite-col) * 100% / 3) calc(var(--sprite-row) * 100% / 3); }
.tama-portrait--tropical { background-color: var(--orange-soft); border-color: #f4d7ba; }
.tama-portrait--forest { background-color: var(--green-soft); border-color: #c7e2db; }
.tama-portrait--ice { background-color: var(--blue-soft); border-color: #cce7f4; }
.adult-card[data-portrait-ready="true"] .tama-portrait--tropical::before { background-image: url("assets/tama-tropical-sprite-v3.webp"); }
.adult-card[data-portrait-ready="true"] .tama-portrait--forest::before { background-image: url("assets/tama-forest-sprite-v3.webp"); }
.adult-card[data-portrait-ready="true"] .tama-portrait--ice::before { background-image: url("assets/tama-ice-sprite-v3.webp"); }
.adult-card__name { font-size: 1rem; line-height: 1.2; padding-right: 2.8rem; }
.adult-card__route { max-width: 100%; color: #2f805a; font-size: .72rem; font-weight: 800; margin-top: .42rem; overflow-wrap: anywhere; }
.adult-card__identity { max-width: 100%; color: var(--body); font-size: .78rem; line-height: 1.42; margin-top: .7rem; overflow-wrap: anywhere; }
.adult-card__prestige { position: absolute; top: .8rem; right: .8rem; width: 1.85rem; height: 1.85rem; display: grid; place-items: center; padding: 0; border: 2px solid var(--white); border-radius: 50%; color: var(--white); font-size: .72rem; font-weight: 850; box-shadow: 0 1px 4px rgba(24,51,58,.12); }
.adult-card--special { padding-left: 1rem; border-color: #ddc7ef; background: linear-gradient(145deg, var(--white), var(--purple-soft)); }
.adult-card--special .adult-card__route { color: #7940ae; }
.no-results { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; box-shadow: none; border-style: dashed; }.no-results[hidden] { display: none; }.no-results h3 { margin-bottom: .3rem; }.no-results p { color: var(--body); margin-bottom: .7rem; }.no-results-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--orange-soft); color: #ba5f20; font-weight: 850; }
.button { border: 1px solid var(--ink); border-radius: 999px; min-height: 40px; padding: .45rem .85rem; font-weight: 750; background: var(--ink); color: white; }.button.secondary { background: white; color: var(--ink); }
.roster-explainers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }.roster-explainers .diagram-card { margin: 0; }.roster-explainers .diagram-card figcaption { min-height: 125px; }.roster-explainers .tropical { border-top: 5px solid var(--orange); }.roster-explainers .forest { border-top: 5px solid var(--green); }.roster-explainers .ice { border-top: 5px solid var(--blue); }

.tinted-purple { background: linear-gradient(110deg, rgba(245,239,251,.65), rgba(248,251,249,0) 72%); }.tinted-orange { background: linear-gradient(110deg, rgba(255,244,232,.7), rgba(248,251,249,0) 72%); }
.route-grid, .life-grid, .support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }.route-card { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.35rem; border-top: 5px solid var(--purple); box-shadow: none; }.route-number { color: var(--purple); font-size: .8rem; font-weight: 900; letter-spacing: .06em; }.route-card h3 { margin-bottom: .25rem; }.route-summary { color: var(--body); }.route-card ol { color: var(--body); padding-left: 1.2rem; margin-bottom: .8rem; }.route-card li + li { margin-top: .45rem; }
.life-grid { grid-template-columns: repeat(3, 1fr); }.info-card, .support-card { padding: 1.35rem; box-shadow: none; }.info-card p, .support-card p { color: var(--body); font-size: .9rem; }.info-card h3, .support-card h3 { margin: .65rem 0 .55rem; }.card-tag { display: inline-block; padding: .25rem .5rem; border-radius: 999px; font-size: .65rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }.tag-blue { color: #2679a3; background: var(--blue-soft); }.tag-green { color: #2f805a; background: var(--green-soft); }.tag-purple { color: #7940ae; background: var(--purple-soft); }.caveat { padding: .75rem; border-radius: 10px; background: var(--orange-soft); color: #805625 !important; font-size: .8rem !important; }
.single-diagram { margin-top: 2rem; }.support-grid { grid-template-columns: repeat(3, 1fr); }.support-icon { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 10px; background: var(--orange-soft); color: #ba5f20; font-weight: 900; }.support-card:nth-child(2) .support-icon { background: var(--green-soft); color: #2f805a; }.support-card:nth-child(3) .support-icon { background: var(--blue-soft); color: #2679a3; }
.care-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }.care-tier { display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; padding: 1rem; box-shadow: none; }.care-tier h3 { margin: .12rem 0 .3rem; }.care-tier p { color: var(--body); font-size: .82rem; margin-bottom: .45rem; }.care-tier small { font-size: .72rem; }.care-tier .prestige-badge { width: 2rem; height: 2rem; }.callout { padding: 1.2rem 1.35rem; border-radius: 16px; margin-top: 1.2rem; }.callout h3 { margin-bottom: .35rem; }.callout p { color: var(--body); margin-bottom: 0; font-size: .88rem; }.callout-purple { background: var(--purple-soft); border: 1px solid #e0cbf0; }.callout-blue { background: var(--blue-soft); border: 1px solid #cce7f4; }.caveat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }.sources { margin-top: 1.5rem; padding: 1.4rem; box-shadow: none; }.sources h3 { margin-bottom: 1rem; }.source-columns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; }.sources h4 { margin-bottom: .45rem; font-size: .82rem; color: var(--body); text-transform: uppercase; letter-spacing: .08em; }.sources ul { margin: 0; padding-left: 1.1rem; color: var(--body); font-size: .82rem; }.sources li + li { margin-top: .35rem; }.source-note { border-top: 1px solid var(--line); padding-top: .9rem; color: var(--muted); font-size: .78rem; margin: 1rem 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom)); }.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .82rem; }.footer-inner small { font-size: .7rem; }.footer-inner a { font-weight: 750; text-decoration: none; }.footer-inner .site-address { color: var(--muted); font-weight: 600; opacity: .72; }.footer-inner .site-address:hover { color: #146b73; opacity: 1; }.noscript-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; padding: 1rem; background: var(--orange-soft); border-top: 1px solid #f0d0ad; color: #805625; }

.finder { display: grid; gap: 1rem; padding-bottom: 1rem; }
.finder-step { padding: clamp(1rem, 3vw, 1.7rem); box-shadow: 0 7px 25px rgba(24, 51, 58, .05); }
.finder-step__heading { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.finder-step__heading h2 { font-size: clamp(1.25rem, 3vw, 1.8rem); margin: .15rem 0 0; }
.finder-step__heading .step-label { margin: 0; }
.step-number { width: 2.4rem; height: 2.4rem; flex: 0 0 2.4rem; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-weight: 850; }
.finder-note { padding: .75rem .9rem; margin: 0 0 1rem; border-radius: 12px; color: var(--body); background: var(--green-soft); font-size: .88rem; }
.stage-options { display: grid; gap: .75rem; }
.stage-options--fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage-options--youngs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stage-choice { position: relative; min-width: 0; display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); align-items: center; gap: .8rem; padding: .75rem; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--ink); text-align: left; box-shadow: 0 5px 18px rgba(24, 51, 58, .04); transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.stage-choice:hover { transform: translateY(-2px); border-color: #9dbfb7; }
.stage-choice[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 2px rgba(72,155,112,.14); }
.stage-choice[aria-pressed="true"]::after { content: ""; position: absolute; top: .55rem; right: .55rem; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/72% no-repeat; box-shadow: 0 2px 8px rgba(47,128,90,.2); }
.stage-choice > span:last-child { min-width: 0; display: flex; flex-direction: column; padding-right: .25rem; }
.stage-choice[aria-pressed="true"] > span:last-child { padding-right: 1.7rem; }
.stage-choice strong { font-size: .96rem; line-height: 1.2; }
.stage-choice small { margin-top: .26rem; font-size: .75rem; line-height: 1.35; }
.stage-choice__food { margin-top: .42rem; color: #2f805a; font-size: .75rem; line-height: 1.35; font-weight: 750; }
.stage-sprite { --stage-col: 0; --stage-row: 0; width: 4.75rem; height: 4.75rem; display: block; flex: 0 0 4.75rem; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background-color: var(--paper); background-image: url("assets/tama-stages-v4.webp"); background-repeat: no-repeat; background-size: 500% 300%; background-position: calc(var(--stage-col) * 100% / 4) calc(var(--stage-row) * 100% / 2); box-shadow: inset 0 0 0 4px rgba(255,255,255,.68); }
.stage-choice--tropical .stage-sprite { background-color: var(--orange-soft); border-color: #f4d7ba; }
.stage-choice--forest .stage-sprite { background-color: var(--green-soft); border-color: #c7e2db; }
.stage-choice--ice .stage-sprite { background-color: var(--blue-soft); border-color: #cce7f4; }
.stage-results[hidden] { display: none; }
.art-note { margin: .2rem .5rem 0; color: var(--muted); font-size: .75rem; }
.page-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.page-link { min-height: 130px; padding: 1.15rem; display: flex; flex-direction: column; text-decoration: none; box-shadow: none; }
.page-link strong { color: var(--ink); }
.page-link span { margin-top: .5rem; color: var(--body); font-size: .84rem; }
.page-link:hover { border-color: #9dbfb7; transform: translateY(-2px); }

dialog { width: min(680px, calc(100vw - 2rem)); max-height: min(760px, calc(100dvh - 2rem)); margin: auto; border: 0; padding: 0; border-radius: 20px; color: var(--ink); background: var(--white); box-shadow: 0 24px 80px rgba(14, 38, 44, .28); overflow: hidden; }
dialog::backdrop { background: rgba(24, 51, 58, .52); backdrop-filter: blur(3px); }.dialog-panel { display: flex; flex-direction: column; max-height: min(760px, calc(100dvh - 2rem)); }.dialog-header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--white); border-bottom: 1px solid var(--line); }.dialog-header h2 { font-size: 1.2rem; margin: 0; padding-right: .5rem; }.dialog-close { width: 2.5rem; height: 2.5rem; flex: 0 0 2.5rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 1.5rem; line-height: 1; }.dialog-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem 1.2rem max(1.25rem, env(safe-area-inset-bottom)); }.dialog-content p { color: var(--body); }.dialog-content .caveat { color: #805625; }

@media (max-width: 950px) { .header-inner, .section-shell { width: min(var(--max), calc(100% - 2rem)); }.site-nav a { padding-inline: .5rem; }.hero { gap: 2.5rem; }.adult-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }.roster-explainers { grid-template-columns: 1fr; }.roster-explainers .diagram-card { display: grid; grid-template-columns: minmax(0, 1fr) 1fr; gap: 1rem; align-items: center; }.roster-explainers .diagram-card figcaption { min-height: 0; padding-right: .5rem; }.roster-explainers .diagram-card figcaption details { display: block; margin: .5rem 0 0; } }
@media (max-width: 720px) {
  body { font-size: 16px; }.header-inner { min-height: 66px; }.nav-toggle { display: block; margin-left: auto; }.site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: calc(66px + env(safe-area-inset-top)); flex-direction: column; align-items: stretch; padding: .45rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }.site-nav[data-open="true"] { display: flex; }.site-nav a { padding: .7rem .8rem; }.hero { display: flex; flex-direction: column; min-height: auto; padding-block: 1.2rem 3rem; }.page-hero { padding-block: 2.6rem 1.6rem; }.page-hero h1 { font-size: clamp(2.15rem, 12vw, 3rem); }.page-content { padding-block: .6rem 4rem; }.planner-card { order: 1; width: 100%; }.hero-copy { order: 2; margin: 2.5rem 0 0; }.hero-copy h1 { font-size: clamp(2.15rem, 12vw, 3rem); }.hero-notes { margin-top: 1.3rem; }.planner-grid { grid-template-columns: 1fr; }.section { padding-block: 4.2rem; }.browse-tools, .source-columns { grid-template-columns: 1fr; }.adult-results { grid-template-columns: 1fr; }.adult-card { min-height: 148px; padding-left: 5.5rem; }.adult-card--special { padding-left: 1rem; }.tama-portrait { width: 4rem; height: 4rem; }.roster-explainers .diagram-card { display: block; }.route-grid, .life-grid, .support-grid, .care-columns, .caveat-grid { grid-template-columns: 1fr; }.route-card { grid-template-columns: 2.5rem 1fr; }.diagram-card { margin-top: 1rem; }.single-diagram img { width: 100%; max-width: 100%; margin-left: 0; }.stage-options--fields, .stage-options--youngs, .page-links { grid-template-columns: 1fr 1fr; }.stage-results { grid-template-columns: 1fr; }.footer-inner { align-items: flex-start; flex-direction: column; }.footer-inner > a { padding-bottom: .4rem; }.dialog-header { padding-top: max(1rem, env(safe-area-inset-top)); }.dialog-panel { max-height: calc(100dvh - 1rem); } dialog { max-height: calc(100dvh - 1rem); width: calc(100vw - 1rem); border-radius: 16px; } }
@media (max-width: 520px) { .stage-options--fields, .stage-options--youngs { grid-template-columns: 1fr; }.stage-choice { min-height: 6.25rem; }.page-links { grid-template-columns: 1fr; }.page-link { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
