/* Onboarding v2: Welcome, one-question flows, insight cards, reveal, quests, art.
   Uses only the shared tokens from styles.css (fallbacks are the light theme). */

.ob {
  --ob-max: 560px;
  max-width: var(--ob-max);
  margin: 0 auto;
  padding: 0 0 40px; /* app.js <main> already gives the 16px side gutter */
  color: var(--ink, #17201b);
  font-family: var(--font, system-ui, sans-serif);
}
.ob-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ob :focus-visible { outline: 3px solid var(--focus, #2f6fdc); outline-offset: 2px; }
.ob [tabindex="-1"]:focus { outline: none; }
.ob [hidden] { display: none !important; }

/* ---------- buttons ---------- */
.ob-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap, 44px); padding: 12px 22px; border-radius: 999px;
  border: 1.5px solid var(--line, #ddd8cb); background: var(--card, #fff); color: var(--ink, #17201b);
  font: inherit; font-weight: 650; font-size: 1.02rem; cursor: pointer;
  transition: transform .2s var(--ease, cubic-bezier(.2,.8,.2,1)), background-color .2s, box-shadow .2s;
}
.ob-btn .ico { width: 18px; height: 18px; }
.ob-btn.primary { background: var(--accent, #1c6b4c); border-color: var(--accent, #1c6b4c); color: var(--accent-ink, #fff); box-shadow: var(--shadow, 0 8px 22px -16px rgba(0,0,0,.45)); }
.ob-btn.primary:hover { filter: brightness(1.06); }
.ob-btn:active { transform: scale(.97); }
.ob-btn.ghost { background: transparent; }
.ob-btn.wide { width: 100%; min-height: 56px; font-size: 1.1rem; }
.ob-link {
  background: none; border: 0; padding: 10px 6px; min-height: var(--tap, 44px);
  color: var(--accent, #1c6b4c); font: inherit; font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
}
.ob-iconbtn {
  display: inline-grid; place-items: center; width: var(--tap, 44px); height: var(--tap, 44px); flex: none;
  border-radius: 50%; border: 1.5px solid var(--line, #ddd8cb); background: var(--card, #fff); color: var(--ink, #17201b); cursor: pointer;
}
.ob-iconbtn .ico { width: 20px; height: 20px; }

/* ---------- cards ---------- */
.ob-card {
  background: var(--card, #fff); border: 1px solid var(--line, #ddd8cb); border-radius: var(--r, 20px);
  box-shadow: var(--shadow, 0 8px 22px -16px rgba(0,0,0,.45)); padding: 22px 18px;
}

/* ---------- art ---------- */
.ill { display: block; width: 100%; height: auto; color: var(--ink, #17201b); }
.ill .k { stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ill path.k:not([class*="t-"]), .ill path.k-acc, .ill path.k-on, .ill path.k-cor { fill: none; }
.ill .k-acc { stroke: var(--accent, #1c6b4c); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill .k-on { stroke: var(--card, #fff); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ill .k-cor { stroke: var(--coral, #e5735a); stroke-width: 3; stroke-linecap: round; }
.ill .thick { stroke-width: 5; }
.ill .t-soft { fill: var(--accent-soft, #dcefe5); }
.ill .t-acc { fill: var(--accent, #1c6b4c); }
.ill .t-cor { fill: var(--coral, #e5735a); }
.ill .t-cor-s { fill: var(--coral-soft, #fbe3dc); }
.ill .t-sky { fill: var(--sky, #3d7fc4); }
.ill .t-sky-s { fill: var(--sky-soft, #e0ecf8); }
.ill .t-amb { fill: var(--amber, #d79a22); }
.ill .t-amb-s { fill: var(--amber-soft, #fbefd3); }
.ill .t-card { fill: var(--card, #fff); }
.ill .t-bg2 { fill: var(--bg-2, #ebe8de); }
.ill .t-ink { fill: currentColor; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }

/* ---------- Welcome ---------- */
.ob-welcome { text-align: center; padding-top: 8px; }
.welcome-hero { max-width: 360px; margin: 0 auto 6px; }
.welcome-h { font-size: clamp(1.7rem, 6.4vw, 2.3rem); line-height: 1.12; letter-spacing: -.02em; margin: 8px 0 10px; font-weight: 800; }
.welcome-sub { color: var(--muted, #5b655f); font-size: 1.05rem; line-height: 1.45; margin: 0 auto 22px; max-width: 30em; }
.ob-journeys { display: grid; gap: 14px; text-align: left; }
.journey-card {
  display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 14px;
  width: 100%; min-height: 112px; padding: 14px 16px; border-radius: var(--r, 20px);
  background: var(--card, #fff); border: 1.5px solid var(--line, #ddd8cb); color: var(--ink, #17201b);
  box-shadow: var(--shadow, 0 8px 22px -16px rgba(0,0,0,.45)); font: inherit; text-align: left; cursor: pointer;
  transition: transform .2s var(--ease, cubic-bezier(.2,.8,.2,1)), border-color .2s, box-shadow .2s;
}
.journey-card:hover { border-color: var(--accent, #1c6b4c); transform: translateY(-2px); box-shadow: var(--shadow-lg, 0 18px 40px -24px rgba(0,0,0,.5)); }
.journey-card:active { transform: scale(.98); }
.journey-art { width: 72px; }
.journey-text { display: grid; gap: 4px; }
.journey-title { font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
.journey-sub { display: block; font-size: .95rem; font-weight: 700; color: var(--accent, #1c6b4c); }
.journey-promise { color: var(--muted, #5b655f); line-height: 1.4; font-size: .97rem; }
.journey-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft, #dcefe5); color: var(--accent, #1c6b4c); }
.welcome-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin-top: 20px; }

/* sample sheet (dialog) */
.ob-sheet {
  width: min(560px, calc(100vw - 24px)); max-width: min(560px, calc(100vw - 24px)); max-height: 86vh; margin: auto auto 12px; padding: 20px 18px 24px;
  border: 1px solid var(--line, #ddd8cb); border-radius: var(--r, 20px); background: var(--card, #fff); color: var(--ink, #17201b);
  box-shadow: var(--shadow-lg, 0 18px 40px -24px rgba(0,0,0,.5)); text-align: left;
}
.ob-sheet[open] { animation: ob-sheet-in .28s var(--ease, cubic-bezier(.2,.8,.2,1)); }
.ob-sheet::backdrop { background: rgba(10, 16, 13, .45); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { margin: 0; font-size: 1.3rem; }
.sheet-sub { color: var(--muted, #5b655f); margin: 6px 0 14px; }
.sheet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ob-sample {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; min-height: var(--tap, 44px); padding: 14px;
  border-radius: var(--r-sm, 12px); border: 1.5px solid var(--line, #ddd8cb); background: var(--bg, #f5f3ec);
  color: var(--ink, #17201b); font: inherit; text-align: left; cursor: pointer;
}
.ob-sample:hover { border-color: var(--accent, #1c6b4c); }
.ob-sample b { display: block; margin-bottom: 2px; }
.ob-sample small { color: var(--muted, #5b655f); font-size: .9rem; line-height: 1.35; }
.ob-sample-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--accent-soft, #dcefe5); color: var(--accent, #1c6b4c); }
@media (min-width: 640px) { .ob-sheet { margin: auto; } }

/* ---------- flow chrome ---------- */
.ob-top { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 2; padding: 8px 0 12px; background: var(--bg, #f5f3ec); }
.ob-meter { flex: 1; min-width: 0; }
.ob-meter-bar { height: 10px; border-radius: 999px; background: var(--bg-2, #ebe8de); overflow: hidden; }
.ob-meter-fill { display: block; height: 100%; width: 4%; border-radius: inherit; background: var(--accent, #1c6b4c); transition: width .4s var(--ease, cubic-bezier(.2,.8,.2,1)); }
.ob-meter-text { margin: 6px 0 0; font-size: .86rem; color: var(--muted, #5b655f); font-variant-numeric: tabular-nums; line-height: 1.35; }
.ob-meter-text b { color: var(--ink, #17201b); font-weight: 750; }
.ob-stage { position: relative; display: grid; }
.ob-slide { grid-area: 1 / 1; min-width: 0; }
.ob-slide.leaving { pointer-events: none; }
.in-fwd { animation: ob-in-r .28s var(--ease, cubic-bezier(.2,.8,.2,1)) both; }
.in-back { animation: ob-in-l .28s var(--ease, cubic-bezier(.2,.8,.2,1)) both; }
.out-fwd { animation: ob-out-l .24s var(--ease, cubic-bezier(.2,.8,.2,1)) both; }
.out-back { animation: ob-out-r .24s var(--ease, cubic-bezier(.2,.8,.2,1)) both; }
@keyframes ob-in-r { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes ob-in-l { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes ob-out-l { to { opacity: 0; transform: translateX(-28px); } }
@keyframes ob-out-r { to { opacity: 0; transform: translateX(28px); } }
@keyframes ob-sheet-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- question ---------- */
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-legend { padding: 0; margin: 0 0 6px; float: left; width: 100%; } /* float: lets the legend wrap like a normal block */
.q-legend + * { clear: both; }
.q-title { font-size: clamp(1.45rem, 5.6vw, 1.85rem); line-height: 1.18; letter-spacing: -.015em; margin: 0; font-weight: 800; }
.q-why { clear: both; color: var(--muted, #5b655f); line-height: 1.45; margin: 8px 0 18px; font-size: .98rem; }
.q-why-tag {
  display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase; background: var(--accent-soft, #dcefe5); color: var(--accent, #1c6b4c); vertical-align: 1px;
}
.q-controls { display: grid; gap: 16px; }
.q-controls.side { gap: 12px; }
.qc { display: grid; gap: 8px; min-width: 0; }
fieldset.qc, .qc-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.qc-group { padding: 14px; border-radius: var(--r-sm, 12px); background: var(--bg, #f5f3ec); border: 1px solid var(--line, #ddd8cb); display: grid; gap: 14px; }
.qc-group > legend { float: left; width: 100%; padding: 0; font-weight: 800; font-size: 1.05rem; }
.qc-label { font-weight: 650; font-size: .98rem; padding: 0; }
fieldset.qc > legend.qc-label { margin-bottom: 8px; }
.qc-hint { margin: 0; color: var(--muted, #5b655f); font-size: .9rem; line-height: 1.4; }

/* money */
.money-in {
  display: flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 14px; border-radius: var(--r-sm, 12px);
  border: 1.5px solid var(--line, #ddd8cb); background: var(--card, #fff); font-variant-numeric: tabular-nums;
  transition: border-color .2s, box-shadow .2s;
}
.money-in:focus-within { border-color: var(--accent, #1c6b4c); box-shadow: 0 0 0 3px var(--accent-soft, #dcefe5); }
.money-in input:focus-visible { outline: none; }
.money-in:has(input:focus-visible) { outline: 3px solid var(--focus, #2f6fdc); outline-offset: 2px; }
.money-in span { color: var(--muted, #5b655f); font-weight: 700; font-size: 1.2rem; }
.money-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink, #17201b); font: inherit; font-size: 1.25rem; font-weight: 700; padding: 10px 0; }
.money-in.is-big { min-height: 76px; padding: 0 18px; }
.money-in.is-big span { font-size: 2rem; }
.money-in.is-big input { font-size: 2.2rem; letter-spacing: -.01em; }
.q-input {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: var(--r-sm, 12px); border: 1.5px solid var(--line, #ddd8cb);
  background-color: var(--card, #fff); color: var(--ink, #17201b); font: inherit; font-size: 1.05rem;
}
.q-input:focus { border-color: var(--accent, #1c6b4c); outline: 0; box-shadow: 0 0 0 3px var(--accent-soft, #dcefe5); }
select.q-input { padding-right: 38px; }
.q-input.is-big { min-height: 60px; font-size: 1.2rem; font-weight: 650; }

/* chips (real radio / checkbox inputs) */
.q-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; }
.q-chips.stack { grid-template-columns: 1fr; }
.q-chips:has(.is-small) { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
.q-chips.grid2 { display: grid; grid-template-columns: 1fr 1fr; }
.q-chip { position: relative; display: flex; min-width: 0; }
.q-chips.stack .q-chip, .q-chips.grid2 .q-chip { display: grid; }
.q-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.q-chip > span {
  display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 52px; width: 100%; padding: 10px 18px;
  border-radius: var(--r-sm, 12px); border: 1.5px solid var(--line, #ddd8cb); background: var(--card, #fff);
  font-weight: 650; font-size: 1.02rem; line-height: 1.25; text-align: center;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease, cubic-bezier(.2,.8,.2,1));
}
.q-chips.stack .q-chip > span { justify-content: flex-start; text-align: left; min-height: 58px; }
.q-chip.is-small > span { min-height: 44px; padding: 8px 12px; font-size: .94rem; }
.q-chip.tall > span { flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; padding: 10px 12px; }
.q-chip.tall small { font-weight: 500; font-size: .82rem; color: var(--muted, #5b655f); }
.q-chip:hover > span { border-color: var(--accent, #1c6b4c); }
.q-chip input:checked + span { background: var(--accent-soft, #dcefe5); border-color: var(--accent, #1c6b4c); color: var(--ink, #17201b); box-shadow: inset 0 0 0 1px var(--accent, #1c6b4c); }
.q-chip input:checked + span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, #1c6b4c); flex: none; margin-right: 4px; }
.q-chip.tall input:checked + span::before { display: none; }
.q-chip input:focus-visible + span { outline: 3px solid var(--focus, #2f6fdc); outline-offset: 2px; }
.q-chip input:active + span { transform: scale(.97); }
.qc-group .q-chip > span { background: var(--card, #fff); }
.match-other { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }

/* stepper + slider */
.stepper { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 10px; }
.step-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line, #ddd8cb); background: var(--card, #fff);
  color: var(--accent, #1c6b4c); font-size: 1.7rem; font-weight: 700; line-height: 1; cursor: pointer;
  transition: transform .15s var(--ease, cubic-bezier(.2,.8,.2,1)), background-color .2s;
}
.step-btn:hover { background: var(--accent-soft, #dcefe5); }
.step-btn:active { transform: scale(.92); }
.step-val { display: flex; align-items: baseline; justify-content: center; gap: 2px; font-variant-numeric: tabular-nums; }
.step-val input {
  width: 3.6ch; min-height: 64px; border: 0; border-bottom: 2px solid var(--line, #ddd8cb); background: transparent; color: var(--ink, #17201b);
  font: inherit; font-size: 2.6rem; font-weight: 800; text-align: center; padding: 0;
}
.step-val input:focus { outline: 0; border-bottom-color: var(--accent, #1c6b4c); }
.step-val span { font-size: 1.6rem; font-weight: 700; color: var(--muted, #5b655f); }
.q-range { width: 100%; height: 32px; margin: 4px 0 0; accent-color: var(--accent, #1c6b4c); }
.kid-rows { display: grid; gap: 10px; margin-top: 6px; }
.kid-row { display: grid; gap: 6px; }

.q-actions { display: grid; gap: 4px; justify-items: center; margin-top: 22px; }
.q-actions .ob-btn.primary { width: 100%; min-height: 56px; font-size: 1.1rem; }

/* ---------- insight card ---------- */
.insight-card, .quest-done { text-align: center; padding: 26px 20px; }
.insight-art { width: 112px; margin: 0 auto 8px; }
.insight-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 4px 12px; border-radius: 999px;
  background: var(--amber-soft, #fbefd3); color: var(--ink, #17201b); font-weight: 700; font-size: .85rem;
}
.insight-eyebrow .ico { width: 16px; height: 16px; color: var(--amber, #d79a22); }
.insight-title { font-size: clamp(1.35rem, 5.2vw, 1.7rem); line-height: 1.2; margin: 4px 0 10px; font-weight: 800; letter-spacing: -.01em; }
.insight-body { font-size: 1.06rem; line-height: 1.5; margin: 0 auto 8px; max-width: 32em; }
.insight-note { color: var(--muted, #5b655f); font-size: .85rem; margin: 0 0 18px; }
.insight-card .ob-btn, .quest-done .ob-btn { width: 100%; min-height: 54px; }

/* ---------- reveal ---------- */
.ob-reveal { text-align: center; }
.reveal-art { width: 96px; margin: 4px auto 0; }
.reveal-h { font-size: clamp(1.8rem, 7vw, 2.4rem); margin: 6px 0 14px; font-weight: 800; letter-spacing: -.02em; }
.reveal-grid { display: grid; gap: 16px; align-items: center; }
.reveal-score { position: relative; width: 172px; height: 172px; margin: 0 auto; }
.ob-ring { width: 100%; height: 100%; }
.ob-ring-track { fill: none; stroke: var(--bg-2, #ebe8de); stroke-width: 11; }
.ob-ring-fill { fill: none; stroke: var(--accent, #1c6b4c); stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease, cubic-bezier(.2,.8,.2,1)); }
.ob-ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ob-ring-num b { font-size: 2.8rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.ob-ring-num small { color: var(--muted, #5b655f); font-size: .8rem; font-weight: 600; margin-top: 4px; }
.reveal-cap-label { margin: 0; color: var(--muted, #5b655f); font-weight: 600; }
.reveal-cap { margin: 2px 0 8px; font-size: clamp(2.6rem, 11vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; color: var(--accent, #1c6b4c); font-variant-numeric: tabular-nums; line-height: 1.05; }
.reveal-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; text-align: left; }
.reveal-lines li { display: flex; gap: 8px; align-items: baseline; line-height: 1.4; }
.reveal-lines .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; transform: translateY(1px); }
.ln-claim .dot { background: var(--sky, #3d7fc4); }
.ln-avoid .dot { background: var(--amber, #d79a22); }
.ln-long .dot { background: var(--muted, #5b655f); }
.reveal-sub { text-align: left; font-size: 1.15rem; margin: 26px 0 10px; }
.reveal-sub.is-small { font-size: 1rem; margin: 16px 0 8px; }
.reveal-note { color: var(--muted, #5b655f); font-size: .88rem; margin: 14px 0 18px; }
.reveal-empty { text-align: left; margin-top: 20px; }
.reveal-empty h2 { margin: 0 0 8px; font-size: 1.15rem; }

/* move cards */
.mv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.mv-card {
  background: var(--card, #fff); border: 1px solid var(--line, #ddd8cb); border-left: 5px solid var(--accent, #1c6b4c);
  border-radius: var(--r, 20px); padding: 14px 16px; box-shadow: var(--shadow, 0 8px 22px -16px rgba(0,0,0,.45));
}
.mv-card.mk-claim { border-left-color: var(--sky, #3d7fc4); }
.mv-card.mk-avoid { border-left-color: var(--amber, #d79a22); }
.mv-card.mk-longrun, .mv-card.mk-timing { border-left-color: var(--muted, #5b655f); }
.mv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ob-kind { padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 750; background: var(--accent-soft, #dcefe5); color: var(--ink, #17201b); }
.ob-kind.ok-claim { background: var(--sky-soft, #e0ecf8); }
.ob-kind.ok-avoid { background: var(--amber-soft, #fbefd3); }
.ob-kind.ok-longrun, .ob-kind.ok-timing { background: var(--bg-2, #ebe8de); }
.mv-dollars { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.mv-dollars small { font-weight: 600; font-size: .78rem; color: var(--muted, #5b655f); }
.mv-title { margin: 8px 0 4px; font-weight: 650; line-height: 1.35; }
.mv-when { margin: 0; color: var(--muted, #5b655f); font-size: .88rem; display: flex; align-items: center; gap: 6px; }
.mv-when .ico { width: 16px; height: 16px; color: var(--coral, #e5735a); }
.mv-list.compact .mv-card { box-shadow: none; }

/* ---------- quest complete ---------- */
.quest-done { position: relative; overflow: hidden; }
.quest-done.pop { animation: ob-pop .45s var(--ease, cubic-bezier(.2,.8,.2,1)); }
.qd-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 12px; }
.qd-stats p { margin: 0; padding: 12px; border-radius: var(--r-sm, 12px); background: var(--accent-soft, #dcefe5); display: grid; }
.qd-stats b { font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink, #17201b); }
.qd-stats small { color: var(--ink, #17201b); font-weight: 600; font-size: .85rem; }
.ob-burst { position: absolute; left: 50%; top: 70px; width: 0; height: 0; pointer-events: none; }
.ob-burst i { position: absolute; width: 8px; height: 8px; border-radius: 2px; opacity: 0; background: var(--accent, #1c6b4c); }
.ob-burst i:nth-child(3n) { background: var(--coral, #e5735a); }
.ob-burst i:nth-child(3n+1) { background: var(--sky, #3d7fc4); }
.ob-burst i:nth-child(4n) { background: var(--amber, #d79a22); border-radius: 50%; }
.pop .ob-burst i { animation: ob-burst .8s var(--ease, cubic-bezier(.2,.8,.2,1)) forwards; }
.ob-burst i:nth-child(1) { --x: 90px; --y: -40px; } .ob-burst i:nth-child(2) { --x: -90px; --y: -30px; }
.ob-burst i:nth-child(3) { --x: 60px; --y: -80px; } .ob-burst i:nth-child(4) { --x: -60px; --y: -86px; }
.ob-burst i:nth-child(5) { --x: 120px; --y: 10px; } .ob-burst i:nth-child(6) { --x: -120px; --y: 14px; }
.ob-burst i:nth-child(7) { --x: 20px; --y: -100px; } .ob-burst i:nth-child(8) { --x: -24px; --y: -104px; }
.ob-burst i:nth-child(9) { --x: 100px; --y: 50px; } .ob-burst i:nth-child(10) { --x: -100px; --y: 56px; }
.ob-burst i:nth-child(11) { --x: 140px; --y: -60px; } .ob-burst i:nth-child(12) { --x: -140px; --y: -56px; }
@keyframes ob-burst { 0% { opacity: 1; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(200deg) scale(1); } }
@keyframes ob-pop { 0% { transform: scale(.94); } 60% { transform: scale(1.02); } 100% { transform: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ob *, .ob *::before, .ob *::after, .ob-sheet[open] { animation: none !important; transition: none !important; }
  .ob-burst { display: none; }
}

/* "this saves to your profile" note on the income questions */
.q-note { display: flex; gap: 8px; align-items: flex-start; margin: -8px 0 16px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-size: .9rem; line-height: 1.4; }
.q-note svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 1px; }
