:root {
  --ink: #1f0b56;
  --violet: #7847ff;
  --violet-deep: #3b0cbb;
  --lilac: #c2aef9;
  --soft-violet: #a587f7;
  --tint: #f4f1fe;
  --powder-200: #d8d8fd;
  --white: #ffffff;
  --body: #3d3946;
  --muted: #5b5576;
  --line: #dfdde4;
  --track: #ece9f3;
  --green: #0b8452;
  --mint: #4de6a6;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--tint);
  color: var(--ink);
  font-family: Poppins, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100dvh;
}
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 10px; }
.dark :focus-visible { outline-color: var(--lilac); }
[tabindex="-1"]:focus { outline: none; }

/* ---------- Stage, desktop panel, frame ---------- */
.stage { min-height: 100dvh; display: flex; align-items: center; justify-content: center; gap: 72px; }
.desk-panel { display: none; }
@media (min-width: 1100px) {
  .desk-panel { display: flex; flex-direction: column; gap: 22px; width: 360px; }
}
.dp-logo { width: 140px; }
.dp-title { font-size: 64px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-top: -4px; }
.dp-lead { font-size: 19px; line-height: 1.5; color: var(--body); }
.dp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dp-list li { font-size: 15px; line-height: 1.5; color: var(--body); padding-left: 18px; position: relative; }
.dp-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 3px; background: var(--violet); }
.dp-list b { color: var(--ink); }
.dp-qr { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px; background: var(--white); box-shadow: 8px 8px 0 var(--lilac); }
.dp-qr img { width: 104px; height: 104px; }
.dp-qr p { font-size: 14px; color: var(--body); line-height: 1.45; }
.dp-qr b { display: block; font-size: 16px; color: var(--ink); }
.dp-note { font-size: 13px; color: var(--muted); line-height: 1.5; }

.frame {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  overflow: hidden;
  background: var(--white);
}
@media (min-width: 520px) {
  .frame {
    height: min(880px, calc(100dvh - 56px));
    border-radius: 40px;
    box-shadow: 14px 14px 0 var(--violet), 0 40px 80px -40px rgba(8, 2, 24, .55);
  }
}
.host { position: absolute; inset: 0; }

/* ---------- Screens ---------- */
.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--white);
  transition: transform .42s var(--ease), opacity .42s var(--ease);
  will-change: transform;
}
.screen.dark { background: var(--ink); color: var(--white); }
.screen.from-right { transform: translateX(100%); }
.screen.from-left { transform: translateX(-30%); opacity: 0; }
.screen.to-left { transform: translateX(-30%); opacity: 0; }
.screen.to-right { transform: translateX(100%); }
@media (prefers-reduced-motion: reduce) { .screen { transition: none; } }

.top {
  display: flex; align-items: center; gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) 18px 10px;
  min-height: 68px; position: relative; z-index: 2;
  transition: box-shadow .2s ease;
}
.screen.scrolled .top { box-shadow: 0 1px 0 var(--line); }
.screen.dark.scrolled .top { box-shadow: 0 1px 0 rgba(194, 174, 249, .22); }
.icon-btn {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 999px; border: 0; cursor: pointer;
  background: var(--tint); color: var(--ink);
}
.dark .icon-btn { background: rgba(255, 255, 255, .1); color: var(--white); }
.icon-btn svg { width: 22px; height: 22px; }

/* progress as a staircase */
.prog { flex: 1; display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.prog i { flex: 1; border-radius: 4px; background: var(--track); transition: background-color .4s var(--ease); }
.prog i.on { background: var(--violet); }
.prog i.here { background: var(--ink); }
.dark .prog i { background: rgba(255, 255, 255, .14); }
.dark .prog i.on { background: var(--violet); }
.dark .prog i.here { background: var(--lilac); }

.side-pill {
  flex: none; min-height: 44px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white);
  font-size: 13px; font-weight: 600; color: var(--violet-deep);
}
.dark .side-pill { background: transparent; border-color: rgba(194, 174, 249, .45); color: var(--lilac); }

.body {
  flex: 1; min-height: 0; overflow-y: auto;
  padding: 6px 24px 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.body.center { justify-content: center; }
.foot { position: relative; padding: 10px 20px max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; pointer-events: none; background: linear-gradient(rgba(255, 255, 255, 0), var(--white)); }
.dark .foot::before { background: linear-gradient(rgba(31, 11, 86, 0), var(--ink)); }

/* ---------- Type ---------- */
.q { font-size: 28px; font-weight: 700; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.q.center { text-align: center; }
.sub { font-size: 16px; color: var(--body); line-height: 1.5; text-wrap: pretty; }
.dark .sub { color: var(--powder-200); }
.sub.center { text-align: center; }
.tiny { font-size: 13px; color: var(--muted); line-height: 1.45; }
.dark .tiny { color: var(--lilac); }
.tiny.center { text-align: center; }
.kicker { font-size: 14px; font-weight: 600; color: var(--violet-deep); }
.dark .kicker { color: var(--lilac); }

/* ---------- Buttons ---------- */
.btn {
  width: 100%; min-height: 58px; padding: 14px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer;
  font-size: 17px; font-weight: 600; text-decoration: none;
  background: var(--ink); color: var(--white);
  box-shadow: 0 8px 20px -10px rgba(31, 11, 86, .5);
  transition: transform .12s ease, background-color .15s ease;
}
.btn:active { transform: scale(.97); }
.dark .btn { background: var(--white); color: var(--ink); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--violet-deep); box-shadow: none; min-height: 48px; font-weight: 600; }
.dark .btn.ghost { color: var(--lilac); }
.btn.light { background: var(--tint); color: var(--ink); box-shadow: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
@media (hover: hover) {
  .btn:hover { background: var(--violet-deep); }
  .dark .btn:hover { background: var(--tint); }
  .btn.ghost:hover { background: var(--tint); }
  .dark .btn.ghost:hover { background: rgba(255, 255, 255, .08); }
  .btn.light:hover { background: #e9e3fd; }
  .door:hover, .ask-card:hover { transform: translateY(-2px); }
  .answer:hover { border-color: var(--violet); }
}

/* ---------- Welcome ---------- */
.welcome-top { display: flex; align-items: center; gap: 10px; padding: max(22px, env(safe-area-inset-top)) 24px 0; }
.welcome-top img { width: 112px; }
.pulse-tag { font-size: 12px; font-weight: 600; color: var(--ink); background: var(--lilac); padding: 4px 10px; border-radius: 999px; }
.hero-title { font-size: 38px; font-weight: 700; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.door {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 18px; border-radius: 24px; border: 0; cursor: pointer;
  background: var(--white); color: var(--ink);
  transition: transform .15s ease;
}
.door:first-child { box-shadow: 8px 8px 0 var(--violet); margin-right: 8px; width: calc(100% - 8px); }
.door:active { transform: scale(.98); }
.door .ic { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--tint); color: var(--violet-deep); }
.door .ic svg { width: 28px; height: 28px; }
.door .t { font-size: 18px; font-weight: 700; line-height: 1.25; display: block; }
.door .s { font-size: 14px; color: var(--body); line-height: 1.35; display: block; }
.door .chev { margin-left: auto; color: var(--violet); flex: none; }
.door .chev svg { width: 22px; height: 22px; }
.door.alt { background: transparent; color: var(--white); border: 1.5px solid rgba(194, 174, 249, .5); }
.door.alt .ic { background: rgba(255, 255, 255, .1); color: var(--lilac); }
.door.alt .s { color: var(--powder-200); }
.door.alt .chev { color: var(--lilac); }

/* ---------- Big number input ---------- */
.bignum { display: flex; align-items: center; justify-content: center; gap: 10px; }
.bignum .val { display: flex; align-items: baseline; justify-content: center; flex: 1; min-width: 0; cursor: text; }
.bignum .pre, .bignum .post { font-size: 36px; font-weight: 700; color: var(--violet); letter-spacing: -.02em; }
.bignum .post { margin-left: 2px; }
.bignum input {
  width: 4ch; max-width: 100%; border: 0; background: transparent; padding: 0;
  font-size: 54px; font-weight: 700; letter-spacing: -.04em; text-align: center; color: var(--ink);
  font-variant-numeric: tabular-nums; border-bottom: 3px solid transparent; border-radius: 0;
}
.bignum input:focus { outline: none; border-bottom-color: var(--violet); }
.step-btn {
  width: 52px; height: 52px; flex: none; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  display: grid; place-items: center; font-size: 26px; font-weight: 500; line-height: 1;
  transition: transform .1s ease;
}
.step-btn:active { transform: scale(.9); }

/* ---------- Range ---------- */
.range { width: 100%; height: 48px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; margin: 0; }
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: linear-gradient(to right, var(--violet) var(--fill, 0%), var(--track) var(--fill, 0%)); }
.range::-moz-range-track { height: 12px; border-radius: 999px; background: var(--track); }
.range::-moz-range-progress { height: 12px; border-radius: 999px; background: var(--violet); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -11px; border-radius: 999px; background: var(--white); border: 4px solid var(--ink); box-shadow: 0 4px 10px rgba(31, 11, 86, .25); }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 999px; background: var(--white); border: 4px solid var(--ink); }
.dark .range::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--violet) var(--fill, 0%), rgba(255,255,255,.16) var(--fill, 0%)); }
.dark .range::-moz-range-track { background: rgba(255,255,255,.16); }
.dark .range::-webkit-slider-thumb { border-color: var(--white); background: var(--violet); }
.dark .range::-moz-range-thumb { border-color: var(--white); background: var(--violet); }
.range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--violet); outline-offset: 2px; }
.dark .range:focus-visible::-webkit-slider-thumb { outline-color: var(--lilac); }
.ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: -8px; }
.dark .ends { color: var(--lilac); }

/* ---------- Staircase ---------- */
.stairs-wrap { display: flex; justify-content: center; }
.stairs { width: 100%; height: auto; overflow: visible; touch-action: none; user-select: none; -webkit-user-select: none; }
.stairs.capped { max-height: 27vh; width: auto; max-width: 100%; }
.stairs.drag { cursor: grab; }
.stairs.drag:active { cursor: grabbing; }
.stairs:focus { outline: none; }
.stairs:focus-visible .bg { stroke: var(--violet); stroke-width: 2; }
.dark .stairs:focus-visible .bg { stroke: var(--lilac); }
.stairs .bg { fill: var(--tint); stroke: var(--lilac); stroke-width: 1; }
.stairs .own { fill: var(--ink); }
.stairs .new { fill: var(--violet); }
.stairs .lbl { font: 600 15px Poppins, sans-serif; fill: var(--muted); }
.stairs .marker { transition: transform .32s var(--ease); }
.stairs .hopper { transform-box: fill-box; transform-origin: center bottom; }
.stairs .hopper.hop { animation: hop .38s var(--ease); }
.stairs .hopper.pulse circle { animation: ring .6s ease-out; }
@keyframes hop { 0% { transform: translateY(0); } 45% { transform: translateY(-12px); } 100% { transform: translateY(0); } }
@keyframes ring { 0% { stroke-width: 3; } 50% { stroke-width: 9; } 100% { stroke-width: 3; } }
.stairs .marker circle { fill: var(--white); stroke: var(--violet); stroke-width: 3; }
.stairs .marker path { fill: var(--violet-deep); }
.dark .stairs .bg { fill: rgba(255, 255, 255, .06); stroke: rgba(194, 174, 249, .3); }
.dark .stairs .own { fill: var(--lilac); }
.dark .stairs .new { fill: var(--violet); }
.dark .stairs .lbl { fill: var(--lilac); }
.dark .stairs .marker circle { stroke: var(--violet); fill: var(--white); }
.stairs rect.own, .stairs rect.new { transition: width .28s var(--ease), x .28s var(--ease); }
.stairs.dragging rect.own, .stairs.dragging rect.new { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .stairs rect.own, .stairs rect.new, .stairs .marker, .prog i { transition: none; }
  .stairs .hopper.hop, .stairs .hopper.pulse circle { animation: none; }
}
.hint-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.drag-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--violet-deep); }
.dark .drag-hint { color: var(--lilac); }
.drag-hint svg { width: 16px; height: 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend .k1 { background: var(--lilac); }
.legend .k2 { background: var(--violet); }
.legend .k3 { background: rgba(255, 255, 255, .1); border: 1px solid rgba(194, 174, 249, .45); }

/* ---------- Climb ---------- */
.body.climb { gap: 12px; padding-top: 0; }
.climb-head { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.climb-head .big { font-size: 60px; font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; }
.climb-head .big.pop { animation: pop .35s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.climb-head .lab { font-size: 15px; color: var(--powder-200); min-height: 22px; }
.shared-note { align-self: center; display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--lilac); padding: 6px 6px 6px 12px; border-radius: 999px; }
.shared-note button { border: 0; background: var(--white); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; min-height: 32px; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chip {
  border-radius: 18px; padding: 12px 8px; text-align: center;
  background: rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 2px;
}
.chip b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chip span { font-size: 12px; color: var(--powder-200); line-height: 1.3; }
.chip.good b { color: var(--mint); }
.chip.wide { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; padding: 12px 16px; }
.chip.wide span { font-size: 13px; }
.chip.wide.total { background: rgba(120, 71, 255, .3); }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.milestones button {
  min-height: 44px; padding: 6px 8px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(194, 174, 249, .45); background: transparent; color: var(--white);
  font-size: 14px; font-weight: 600;
}
.milestones button[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--powder-200); cursor: pointer; }
.switch { position: relative; width: 52px; height: 32px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .18); transition: background .2s ease; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 999px; background: var(--white); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--violet); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--lilac); outline-offset: 2px; }
.mini-steppers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-step { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.mini-step button { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .14); color: var(--white); font-size: 20px; cursor: pointer; }
.mini-step span { font-size: 13px; font-weight: 600; text-align: center; }

/* ---------- Celebration ---------- */
.burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.burst i {
  position: absolute; width: 10px; height: 16px; border-radius: 3px;
  left: var(--x); top: var(--y); background: var(--c);
  animation: fly 1.6s var(--ease) var(--d, 0ms) both;
}
@keyframes fly {
  from { transform: translate(0, 0) rotate(0); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .burst { display: none; } }

/* ---------- Share ---------- */
.share-card {
  aspect-ratio: 1 / 1; border-radius: 28px; padding: 24px; background: var(--ink); color: var(--white);
  box-shadow: 10px 10px 0 var(--violet);
  display: flex; flex-direction: column; gap: 8px;
  position: relative; overflow: hidden; width: min(100%, 300px);
}
.card-slot { display: flex; justify-content: center; padding-right: 10px; }
.deal { animation: deal .55s var(--ease) both; }
@keyframes deal { from { transform: translateY(18px) rotate(-3deg) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .deal { animation: none; } }
.share-card .k { font-size: 13px; font-weight: 600; color: var(--lilac); }
.share-card .big { font-size: 26px; font-weight: 700; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.share-card .s { font-size: 15px; color: var(--powder-200); }
.share-card .logo { position: absolute; left: 22px; bottom: 22px; width: 84px; }
.share-card svg.card-stairs { position: absolute; right: 18px; bottom: 22px; width: 52%; height: auto; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 999px; background: var(--tint); }
.seg button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--violet-deep); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(31, 11, 86, .12); }
.msg { font-size: 14px; line-height: 1.5; color: var(--body); background: var(--tint); border-radius: 18px; padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.share-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.share-row .btn { min-height: 52px; font-size: 14px; padding: 10px 8px; gap: 6px; }
.toast { min-height: 20px; font-size: 14px; font-weight: 600; color: var(--green); text-align: center; }

/* ---------- Next steps ---------- */
.plan-card { border-radius: 24px; background: var(--ink); color: var(--white); padding: 20px 22px; display: flex; align-items: center; gap: 16px; box-shadow: 8px 8px 0 var(--violet); margin-right: 8px; }
.plan-card .pc-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.plan-card .pc-k { font-size: 13px; font-weight: 600; color: var(--lilac); }
.plan-card .pc-big { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.plan-card .pc-s { font-size: 14px; color: var(--powder-200); }
.plan-card svg { width: 96px; height: auto; flex: none; }
.check-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.check-head h2 { font-size: 20px; line-height: 1.25; }
.check-count { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--violet-deep); }
.check-steps { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.check-steps i { width: 8px; border-radius: 2px; background: var(--track); transition: background-color .3s ease; }
.check-steps i.on { background: var(--violet); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checks label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 14px 16px; border-radius: 18px; background: var(--tint); transition: background-color .2s ease; }
.checks input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--violet); flex: none; }
.checks b { display: block; font-size: 16px; }
.checks span span { font-size: 14px; color: var(--body); }
.checks input:checked + span b { text-decoration: line-through; text-decoration-color: var(--violet); }
.checks label:has(input:checked) { background: #ebe4fe; }
.done-note { font-size: 15px; font-weight: 600; color: var(--green); text-align: center; min-height: 22px; }

/* ---------- Provider ---------- */
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; width: 100%; max-width: 250px; align-self: center; touch-action: none; cursor: pointer; }
.dots i { aspect-ratio: 1; border-radius: 5px; background: rgba(255, 255, 255, .1); transition: background-color .2s ease, transform .2s var(--ease); }
.dots i.on { background: var(--violet); }
.dots i.edge { transform: scale(1.18); background: var(--lilac); }
.dots:focus-visible { outline: 3px solid var(--lilac); outline-offset: 6px; }
.stats { display: flex; flex-direction: column; gap: 8px; }
.stat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .08); }
.stat-row.lead { background: rgba(120, 71, 255, .3); }
.stat-row span { font-size: 14px; color: var(--white); line-height: 1.3; }
.stat-row span small { display: block; font-size: 12px; color: var(--powder-200); }
.stat-row b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chipset { display: flex; gap: 8px; justify-content: center; }
.chipset button {
  flex: 1; min-height: 44px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(194, 174, 249, .45); background: transparent; color: var(--white); font-size: 15px; font-weight: 600;
}
.chipset button[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.label-dark { font-size: 15px; font-weight: 600; color: var(--white); }
.qmeter { display: flex; gap: 6px; }
.qmeter i { flex: 1; height: 10px; border-radius: 999px; background: var(--track); }
.qmeter i.y { background: var(--violet); }
.qmeter i.m { background: var(--lilac); }
.qmeter i.n { background: var(--white); border: 2px solid var(--soft-violet); }
.qmeter i.cur { background: var(--ink); }
.why { font-size: 15px; line-height: 1.5; color: var(--body); padding: 14px 16px; border-radius: 18px; background: var(--tint); }
.why b { color: var(--ink); }
.answers { display: flex; flex-direction: column; gap: 10px; }
.answer {
  min-height: 64px; border-radius: 20px; cursor: pointer; text-align: left; padding: 14px 20px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: space-between;
  transition: transform .1s ease, background-color .15s ease, border-color .15s ease;
}
.answer:active { transform: scale(.98); }
.answer[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.answer .tick { width: 22px; height: 22px; opacity: 0; }
.answer[aria-pressed="true"] .tick { opacity: 1; }
.score { display: flex; justify-content: center; gap: 8px; }
.score i { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); border: 2px solid var(--lilac); }
.score i.y { background: var(--violet); border-color: var(--violet); animation: pop .4s var(--ease) both; }
.score i.m { background: var(--lilac); border-color: var(--lilac); animation: pop .4s var(--ease) both; }
.gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gaps li { padding: 14px 16px; border-radius: 18px; background: var(--tint); display: flex; flex-direction: column; gap: 4px; }
.gaps .gh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gaps b { font-size: 16px; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--white); color: var(--violet-deep); border: 1px solid var(--lilac); white-space: nowrap; }
.gaps .fix { font-size: 14px; color: var(--body); }
.gaps .yours { font-size: 13px; font-weight: 600; color: var(--violet-deep); }
.year-card { border-radius: 24px; background: var(--ink); color: var(--white); padding: 20px; box-shadow: 8px 8px 0 var(--violet); margin-right: 8px; display: flex; flex-direction: column; gap: 12px; }
.year-card .yk { font-size: 13px; font-weight: 600; color: var(--lilac); }
.year-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.year-grid b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.year-grid span { font-size: 12px; color: var(--powder-200); }
.year-card .btn { min-height: 48px; font-size: 15px; }
.tracker { border-radius: 24px; border: 1.5px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.tracker-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tracker-h b { font-size: 16px; }
.tr-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 12px; border-radius: 16px; background: var(--tint); }
.tr-row .tr-name { font-size: 14px; font-weight: 600; }
.tr-row .tr-days { font-size: 13px; color: var(--muted); text-align: right; }
.tr-stages { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.tr-stages i { height: 6px; border-radius: 999px; background: var(--line); }
.tr-stages i.done { background: var(--violet); }
.tr-stages i.now { background: var(--ink); }
.tr-row .tr-wait { grid-column: 1 / -1; font-size: 13px; color: var(--body); }
.tr-row .tr-wait b { color: var(--violet-deep); }
.form { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 24px; border: 1.5px solid var(--line); }
.form h2 { font-size: 20px; line-height: 1.25; }
.form label { font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.form input[type="text"], .form input[type="email"] { min-height: 50px; padding: 10px 14px; border: 1.5px solid #b4b0bf; border-radius: 14px; font-size: 16px; font-weight: 500; background: var(--white); }
.form input:focus { outline: 3px solid var(--violet); outline-offset: 0; border-color: var(--violet); }
.inside { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--body); }
.inside li { padding-left: 16px; position: relative; }
.inside li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--violet); }
.thanks { text-align: center; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 24px; background: var(--tint); }
.thanks h2 { font-size: 20px; }

/* ---------- Assistant ---------- */
.ask-card {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 16px; border-radius: 22px; border: 1.5px solid var(--lilac); background: var(--white); color: var(--ink);
  transition: transform .15s ease;
}
.ask-card:active { transform: scale(.98); }
.ask-card .ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--violet); color: var(--white); }
.ask-card .ic svg { width: 24px; height: 24px; }
.ask-card .t { display: block; font-size: 17px; font-weight: 700; }
.ask-card .s { display: block; font-size: 14px; color: var(--body); line-height: 1.35; }
.ask-title { display: flex; align-items: center; gap: 10px; }
.ask-title .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--violet); color: var(--white); }
.ask-title .ic svg { width: 22px; height: 22px; }
.ask-title b { display: block; font-size: 16px; line-height: 1.2; }
.ask-title span span { display: block; font-size: 12px; color: var(--muted); }
.chat { gap: 10px; }
.bubble { max-width: 86%; padding: 12px 16px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; animation: rise .3s var(--ease) both; }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } }
.bubble.bot { align-self: flex-start; background: var(--tint); color: var(--ink); border-radius: 20px 20px 20px 6px; }
.bubble.user { align-self: flex-end; background: var(--ink); color: var(--white); border-radius: 20px 20px 6px 20px; }
.bubble.error { background: #fdecf1; color: #a5123e; }
.bubble.typing { display: flex; gap: 5px; padding: 16px 18px; }
.bubble.typing i { width: 8px; height: 8px; border-radius: 999px; background: var(--soft-violet); animation: blink 1s infinite ease-in-out; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; }
.bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.suggest { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 4px; }
.suggest button {
  min-height: 44px; padding: 10px 16px; border-radius: 999px; cursor: pointer; text-align: left;
  border: 1.5px solid var(--lilac); background: var(--white); color: var(--violet-deep); font-size: 14px; font-weight: 600;
}
.composer { display: flex; gap: 8px; padding: 10px 16px 4px; border-top: 1px solid var(--line); }
.composer input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid #b4b0bf; font-size: 16px; background: var(--white); }
.composer input:focus { outline: 3px solid var(--violet); outline-offset: 0; border-color: var(--violet); }
.send { width: 52px; height: 52px; flex: none; border-radius: 999px; border: 0; cursor: pointer; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.send svg { width: 22px; height: 22px; }
.ask-note { padding: 4px 20px max(14px, env(safe-area-inset-bottom)); }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ================= Round 3 additions ================= */
.body.center .hero-stairs { padding: 0 6px; }
.hero-stairs .stairs { max-height: 26vh; }
.doors { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.illo { display: flex; justify-content: center; padding: 6px 0 2px; }
.illo .stairs { width: 100%; max-width: 230px; max-height: 18vh; }
.stairs.capped { max-height: 25vh; }

/* houses grid on provider inputs */
.houses { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; max-width: 280px; width: 100%; align-self: center; padding: 6px 0; }
.houses svg { width: 100%; height: auto; fill: var(--track); transition: fill .25s ease, transform .25s var(--ease); }
.houses svg.on { fill: var(--violet); }
.houses svg.on:nth-child(3n) { fill: var(--ink); }
.houses svg.on:nth-child(5n+1) { fill: var(--soft-violet); }

/* climb */
.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.badges button {
  min-height: 52px; padding: 6px 8px; border-radius: 16px; cursor: pointer;
  border: 1.5px dashed rgba(194, 174, 249, .5); background: transparent; color: var(--powder-200);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.badges .b-n { font-size: 16px; font-weight: 700; color: var(--white); }
.badges .b-t { font-size: 12px; font-weight: 500; }
.badges button.got { border-style: solid; border-color: var(--violet); background: var(--violet); color: var(--white); }
.unlock { animation: unlock .5s var(--ease); }
@keyframes unlock { 0% { transform: scale(1); } 35% { transform: scale(1.12) rotate(-2deg); } 100% { transform: scale(1); } }
.yearline { font-size: 14px; font-weight: 600; color: var(--mint); text-align: center; margin-top: -4px; }
.mbox { display: flex; flex-direction: column; gap: 8px; }
.mini-step { padding: 4px; }
.link-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px 8px 10px;
  border-radius: 999px; border: 1.5px solid rgba(194, 174, 249, .45); background: transparent; color: var(--white);
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.link-btn svg { width: 20px; height: 20px; color: var(--lilac); }
.mini-link { margin: 6px 0 0 54px; border: 0; background: none; padding: 6px 0; min-height: 32px; font-size: 14px; font-weight: 600; color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cele-pill {
  position: absolute; left: 50%; top: 34%; transform: translate(-50%, 0);
  background: var(--white); color: var(--ink); font-size: 20px; font-weight: 700; padding: 12px 22px; border-radius: 999px;
  box-shadow: 8px 8px 0 var(--violet); white-space: nowrap;
  animation: pillup 2.4s var(--ease) both;
}
@keyframes pillup { 0% { opacity: 0; transform: translate(-50%, 30px) scale(.9); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1); } 80% { opacity: 1; transform: translate(-50%, -6px); } 100% { opacity: 0; transform: translate(-50%, -24px); } }
.burst i { width: 11px; height: 18px; }

/* next steps */
.account { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 24px; background: var(--tint); border: 1.5px solid var(--lilac); }
.account h2 { font-size: 20px; line-height: 1.25; }
.checks input {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin: 0; flex: none; cursor: pointer;
  border-radius: 8px; border: 2px solid var(--soft-violet); background: var(--white);
  display: grid; place-items: center; transition: background-color .15s ease, border-color .15s ease;
}
.checks input:checked { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--ink); }
.checks input:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.checks li { list-style: none; }
.body > .btn.ghost { align-self: center; width: auto; padding: 10px 22px; }

/* provider plan */
.year-wrap { display: flex; justify-content: center; }
.year { width: 100%; max-width: 340px; height: auto; overflow: visible; touch-action: none; cursor: ns-resize; user-select: none; -webkit-user-select: none; }
.year:focus { outline: none; }
.year:focus-visible .ybg { stroke: var(--lilac); stroke-width: 1.5; }
.year .ybg { fill: rgba(255, 255, 255, .06); }
.year .ybar { fill: var(--violet); transition: y .3s var(--ease), height .3s var(--ease); }
.year .ybar:nth-child(24) { fill: var(--lilac); }
.year.dragging .ybar { transition: none; }
.year .ylbl { font: 600 11px Poppins, sans-serif; fill: var(--lilac); }
.year .ytop { font: 700 14px Poppins, sans-serif; fill: var(--white); transition: y .3s var(--ease); }
@media (prefers-reduced-motion: reduce) { .year .ybar, .year .ytop { transition: none; } }
.rate-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rate-row b { font-size: 20px; font-weight: 700; color: var(--white); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { border-radius: 18px; padding: 12px 14px; background: rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 2px; }
.tile.lead { background: rgba(120, 71, 255, .32); }
.tile b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile span { font-size: 13px; color: var(--white); line-height: 1.3; }
.tile small { display: block; font-size: 12px; color: var(--powder-200); }
.officers { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--powder-200); }
.officers .mini-step { min-width: 190px; }

/* provider questions: answer tiles */
.qtiles, .score, .yc-score { display: flex; gap: 6px; }
.qtiles { flex: 1; }
.qtiles i, .score i, .yc-score i, .score-key i {
  flex: 1; height: 28px; border-radius: 9px; background: var(--track); display: grid; place-items: center; color: var(--white);
  font-style: normal;
}
.qtiles i svg, .score i svg, .yc-score i svg, .score-key i svg { width: 16px; height: 16px; }
.qtiles i.cur { background: var(--ink); }
i.y { background: var(--violet) !important; }
i.m { background: var(--lilac) !important; color: var(--ink) !important; }
i.n { background: var(--white) !important; box-shadow: inset 0 0 0 2px var(--soft-violet); color: var(--violet-deep) !important; }
i.fill { animation: pop .35s var(--ease); }
.answer { justify-content: flex-start; gap: 14px; }
.a-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.a-ic svg { width: 18px; height: 18px; }
.a-y { background: var(--violet); color: var(--white); }
.a-m { background: var(--lilac); color: var(--ink); }
.a-n { background: var(--white); color: var(--violet-deep); box-shadow: inset 0 0 0 2px var(--soft-violet); }
.answer[aria-pressed="true"] .a-ic { box-shadow: 0 0 0 2px var(--white); }

/* provider result */
.score { justify-content: center; gap: 8px; }
.score i { flex: none; width: 52px; height: 52px; border-radius: 14px; animation: pop .45s var(--ease) both; }
.score i svg { width: 24px; height: 24px; }
.score i.d0 { animation-delay: 100ms; } .score i.d1 { animation-delay: 200ms; } .score i.d2 { animation-delay: 300ms; } .score i.d3 { animation-delay: 400ms; } .score i.d4 { animation-delay: 500ms; }
.score-key { display: flex; justify-content: center; gap: 16px; font-size: 13px; color: var(--muted); margin-top: -6px; }
.score-key span { display: inline-flex; align-items: center; gap: 6px; }
.score-key i { flex: none; width: 18px; height: 18px; border-radius: 5px; }
.score-key i svg { width: 12px; height: 12px; }
.sec { font-size: 20px; line-height: 1.25; margin-top: 4px; }
.try {
  align-self: flex-start; margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 8px;
  border-radius: 999px; border: 1.5px solid var(--lilac); background: var(--white); color: var(--violet-deep); font-size: 14px; font-weight: 600; cursor: pointer;
}
.try .tick { width: 20px; height: 20px; opacity: 1; padding: 3px; border-radius: 999px; background: var(--tint); color: transparent; }
.try[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.try[aria-pressed="true"] .tick { background: var(--violet); color: var(--white); }
.year-card .btn { background: var(--white); color: var(--ink); box-shadow: none; }
.yc-score { align-items: center; }
.yc-score i { flex: none; width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.14); }
.yc-score i svg { width: 13px; height: 13px; }
.yc-score span { font-size: 13px; color: var(--powder-200); margin-left: 6px; }
.report {
  display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 24px; background: var(--white);
  border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--violet); margin-right: 8px;
}
.report label { font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.report input { min-height: 50px; padding: 10px 14px; border: 1.5px solid #b4b0bf; border-radius: 14px; font-size: 16px; font-weight: 500; background: var(--white); }
.report input:focus { outline: 3px solid var(--violet); outline-offset: 0; border-color: var(--violet); }
.rp-head { display: flex; gap: 14px; align-items: center; }
.rp-ic { width: 52px; height: 64px; flex: none; border-radius: 10px; background: var(--ink); color: var(--lilac); display: grid; place-items: center; }
.rp-ic svg { width: 26px; height: 26px; }
.rp-k { display: block; font-size: 13px; font-weight: 600; color: var(--violet-deep); }
.rp-head b { display: block; font-size: 19px; line-height: 1.2; }
.rp-meta { display: block; font-size: 13px; color: var(--muted); }
.rp-quote { font-size: 15px; line-height: 1.5; color: var(--body); padding-left: 14px; border-left: 3px solid var(--violet); }
.field-err { font-size: 14px; font-weight: 600; color: #a5123e; min-height: 0; }
.field-err:empty { display: none; }
.ask-card .chev { margin-left: auto; color: var(--violet); flex: none; }
.ask-card .chev svg { width: 22px; height: 22px; }

/* desktop panel changes with the side you're on */
.dp-v { display: none; flex-direction: column; gap: 18px; }
body:not([data-side="r"]):not([data-side="p"]) .dp-all, body[data-side=""] .dp-all { display: flex; }
body[data-side="r"] .dp-r, body[data-side="p"] .dp-p { display: flex; }

/* ================= Round 4 additions ================= */
/* inputs: question at the top, controls down by the thumb */
.body.inputs .ctl { margin-top: auto; display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.bignum { gap: 16px; }
.bignum input { transition: font-size .15s ease; }

/* staircase colours: what you own is lilac, the extra share violet, on every screen */
.stairs .bg { fill: var(--white); stroke: var(--line); }
.stairs .own { fill: var(--lilac); }
.stairs .new { fill: var(--violet); }
.stairs g.lit { animation: lit .6s var(--ease); }
@keyframes lit { 0% { transform: translateY(0); filter: brightness(1); } 40% { transform: translateY(-6px); filter: brightness(1.5); } 100% { transform: translateY(0); filter: brightness(1); } }
.legend .k1 { background: var(--lilac); }

/* climb: milestones show progress, not selection */
.badges button { flex-direction: column; }
.badges .b-n { display: inline-flex; align-items: center; gap: 4px; }
.badges .tick { width: 0; height: 14px; opacity: 0; transition: width .2s ease, opacity .2s ease; }
.badges button.got { border-style: solid; border-color: var(--lilac); background: transparent; color: var(--lilac); }
.badges button.got .tick { width: 14px; opacity: 1; color: var(--mint); }
.badges button[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: var(--white); }
.badges .b-t { font-size: 13px; white-space: nowrap; }
.chip span { font-size: 13px; }
.chip.good b { color: var(--mint); }
.overall { border-radius: 20px; background: rgba(120, 71, 255, .28); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.ov-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ov-row span { font-size: 15px; font-weight: 600; }
.ov-row b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.ov-sub { font-size: 13px; line-height: 1.45; color: var(--powder-200); }
.ov-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ov-link { border: 0; background: none; padding: 8px 0; min-height: 44px; color: var(--lilac); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ov-toggle { margin-left: auto; display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--powder-200); cursor: pointer; }
.mini-step { background: rgba(255, 255, 255, .1); }

/* share */
.share-card { aspect-ratio: 5 / 4; width: min(100%, 320px); }
.share-card .card-stairs { width: 46%; }
.msg-link { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--violet-deep); }
.msg-link svg { width: 16px; height: 16px; }

/* next steps */
.plan-card { transition: box-shadow .3s ease; }
.plan-card.ready { box-shadow: 8px 8px 0 var(--mint); }
.pc-ready { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--mint); }
.pc-ready[hidden] { display: none; }
.pc-ready .tick { width: 16px; height: 16px; opacity: 1; }
.account .sub { font-size: 15px; }
.done-note { color: var(--violet-deep); }
.done-note:empty { display: none; }

/* provider questions */
.qhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qmini { display: flex; gap: 5px; }
.qmini i { width: 22px; height: 22px; border-radius: 7px; background: var(--track); display: grid; place-items: center; color: var(--white); font-style: normal; }
.qmini i svg { width: 13px; height: 13px; }
.qmini i.cur { background: var(--ink); }
.a-y, .a-m, .a-n { background: var(--tint); color: var(--muted); box-shadow: none; }
.answer[aria-pressed="true"] .a-y { background: var(--violet); color: var(--white); }
.answer[aria-pressed="true"] .a-m { background: var(--lilac); color: var(--ink); }
.answer[aria-pressed="true"] .a-n { background: var(--white); color: var(--violet-deep); }
.answer[aria-pressed="true"] .a-ic { box-shadow: none; }
@media (hover: hover) { .answer:hover .a-ic { color: var(--violet-deep); } }

/* provider result */
.score .sl { display: block; animation: pop .45s var(--ease) both; }
.score .sl.d0 { animation-delay: 100ms; } .score .sl.d1 { animation-delay: 200ms; } .score .sl.d2 { animation-delay: 300ms; } .score .sl.d3 { animation-delay: 400ms; } .score .sl.d4 { animation-delay: 500ms; }
.score i { animation: none; }
.score i.fill { animation: pop .35s var(--ease); }
i.plan { background: var(--white) !important; box-shadow: inset 0 0 0 2px var(--violet) !important; outline: 2px dashed var(--violet); outline-offset: -2px; color: var(--violet) !important; }
.score-key { flex-wrap: wrap; row-gap: 6px; }
.res-head { display: flex; flex-direction: column; gap: 16px; }
.yc-tiles { display: flex; gap: 5px; }
.year-card .yc-score i.plan { background: transparent !important; outline-color: var(--lilac); box-shadow: inset 0 0 0 2px var(--lilac) !important; color: var(--lilac) !important; }
.talk { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 24px; background: var(--tint); }
.talk h2 { font-size: 20px; line-height: 1.25; }
.talk .sub { font-size: 15px; }
.rp-quote { margin: 0; padding-left: 14px; border-left: 3px solid var(--violet); }
.rp-quote blockquote { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.rp-quote figcaption { margin-top: 4px; font-size: 12px; color: var(--muted); }
.tracker.play .tr-stages i.done, .tracker.play .tr-stages i.now { animation: stagefill .4s var(--ease) both; animation-delay: calc(var(--k) * 70ms); }
@keyframes stagefill { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.tracker.play .tr-stages i.now { animation: stagefill .4s var(--ease) both, nowpulse 1.6s ease-in-out infinite; animation-delay: calc(var(--k) * 70ms), 1.4s; }
@keyframes nowpulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .tracker.play .tr-stages i { animation: none !important; } }
.year .yscale { font: 500 12px Poppins, sans-serif; fill: var(--lilac); }
.pop-svg { animation: popsvg .35s var(--ease); transform-box: fill-box; transform-origin: center; }
@keyframes popsvg { 40% { transform: scale(1.3); } }

/* phone: columns simply stack */
.col-a, .col-b { display: contents; }

}

/* ================= Round 5 additions ================= */
.body.inputs .illo.grow { flex: 1; min-height: 120px; align-items: center; }
.big-house { --s: .8; position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.big-house > svg { width: 100%; height: 100%; fill: var(--violet); transform: scale(var(--s)); transform-origin: center bottom; transition: transform .3s var(--ease); filter: drop-shadow(8px 8px 0 var(--lilac)); }
.big-house .tag { position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%); background: var(--white); color: var(--ink); font-weight: 700; font-size: 15px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.portfolio { text-align: center; display: flex; flex-direction: column; gap: 4px; padding: 22px 26px; border-radius: 24px; background: var(--ink); color: var(--white); box-shadow: 8px 8px 0 var(--violet); }
.portfolio b { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.portfolio span { font-size: 14px; color: var(--powder-200); }
.climb-head .lab2 { font-size: 13px; color: var(--lilac); }
.badges button.passed { opacity: .55; }
.ov-toggle { margin-left: 0; gap: 12px; color: var(--white); }
.ov-actions { justify-content: flex-start; }
.msg.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.msg.clamp .msg-link { display: none; }
.msg-wrap { display: flex; flex-direction: column; gap: 2px; }
.msg-wrap .ov-link { align-self: flex-start; color: var(--violet-deep); }
.btn.outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; min-height: 52px; }
@media (hover: hover) { .btn.outline:hover { background: var(--tint); } }
.ticked { animation: ticked .45s var(--ease); }
@keyframes ticked { 0% { transform: scale(1); } 40% { transform: scale(1.025); background: #ddd2fd; } 100% { transform: scale(1); } }
.checks input:checked { animation: pop .3s var(--ease); }
.mini-link { min-height: 44px; }
.try .tick { display: none; }
.try-ic { width: 22px; height: 22px; border-radius: 999px; background: var(--tint); position: relative; flex: none; }
.try-ic::before, .try-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--violet-deep); transform: translate(-50%, -50%); border-radius: 2px; }
.try-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.try[aria-pressed="true"] .try-ic { background: var(--violet); }
.try[aria-pressed="true"] .try-ic::before { width: 6px; background: var(--white); transform: translate(-80%, 0) rotate(45deg); }
.try[aria-pressed="true"] .try-ic::after { width: 10px; background: var(--white); transform: translate(-25%, -30%) rotate(-50deg); }
.yc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.yc-actions .btn { font-size: 14px; padding: 10px 8px; gap: 6px; }
.prog.grouped i { background: linear-gradient(to right, var(--violet) var(--f, 0%), var(--track) var(--f, 0%)); }
.prog.grouped i.on { background: var(--violet); }
.dark .prog.grouped i { background: linear-gradient(to right, var(--violet) var(--f, 0%), rgba(255,255,255,.14) var(--f, 0%)); }
.dark .prog.grouped i.on { background: var(--violet); }
.prog.grouped i.here { box-shadow: inset 0 0 0 2px var(--ink); }
.dark .prog.grouped i.here { box-shadow: inset 0 0 0 2px var(--lilac); }

/* short phones: keep the key numbers on screen */
@media (max-height: 760px) and (max-width: 519px) {
  .climb-head .big { font-size: 48px; }
  .stairs.capped { max-height: 21vh; }
  .body.climb { gap: 10px; }
  .share-card { width: min(100%, 250px); }
  .q { font-size: 25px; }
  .big-house { width: 120px; height: 120px; }
}
.yc-actions .btn { white-space: nowrap; min-height: 48px; padding: 8px 10px; }
.yc-actions .btn svg { width: 18px; height: 18px; }

/* ================= Pulse concept ================= */
.pulse-mark { width: 30px; height: 14px; flex: none; color: var(--violet); }
.dark .pulse-mark { color: var(--lilac); }
.beat { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--mint); position: relative; flex: none; }
.beat::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: beat 1.6s ease-out infinite; }
@keyframes beat { 0% { transform: scale(1); opacity: .8; } 70% { transform: scale(2.8); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .beat::after { animation: none; } }
.pulse-tag { display: inline-flex; align-items: center; gap: 6px; }
.pulse-tag .beat { background: var(--violet-deep); }

/* the pulse running up the stairs */
.stairs .pline-base { fill: none; stroke: rgba(194, 174, 249, .35); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.stairs .pline { fill: none; stroke: var(--white); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 70 1400; stroke-dashoffset: 1470; animation: pulseRun 3.2s cubic-bezier(.45, 0, .2, 1) infinite; filter: drop-shadow(0 0 6px rgba(194, 174, 249, .9)); }
@keyframes pulseRun { 0% { stroke-dashoffset: 1470; opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 85% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stairs .pline { animation: none; stroke-dasharray: none; stroke-width: 2.5; opacity: .8; } }
.hero-stairs .stairs { overflow: visible; padding-left: 26px; }

.why-pulse { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--powder-200); padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.why-pulse .pulse-mark { margin-top: 3px; }
.why-pulse b { color: var(--white); }
.live { align-self: center; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--lilac); margin-bottom: 2px; }

.reading-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.reading-head .rh-t { color: var(--lilac); }
.reading-head .rh-d { margin-left: auto; color: var(--powder-200); font-weight: 500; }
.res-head .reading-head { justify-content: center; }
.res-head .reading-head .rh-t { color: var(--violet-deep); }
.res-head .reading-head .rh-d { margin-left: 0; color: var(--muted); }
.res-head .reading-head .rh-d::before { content: ", "; }
.plan-card { flex-direction: column; align-items: stretch; gap: 10px; }
.pc-row { display: flex; align-items: center; gap: 16px; }
.pc-next { font-size: 14px; line-height: 1.45; color: var(--powder-200); border-top: 1px solid rgba(194, 174, 249, .25); padding-top: 12px; }
.remind {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(194, 174, 249, .5); background: transparent; color: var(--white); font-size: 14px; font-weight: 600; text-align: left;
}
.remind svg { width: 20px; height: 20px; flex: none; color: var(--lilac); }
.remind-note:empty { display: none; }
.plan-card .remind-note { color: var(--mint); }
.res-remind { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.res-remind .remind { color: var(--ink); border-color: var(--lilac); background: var(--white); }
.res-remind .remind svg { color: var(--violet); }
.res-remind .remind-note { color: var(--green); font-weight: 600; }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.listcount { font-size: 13px; font-weight: 600; color: var(--white); background: var(--violet); border-radius: 999px; padding: 3px 10px; }
.listcount:empty { display: none; }
.yc-actions { grid-template-columns: 1fr; }
.btn.ghost-light { background: transparent; color: var(--white); border: 1.5px solid rgba(194, 174, 249, .5); box-shadow: none; }
.year-card .btn.ghost-light { background: transparent; color: var(--white); }
.center-link { align-self: center; color: var(--violet-deep); }
.rent-stairs { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 6px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 5px 0 10px; vertical-align: -1px; }
.sw.own { background: var(--lilac); margin-left: 0; }
.sw.rent { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.illo.col { flex-direction: column; gap: 8px; }
.illo.col .stairs-wrap { width: 100%; }
.check-steps i { background: var(--lilac); opacity: .45; }
.check-steps i.on { background: var(--violet); opacity: 1; }
.prog.grouped i.here, .dark .prog.grouped i.here { box-shadow: none; }

/* share card: text on top, logo and stairs on a fixed bottom row so nothing collides */
.share-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; }
.share-card .k { display: inline-flex; align-items: center; gap: 8px; }
.share-card .k .pulse-mark { width: 26px; height: 12px; color: var(--lilac); }
.share-card .big { font-size: clamp(20px, 6.4vw, 25px); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.share-card .s { font-size: 14px; }
.share-card .logo, .share-card .card-stairs { position: static; }
.share-card .card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.share-card .card-foot .logo { width: 80px; }
.share-card .card-foot .card-stairs { width: 44%; }

.dp-title { display: flex; align-items: center; gap: 14px; }
.dp-mark { width: 74px; height: 34px; color: var(--violet); }
.dp-why { font-size: 15px; line-height: 1.5; color: var(--body); padding: 14px 16px; border-radius: 16px; background: var(--white); }
.dp-why b { color: var(--ink); }
@media (min-width: 1100px) and (max-height: 760px) { .dp-list, .dp-note { display: none; } .hero-stairs .stairs { max-height: 22vh; } }
.reading-head .rh-t, .reading-head .rh-d { white-space: nowrap; }
.res-head .reading-head .rh-d::before { content: none; }
.res-head .reading-head .rh-d { margin-left: 4px; }
.hero-stairs .stairs { max-height: 24vh; }
.remind span { white-space: nowrap; }
.plan-card .reading-head svg.pulse-mark { width: 30px; height: 14px; }
.plan-card .pc-row > svg { width: 96px; height: auto; flex: none; }

/* ================= Round 6 ================= */
/* centred screens never clip their top when content is taller than the screen */
.body.center { justify-content: flex-start; }
.body.center > :first-child { margin-top: auto; }
.body.center > :last-child { margin-bottom: auto; }

.pulse-kick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--violet-deep); margin-bottom: -6px; }
.pulse-kick .beat { background: var(--violet); }
.qhead { align-items: center; flex-wrap: wrap; row-gap: 8px; }
.qhead .pulse-kick { margin-bottom: 0; }
.prog i.here { animation: herepulse 1.8s ease-in-out infinite; }
@keyframes herepulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .prog i.here { animation: none; } }

.back-card {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: 20px; border: 1.5px solid var(--mint); background: rgba(77, 230, 166, .08); color: var(--white);
}
.back-card .pulse-mark { color: var(--mint); width: 34px; height: 16px; }
.back-card b { display: block; font-size: 16px; }
.back-card span span { display: block; font-size: 14px; color: var(--powder-200); line-height: 1.35; }
.back-card > svg:last-child { width: 20px; height: 20px; margin-left: auto; flex: none; color: var(--mint); }
.last { align-self: center; font-size: 13px; font-weight: 600; color: var(--mint); background: rgba(77, 230, 166, .1); padding: 3px 12px; border-radius: 999px; }
.center-last { color: var(--green); background: #e6f6ee; }
.stairs .ghost circle { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-dasharray: 4 4; }

.share-card { min-height: 280px; aspect-ratio: auto; }
.share-card .fine { font-size: 11px; color: var(--lilac); }
.big-house { width: 190px; height: 190px; }
.stairs.capped { max-height: 27vh; }
@media (max-height: 760px) and (max-width: 519px) { .stairs.capped { max-height: 22vh; } .big-house { width: 140px; height: 140px; } .share-card { min-height: 240px; } }
.badges .b-t { font-size: 12px; }
body[data-screen="start"] .dp-why { display: none; }
.dp-qr p { overflow-wrap: anywhere; }
.body { padding-bottom: 44px; }
.share-card { grid-template-rows: auto auto auto 1fr auto; }
.share-card .fine { align-self: end; }
.bignum input { text-align: left; }
.share-card .card-foot svg.card-stairs { position: static; width: 44%; right: auto; bottom: auto; }
.share-card .card-foot img.logo { position: static; }

/* ================= Round 7 ================= */
.pulse-kick .pulse-mark { width: 26px; height: 12px; color: var(--violet); }
.was { align-self: center; font-size: 13px; font-weight: 600; color: var(--green); background: #e6f6ee; padding: 4px 12px; border-radius: 999px; text-align: center; }
.stairs .pline-rise { fill: none; stroke: var(--mint); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; transition: stroke-dashoffset .3s var(--ease); filter: drop-shadow(0 0 5px rgba(77, 230, 166, .6)); }
.stairs.dragging .pline-rise { transition: none; }
.climb-head .lab { min-height: 22px; }
.climb-head .lab2 { min-height: 19px; }
.climb-head .last { margin-bottom: 4px; }
.pc-delta { font-size: 14px; font-weight: 600; color: var(--mint); }
.keyline { text-align: center; font-size: 15px; font-weight: 600; color: var(--violet-deep); margin-top: -6px; }
/* the score is a small staircase: one step per answer */
.score { align-items: flex-end; }
.score .sl.d0 i { height: 40px; } .score .sl.d1 i { height: 46px; } .score .sl.d2 i { height: 52px; } .score .sl.d3 i { height: 58px; } .score .sl.d4 i { height: 64px; }
.score i { align-items: end; padding-bottom: 8px; }
/* desktop panel stays put */
@media (min-width: 1100px) {
  .stage { align-items: center; }
  .desk-panel { align-self: stretch; justify-content: center; max-height: min(880px, calc(100dvh - 56px)); margin: auto 0; }
}
.dp-why { display: none !important; }

/* ================= Round 8 ================= */
.seg.pay { background: rgba(255, 255, 255, .08); }
.seg.pay button { color: var(--powder-200); }
.seg.pay button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.spark { width: 44px; height: 20px; flex: none; overflow: visible; }
.spark path { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.year .ypulse { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; transition: d .3s var(--ease); filter: drop-shadow(0 0 4px rgba(77, 230, 166, .55)); }
.year.dragging .ypulse { transition: none; }
.year .ydot { fill: var(--mint); transition: cy .3s var(--ease); }
.year .ytip { font: 600 12px Poppins, sans-serif; fill: var(--white); }
.score-trace { width: 190px; height: 34px; align-self: center; margin-top: -8px; }
.score-trace path { fill: none; stroke: var(--violet); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: trace 1.2s .6s var(--ease) forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .score-trace path { animation: none; stroke-dashoffset: 0; } }
.rp-cover { width: 66px; height: 88px; flex: none; border-radius: 6px; background: var(--ink); color: var(--white); padding: 7px 6px; display: flex; flex-direction: column; gap: 3px; box-shadow: 4px 4px 0 var(--violet); overflow: hidden; }
.rc-k { font-size: 6px; font-weight: 600; color: var(--lilac); }
.rc-t { font-size: 8.5px; font-weight: 700; line-height: 1.15; }
.rp-cover .rc-st { width: 100%; height: auto; margin-top: auto; }
.talk-line { text-align: center; font-size: 15px; color: var(--body); }
.talk-line .ov-link { color: var(--violet-deep); padding: 4px 0; }
.prog i.here { animation: none; }
.stairs g.lit { animation-name: lit2; }
@keyframes lit2 { 0% { transform: translateY(0); } 40% { transform: translateY(-6px); } 100% { transform: translateY(0); } }
i.n { background: var(--tint) !important; box-shadow: none !important; color: var(--muted) !important; }
.illo.col .stairs { max-height: 30vh; }
.plan-card .pc-big { margin-bottom: 6px; }
@media (max-height: 760px) and (max-width: 519px) { .hero-stairs .stairs { max-height: 17vh; } .hero-title { font-size: 32px; } .stairs.capped { max-height: 19vh; } }
.illo.col .stairs { max-width: none; width: 100%; max-height: 30vh; }
.tracker.play .tr-stages i.now { animation: nowpulse 1.6s ease-in-out 1s infinite; }

/* ================= Round 9 ================= */
.center-legend { justify-content: center; margin-top: -6px; }
.jump-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jump-row .badges { display: flex; gap: 6px; }
.jump-row .badges button { min-height: 44px; min-width: 58px; padding: 4px 10px; border-radius: 999px; border: 1.5px solid rgba(194, 174, 249, .55); background: rgba(194, 174, 249, .1); }
.jump-row .badges .b-n { font-size: 14px; }
.jump-row .badges button.passed { opacity: 1; }
.year .ybar.hi { fill: var(--mint); }
.year .ybar.after { opacity: .35; }
.cap-note { font-size: 13px; font-weight: 600; color: var(--violet-deep); text-align: center; margin-top: -8px; }
.cap-note:empty { display: none; }
.welcome-top { position: relative; z-index: 3; background: var(--ink); }
.rent-stairs { max-width: 340px; margin: 0 auto; align-items: center; }
.rent-stairs .stairs { width: 100%; }
.score-trace path { animation-delay: .1s; }
/* primary buttons carry the brand's solid offset shadow */
.btn:not(.ghost):not(.light):not(.outline):not(.ghost-light) { box-shadow: 4px 4px 0 var(--violet); }
.dark .btn:not(.ghost):not(.light):not(.outline):not(.ghost-light) { box-shadow: 4px 4px 0 var(--violet); }
.btn:not(.ghost):active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--violet) !important; }
.year-card .btn, .report .btn { box-shadow: 4px 4px 0 var(--lilac) !important; }
.foot .btn { margin-right: 4px; width: calc(100% - 4px); }
#p-talk .btn.light { margin-top: -4px; }
.rent-stairs .stairs { max-width: none; max-height: 24vh; }

/* ================= Round 10 ================= */
.switch-link { align-self: flex-start; border: 0; background: none; padding: 10px 0; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; margin-top: -8px; }
.hero-stairs .stairs { max-height: 20vh; }
.why-pulse { padding: 10px 12px; font-size: 13px; }
.stairs .bg { stroke: var(--lilac); }
.step-btn { border-color: var(--lilac); }
.done-note { line-height: 1.5; padding-bottom: 2px; }
#p-talk .btn.outline { margin-top: -4px; }
.res-remind { margin-top: -4px; }
@media (min-width: 1100px) and (max-height: 760px) {
  .dp-list { display: flex !important; gap: 8px; }
  .dp-list li { font-size: 14px; }
  .dp-lead { font-size: 16px; }
  .dp-title { font-size: 48px; }
  .dp-qr { padding: 10px; } .dp-qr img { width: 72px; height: 72px; }
  .dp-note { display: none; }
}
.dark .stairs .bg { fill: rgba(194, 174, 249, .16); stroke: rgba(194, 174, 249, .55); }
.legend .k3 { background: rgba(194, 174, 249, .16); border-color: rgba(194, 174, 249, .55); }
.step-btn, .mini-step button, .btn, .answer, .seg button { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.range { touch-action: pan-y; }
