@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

/* ============================
   Theme tokens
============================ */
/* ============================
   Dinaro — "Piggy Pop" identity
   Sibling to TimeCost: shares the warm-paper background, diverges into
   sky-cobalt + bubblegum, chunky rounded forms, and friendly geometric type.
   Same token NAMES as timecost.css, so every structural rule reskins for free.
============================ */
:root{
  --font-ui: 'Nunito', system-ui, -apple-system, sans-serif;
  --font-head: 'Baloo 2', 'Nunito', system-ui, sans-serif;

  /* Soft cream — warm and friendly, clearly not pink */
  --bg: #fffbeb;
  --panel: #ffffff;
  --border: #efe7cf;

  --text: #1e1e1e;          /* charcoal */
  --muted: #7c7568;

  --accent: #4f46e5;        /* indigo (primary) */
  --accent-soft: #ecebfd;
  --accent-2: #f59e0b;      /* electric amber — coins, badges, pop */
  --accent-2-soft: #fef1d6;

  /* Category palette — surfaced via icon chips & section accents */
  --c1:#4f46e5; --c2:#f59e0b; --c3:#fb7185; --c4:#14b8a6; --c5:#22c55e;

  --btn: #4f46e5;
  --btn2: #fef3d3;          /* soft amber secondary button */

  --radius: 24px;           /* chunky, tactile */

  --input-bg: #ffffff;
  --input-border: rgba(30,30,30,.16);
  --input-border-hover: rgba(79,70,229,.45);
  --input-border-focus: rgba(79,70,229,.70);
  --focus-ring: rgba(79,70,229,.22);
  --placeholder: rgba(30,30,30,.42);

  --topbar-bg: rgba(255,251,235,.92);
  --topbar-chip-bg: #ffffff;
  --topbar-hover: var(--accent-soft);
}

/* ============================
   Theme variants. The switcher sets data-theme on <html>; no attribute (or
   "piggy") = the Piggy Pop default in :root above. Tokens live on <html> so
   per-theme overrides win the cascade for every descendant.
============================ */
html[data-theme="candyland"]{
  --bg:#fff6f0; --panel:#ffffff; --border:#f6dfe6;
  --text:#5b2b3d; --muted:#a8788a;
  --accent:#e5446d; --accent-soft:#ffe1ea;
  --accent-2:#2ec4b6; --accent-2-soft:#d8f5f0;
  --btn:#e5446d; --btn2:#ffe1ea;
  --radius:28px;
  --input-bg:#fffafb; --input-border:#f0d3dc; --input-border-hover:#e5446d; --input-border-focus:#e5446d;
  --focus-ring:rgba(229,68,109,.18); --placeholder:rgba(91,43,61,.4);
  --topbar-bg:rgba(255,246,240,.92); --topbar-chip-bg:#ffffff; --topbar-hover:#ffe1ea;
  --c1:#e5446d; --c2:#2ec4b6; --c3:#ffb627; --c4:#9b5de5; --c5:#4cc9f0;
}

html[data-theme="midnight"]{
  --bg:#131a2e; --panel:#1b2236; --border:rgba(255,255,255,.10);
  --text:#eaf0ff; --muted:#9aa6c0;
  --accent:#5b8def; --accent-soft:rgba(91,141,239,.16);
  --accent-2:#ff8a5c; --accent-2-soft:rgba(255,138,92,.16);
  --btn:#5b8def; --btn2:rgba(255,255,255,.08);
  --radius:16px;
  --input-bg:#0f1626; --input-border:rgba(255,255,255,.14); --input-border-hover:rgba(91,141,239,.5); --input-border-focus:#5b8def;
  --focus-ring:rgba(91,141,239,.30); --placeholder:rgba(234,240,255,.4);
  --topbar-bg:rgba(19,26,46,.85); --topbar-chip-bg:rgba(255,255,255,.06); --topbar-hover:rgba(91,141,239,.16);
  --c1:#5b8def; --c2:#ff8a5c; --c3:#34d399; --c4:#a78bfa; --c5:#f472b6;
}

html[data-theme="forest"]{
  --bg:#edf1e4; --panel:#ffffff; --border:#d8e3cd;
  --text:#20291f; --muted:#5e6b54;
  --accent:#2e8b57; --accent-soft:#e0efe2;
  --accent-2:#d9822b; --accent-2-soft:#f7e6cf;
  --btn:#2e8b57; --btn2:#e0efe2;
  --radius:20px;
  --input-bg:#fbfdf8; --input-border:#d5e0ca; --input-border-hover:#2e8b57; --input-border-focus:#2e8b57;
  --focus-ring:rgba(46,139,87,.16); --placeholder:rgba(32,41,31,.42);
  --topbar-bg:rgba(237,241,228,.92); --topbar-chip-bg:#ffffff; --topbar-hover:#e0efe2;
  /* All-earthy palette: leaf green, bark amber, terracotta, olive, mustard */
  --c1:#2e8b57; --c2:#d9822b; --c3:#c0603a; --c4:#8a9a4e; --c5:#c9a227;
}

html[data-theme="arcade"]{
  --bg:#15161f; --panel:#1f2130; --border:rgba(255,255,255,.10);
  --text:#f0f2f8; --muted:#9b9fb5;
  --accent:#b8f135; --accent-soft:rgba(184,241,53,.14);
  --accent-2:#22d3ee; --accent-2-soft:rgba(34,211,238,.14);
  --btn:#b8f135; --btn2:rgba(255,255,255,.07);
  --radius:14px;
  --input-bg:#14151f; --input-border:rgba(255,255,255,.14); --input-border-hover:#22d3ee; --input-border-focus:#22d3ee;
  --focus-ring:rgba(34,211,238,.30); --placeholder:rgba(240,242,248,.4);
  --topbar-bg:rgba(21,22,31,.85); --topbar-chip-bg:rgba(255,255,255,.06); --topbar-hover:rgba(34,211,238,.14);
  --c1:#b8f135; --c2:#22d3ee; --c3:#ff9f1c; --c4:#a78bfa; --c5:#ff4d8d;
}

/* Arcade's primary is near-fluorescent: keep button text dark for contrast. */
html[data-theme="arcade"] .btn-primary,
html[data-theme="arcade"] .primary{
  color:#15161f;
}

/* Leslie Knope: Bright, High-Energy, "Binder" Palette */
body[data-view="personality"][data-perspective="leslie"] {
  --bg: #fdfcf0;
  --panel: #ffffff;
  --border: #d4e3f2;
  --text: #1a1a1a;
  --muted: #5b6e84;
  --accent: #0077b6; /* Binder Blue */
  --accent-soft: #eef7ff;
  --leslie-warm: #f59e0b; /* JJ's Diner sunshine */
  --leslie-warm-soft: rgba(245, 158, 11, 0.08);
  --btn: #2d6a4f; /* Green Leadership */
  --btn2: #fefae0;
  --radius: 12px; /* More organized, less round */
  --input-bg: #ffffff;
  --input-border: #cfe0f1;
  --input-border-focus: #0077b6;
  --topbar-bg: rgba(253, 252, 240, 0.9);
  --topbar-chip-bg: #eef7ff;
}

/* Leslie hover warmth — she's helping */
body[data-view="personality"][data-perspective="leslie"] .panel:hover {
  border-color: var(--leslie-warm);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08), 0 1px 3px rgba(245, 158, 11, 0.1);
}
body[data-view="personality"][data-perspective="leslie"] .btn:hover,
body[data-view="personality"][data-perspective="leslie"] .btn-secondary:hover {
  border-color: var(--leslie-warm);
  color: var(--leslie-warm);
}
body[data-view="personality"][data-perspective="leslie"] .landing-feature:hover {
  border-color: var(--leslie-warm);
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.12);
}
body[data-view="personality"][data-perspective="leslie"] .radio label:hover {
  border-color: var(--leslie-warm);
  color: var(--leslie-warm);
}
body[data-view="personality"][data-perspective="leslie"] .expense-table tbody tr:hover {
  background: var(--leslie-warm-soft);
}
body[data-view="personality"][data-perspective="leslie"] .wealth-table tbody tr:hover {
  background: var(--leslie-warm-soft);
}

/* River Song: Deep Space, Diary Blue, Archaeology Gold */
body[data-view="personality"][data-perspective="river"] {
  --bg: #141a2a;
  --panel: #1e263a;
  --border: rgba(67, 127, 245, 0.15);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #437ff5; /* Diary Blue */
  --accent-soft: rgba(67, 127, 245, 0.1);
  --btn: #ca8a04; /* TARDIS Key / Sonic Screwdriver Gold */
  --btn2: rgba(226, 232, 240, 0.05);
  --radius: 20px;
  --input-bg: rgba(15, 23, 42, 0.6);
  --input-border: rgba(67, 127, 245, 0.2);
  --input-border-focus: #437ff5;
  --topbar-bg: rgba(20, 26, 42, 0.85);
  --topbar-chip-bg: rgba(67, 127, 245, 0.08);
}

/* Edie Monsoon: Rich Purples, Champagne Gold, Fashion Luxe */
body[data-view="personality"][data-perspective="edie"] {
  --bg: #1a0b1c;
  --panel: #2d142c;
  --border: #511845;
  --text: #ffffff;
  --muted: #c89dbd;
  --accent: #ff4d6d; /* Fashion Pink */
  --accent-soft: rgba(255, 77, 109, 0.1);
  --btn: #900c3f; /* Deep Magenta */
  --btn2: #511845;
  --radius: 30px; /* Dramatic curves */
  --input-bg: #1a0b1c;
  --input-border: #900c3f;
  --input-border-focus: #ff4d6d;
  --topbar-bg: rgba(26, 11, 28, 0.9);
  --topbar-chip-bg: #511845;
}

body[data-view="personality"] .panel,
body[data-view="personality"] .card {
  box-shadow: 0 4px 20px rgba(45, 42, 38, 0.05), 0 1px 3px rgba(45, 42, 38, 0.08);
  border-radius: var(--radius);
  transition: all 0.4s ease;
}

body[data-view="personality"] .btn-primary,
body[data-view="personality"] .primary {
  background: var(--btn);
  box-shadow: 0 2px 4px rgba(96, 108, 56, 0.2);
  transition: all 0.4s ease;
}

body[data-view="personality"] .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Candy Shop: soft cream, marshmallow, strawberry/mango */
body[data-view="candy"]{
  --bg: #fffcf2;
  --panel: #ffffff;
  --border: #f1e0c5;

  --text: #432818;
  --muted: #99582a;

  --accent: #ff4d6d;
  --accent-soft: #ffe5ec;

  --btn: #ff4d6d;
  --btn2: #fff0f3;

  --radius: 28px; /* Extra round! */

  --input-bg: #ffffff;
  --input-border: #f1e0c5;
  --input-border-hover: #ffb703;
  --input-border-focus: #ff4d6d;
  --focus-ring: rgba(255, 77, 109, 0.2);
  --placeholder: rgba(67, 40, 24, 0.4);

  --topbar-bg: rgba(255, 252, 242, 0.9);
  --topbar-chip-bg: #fff0f3;
  --topbar-hover: #ffe5ec;
}

/* Candy theme specific bubble styles */
body[data-view="candy"] .panel,
body[data-view="candy"] .card,
body[data-view="candy"] .btn,
body[data-view="candy"] .field input,
body[data-view="candy"] .field select {
  border-radius: var(--radius);
  box-shadow: 0 8px 0 rgba(241, 224, 197, 0.4);
  border-width: 2px;
}

body[data-view="candy"] .btn-primary {
  background: var(--accent);
  box-shadow: 0 6px 0 #c9184a;
  transform: translateY(0);
  transition: all 0.1s;
}

body[data-view="candy"] .btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #c9184a;
}

@keyframes earn-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); filter: brightness(1.2); }
  100% { transform: scale(1); }
}

@keyframes slide-in-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.quirky-earn {
  animation: earn-pop 0.4s ease-out;
}

.quirky-badge {
  animation: slide-in-up 0.5s ease-out;
}

/* Dusk: cozy woods, lantern light */
body[data-view="dusk"]{
  --bg: #151c23;
  --panel: #1b2530;
  --border: rgba(242,210,143,.18);

  --text: #f6f1e8;
  --muted: rgba(246,241,232,.72);

  --accent: #7fb0b4;
  --accent-soft: rgba(127,176,180,.16);

  --btn: #6fa2a8;
  --btn2: rgba(246,241,232,.08);

  --input-bg: rgba(246,241,232,.06);
  --input-border: rgba(246,241,232,.16);
  --input-border-hover: rgba(127,176,180,.40);
  --input-border-focus: rgba(127,176,180,.70);
  --focus-ring: rgba(127,176,180,.24);
  --placeholder: rgba(246,241,232,.55);

  --topbar-bg: rgba(21,28,35,.82);
  --topbar-chip-bg: rgba(246,241,232,.08);
  --topbar-hover: rgba(127,176,180,.18);
}

/* ============================
   Base
============================ */
/* Screen-reader only utility */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Mobile drawer sections */
.drawer-section{
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.drawer-title{
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px 6px;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:12px;
  padding:10px 12px;
  border-radius:12px;
  background: var(--panel);
  border:1px solid var(--border);
  color: var(--text);
  z-index:999;
}

.skip-link:focus{
  left:12px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.panel, .card, .btn, .select, input, select, textarea {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

a{ color:inherit; text-decoration:none; }

h1,h2,h3{
  font-family: var(--font-head);
  letter-spacing:-0.01em;
  margin: 0 0 10px;
}

.muted{ color: var(--muted); }

/* ============================
   Layout
============================ */
.container{
  max-width:980px;
  margin:0 auto;
  padding:28px 16px 48px;
  overflow-x: hidden;
}

.page{ max-width:720px; margin:0 auto; }
.page-wide{ max-width:980px; }
.page-header{ margin-bottom:16px; }

.panel{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.onboarding-nudge{
  border-left: 3px solid var(--accent);
  margin-bottom: 16px;
}

.callout{
  background: var(--surface, var(--panel));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* ============================
   Top bar (nav)
============================ */
.topbar{
  position: sticky;
  top: 0;
  background: var(--topbar-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.topbar-inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.brand{ justify-self: start; }
.brand-name{ font-weight: 800; }

.nav{
  justify-self: center;
  display: flex;
  gap: 14px;
  align-items: center;
}

.topbar-controls{
  justify-self: end;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav a{
  padding: 8px 10px;
  border-radius: 12px;
  opacity: 1;
  white-space: nowrap;
}
.nav a:hover{ background: var(--topbar-hover); }

/* Tools dropdown */
.nav-details{ position: relative; }
.nav-details > summary{
  list-style: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 12px;
}
.nav-details > summary::-webkit-details-marker{ display:none; }
.nav-details > summary:hover{ background: var(--topbar-hover); }
.nav-details > summary:focus{
  outline: none;
  box-shadow: 0 0 0 4px var(--focus-ring);
}

/* Hide popover until open */
.nav-details .nav-popover{ display:none; }
.nav-details[open] .nav-popover{ display:grid; }

.nav-popover{
  position: absolute;
  top: 44px;
  left: 0;
  min-width: 190px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  padding: 8px;
  gap: 4px;
  z-index: 30;
}
.nav-popover a{
  padding: 10px 10px;
  border-radius: 12px;
}
.nav-popover a:hover{ background: var(--accent-soft); }

/* Settings gear popover */
.settings-details > summary{
  padding: 9px 11px;
}

.settings-popover{
  display: none;
  position: absolute;
  top: 44px;
  right: 0;
  left: auto;
  min-width: 230px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  padding: 12px;
  flex-direction: column;
  gap: 8px;
  z-index: 30;
}

.settings-details[open] .settings-popover{
  display: flex;
}

.settings-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.settings-label{
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.settings-select{
  font-size: 0.85rem;
  padding: 7px 28px 7px 10px;
}

.settings-row form{
  position: relative;
}
.settings-row form::after{
  content: "▾";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
  font-size: 12px;
}

/* Controls */
.menu-btn{
  display:none;
  border: 1px solid var(--border);
  background: var(--btn2);
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
}

.select{
  appearance: none;
  padding: 9px 34px 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--topbar-chip-bg);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.select:focus{
  outline:none;
  border-color: var(--input-border-focus);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

/* Small chevron (you already have this, keeping it) */
.topbar-controls .inline{ position:relative; }
.topbar-controls .inline::after{
  content:"▾";
  position:absolute;
  right:12px;
  top:50%;
  transform: translateY(-50%);
  pointer-events:none;
  color: var(--muted);
  font-size: 12px;
}

/* Mobile drawer */
.nav-drawer{
  display:none;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border);
  border-bottom: 3px solid var(--accent);
  background: var(--panel);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.nav-drawer.open{ display:block; }
.nav-drawer a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  transition: background 0.15s, color 0.15s;
}
.nav-drawer a:hover{
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 860px){
  .topbar-inner{ grid-template-columns: 1fr auto; }
  .nav{ display:none; }
  .menu-btn{ display:inline-flex; }
}

/* ============================
   Pills + buttons
============================ */
.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: var(--btn2);
  color: var(--text);
  font-weight:650;
  font-size:14px;
}
.pill:hover{ filter:brightness(.98); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background: var(--btn2);
  color: var(--text);
  font-weight:650;
  cursor:pointer;
}
.btn.btn-primary, .btn.primary {
  background: var(--btn);
  border-color: transparent;
  color:#fff;
}
.btn:focus{
  outline:none;
  box-shadow:0 0 0 4px var(--focus-ring);
}

.share-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}
.share-btn{
  gap:6px;
  font-size:0.85rem;
}
.share-social{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  padding:0;
  border-radius:50%;
  opacity:0.7;
  transition:opacity 0.2s;
}
.share-social:hover{ opacity:1; }

/* Toast notification */
.toast{
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  background:var(--btn);
  color:#fff;
  padding:10px 20px;
  border-radius:12px;
  font-size:0.85rem;
  font-weight:500;
  z-index:1000;
  pointer-events:none;
  animation:toast-in .3s ease, toast-out .3s ease 1.7s forwards;
}
@keyframes toast-in{ from{opacity:0;translate:0 10px;} }
@keyframes toast-out{ to{opacity:0;translate:0 -10px;} }

/* ============================
   Forms (contrast: the point)
============================ */
.form{ display:flex; flex-direction:column; gap:12px; }
.stack{ display:grid; gap:16px; }

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.grid-3{
  display:grid;
  grid-template-columns:0.8fr 0.8fr 1.4fr;
  gap:18px;
}

@media (max-width: 720px){
  .grid-2,.grid-3{ grid-template-columns:1fr; }
}

.field label{
  display:block;
  margin-bottom:6px;
  color: var(--muted);
  font-weight:650;
}

.field input,
.field select,
.field textarea{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text);
  outline:none;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.field input::placeholder,
.field textarea::placeholder{
  color: var(--placeholder);
}

.field input:hover,
.field select:hover,
.field textarea:hover{
  border-color: var(--input-border-hover);
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: var(--input-border-focus);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

/* Radio pill group */
.radio-group{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.radio{
  display: contents;
}

.radio input[type="radio"]{
  display: none;
}

.radio label{
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  user-select: none;
}

.radio label:hover{
  border-color: var(--accent);
  color: var(--accent);
}

.radio input[type="radio"]:checked + label{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

/* Expenses: show ONE layout at a time */
.desktop-only{ display:block; }
.mobile-only{ display:none; }

@media (max-width: 720px){
  .desktop-only{ display:none; }
  .mobile-only{ display:block; }
}

.table-wrap{
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
}

.expense-table{
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.expense-table thead th{
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
}

.expense-table td{
  padding: 10px 14px;
  vertical-align: middle;
}

.expense-table tbody tr{
  border-top: 1px solid var(--border);
}

.expense-table tbody tr:hover{
  background: var(--accent-soft);
}

.expense-table tfoot tr{
  border-top: 2px solid var(--border);
}

.expense-table tfoot td{
  padding: 10px 14px;
  vertical-align: middle;
}

.expense-table .num{
  text-align: right;
}

.expense-table .action{
  text-align: right;
  width: 1%;
  white-space: nowrap;
}

/* Utils */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Expenses header row */
.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.panel-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

@media (max-width: 640px){
  .panel-head{ flex-direction:column; align-items:stretch; }
  .panel-actions{ justify-content:flex-start; }
}

.help-details{ margin: 10px 0 0; }
.help-summary{
  display:inline-flex;
  gap:8px;
  align-items:center;
  cursor:pointer;
  color: var(--muted);
  font-weight:650;
  font-size: 14px;
  user-select:none;
}
.help-summary:hover{ color: var(--text); }
.help-summary::marker{ content:""; }

.help-popover{
  margin-top:10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.help-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
@media (max-width: 720px){
  .help-grid{ grid-template-columns: 1fr; }
}

.help-title{
  font-weight:800;
  margin-bottom:6px;
}
.help-popover ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.help-popover li{ margin: 4px 0; }

/* ============================
   Landing page
============================ */
.landing {
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.landing-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 0.5rem;
}

.landing-hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
}

.landing-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 1rem;
  text-wrap: balance;
}

.landing-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.landing-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* How it works steps */
.landing-steps {
  display: flex;
  gap: 12px;
  margin: 0 0 1.5rem;
  flex-wrap: wrap;
}

.landing-step {
  flex: 1;
  min-width: 190px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.95rem;
}

/* Feature cards */
.landing-panel {
  margin-bottom: 1.25rem;
}

.landing-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.landing-feature:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.landing-feature i {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.landing-feature p {
  margin: 3px 0 0;
  font-size: 0.88rem;
}

/* Dinaro block */
.landing-dinaro {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.landing-dinaro-text {
  flex: 1;
  min-width: 240px;
}

.landing-dinaro-icons {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 200px;
  padding-top: 0.5rem;
}

.dinaro-icon-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.dinaro-icon-row i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Email subscribe section */
.subscribe-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.subscribe-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--text);
  margin: 0.25rem 0 0.5rem;
}

.subscribe-sub {
  max-width: 420px;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.subscribe-form {
  max-width: 480px;
  margin: 0 auto;
}

.subscribe-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-input {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--input-border);
  border-radius: calc(var(--radius) / 1.5);
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-ui);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.subscribe-input:focus {
  outline: none;
  border-color: var(--input-border-focus);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.subscribe-input::placeholder {
  color: var(--placeholder);
}

.subscribe-btn {
  white-space: nowrap;
}

.subscribe-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text);
  padding: 0.5rem 0;
}

/* ============================
   Support / Donate page
============================ */
.support-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.support-hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
}

.support-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--text);
  margin: 0.25rem 0 1rem;
  text-wrap: balance;
}

.support-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 0.75rem;
  line-height: 1.65;
}

.support-rate-note {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  max-width: 500px;
  margin: 0 auto;
}

/* Three-column tier cards */
.support-tiers {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.support-card {
  flex: 1;
  min-width: 200px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  position: relative;
}

.support-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 4px 20px rgba(0,0,0,0.08);
}

.support-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 99px;
  white-space: nowrap;
}

.support-time {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.support-amount {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.support-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0.25rem 0 0.75rem;
  flex: 1;
}

.support-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.support-btn-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.support-footer-note {
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.7;
  padding: 0.5rem 0 1rem;
}

/* ============================
   Formulas / Reference page
============================ */
.ref-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.ref-hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.ref-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--text);
  margin: 0.25rem 0 1rem;
  text-wrap: balance;
}

.ref-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.ref-section {
  margin-bottom: 2.5rem;
}

.ref-section-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.ref-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}

.ref-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.35rem;
}

.ref-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.ref-formula {
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  line-height: 1.7;
  color: var(--text);
  overflow-x: auto;
}

[data-view="dusk"] .ref-formula,
[data-perspective="river"] .ref-formula,
[data-perspective="edie"] .ref-formula {
  background: rgba(255, 255, 255, 0.06);
}

.ref-unit {
  font-size: 0.75rem;
  color: var(--muted);
}

.ref-example {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.6rem 0 0;
  font-style: italic;
  line-height: 1.5;
}

.ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.ref-table th,
.ref-table td {
  text-align: left;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.ref-table th {
  font-weight: 600;
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ref-table td {
  color: var(--muted);
}

.ref-table tbody tr:last-child td {
  border-bottom: none;
}

.ref-footer {
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.7;
  padding: 0.5rem 0 1rem;
}

/* ============================
   Result visual bar
============================ */
.result-visual{
  margin-top: 1rem;
}

.result-bar-track{
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}

.result-bar-fill{
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transform-origin: left center;
  animation: bar-grow 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes bar-grow{
  from{ transform: scaleX(0); }
  to  { transform: scaleX(1); }
}

.result-bar-label{
  font-size: 0.78rem;
  color: var(--muted);
  margin: 6px 0 0;
}

/* ============================
   Wealth Gap Comparison
============================ */
.wealth-gap{
  margin-top: 1.5rem;
}

.wealth-table-wrap{
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.wealth-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.wealth-table thead th{
  background: var(--accent-soft);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
}

.wealth-table tbody tr{
  border-top: 1px solid var(--border);
}

.wealth-table tbody tr:hover{
  background: var(--accent-soft);
}

.wealth-table td{
  padding: 10px 14px;
  vertical-align: middle;
}

.wealth-row-you td{
  background: var(--accent-soft);
  font-weight: 600;
}

.wealth-time{
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.wealth-time-growth{
  color: var(--muted);
  font-weight: 500;
}

.wealth-note{
  font-size: 0.78rem;
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* ============================
   Site footer
============================ */
.site-footer{
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a{
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.site-footer a:hover{
  text-decoration: underline;
}

.site-footer-sep{
  margin: 0 0.5rem;
  color: var(--muted);
}

@media (max-width: 480px){
  .wealth-table thead th,
  .wealth-table td{
    padding: 8px 8px;
    font-size: 0.82rem;
  }
  .wealth-table thead th:first-child,
  .wealth-table td:first-child{
    max-width: 90px;
  }
  /* Hide Growth column on mobile — Person, Net Worth, To your 1 fit cleanly */
  .wealth-table th:nth-child(3),
  .wealth-table td:nth-child(3){
    display: none;
  }
}

.wealth-can-buy{
  color: var(--text);
  font-weight: 700;
}

/* ============================
   Wealth visual bars
============================ */
.wealth-bars-title{
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.25rem 0 0.75rem;
  font-weight: 600;
}

.wealth-bar-row{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  animation: bar-row-in 0.45s ease both;
}

@keyframes bar-row-in{
  from{ opacity: 0; transform: translateX(-8px); }
  to  { opacity: 1; transform: translateX(0); }
}

.wealth-bar-name{
  flex: 0 0 72px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: right;
  color: var(--text);
  white-space: nowrap;
}

.wealth-bar-track{
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}

.wealth-bar-fill{
  height: 100%;
  background: var(--accent);
  border-radius: 6px;
  transform-origin: left center;
  animation: bar-grow 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.wealth-bar-fill-you{
  background: var(--text);
  opacity: 0.5;
  min-width: 2px;
  max-width: 2px;
}

.wealth-bar-count{
  flex: 0 0 52px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.wealth-bar-you .wealth-bar-name{
  color: var(--muted);
}

.wealth-bar-you .wealth-bar-count{
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 480px){
  .wealth-bar-name{
    flex: 0 0 56px;
    font-size: 0.75rem;
  }
  .wealth-bar-track{
    height: 18px;
  }
  .wealth-bar-count{
    flex: 0 0 44px;
    font-size: 0.72rem;
  }
}

/* ============================
   Dinaro "Piggy Pop" topbar + brand
============================ */
.dinaro-topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--topbar-bg);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 2px solid var(--border);
}
.dinaro-topbar-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.6rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.dinaro-brand{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.dinaro-brand-mark{
  display: inline-flex;
  align-items: center;
}
.dinaro-brand-mark svg{
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 0 rgba(245,158,11,.28));
}
.dinaro-brand-name{
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: .01em;
  background: linear-gradient(95deg, var(--accent) 35%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}
.dinaro-sibling{
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--panel);
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.dinaro-sibling:hover{
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* ============================
   Theme switcher (topbar)
============================ */
.dinaro-theme{ position: relative; }
.dinaro-theme-btn{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.dinaro-theme-btn:hover{ color: var(--accent); border-color: var(--accent); }
.dinaro-theme-btn svg{ width: 16px; height: 16px; }
.dinaro-theme-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 180px;
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
  padding: 6px;
  display: none;
  z-index: 60;
}
.dinaro-theme-menu[data-open="true"]{ display: block; }
.dinaro-theme-opt{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  border: none;
  background: transparent;
  border-radius: 11px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  text-align: left;
}
.dinaro-theme-opt:hover{ background: var(--topbar-hover); }
.dinaro-theme-opt[aria-checked="true"]{ outline: 2px solid var(--accent); }
.dinaro-theme-swatch{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: 0 0 22px;
  border: 2px solid rgba(0,0,0,.08);
}
.sw-piggy{    background: linear-gradient(135deg,#4f46e5 50%,#f59e0b 50%); }
.sw-candyland{background: linear-gradient(135deg,#e5446d 50%,#2ec4b6 50%); }
.sw-midnight{ background: linear-gradient(135deg,#131a2e 48%,#5b8def 48%); }
.sw-forest{   background: linear-gradient(135deg,#2f8f5b 50%,#e08a3c 50%); }
.sw-arcade{   background: linear-gradient(135deg,#15161f 48%,#b8f135 48%); }

/* ============================
   Colorful components: icon chips + section accents
   Each "tone-N" pulls from the active theme's category palette (--c1..--c5).
============================ */
.tone-1{ --tone: var(--c1); }
.tone-2{ --tone: var(--c2); }
.tone-3{ --tone: var(--c3); }
.tone-4{ --tone: var(--c4); }
.tone-5{ --tone: var(--c5); }

.icon-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--tone, var(--accent)) 16%, transparent);
  color: var(--tone, var(--accent));
}
.icon-chip svg{ width: 21px; height: 21px; }

/* Toned panels get a colored top accent + the title picks up the tone */
.panel.toned{
  border-top: 4px solid var(--tone, var(--accent));
}
.panel.toned .card-title{ color: var(--tone, var(--accent)); }

/* Toned secondary buttons (outline in the tone) */
.btn.tone-btn{
  background: color-mix(in srgb, var(--tone, var(--accent)) 14%, transparent);
  color: var(--tone, var(--accent));
  border: 2px solid color-mix(in srgb, var(--tone, var(--accent)) 35%, transparent);
}
.btn.tone-btn:hover{ border-color: var(--tone, var(--accent)); }

/* ============================
   Kid-friendly number stepper (− [n] +)
============================ */
.stepper{
  display: inline-flex;
  align-items: stretch;
  border: 2px solid var(--input-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--input-bg);
}
.stepper-input{
  width: 76px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper-input:focus{ outline: none; }
.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }
.stepper-btn{
  width: 46px;
  min-height: 46px;
  border: none;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
  touch-action: manipulation;
}
.stepper-btn:hover{ background: color-mix(in srgb, var(--accent) 22%, transparent); }
.stepper-btn:active{ background: var(--accent); color: #fff; }

/* ============================
   Onboarding checklist (new-class "get started")
============================ */
.onboard-steps{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}
.onboard-steps li{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.onboard-steps .step-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
}
.onboard-steps li.done{ color: var(--muted); }
.onboard-steps li.done .step-num{ background: #2e8b57; color: #fff; }
.onboard-steps li.done a{ text-decoration: line-through; }
