/* The visitor figures, the wealth path, the map and the mentors. Loaded only by those pages. */

/* ---------------------------------------------------------------- visitors */
.visitors h2 { margin-top: 40px; }
.v-live { margin-top: 24px; padding: 22px 24px; border-radius: var(--r-l, 24px); background: #06231f; color: #fff; }
.visitors .v-live h2 { margin: 0; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 26px; }
.v-live p { margin: 6px 0 0; color: #cfe0d9; }
.v-live ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 10px 0 0; padding: 0; list-style: none; color: #cfe0d9; }
.v-live li strong { color: #fff; }
.v-dot { width: 12px; height: 12px; border-radius: 50%; background: #5d7a72; flex: none; }
.v-dot.v-on { background: #f3c551; box-shadow: 0 0 0 0 rgba(243,197,81,.55); animation: v-pulse 1.8s ease-out infinite; }
@keyframes v-pulse { 70% { box-shadow: 0 0 0 11px rgba(243,197,81,0); } 100% { box-shadow: 0 0 0 0 rgba(243,197,81,0); } }
.v-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.v-tiles .tile p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2, #4a5d57); }
.v-chart { margin: 24px 0 0; padding: 20px 20px 14px; border-radius: var(--r-l, 24px); background: #fff; }
.v-chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.v-chart figcaption span, .v-ends { font-size: 13px; color: var(--ink-2, #4a5d57); }
.v-bars { display: block; width: 100%; height: 190px; }
.v-bars.v-low { height: 110px; }
.v-bars rect { fill: #0f5043; transform-box: fill-box; transform-origin: bottom; animation: v-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.v-bars rect:hover { fill: #b98a00; }
.v-base { stroke: #d5ddd9; stroke-width: 1; }
@keyframes v-rise { from { transform: scaleY(0); } }
.v-ends { display: flex; justify-content: space-between; margin-top: 8px; }
.v-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.v-two > section { min-width: 0; }
@media (max-width: 860px) { .v-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) { .v-tiles { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .v-bars rect, .v-dot.v-on { animation: none; } }

/* ---------------------------------------------------------------- the map */
.mapwrap .seg { display: inline-flex; gap: 4px; margin: 6px 0 20px; padding: 4px; border-radius: 999px; background: #e6ece9; }
.mapwrap .seg a { padding: 10px 20px; border-radius: 999px; color: var(--ink, #0d211c); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .25s, color .25s; }
.mapwrap .seg a[aria-current] { background: #0b3d33; color: #fff; }
.map { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-areas: "layers layers" "find find" "stage card" "key card"; gap: 12px 20px; align-items: start; }
.map-find { grid-area: find; max-width: 520px; }
.map-find .input { width: 100%; }
.map-stage { grid-area: stage; position: relative; }
.map-canvas { position: relative; height: min(72vh, 680px); min-height: 380px; border-radius: 28px; background: var(--mist); overflow: hidden; }
.map-wait { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 20px; text-align: center; }
.map-canvas svg { display: block; width: 100%; height: 100%; touch-action: pan-y; animation: map-in .8s ease both; }
.map-canvas.is-zoomed svg { touch-action: none; cursor: grab; }
@keyframes map-in { from { opacity: 0; transform: scale(.97); } }
.map-canvas path { stroke: #fff; stroke-width: .6; vector-effect: non-scaling-stroke; cursor: pointer; transition: opacity .2s; }
.map-canvas path:hover { opacity: .78; }
.map-canvas path.q0 { fill: #e4e7e6; }
.q1 { fill: #dcefe6; background: #dcefe6; } .q2 { fill: #a9d6c4; background: #a9d6c4; } .q3 { fill: #6fb39c; background: #6fb39c; }
.q4 { fill: #2f7d68; background: #2f7d68; } .q5 { fill: #0b3d33; background: #0b3d33; }
.map-canvas path.is-chosen { stroke: #f3b61f; stroke-width: 3.5; }
.map-canvas path.map-borders { fill: none; stroke: #fff; stroke-width: 1.4; pointer-events: none; }
.map-tools { position: absolute; right: 12px; top: 12px; display: grid; gap: 8px; }
.map-tools[hidden] { display: none; }
.map-tools button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #d5ddd9; border-radius: 50%; background: rgba(255,255,255,.94); color: #0b3d33; font-family: var(--font); font-size: 24px; font-weight: 500; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px -10px rgba(6,35,31,.5); }
.map-tip { position: absolute; z-index: 2; pointer-events: none; padding: 6px 12px; border-radius: 10px; background: #06231f; color: #fff; font-size: 14px; white-space: nowrap; }
.map-tip[hidden] { display: none; }
.map-key { grid-area: key; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 13px; color: var(--ink-2, #4a5d57); }
.map-key i { width: 28px; height: 12px; border-radius: 3px; }
.map-key span { padding: 0 8px; }
.map-card { grid-area: card; padding: 24px; border-radius: 28px; background: var(--mist); min-height: 220px; }
.map-card h2 { margin: 0 0 6px; }
.map-in { margin: -4px 0 8px; color: var(--ink-2, #4a5d57); }
.map-rank { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 10px 0; }
.map-rank strong { font-size: 48px; line-height: 1; letter-spacing: -.03em; color: #0b3d33; }
.map-rank span { color: var(--ink-2, #4a5d57); font-size: 14px; }
.map-sub { font-size: 15px; margin: 20px 0 10px; }
.map-parts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.map-parts .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #2f7d68; transition: width .7s cubic-bezier(.2,.7,.2,1); }
.map-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 32px; }
.map-list { margin: 0; padding: 0; list-style: none; }
.map-list button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 14px; border: 0; border-bottom: 1px solid #dde4e1; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.map-list button:hover { background: var(--mist); }
.mapwrap > h2 { margin-top: 48px; margin-bottom: 12px; }
.map-list small { display: block; color: var(--ink-2, #4a5d57); }
.empty-map { margin-top: 12px; padding: 32px 24px; border-radius: 28px; background: var(--mist); }
@media (max-width: 860px) {
  .map { grid-template-columns: minmax(0, 1fr); grid-template-areas: "layers" "find" "stage" "key" "card"; }
  .map-canvas { height: 62vh; min-height: 340px; }
  .map-tables { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .map-canvas svg { animation: none; } .map-parts .bar i { transition: none; } }

/* ---------------------------------------------------------------- my path: the stage */
.path-hero { background: radial-gradient(120% 80% at 80% 0%, var(--pine-700) 0%, var(--pine-900) 64%); color: #fff; padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.path-hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.path-focus { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; font-size: 14.5px; margin-bottom: 22px; max-width: 100%; }
.path-focus svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }
.path-change { margin-left: 4px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 600; font-size: 13px; }
.path-focus:hover .path-change { background: rgba(255,255,255,.2); }
.path-kicker { color: var(--on-dark-2); font-size: 16px; margin: 0 0 6px; }
.path-stage { font-size: clamp(46px, 8vw, 88px); letter-spacing: -.055em; line-height: .98; margin: 0 0 16px; background: linear-gradient(180deg, #fff 30%, #f6dc93 140%); -webkit-background-clip: text; background-clip: text; color: transparent; animation: stage-in 1.1s var(--ease) both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(18px); letter-spacing: -.02em; } }
.path-line { font-size: clamp(18px, 2vw, 21px); color: var(--on-dark-2); max-width: 30em; }
.path-next { margin-top: 26px; max-width: 460px; font-size: 15px; color: var(--on-dark-2); }
.path-next .bar { margin-top: 10px; height: 8px; }
.path-goal { margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--gold); max-width: 30em; font-size: 17px; }
.path-goal span { display: block; color: var(--on-dark-3); font-size: 13px; margin-bottom: 2px; }
.ladder { list-style: none; margin: 0; padding: 0; position: relative; }
.ladder::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: rgba(255,255,255,.12); }
.ladder li { position: relative; display: grid; grid-template-columns: 24px 1fr; column-gap: 16px; padding: 9px 0; color: var(--on-dark-3); opacity: 0; animation: rung .6s var(--ease) forwards; }
.ladder li:nth-child(1) { animation-delay: .5s; } .ladder li:nth-child(2) { animation-delay: .42s; } .ladder li:nth-child(3) { animation-delay: .34s; }
.ladder li:nth-child(4) { animation-delay: .26s; } .ladder li:nth-child(5) { animation-delay: .18s; } .ladder li:nth-child(6) { animation-delay: .1s; }
@keyframes rung { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.ladder strong { font-size: 16px; font-weight: 600; color: inherit; }
.ladder li > span:not(.ladder-dot):not(.vh) { grid-column: 2; font-size: 13.5px; }
.ladder-dot { grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); background: var(--pine-900); align-self: center; position: relative; z-index: 1; }
.ladder li.is-passed { color: var(--on-dark-2); }
.ladder li.is-passed .ladder-dot { background: #2f7d68; border-color: #2f7d68; }
.ladder li.is-here { color: #fff; }
.ladder li.is-here strong { font-size: 19px; }
.ladder li.is-here .ladder-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(243,197,81,.18), 0 0 26px 6px rgba(243,197,81,.45); animation: glow 2.8s ease-in-out 1.2s infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 9px rgba(243,197,81,.1), 0 0 34px 10px rgba(243,197,81,.3); } }
.pathpage .app { padding-top: 0; }
.pathpage .app .cards { margin-top: -28px; position: relative; }

/* ---------------------------------------------------------------- my path: the rings */
.donut { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; align-items: center; margin: 18px 0 0; }
.donut[hidden] { display: none; }
.donut-ring { position: relative; aspect-ratio: 1; }
.donut-ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.donut-track { fill: none; stroke: var(--mist); stroke-width: 13; }
.donut-arc { fill: none; stroke-width: 13; transition: stroke-width .3s var(--ease), opacity .3s; }
.donut.is-focus .donut-arc { opacity: .32; }
.donut.is-focus .donut-arc.is-lit { opacity: 1; stroke-width: 16; }
.donut-sweep { stroke-dasharray: 264 264; stroke-dashoffset: 0; }
.js .donut .donut-sweep { stroke-dashoffset: 264; }
.js .donut.is-drawn .donut-sweep { animation: sweep 1.4s var(--ease) forwards; }
@keyframes sweep { to { stroke-dashoffset: 0; } }
.donut-mid { position: absolute; inset: 16%; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; container-type: inline-size; }
.donut-mid span { font-size: 13px; color: var(--ink-2); }
.donut-mid strong { font: 700 min(30px, 17cqw)/1.1 var(--display); letter-spacing: -.04em; }
.donut-mid strong.is-long { font-size: min(26px, 14cqw); } .donut-mid strong.is-vlong, .donut-mid strong.is-huge { font-size: min(22px, 11cqw); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.legend li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; cursor: default; transition: background .2s; }
.legend li.is-lit, .legend li:focus-visible { background: var(--mist); }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.legend-name { font-weight: 600; font-size: 15.5px; }
.legend-pct { font-variant-numeric: tabular-nums; font-weight: 600; }
.legend-val { grid-column: 2 / 4; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.s1 { stroke: #0b3d33; background: #0b3d33; } .s2 { stroke: #2f8f72; background: #2f8f72; } .s3 { stroke: #e0b443; background: #e0b443; }
.s4 { stroke: #7cc1a8; background: #7cc1a8; } .s5 { stroke: #b07a2a; background: #b07a2a; } .s6 { stroke: #9aa7a2; background: #9aa7a2; }
.s7 { stroke: #c9d8d2; background: #c9d8d2; }
.path-mix .segmented { margin-top: 2px; }
.path-owed { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--hair); }
.locked { width: 150px; margin: 6px 0 14px; filter: blur(3px); opacity: .55; }
.locked svg { transform: rotate(-90deg); display: block; }

/* ---------------------------------------------------------------- my path: steps, cushion, check-in */
.steps-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.steps-head .h3 { margin-bottom: 4px; }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { width: 100%; height: 100%; display: block; }
.ring-track { fill: none; stroke: var(--mist); stroke-width: 4; }
.ring-fill { fill: none; stroke: var(--emerald); stroke-width: 4; stroke-linecap: round; animation: ringfill 1.2s var(--ease) both; }
@keyframes ringfill { from { stroke-dasharray: 0 100; } }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--hair); align-items: start; }
.step form { margin: 0; }
.step-box { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; color: transparent; transition: background .3s var(--ease), border-color .3s, transform .2s; }
.step-box svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.step-box:hover { border-color: var(--emerald); color: var(--line); }
.step-box:active { transform: scale(.92); }
.step.is-done .step-box { background: var(--emerald); border-color: var(--emerald); color: #fff; animation: tick .5s var(--ease); }
@keyframes tick { 40% { transform: scale(1.12); } }
.step.is-done .step-body strong { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--line); }
.step.is-later .step-box { border-style: dashed; color: var(--edge); cursor: default; background: transparent; }
.step.is-later .step-body { color: var(--ink-2); }
.step-body { display: grid; gap: 3px; padding-top: 2px; }
.step-body strong { font-size: 16.5px; }
.step-body span { color: var(--ink-2); font-size: 15px; }
.step-body .solo { justify-self: start; margin-top: 4px; font-weight: 600; }
.step.is-open .step-body strong { color: var(--ink); }
.cushion .mid-figure { margin: 4px 0 6px; }
.cushion-scale { margin-top: 16px; }
.cushion-scale .bar { height: 10px; }
.cushion-scale .between { margin-top: 6px; }
.moods { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.mood { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 15px/1 var(--font); color: var(--ink); cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.mood:hover { border-color: var(--ink-2); }
.mood[aria-pressed="true"].mood-forward { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.mood[aria-pressed="true"].mood-steady { background: var(--gold); border-color: var(--gold); }
.mood[aria-pressed="true"].mood-slipped { background: #f2ddd8; border-color: #e3b9ae; color: #7b2a1c; }
.checkin-reply { padding: 14px 16px; border-radius: 14px; background: var(--mist); animation: rise .6s var(--ease) both; }
.moodline { list-style: none; display: flex; gap: 6px; margin: 16px 0 0; padding: 0; }
.moodline li { flex: 1; max-width: 36px; height: 10px; border-radius: 999px; background: var(--hair); }
.moodline .mood-forward { background: var(--emerald); } .moodline .mood-steady { background: var(--gold); } .moodline .mood-slipped { background: #d9907f; }
.follow-home .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.path-help .list .row { padding: 12px 0; }

/* ---------------------------------------------------------------- my path: questions */
.path-intro { padding: 28px 0 8px; }
.path-intro h1 { margin-bottom: 8px; }
.setup { display: grid; gap: 14px; margin-top: 14px; }
.setup-q { border: 0; margin: 0; min-width: 0; }
.setup-q legend, .setup-q .legend { font: 700 21px/1.25 var(--display); letter-spacing: -.025em; padding: 0; margin: 0 0 16px; float: left; width: 100%; }
.setup-q legend + * { clear: both; }
.setup-q .legend { float: none; }
.setup-n { display: block; font: 600 13px/1.4 var(--font); letter-spacing: 0; color: var(--ink-2); margin-bottom: 4px; }
.setup-q legend .muted { font: 400 15px var(--font); }
.focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.focus-card { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; padding: 16px; border-radius: 18px; border: 1.5px solid var(--hair); background: #fff; cursor: pointer; transition: border-color .25s, background .25s, transform .2s var(--ease); }
.focus-card:hover { border-color: var(--line); }
.focus-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.focus-ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; transition: background .25s; }
.focus-ico svg { width: 22px; height: 22px; stroke: var(--pine); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.focus-card strong { font-size: 16px; align-self: end; }
.focus-card > span:last-child { font-size: 14px; color: var(--ink-2); }
.focus-card:has(input:checked) { border-color: var(--pine); background: #f3f8f6; }
.focus-card:has(input:checked) .focus-ico { background: var(--pine); }
.focus-card:has(input:checked) .focus-ico svg { stroke: var(--gold); }
.focus-card:has(input:focus-visible) { outline: 3px solid var(--emerald); outline-offset: 2px; }
.follow { border: 0; margin: 0; padding: 0; display: none; }
.follow-q { font-weight: 600; margin-bottom: 12px; }
.setup:has(#f-job:checked) [data-follow="job"], .setup:has(#f-grow_business:checked) [data-follow="grow_business"],
.setup:has(#f-new_business:checked) [data-follow="new_business"], .setup:has(#f-self_employed:checked) [data-follow="self_employed"],
.setup:has(#f-investing:checked) [data-follow="investing"], .setup:has(#f-property:checked) [data-follow="property"],
.setup:has(#f-debts:checked) [data-follow="debts"], .setup:has(#f-starting:checked) [data-follow="starting"] { display: block; animation: rise .5s var(--ease) both; }
.setup:has([name="focus"]:checked) .follow-none { display: none; }
.setup:has(#f-job:checked) [data-also="job"], .setup:has(#f-grow_business:checked) [data-also="grow_business"],
.setup:has(#f-new_business:checked) [data-also="new_business"], .setup:has(#f-self_employed:checked) [data-also="self_employed"],
.setup:has(#f-investing:checked) [data-also="investing"], .setup:has(#f-property:checked) [data-also="property"],
.setup:has(#f-debts:checked) [data-also="debts"], .setup:has(#f-starting:checked) [data-also="starting"] { display: none; }
@supports not selector(:has(*)) { .follow { display: block; margin-bottom: 18px; } .follow-none { display: none; } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span, .pill-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; color: var(--ink); text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.pill input:checked + span, .pill-link[aria-current] { background: var(--pine); border-color: var(--pine); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--emerald); outline-offset: 2px; }
.setup-go { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ---------------------------------------------------------------- mentors */
.mentors-head { max-width: 760px; margin-bottom: 24px; }
.mentors-filter { margin-bottom: 24px; }
.mentor-grid { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.mentor-card { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-card); padding: 24px; display: grid; gap: 8px; align-content: start; }
.mentor-card p { margin: 0; }
.mentor-face { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--pine-700), var(--pine-900)); color: var(--gold); font: 700 19px/1 var(--display); letter-spacing: .02em; }
.mentor-headline { font-weight: 600; }
.mentor-about { color: var(--ink-2); white-space: pre-line; font-size: 15.5px; }
.mentor-list { list-style: none; margin: 8px 0 0; padding: 0; }
.mentor { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--hair); }
.mentor > div { display: grid; gap: 4px; justify-items: start; }
.mentor > div > span:not(.chip) { color: var(--ink-2); }
.intro summary { cursor: pointer; color: var(--emerald); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.intro form { display: grid; gap: 8px; margin-top: 6px; }
.mentors-empty { text-align: center; max-width: 560px; margin: 24px auto 48px; }
.mentors-empty h2, .mentors-empty h1 { margin: 16px 0 10px; }
.mentors-empty-ico { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--gold-soft); }
.mentors-empty-ico svg { width: 34px; height: 34px; stroke: var(--gold-ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mentors-apply { background: radial-gradient(120% 90% at 85% 0%, var(--pine-700), var(--pine-900) 70%); color: #fff; border-radius: var(--r-hero); padding: clamp(28px, 5vw, 56px); margin: 16px 0 20px; }
.mentors-apply h2 { margin-bottom: 10px; }
.mentors-apply p { color: var(--on-dark-2); max-width: 36em; }
.standards { margin: 8px 0 12px; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.error { color: var(--coral); font-size: 14px; margin-top: 6px; }
.admin-mentors { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.admin-mentors .panel p { margin-bottom: 8px; }
.admin-intro { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.intro-note { font-style: italic; }

@media (max-width: 860px) {
  .path-hero-in { grid-template-columns: minmax(0, 1fr); }
  .donut { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .donut-ring { width: min(260px, 78vw); }
  .donut figcaption { width: 100%; }
}
@media (max-width: 560px) {
  .focus-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-intro { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .path-stage, .ladder li, .ring-fill, .checkin-reply, .step.is-done .step-box { animation: none; opacity: 1; }
  .ladder li.is-here .ladder-dot { animation: none; }
  .js .donut .donut-sweep, .js .donut.is-drawn .donut-sweep { animation: none; stroke-dashoffset: 0; }
}
.donut figcaption { color: var(--ink); font-size: inherit; margin: 0; }
.path-help .row-main { text-decoration: none; color: var(--ink); }
.path-help .row-main strong { color: var(--emerald); }
.path-help .row-main:hover strong { text-decoration: underline; }
.visitors figcaption { color: var(--ink); font-size: 14px; }

/* ---------------------------------------------------------------- the Explorer */
.explorer { padding-top: 28px; }
.ex-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.ex-head h1 { margin-bottom: 6px; }
.ex-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: start; }
.ex-sets { display: grid; gap: 8px; position: sticky; top: 72px; }
.ex-set { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; border: 1.5px solid transparent; transition: border-color .2s, background .2s; }
.ex-set strong { font-size: 15.5px; }
.ex-set span { font-size: 13.5px; color: var(--ink-2); }
.ex-set:hover { border-color: var(--line); }
.ex-set[aria-current] { border-color: var(--pine); background: #f3f8f6; }
.ex-set.is-off { opacity: .6; }
.ex-set.is-locked { background: transparent; border: 1.5px dashed var(--line); }
.ex-set .chip { justify-self: start; margin-top: 6px; }
.ex-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.ex-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.ex-tiles[hidden], .ex-picker[hidden] { display: none; }
.ex-picker { display: grid; gap: 10px; margin-bottom: 14px; }
.ex-picker .input { max-width: 420px; }
.ex-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 6px 0 12px; border-radius: 999px; background: var(--mist); font-size: 14px; font-weight: 600; }
.ex-chip i { width: 10px; height: 10px; border-radius: 50%; }
.ex-chip button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; font-size: 18px; cursor: pointer; color: var(--ink-2); }
.ex-chip button:hover { background: var(--hair); }
.ex-chip:only-child { padding-right: 14px; }
.ex-chart { position: relative; min-height: 200px; transition: opacity .25s; }
.ex-chart.is-loading { opacity: .45; }
.ex-chart svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.ex-grid-line { stroke: var(--hair); }
.ex-axis { font: 12px var(--font); fill: var(--ink-2); }
.ex-line { fill: none; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.ex-guide { stroke: var(--ink-2); stroke-dasharray: 3 3; opacity: 0; }
.ex-guide.is-on, .ex-dot.is-on { opacity: 1; }
.ex-dot { opacity: 0; stroke: #fff; stroke-width: 2; }
.ex-readout { min-height: 1.5em; margin: 10px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.ex-bars, .ex-movers { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ex-bars li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 110px; gap: 12px; align-items: center; padding: 7px 8px; border-radius: 10px; }
.ex-bars li.is-you { background: var(--gold-soft); }
.ex-bar-name { font-size: 14.5px; }
.ex-bar { height: 12px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.ex-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--pine); transition: width .8s cubic-bezier(.2,.7,.2,1); }
.ex-bars li.is-you .ex-bar i { background: #d8a521; }
.ex-bar-val { text-align: right; font-size: 14px; }
.ex-live { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.ex-movers li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 64px; gap: 12px; align-items: center; padding: 10px 8px; border-top: 1px solid var(--hair); border-radius: 8px; }
.ex-coin { display: grid; }
.ex-coin span { font-size: 13px; color: var(--ink-2); }
.ex-price { text-align: right; }
.ex-change { position: relative; height: 10px; }
.ex-change::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line); }
.ex-change i { position: absolute; top: 0; height: 100%; width: 0; border-radius: 4px; transition: width .7s cubic-bezier(.2,.7,.2,1); }
.is-up .ex-change i { left: 50%; background: var(--emerald); }
.is-down .ex-change i { right: 50%; background: var(--coral); }
.is-up .ex-pct { color: var(--emerald); } .is-down .ex-pct { color: var(--coral); }
.ex-pct { text-align: right; font-weight: 600; }
.flash-up { animation: flash-up 1.6s ease; } .flash-down { animation: flash-down 1.6s ease; }
@keyframes flash-up { 20% { background: #dff1e8; } } @keyframes flash-down { 20% { background: #f7e1dc; } }
.pulse-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--emerald); flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--emerald); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
@media (max-width: 860px) {
  .ex-grid { grid-template-columns: minmax(0, 1fr); }
  .ex-sets { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .ex-set { flex: 0 0 220px; scroll-snap-align: start; }
  .ex-tiles { grid-template-columns: minmax(0, 1fr); }
  .ex-bars li { grid-template-columns: 110px minmax(0, 1fr) 92px; gap: 8px; }
  .ex-movers li { grid-template-columns: minmax(0, 1fr) auto 56px; }
  .ex-change { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pulse-dot::after, .flash-up, .flash-down { animation: none; } .ex-bar i, .ex-change i { transition: none; } }

/* ---------------------------------------------------------------- My number, live */
.live-tag { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; font-size: 13px; color: var(--on-dark-2, rgba(255,255,255,.76)); font-variant-numeric: tabular-nums; }
.live-tag .pulse-dot { width: 8px; height: 8px; background: #6fe0ae; }
.live-tag .pulse-dot::after { border-color: #6fe0ae; }
.dash-amount { transition: color .6s; }
.dash-amount.is-rising { color: #9ff0c8; }
.dash-amount.is-falling { color: #ffb4a3; }
.glow-up { animation: glow-up 2.2s ease; }
.glow-down { animation: glow-down 2.2s ease; }
@keyframes glow-up { 15% { background: #dff1e8; } }
@keyframes glow-down { 15% { background: #f7e1dc; } }
.row-end .row-plus { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-left: 10px; border-radius: 50%; background: var(--mist); vertical-align: middle; }
.row-end .row-plus svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
.row-end .row-plus:hover { background: var(--hair); }
.wealth .row-end { display: inline-flex; align-items: center; }
.row.is-new { animation: row-in 1.6s var(--ease) both; }
@keyframes row-in { 0% { background: #fbf3d6; transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; transform: none; } 100% { background: transparent; } }

/* ---------------------------------------------------------------- adding one item */
.add-card { padding: clamp(22px, 4vw, 36px); }
.add-card h1 { margin-bottom: 8px; }
.add-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.add-card [hidden] { display: none; }
.input-big { font-size: 26px; min-height: 64px; font-weight: 600; letter-spacing: -.02em; }
.add-live { display: flex; align-items: center; gap: 10px; margin: -4px 0 14px; font-size: 14.5px; color: var(--emerald); }
.add-total { min-height: 1.4em; font-size: 18px; font-weight: 600; margin: 4px 0 16px; }
.back { transform: rotate(180deg); }
@media (max-width: 480px) { .add-card .two { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .glow-up, .glow-down, .row.is-new { animation: none; } }

/* ---------------------------------------------------------------- members on the map */
.map-layers { grid-area: layers; justify-self: start; }
.map-layers[hidden] { display: none; }
.map-canvas path.m1 { fill: #f3ecd6; } .map-canvas path.m2 { fill: #ecdcab; } .map-canvas path.m3 { fill: #e3c675; }
.map-canvas path.m4 { fill: #d8a521; } .map-canvas path.m5 { fill: #b07a2a; } .map-canvas path.m6 { fill: #7c5216; } .map-canvas path.m7 { fill: #4a300b; }
.map-key-members i.m1 { background: #f3ecd6; } .map-key-members i.m2 { background: #ecdcab; } .map-key-members i.m3 { background: #e3c675; }
.map-key-members i.m4 { background: #d8a521; } .map-key-members i.m5 { background: #b07a2a; } .map-key-members i.m6 { background: #7c5216; } .map-key-members i.m7 { background: #4a300b; }
.map-key[hidden] { display: none; }
.map-band { font-size: 30px !important; }
.map-members { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 48px; padding: clamp(22px, 4vw, 36px); border-radius: 28px; background: var(--gold-soft); }
.map-members h2 { margin-bottom: 12px; }
.map-members-form { border: 0; }
@media (max-width: 860px) { .map-members { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- my path and my plan: responding to touch */
.ladder-btn { all: unset; display: grid; grid-template-columns: 24px 1fr; column-gap: 16px; width: 100%; cursor: pointer; border-radius: 12px; box-sizing: border-box; }
.ladder li { display: block; padding: 4px 0; }
.ladder-btn > span:not(.ladder-dot):not(.vh) { grid-column: 2; font-size: 13.5px; }
.ladder-btn:hover strong, .ladder-btn[aria-expanded="true"] strong { color: #fff; }
.ladder-btn[aria-expanded="true"] .ladder-dot { border-color: var(--gold); }
.ladder-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.ladder-btn { padding: 5px 4px; }
.ladder-say { margin: 12px 0 0 40px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); color: var(--on-dark-2); font-size: 15px; }
.ladder-say strong { display: block; color: #fff; margin-bottom: 2px; }
.ladder-say.is-in { animation: rise .45s var(--ease) both; }
.ladder-say[hidden] { display: none; }
.legend li { cursor: pointer; }
.donut.is-pinned .donut-arc { opacity: .28; }
.donut.is-pinned .donut-arc.is-locked { opacity: 1; stroke-width: 16; }
.legend li.is-locked { background: var(--mist); box-shadow: inset 0 0 0 1.5px var(--line); }
.is-busy { opacity: .7; transition: opacity .2s; pointer-events: none; }
.step.just-changed { animation: step-in .7s var(--ease) both; }
@keyframes step-in { from { background: #f3f8f6; transform: translateX(-4px); } to { background: transparent; transform: none; } }
.plan-chart { margin: 4px 0 18px; }
.plan-chart-box { position: relative; }
.plan-chart-box svg { display: block; width: 100%; height: 220px; overflow: visible; }
.pc-area { fill: rgba(11,107,79,.1); transition: d .35s var(--ease); }
.pc-line { fill: none; stroke: var(--emerald); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: d .35s var(--ease); }
.pc-dot { fill: var(--emerald); stroke: #fff; stroke-width: 2; transition: cx .35s var(--ease), cy .35s var(--ease); }
.pc-mark { stroke: #d8a521; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.pc-label { font: 600 13px var(--font); fill: #8a6410; }
.pc-hit { fill: #d8a521; stroke: #fff; stroke-width: 2; }
.pc-ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.plan-chart-say { font-weight: 600; margin-top: 10px; color: var(--ink); font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .ladder-say.is-in, .step.just-changed { animation: none; } .pc-area, .pc-line, .pc-dot { transition: none; } }
.ex-chart.is-empty { min-height: 0; } .ex-empty { margin: 4px 0 0; padding: 16px; border-radius: 14px; background: var(--mist); color: var(--ink-2); }

/* ---------------------------------------------------------------- first visit guide */
.guide-head { display: flex; align-items: center; gap: 16px; }
.guide-head > div:nth-child(2) { flex: 1; }
.guide-head .h3 { margin-bottom: 2px; }
.guide-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.guide-steps li > a, .guide-steps li.is-done { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: 14px; background: var(--mist); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.guide-steps li > a:hover { background: var(--hair); }
.guide-steps li > a .chev { margin-left: auto; width: 14px; height: 14px; }
.guide-steps li.is-done { color: var(--ink-2); font-weight: 500; }
.guide-tick { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.is-done .guide-tick { background: var(--emerald); border-color: var(--emerald); }
.is-done .guide-tick svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 2.6; }
@media (max-width: 860px) { .guide-steps { grid-template-columns: minmax(0, 1fr); } .guide-hide { align-self: flex-start; } }

/* ---------------------------------------------------------------- what moved, milestones */
.moved-nav { display: inline-flex; gap: 6px; }
.moved-nav a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); }
.moved-nav a:hover { background: var(--hair); }
.moved-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 16px; }
.moved-total .amt { font: 700 clamp(30px, 5vw, 40px)/1.05 var(--display); letter-spacing: -.04em; }
.moved-when { width: 100%; color: var(--ink-2); font-size: 14.5px; }
.moved-split { display: grid; gap: 14px; }
.moved-split .between { font-size: 15.5px; margin-bottom: 6px; }
.moved-bar { height: 10px; }
.moved-bar.is-up > i { background: var(--emerald); }
.moved-bar.is-down > i { background: var(--coral); }
.moved-lines { list-style: none; margin: 18px 0 0; padding: 0; }
.moved-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 15px; }
.moved-real { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--mist); font-size: 15px; }
.locked-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none; color: var(--ink); border: 1.5px dashed var(--line); background: transparent; }
.locked-card > span:first-child { display: grid; gap: 4px; }
.locked-card > span:first-child span { color: var(--ink-2); font-size: 15px; }
.miles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.milestone { position: relative; overflow: hidden; background: var(--pine-900); color: #fff; border: 0; text-align: center; padding: 34px 24px; }
.milestone p { color: var(--on-dark-2); }
.milestone-kicker { font-weight: 600; color: var(--gold) !important; margin-bottom: 6px; }
.milestone-title { font-size: clamp(28px, 4.4vw, 40px); letter-spacing: -.04em; margin-bottom: 8px; }
.milestone-glow { position: absolute; left: 50%; top: -60%; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(243,197,81,.32), transparent 62%); animation: glow-breathe 4s ease-in-out infinite; pointer-events: none; }
@keyframes glow-breathe { 50% { transform: scale(1.12); opacity: .7; } }
@media (max-width: 860px) { .miles-grid { grid-template-columns: minmax(0, 1fr); } .moved-lines li { grid-template-columns: minmax(0, 1fr) auto; } .moved-lines li .muted { grid-row: 2; } }
@media (prefers-reduced-motion: reduce) { .milestone-glow { animation: none; } }

/* ---------------------------------------------------------------- money calendar */
.cal { list-style: none; margin: 4px 0 8px; padding: 0; }
.cal li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hair); }
.cal li:first-child { border-top: 0; }
.cal-day { display: grid; place-items: center; width: 52px; height: 56px; border-radius: 14px; background: var(--mist); font-size: 12.5px; color: var(--ink-2); line-height: 1.1; }
.cal-day strong { font: 700 21px/1 var(--display); color: var(--ink); }
.is-soon .cal-day { background: var(--gold-soft); }
.cal-what { display: grid; gap: 2px; }
.cal-what strong { font-size: 15.5px; font-weight: 600; }
.cal-what a { color: var(--ink); text-decoration: none; }
.cal-what a:hover { text-decoration: underline; }
.cal-what span { font-size: 14px; color: var(--ink-2); }
.cal-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 20px; color: var(--ink-2); cursor: pointer; }
.cal-x:hover { background: var(--mist); }
.report-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none; color: var(--ink); }
.report-link > span { display: grid; gap: 4px; }
.report-link > span span { color: var(--ink-2); font-size: 15px; }

/* ---------------------------------------------------------------- the year in review */
.report-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.report-tools [hidden] { display: none; }
.report-brand { font-weight: 700; color: var(--emerald); margin-bottom: 6px; }
.report-head h1 { margin-bottom: 8px; }
.report-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.report-sec { margin: 30px 0; }
.report-sec h2 { margin-bottom: 12px; }
.report-months { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: 8px; height: 180px; }
.report-months li { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.report-bar { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.report-bar i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: var(--pine); }
.report-m { font-size: 12px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 640px) { .report-tiles { grid-template-columns: minmax(0, 1fr); } }
@media print {
  .topbar, .foot, .tabbar, .no-print, .skip, .viewas { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .year-report { max-width: none; padding: 0; }
  .tile, .moved-real { background: #f3f3f3 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .report-bar i, .bar > i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .report-sec { break-inside: avoid; }
}

/* ---------------------------------------------------------------- what if, and facts */
.own-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.own-facts li { padding: 10px 14px; border-radius: 12px; background: var(--mist); font-size: 15px; }
.whatif-out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 14px 0 18px; padding: 18px; border-radius: 18px; background: var(--pine-900); color: #fff; }
.whatif-total { font: 700 clamp(30px, 5vw, 42px)/1.05 var(--display); letter-spacing: -.04em; }
.whatif-out .up { color: #7fe0bb; } .whatif-out .down { color: #ffaa9a; } .whatif-out .muted { color: var(--on-dark-2); }
.whatif-rank { width: 100%; color: var(--gold); font-weight: 600; font-size: 15px; }
.whatif-sliders { display: grid; gap: 16px; }
.whatif-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.whatif-row label { font-weight: 600; font-size: 15px; }
.whatif-row output { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 14.5px; }
.whatif-row input { grid-column: 1 / -1; width: 100%; }
.whatif-presets { margin-top: 16px; }
.whatif-presets[hidden] { display: none; }
.ex-link { padding: 28px; border-radius: 20px; background: var(--mist); display: grid; gap: 14px; justify-items: start; } .ex-link p { margin: 0; font-size: 17px; }
.report-tiles .big { font-size: clamp(24px, 3.2vw, 32px); white-space: nowrap; }
.report-tiles .tile { container-type: inline-size; }
.report-tiles .big.amt { font-size: min(32px, 13cqw); }
.report-v { font-size: 11.5px; color: var(--ink-2); margin-bottom: 4px; white-space: nowrap; }
.report-months { height: 200px; }

/* ---------------------------------------------------------------- my morning */
.dawn { position: relative; overflow: hidden; color: #fff; padding: clamp(40px, 7vw, 84px) 0 clamp(56px, 8vw, 96px);
  background: linear-gradient(180deg, #071f2a 0%, #0b3d33 55%, #2c5a3e 100%); }
.dawn::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -60%; height: 120%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(246,205,120,.38), rgba(246,205,120,0)); animation: sunrise 2.6s var(--ease) both; pointer-events: none; }
@keyframes sunrise { from { transform: translateY(18%); opacity: 0; } }
.dawn-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.dawn-date { color: var(--on-dark-2); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.dawn-streak { padding: 4px 12px; border-radius: 999px; background: rgba(246,205,120,.16); color: #f6dc93; font-weight: 600; font-size: 13.5px; }
.dawn-hello { font-size: clamp(40px, 7vw, 76px); letter-spacing: -.05em; line-height: 1; margin-bottom: 18px; animation: rise .9s var(--ease) both; }
.dawn-weather { font-size: clamp(18px, 2.2vw, 22px); color: var(--on-dark-2); max-width: 32em; }
.dawn-weather strong { color: #fff; }
.dawn-number { display: grid; gap: 2px; margin-top: 22px; }
.dawn-number span { color: var(--on-dark-3); font-size: 14px; }
.dawn-number strong { font: 700 clamp(30px, 4.6vw, 44px)/1.05 var(--display); letter-spacing: -.04em; }
.dawn-number .dawn-rank { color: #f6dc93; font-size: 15px; font-weight: 600; }
.dawn-name { margin-top: 24px; display: grid; gap: 8px; max-width: 420px; }
.dawn-name label { color: var(--on-dark-2); font-size: 15px; }
.dawn-name > span { display: flex; gap: 8px; }
.dawn-name .input { flex: 1; }
.dawn-sky { display: grid; place-items: center; }
.sky { width: min(240px, 60vw); height: auto; overflow: visible; }
.sky-sun { fill: #f6cd78; filter: drop-shadow(0 0 24px rgba(246,205,120,.6)); animation: sun-rise 2.2s var(--ease) both; }
.sky-sun.is-low { fill: #e9b75c; }
.sky-rays line { stroke: #f6cd78; stroke-width: 3; stroke-linecap: round; }
.sky-rays { transform-origin: 60px 60px; animation: rays 40s linear infinite; }
.sky-cloud { fill: rgba(255,255,255,.88); animation: drift 9s ease-in-out infinite alternate; }
.sky-line { stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-linecap: round; fill: none; }
.sky-rain line { stroke: #9fd3ff; stroke-width: 2.5; stroke-linecap: round; animation: rain 1.4s linear infinite; }
.sky-rain line:nth-child(2) { animation-delay: .45s; } .sky-rain line:nth-child(3) { animation-delay: .9s; }
@keyframes sun-rise { from { transform: translateY(26px); opacity: 0; } }
@keyframes rays { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translateX(8px); } }
@keyframes rain { from { opacity: 0; transform: translateY(-4px); } 50% { opacity: 1; } to { opacity: 0; transform: translateY(6px); } }
.my-morning .app { padding-top: 0; }
.my-morning .app .cards { margin-top: -32px; position: relative; }
.today-list { list-style: none; margin: 8px 0 0; padding: 0; }
.today-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hair); }
.today-list li:first-child { border-top: 0; }
.today-list li > span:nth-child(2) { display: grid; gap: 2px; }
.today-list li > span:nth-child(2) span { color: var(--ink-2); font-size: 14.5px; }
.today-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; }
.today-ico svg { width: 22px; height: 22px; stroke: var(--pine); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.read-filter { margin: 10px 0 4px; }
.read-filter button { cursor: pointer; font: inherit; }
.read-filter[hidden] { display: none; }
.stories { list-style: none; margin: 10px 0 0; padding: 0; }
.story[hidden] { display: none; }
.story { border-top: 1px solid var(--hair); }
.story:first-child { border-top: 0; }
.story a { display: grid; gap: 4px; padding: 16px 12px; margin: 0 -12px; border-radius: 16px; color: var(--ink); text-decoration: none; transition: background .2s; }
.story a:hover { background: var(--mist); }
.story-meta { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); }
.story-src { font-weight: 600; color: var(--emerald); }
.story-title { font-size: 17px; line-height: 1.35; letter-spacing: -.01em; }
.story-why { font-size: 13.5px; color: #8a6410; }
.morning-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; padding: 8px; }
.morning-links a { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; color: var(--ink); text-decoration: none; }
.morning-links a:hover { background: var(--mist); }
.morning-links svg { width: 24px; height: 24px; flex: none; stroke: var(--pine); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.morning-links span span { display: block; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 860px) {
  .dawn-in { grid-template-columns: minmax(0, 1fr); }
  .dawn-sky { order: -1; justify-items: start; }
  .sky { width: 96px; }
  .morning-links { grid-template-columns: minmax(0, 1fr); }
  .today-list li { grid-template-columns: 44px minmax(0, 1fr); }
  .today-list li .btn { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .dawn::after, .dawn-hello, .sky-sun, .sky-rays, .sky-cloud, .sky-rain line { animation: none; } }

/* ---------------------------------------------------------------- growth rings */
.growth { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px; align-items: center; }
.growth svg { width: 100%; height: auto; display: block; }
.growth circle { fill: none; transform-origin: center; }
.growth .g-up { stroke: #2f8f72; } .growth .g-down { stroke: #d98a76; }
.growth .g-core { fill: #b07a2a; stroke: none; }
.js .growth circle:not(.g-core) { animation: ring-in .7s var(--ease) both; }
@keyframes ring-in { from { opacity: 0; transform: scale(.85); } }
.growth-key { display: flex; gap: 16px; font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.growth-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 640px) { .growth { grid-template-columns: minmax(0, 1fr); } .growth svg { max-width: 240px; } }
@media (prefers-reduced-motion: reduce) { .js .growth circle { animation: none; } }
.dash-morning { display: block; width: fit-content; margin: 6px auto 0; color: #f6dc93; font-size: 15px; font-weight: 600; text-decoration: none; } .dash-morning:hover { text-decoration: underline; }
.homescreen { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--gold-soft); border: 0; }
.homescreen[hidden], .homescreen [hidden] { display: none; }
.homescreen-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--pine-900); display: grid; place-items: center; }
.homescreen-ico svg { width: 26px; height: 26px; stroke: #f6cd78; fill: none; stroke-width: 1.8; stroke-linecap: round; }

/* ---------------------------------------------------------------- the real sky (set by morning.js from sunrise where you are) */
.dawn { transition: background .8s var(--ease); }
.dawn.sky-night { background: linear-gradient(180deg, #030a14 0%, #071a26 60%, #0b2a2a 100%); }
.dawn.sky-dawn { background: linear-gradient(180deg, #14254a 0%, #5b4a6e 48%, #d88a5e 100%); }
.dawn.sky-day { background: linear-gradient(180deg, #0b3a52 0%, #0f5148 55%, #2f6b47 100%); }
.dawn.sky-dusk { background: linear-gradient(180deg, #1a1f45 0%, #6a3d55 52%, #c9744c 100%); }
.dawn.season-winter.sky-day { background: linear-gradient(180deg, #16344a 0%, #224a4f 55%, #4a6658 100%); }
.dawn.season-summer.sky-day { background: linear-gradient(180deg, #0c4a6b 0%, #127058 55%, #3d8550 100%); }
.dawn.season-autumn.sky-day { background: linear-gradient(180deg, #12384a 0%, #3c4b37 55%, #7a5a2e 100%); }
.dawn.sky-night::after { opacity: .25; }
.dawn-stars { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none;
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 42%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 46% 12%, #fff, transparent), radial-gradient(1px 1px at 64% 30%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 82% 16%, #fff, transparent), radial-gradient(1px 1px at 90% 48%, #fff, transparent),
    radial-gradient(1px 1px at 8% 60%, #fff, transparent), radial-gradient(1.3px 1.3px at 56% 56%, #fff, transparent),
    radial-gradient(1px 1px at 36% 70%, #fff, transparent), radial-gradient(1px 1px at 74% 66%, #fff, transparent); }
.dawn.sky-night .dawn-stars { opacity: .7; animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .45; } }
.dawn-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dawn-actions[hidden], .dawn-actions [hidden] { display: none; }
.dawn-actions .btn { gap: 8px; }
.dawn-actions .ico { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* After dark, My morning turns dark too. */
html.night-morning body { background: #0b1418; }
html.night-morning .my-morning .panel { background: #121d22; border-color: #1f2e34; color: #e8eef0; box-shadow: none; }
html.night-morning .my-morning .panel .muted, html.night-morning .my-morning .story-why, html.night-morning .my-morning .source,
html.night-morning .my-morning .today-list li > span:nth-child(2) span, html.night-morning .my-morning .morning-links span span { color: #a9b8bd; }
html.night-morning .my-morning .story a, html.night-morning .my-morning .morning-links a, html.night-morning .my-morning h2,
html.night-morning .my-morning h3, html.night-morning .my-morning .check { color: #eef3f4; }
html.night-morning .my-morning .story, html.night-morning .my-morning .today-list li { border-color: #22343a; }
html.night-morning .my-morning .story a:hover, html.night-morning .my-morning .morning-links a:hover { background: #18262c; }
html.night-morning .my-morning .today-ico { background: #1a2a30; }
html.night-morning .my-morning .today-ico svg, html.night-morning .my-morning .morning-links svg { stroke: #8fd3b8; }
html.night-morning .my-morning .input { background: #0e171b; border-color: #2a3c42; color: #eef3f4; }
html.night-morning .my-morning .btn-soft { background: #1d2d33; color: #eef3f4; }
html.night-morning .my-morning .pill-link { background: #1a2a30; color: #dfe8ea; }
html.night-morning .my-morning .pill-link[aria-pressed="true"] { background: #eef3f4; color: #0b1418; }
html.night-morning .my-morning p a:not(.btn) { color: #8fd3b8; }
html.night-morning .my-morning .story-title { color: #eef3f4; }
html.night-morning .my-morning .story-why { color: #d7c48a; }
html.night-morning .topbar { background: rgba(6,14,18,.84); border-bottom-color: rgba(255,255,255,.08); }
html.night-morning .topbar .brand, html.night-morning .topnav a:not(.btn), html.night-morning .menu-btn { color: #eef3f4; }
html.night-morning .menu-btn .ico { stroke: #eef3f4; }
html.night-morning .has-tabs .tabbar { background: rgba(6,14,18,.9); border-top-color: rgba(255,255,255,.08); }
html.night-morning .tabbar a { color: #a9b8bd; }
html.night-morning .tabbar a[aria-current="page"] { color: #8fd3b8; }
html.night-morning .my-morning .homescreen { background: #2a2414; }
html.night-morning .my-morning .chip-gold { background: #2a2414; color: #f6dc93; }

/* ---------------------------------------------------------------- diary, settings, notifications */
.diary-form { display: flex; gap: 8px; margin-top: 12px; }
.diary-form .input { flex: 1; min-width: 0; }
.morning-settings summary .h3 { display: inline; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 16px; margin: 8px 0; }
.field-row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.field-row .field { margin: 0; min-width: 180px; }
.push-box { border-radius: 16px; background: var(--mist); padding: 16px; margin-top: 16px; }
.push-box p { margin: 0 0 6px; }
.push-box .cluster { margin-top: 10px; }
.push-box [hidden] { display: none; }
html.night-morning .my-morning .push-box { background: #18262c; }
.diary-list { list-style: none; margin: 8px 0 0; padding: 0; }
.diary-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--hair); }
.diary-list li:first-child { border-top: 0; }
.diary-list time { color: var(--ink-2); font-size: 14px; }
@media (max-width: 560px) { .diary-form { flex-direction: column; } .diary-list li { grid-template-columns: minmax(0, 1fr) auto; } .diary-list time { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- goals as a garden */
.garden { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; list-style: none; margin: 12px 0 0; padding: 0; }
.plant { border-radius: 18px; background: linear-gradient(180deg, #f3f8f4 0%, #fff 70%); border: 1px solid var(--hair); padding: 12px 12px 14px; display: grid; gap: 6px; }
.plant svg { width: 100%; height: 120px; display: block; }
.plant .p-soil { fill: #8a6a48; } .plant .p-pot { fill: #c98b5f; }
.plant .p-stem { stroke: #2f7a5c; stroke-width: 3; fill: none; stroke-linecap: round; }
.plant .p-leaf { fill: #3f9a73; } .plant .p-leaf.is-young { fill: #7cc29e; }
.plant .p-bloom { fill: #f3c551; } .plant .p-centre { fill: #b07a2a; }
.js .plant .p-grow { transform-origin: 60px 104px; animation: grow 1.2s var(--ease) both; }
@keyframes grow { from { transform: scaleY(.2); opacity: .2; } }
.plant strong { font-size: 15px; line-height: 1.3; }
.plant .num { color: var(--ink-2); font-size: 14px; }
.plant form { margin: 0; }
.plant.is-done { background: linear-gradient(180deg, #fbf6e6 0%, #fff 70%); }
@media (prefers-reduced-motion: reduce) { .js .plant .p-grow { animation: none; } }

/* ---------------------------------------------------------------- today's money switch */
.real-switch { display: inline-flex; border-radius: 999px; background: var(--mist); padding: 3px; margin: 4px 0 12px; }
.real-switch button { border: 0; background: transparent; font: inherit; font-size: 14px; padding: 6px 14px; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.real-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.real-switch[hidden] { display: none; }

/* ---------------------------------------------------------------- monthly statement */
.statement { max-width: 820px; }
.statement-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; border-bottom: 2px solid var(--ink); padding-bottom: 16px; margin-bottom: 24px; }
.statement-head h1 { font-size: clamp(30px, 4vw, 40px); }
.statement table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.statement th, .statement td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--hair); font-weight: 400; }
.statement td.num, .statement th.num { text-align: right; }
.statement h2 { font-size: 20px; margin: 28px 0 8px; }
.statement .tot th, .statement .tot td { font-weight: 700; border-bottom: 2px solid var(--ink); }
@media print {
  .statement-tools, .site-head, .tabbar, .site-foot, .flash { display: none !important; }
  .statement { max-width: none; }
}

/* ---------------------------------------------------------------- offers, household, ask, status */
.offer-price { margin: 0; color: var(--ink-2); } .offer-price strong { font: 700 24px/1 var(--display); color: var(--ink); letter-spacing: -.03em; }
.offer-trial { background: var(--gold-soft); border: 0; }
.plan-head + .offer-card, .plan-head + .alert { margin-top: 16px; }
.together { text-align: center; background: linear-gradient(180deg, #05211a, #0f4434); color: #fff; border: 0; }
.together .muted { color: var(--on-dark-2); }
.together-num { font: 700 clamp(40px, 7vw, 64px)/1.05 var(--display); letter-spacing: -.05em; margin: 4px 0 10px; }
.ask-text p { font-size: 18px; line-height: 1.6; }
.status-ok { color: var(--emerald); font-weight: 600; } .status-late { color: var(--gold-ink); font-weight: 600; }
.status-problem { color: var(--coral); font-weight: 600; } .status-waiting { color: var(--ink-2); }
html.night-morning .my-morning .app, html.night-morning .my-morning { background: #0b1418; }
html.night-morning .my-morning .story-src { color: #8fd3b8; }
html.night-morning .my-morning .story-meta { color: #a9b8bd; }
html.night-morning .foot { background: #0b1418; color: #a9b8bd; border-top-color: #1f2e34; }
html.night-morning .foot a, html.night-morning .foot h2, html.night-morning .foot .brand { color: #dfe8ea; }
