/* ============================================================
   HerbaForms design system
   ============================================================ */

:root {
  color-scheme: light;
  /* vlakken */
  --page: #f3f4ee;
  --surface: #fcfcf9;
  --surface-2: #f5f6f0;
  --hairline: #e3e5db;
  --border: rgba(20, 24, 18, 0.10);
  /* inkt */
  --ink: #191c18;
  --ink-2: #565b53;
  --ink-3: #8a8f85;
  /* merk */
  --brand: #166534;
  --brand-deep: #0e4023;
  --brand-ink: #ffffff;
  --brand-tint: #e6efe3;
  --accent: #65a30d;
  --accent-soft: #ecf5dc;
  /* grafiekkleuren (gevalideerd licht-palet) */
  --series-weight: #15803d;
  --series-energy: #2a78d6;
  --chart-grid: #e3e5db;
  --chart-axis: #c6c9bd;
  /* status */
  --good: #0ca30c;
  --good-text: #1d6b1d;
  --danger: #c23434;
  --danger-soft: #f8e7e7;
  --warn-soft: #f7efd9;
  --warn-text: #7a5b10;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 24, 18, 0.05), 0 8px 24px -12px rgba(20, 24, 18, 0.18);
  --shadow-pop: 0 12px 40px -8px rgba(20, 24, 18, 0.30);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0f120f;
  --surface: #191b19;
  --surface-2: #212421;
  --hairline: #2a2d29;
  --border: rgba(244, 246, 241, 0.10);
  --ink: #f4f6f1;
  --ink-2: #b7bdb2;
  --ink-3: #878d83;
  --brand: #2f8a4d;
  --brand-deep: #0e4023;
  --brand-ink: #ffffff;
  --brand-tint: #1e2b21;
  --accent: #84c422;
  --accent-soft: #232b18;
  --series-weight: #3fa863;
  --series-energy: #3987e5;
  --chart-grid: #2a2d29;
  --chart-axis: #3a3e38;
  --good: #0ca30c;
  --good-text: #4fc24f;
  --danger: #e05c5c;
  --danger-soft: #34201f;
  --warn-soft: #2e2817;
  --warn-text: #d9b45a;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --shadow-pop: 0 12px 40px -8px rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    color-scheme: dark;
    --page: #0f120f;
    --surface: #191b19;
    --surface-2: #212421;
    --hairline: #2a2d29;
    --border: rgba(244, 246, 241, 0.10);
    --ink: #f4f6f1;
    --ink-2: #b7bdb2;
    --ink-3: #878d83;
    --brand: #2f8a4d;
    --brand-deep: #0e4023;
    --brand-ink: #ffffff;
    --brand-tint: #1e2b21;
    --accent: #84c422;
    --accent-soft: #232b18;
    --series-weight: #3fa863;
    --series-energy: #3987e5;
    --chart-grid: #2a2d29;
    --chart-axis: #3a3e38;
    --good: #0ca30c;
    --good-text: #4fc24f;
    --danger: #e05c5c;
    --danger-soft: #34201f;
    --warn-soft: #2e2817;
    --warn-text: #d9b45a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
    --shadow-pop: 0 12px 40px -8px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
button { font: inherit; }
::selection { background: var(--brand); color: #fff; }

/* ---------- App-shell ---------- */

.app-root { min-height: 100dvh; }

.shell {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "header" "main";
  min-height: 100dvh;
  transition: grid-template-columns .2s ease;
}
/* de wrapper rond topbar/main/tabbar doet niet mee in de grid */
.shell > div:not(.sidebar) { display: contents; }

.sidebar {
  grid-area: nav;
  position: sticky; top: 0; height: 100dvh;
  display: none; flex-direction: column; gap: 8px;
  padding: 20px 14px;
  background: linear-gradient(180deg, var(--brand-deep), #123020 65%, #0f2a1c);
  color: #eaf3e6;
}
.sidebar .logo { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: #ffffff;
  display: grid; place-items: center;
}
.logo-mark svg { display: block; width: 62%; height: auto; }
.logo-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: #fff; }
.logo-name span { color: #a3e635; }

.nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  color: #c8dcc4; font-weight: 600; font-size: 14.5px;
  transition: background .15s, color .15s;
}
.nav a svg { flex: none; opacity: .85; }
.nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav a.active { background: rgba(163, 230, 53, 0.16); color: #d9f99d; }

.sidebar-footer { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 4px 10px; }
.user-chip .avatar { width: 34px; height: 34px; font-size: 13px; }
.user-chip b { display: block; font-size: 13.5px; color: #fff; line-height: 1.2; }
.user-chip small { color: #a8bfa2; font-size: 12px; }
.sidebar-actions { display: flex; gap: 8px; padding: 0 6px 2px; }
.icon-btn {
  border: 1px solid rgba(255,255,255,.18); background: transparent; color: #d7e5d2;
  border-radius: 10px; padding: 7px 10px; cursor: pointer; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
}
.icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }

.main { grid-area: main; min-width: 0; padding: 20px 16px 122px; }
.main-inner { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }

.page-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.page-head h1 { font-size: clamp(22px, 3vw, 28px); }
.page-head .sub { color: var(--ink-2); margin-top: 4px; font-size: 14.5px; }

/* header (mobiel/tablet-smal): topbar */
.topbar {
  grid-area: header;
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: var(--brand-deep); color: #fff;
}
.topbar .logo { display: flex; align-items: center; gap: 9px; }
.topbar .logo-mark { width: 30px; height: 30px; border-radius: 8px; }
.topbar .logo-name { font-size: 16px; }
.topbar-actions { display: flex; gap: 8px; }
/* 16px voorkomt dat iOS inzoomt bij focus op een invoerveld */
.input, select.input, textarea.input { font-size: 16px; }
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
/* ---------- GooeyDock (mobiele navigatie) ---------- */
#dock-root { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; }
@media (max-width: 767.98px) { #dock-root.on { display: block; } }
@media (min-width: 768px) { #dock-root { display: none !important; } }
.dock-bar { display: block; width: 100%; }
.dock-fill { fill: var(--surface); }
.dock-edge { fill: none; stroke: var(--hairline); stroke-width: 1; }
.dock-safe { height: env(safe-area-inset-bottom); background: var(--surface); }
.dock-items {
  position: absolute; left: 0; right: 0; bottom: env(safe-area-inset-bottom);
  height: 58px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 0 8px;
}
.dock-items a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--ink-3); font-size: 11px; font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}
.dock-items .dock-ic { position: relative; display: block; transition: opacity .18s ease; }
.dock-items a.on .dock-ic { opacity: 0; }          /* icoon "zit in de bol" */
.dock-items a.on { color: var(--brand); }
.dock-badge {
  position: absolute; top: -3px; right: -5px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger); border: 2px solid var(--surface);
}
.dock-items a.on .dock-badge { display: none; }
.dock-bubble {
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand);
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45);
  will-change: transform;
  pointer-events: none;
  contain: layout paint;
}
.dock-bubble-icon { display: grid; place-items: center; color: #fff; }
.dock-bubble-icon svg { display: block; }
.dock-bubble-icon.swap { animation: dock-swap .18s ease; }
@keyframes dock-swap {
  from { scale: .35; opacity: 0; }
  to { scale: 1; opacity: 1; }
}

/* Tablet: nav-kolom + main ernaast */
@media (min-width: 768px) {
  .shell { grid-template-columns: 220px 1fr; grid-template-rows: 1fr; grid-template-areas: "nav main"; }
  .sidebar { display: flex; }
  .topbar, .tabbar { display: none; }
  .main { padding: 28px clamp(16px, 4vw, 44px) 60px; }
  .input, select.input, textarea.input { font-size: 15.5px; }
}

/* Desktop: bredere nav-kolom */
@media (min-width: 1024px) {
  .shell { grid-template-columns: 250px 1fr; }
}

/* ---------- Kaarten & tegels ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.card-title { font-size: 15px; font-weight: 700; }
.card-sub { color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.card-head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-head > div:first-child { min-width: 0; }

.tile-row {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 2px;
}
.tile-label { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.tile-value { font-size: 28px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; }
.tile-value small { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-left: 2px; }
.tile-delta { font-size: 13px; font-weight: 650; display: inline-flex; align-items: center; gap: 4px; }
.tile-delta.good { color: var(--good-text); }
.tile-delta.bad { color: var(--danger); }
.tile-delta.flat { color: var(--ink-3); }

.grid-2 { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 767.98px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Magazine-layout (dashboardpagina's) ----------
   Elke variant heeft een eigen areas-template zodat er geen lege
   rijen (dubbele gaps) ontstaan bij ontbrekende blokken. */
.main-inner.mag {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  transition: grid-template-columns .2s ease;
}
.mag .grid-2 { display: contents; }
.a-head { grid-area: head; } .a-alert { grid-area: alert; }
.a-tiles { grid-area: tiles; } .a-progress { grid-area: progress; }
.a-chart-w { grid-area: chw; } .a-chart-e { grid-area: che; }
.a-recent { grid-area: recent; } .a-aside { grid-area: aside; }
.a-full { grid-area: full; }

.mag-home  { grid-template-areas: "head" "alert" "tiles" "progress" "chw" "che" "recent" "aside"; }
.mag-detail { grid-template-areas: "head" "tiles" "chw" "che" "recent" "aside" "full"; }
.mag-admin { grid-template-areas: "head" "tiles" "alert" "full"; }

@media (min-width: 768px) {
  .main-inner.mag { grid-template-columns: 1fr 1fr; }
  .mag-home {
    grid-template-areas:
      "head head" "alert alert" "tiles tiles" "progress progress"
      "chw che" "recent aside";
  }
  .mag-detail {
    grid-template-areas:
      "head head" "tiles tiles" "chw che" "recent aside" "full full";
  }
  .mag-admin {
    grid-template-areas: "head head" "tiles tiles" "alert alert" "full full";
  }
}
@media (min-width: 1024px) {
  .mag-home, .mag-detail { grid-template-columns: 1.1fr 0.9fr 1fr; }
  .mag-home {
    grid-template-areas:
      "head head head" "alert alert alert" "tiles tiles tiles"
      "progress progress progress"
      "chw chw che"
      "recent recent aside";
  }
  .mag-detail {
    grid-template-areas:
      "head head head" "tiles tiles tiles"
      "chw chw che"
      "recent recent aside"
      "full full full";
  }
}

/* ---------- Knoppen ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer;
  border-radius: 12px; padding: 10px 18px;
  font-weight: 650; font-size: 14.5px;
  background: var(--brand); color: var(--brand-ink);
  transition: filter .15s, transform .05s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn.big { padding: 13px 22px; font-size: 15.5px; width: 100%; }
.btn.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--hairline); }
.btn.ghost:hover { background: var(--surface-2); filter: none; color: var(--ink); }
.btn.danger { background: transparent; border: 1px solid var(--hairline); color: var(--danger); }
.btn.danger:hover { background: var(--danger-soft); filter: none; }
.btn.small { padding: 7px 13px; font-size: 13px; border-radius: 10px; }
.btn.accent { background: var(--accent); color: #17240a; }
.btn[disabled] { opacity: .55; cursor: default; pointer-events: none; }

/* ---------- Formulieren ---------- */

.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.field .hint { font-size: 12.5px; color: var(--ink-3); }
.input, select.input, textarea.input {
  width: 100%;
  border: 1.5px solid var(--hairline);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
textarea.input { resize: vertical; min-height: 84px; }
/* iOS geeft datumvelden een eigen opmaak (gecentreerd, andere hoogte) — gelijktrekken */
input.input[type="date"] {
  -webkit-appearance: none; appearance: none;
  display: block; min-height: 47px; text-align: left;
}
input.input[type="date"]::-webkit-date-and-time-value { text-align: left; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
/* vaste aantallen (energie 1-10, stemming 5) vullen de breedte gelijkmatig */
.chips[data-energy], .chips[data-mood] { display: grid; grid-template-columns: repeat(5, 1fr); }
.chip {
  border: 1.5px solid var(--hairline); background: var(--surface); color: var(--ink-2);
  min-width: 42px; padding: 9px 0; border-radius: 11px; cursor: pointer;
  font-weight: 700; font-size: 14.5px; text-align: center;
  transition: all .12s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.emoji { font-size: 20px; padding: 7px 0; min-width: 48px; }
.chip.emoji.on { background: var(--brand-tint); border-color: var(--brand); }

/* ---------- Tabellen & lijsten ---------- */

.table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; -webkit-overflow-scrolling: touch; max-width: calc(100% + 40px); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; color: var(--ink-3); font-size: 12.5px; font-weight: 650;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 8px 12px; border-bottom: 1px solid var(--hairline);
  white-space: nowrap;
}
.table td { padding: 11px 12px; border-bottom: 1px solid var(--hairline); vertical-align: middle; white-space: nowrap; }
.table tr:last-child td { border-bottom: none; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table tbody tr { transition: background .1s; }
.table tbody tr:hover { background: var(--surface-2); }
.table tr.clickable { cursor: pointer; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 650;
  background: var(--surface-2); color: var(--ink-2);
}
.badge.good { background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good-text); }
.badge.warn { background: var(--warn-soft); color: var(--warn-text); }
.badge.bad { background: var(--danger-soft); color: var(--danger); }

.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand);
  font-weight: 750; font-size: 14px;
}

.person-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.person-row .who { min-width: 0; }
.person-row b { display: block; font-size: 14.5px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; }
.person-row small { color: var(--ink-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; display: block; }

.list { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--hairline); }
.list-item:last-child { border-bottom: none; }

.empty {
  text-align: center; color: var(--ink-2); padding: 34px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.empty .big-emoji { font-size: 34px; }

/* ---------- Grafieken ---------- */

.chart-box { position: relative; }
.chart-box svg { display: block; width: 100%; height: auto; }
.chart-tooltip {
  position: absolute; pointer-events: none; z-index: 5;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow-pop);
  padding: 8px 11px; font-size: 13px; min-width: 90px;
  opacity: 0; transition: opacity .1s;
}
.chart-tooltip.show { opacity: 1; }
.chart-tooltip .tt-date { color: var(--ink-3); font-size: 11.5px; font-weight: 600; margin-bottom: 2px; }
.chart-tooltip .tt-row { display: flex; align-items: center; gap: 7px; }
.chart-tooltip .tt-key { width: 12px; height: 3px; border-radius: 2px; flex: none; }
.chart-tooltip .tt-val { font-weight: 750; font-size: 14.5px; }
.chart-tooltip .tt-name { color: var(--ink-2); font-size: 12px; }

/* ---------- Login ---------- */

.login-wrap {
  min-height: 100dvh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(1000px 500px at 85% -10%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%),
    var(--page);
}
.login-card {
  width: min(410px, 100%);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; box-shadow: var(--shadow-pop);
  padding: 34px 30px;
  display: flex; flex-direction: column; gap: 18px;
}
.login-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.login-brand .logo-mark { width: 52px; height: 52px; border-radius: 15px; }
.login-brand h1 { font-size: 24px; }
.login-brand p { color: var(--ink-2); font-size: 14px; }

.form-error {
  background: var(--danger-soft); color: var(--danger);
  border-radius: 10px; padding: 10px 13px; font-size: 13.5px; font-weight: 600;
}

/* ---------- Modal & toast ---------- */

.modal-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(10, 14, 10, 0.5);
  display: grid; place-items: center; padding: 18px;
  animation: fadein .15s;
}
.modal {
  width: min(480px, 100%);
  max-height: 90dvh; overflow-y: auto;
  background: var(--surface); border-radius: 18px;
  box-shadow: var(--shadow-pop);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  animation: pop .18s;
}
.modal h3 { font-size: 18px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }

@keyframes fadein { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(6px); } }

#toast-root {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center;
  width: min(420px, calc(100vw - 32px));
}
@media (max-width: 920px) { #toast-root { bottom: 86px; } }
.toast {
  background: var(--ink); color: var(--page);
  border-radius: 12px; padding: 11px 18px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-pop);
  animation: pop .2s;
  max-width: 100%;
}
.toast.error { background: var(--danger); color: #fff; }

.password-reveal {
  background: var(--accent-soft); border: 1.5px dashed var(--accent);
  border-radius: 12px; padding: 14px; text-align: center;
}
.password-reveal code { font-size: 20px; font-weight: 750; letter-spacing: .04em; }
.password-reveal p { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }

.note-item { padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.note-item:last-child { border-bottom: none; }
.note-item .note-meta { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

.section-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.section-tabs button {
  border: 1px solid var(--hairline); background: var(--surface); color: var(--ink-2);
  border-radius: 999px; padding: 7px 16px; cursor: pointer; font-weight: 650; font-size: 13.5px;
}
.section-tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.progress-track { height: 8px; border-radius: 99px; background: var(--brand-tint); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 99px; background: var(--brand); transition: width .4s ease; }

.skeleton { text-align:center; color: var(--ink-3); padding: 60px 0; }
