/* ─────────────────────────────────────────────────────────────────────────
   53 Peaks — shared component polish. Loaded after tokens.css on every page.
   Deliberately ADDITIVE and minimal: it adds cross-cutting correctness the
   audit flagged (keyboard focus, money alignment) without overriding any
   page's existing layout, so it can't regress a page.
   ───────────────────────────────────────────────────────────────────────── */

/* Keyboard focus — visible on every interactive element for keyboard users,
   invisible for mouse/touch (the audit found NO focus state anywhere, a WCAG
   2.4.7 failure on the auth + money surfaces auditors test first). */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
/* Light-theme focus ring: the legacy gold (#c9a84c) is low-contrast and off-palette
   on warm paper. On migrated (.ds) pages use the navy accent — higher contrast on
   white and consistent with the institutional accent. Higher specificity than the
   base rules above, so it overrides without touching the dark legacy pages. */
.ds :focus-visible,
.ds a:focus-visible,
.ds button:focus-visible,
.ds input:focus-visible,
.ds select:focus-visible,
.ds textarea:focus-visible,
.ds [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Money / quantity cells: right-aligned, tabular figures so digits line up
   column-to-column the way a financial product should. Apply `.num` to any
   currency or numeric cell. (Pages that already define .num inherit these;
   the tabular-nums + right alignment are the institutional convention.) */
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Respect reduced-motion preferences (institutional accessibility). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Brand mark — ONE canonical rule so "53 Peaks" renders identically on
   every page. The logo CSS used to be copy-pasted inline into all 33 pages and
   had drifted (some added letter-spacing, one dropped the gold span color).
   `nav a.logo` / `footer a.logo` outrank any leftover inline `.logo` rule by
   specificity, so this is authoritative without having to edit every page.
   (The header mark lives in <nav>, the index/privacy/terms footer mark in
   <footer>; both are covered.) ─── */
nav a.logo,
footer a.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--white);
  text-decoration: none;
}
nav a.logo span,
footer a.logo span {
  color: var(--gold);
}
footer a.logo {
  font-size: 1.1rem;
}

/* ─── Action buttons — ONE canonical set for table-row / inline actions, so the
   action columns render identically on every page. They had drifted into a mix of
   .btn / .btn-sm / .btn-gold / .btn-danger / .action-btn at different sizes, with
   heavy red "Delete" pills and ragged wrapping. Put `.row-actions` on the cell's
   wrapper and `.btn-act` on each control; add `.is-primary` for the main action,
   `.is-danger` for destructive, `.is-icon` for an icon-only button.
   New class names (no collision with the overloaded form-submit `.btn`), so this
   applies wherever components.css loads without editing each page's CSS. ─── */
.row-actions { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; flex-wrap: nowrap; }
.btn-act {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .34rem .8rem; border-radius: 5px;
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 500; line-height: 1;
  white-space: nowrap; cursor: pointer; transition: all .15s; text-decoration: none;
}
.btn-act:hover { border-color: var(--gold); color: var(--gold); }
.btn-act:disabled { opacity: .5; cursor: not-allowed; }
.btn-act.is-primary { border-color: rgba(201,168,76,.45); color: var(--gold-lt); }
.btn-act.is-primary:hover { background: rgba(201,168,76,.12); border-color: var(--gold); color: var(--gold); }
.btn-act.is-danger:hover { border-color: rgba(255,69,58,.5); color: #ff453a; background: rgba(255,69,58,.08); }
.btn-act.is-icon { width: 30px; height: 28px; padding: 0; }
.btn-act.is-icon svg { width: 15px; height: 15px; display: block; }

/* ─── Row action menu — a single kebab trigger that opens a dropdown of actions,
   so a row shows ONE consistent control instead of a spread of buttons. Toggled by
   the shared controller in ui.js ([data-menu-trigger] → .menu-wrap.open). ─── */
.menu-wrap { position: relative; display: inline-flex; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 28px; padding: 0; background: transparent; border: 1px solid var(--border); border-radius: 5px; color: var(--muted); cursor: pointer; transition: all .15s; }
.menu-btn:hover, .menu-wrap.open .menu-btn { border-color: var(--gold); color: var(--gold); }
.menu-btn svg { width: 16px; height: 16px; display: block; }
.menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 172px; background: var(--navy-2); border: 1px solid var(--border); border-radius: 8px; padding: .35rem; box-shadow: 0 14px 30px rgba(0,0,0,.5); z-index: 200; display: none; }
.menu-wrap.open .menu { display: block; }
.menu-item { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .5rem .65rem; background: transparent; border: none; border-radius: 5px; color: var(--white); font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 500; text-align: left; white-space: nowrap; cursor: pointer; transition: background .12s, color .12s; text-decoration: none; }
.menu-item:hover { background: rgba(255,255,255,.06); }
.menu-item svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--muted); }
.menu-item:hover svg { color: var(--gold); }
.menu-item.is-danger { color: #ff8a80; }
.menu-item.is-danger svg { color: #ff8a80; }
.menu-item.is-danger:hover { background: rgba(255,69,58,.12); color: #ff453a; }
.menu-item.is-danger:hover svg { color: #ff453a; }

/* ═══════════════════════════════════════════════════════════════════════════
   INSTITUTIONAL COMPONENT LIBRARY (v2) — everything below is scoped to .ds so it
   ONLY affects pages that opt in with <body class="ds">. Higher specificity
   (body.ds ...) intentionally overrides the shared dark nav for migrated pages.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Base */
body.ds {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.ds ::selection { background: var(--accent-soft); }
.ds a { color: var(--accent); text-decoration: none; }
.ds a:hover { text-decoration: underline; }
.ds .num { text-align: right; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.ds .right { text-align: right; }
.ds hr, .ds .rule { border: 0; border-top: 1px solid var(--line); margin: var(--sp-5) 0; }

/* Layout shell */
/* Fluid content width — halves the side gutter vs. a fixed column on wide screens,
   capped so data tables stay readable on ultra-wide displays. */
.ds .wrap { width: min(94vw, calc(640px + 50vw)); max-width: 1800px; margin: 0 auto; padding: var(--sp-7) var(--sp-6); }
.ds .page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.ds .page-head .title { font-family: var(--serif); font-size: var(--fs-2xl); font-weight: 500; letter-spacing: -.01em; line-height: 1.1; color: var(--ink); }
.ds .page-head .subtitle { color: var(--ink-2); font-size: var(--fs-base); margin-top: var(--sp-2); max-width: 62ch; }
.ds .page-head .actions { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }

/* Typography helpers */
.ds .eyebrow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ds .display { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.ds .muted { color: var(--ink-2); }
.ds .faint { color: var(--ink-3); }
.ds .pos { color: var(--pos); }
.ds .neg { color: var(--neg); }

/* Nav — light-theme override. Selectors are intentionally more specific than
   nav-guard.js's injected rules (nav .nav-links a, .subnav, …) so a migrated
   (.ds) page renders a light bar while every legacy page stays dark. */
body.ds { color-scheme: light; }              /* native date pickers / scrollbars render light */
body.ds nav { background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--sh-sm); }
body.ds nav a.logo { color: var(--ink); }
body.ds nav a.logo span { color: var(--brass); }
body.ds nav .nav-links a { color: var(--ink-2); }
body.ds nav .nav-links a:hover, body.ds nav .nav-links a.active { color: var(--ink); }
body.ds nav .nav-links a.active { box-shadow: inset 0 -2px 0 var(--brass); }
body.ds .subnav { background: var(--surface); border-bottom-color: var(--line); }
body.ds .subnav a { color: var(--ink-2); }
body.ds .subnav a:hover { color: var(--ink); background: var(--surface-2); }
body.ds .subnav a.active { color: var(--accent); background: var(--accent-soft); }
body.ds .nav-sep { background: var(--line); }
body.ds .nav-user { color: var(--ink-2); }
body.ds .nav-user strong { color: var(--ink); }
body.ds nav .btn-logout { color: var(--ink-2); border-color: var(--line-2); }
body.ds nav .btn-logout:hover { color: var(--ink); border-color: var(--ink-3); }
body.ds .nav-toggle { color: var(--ink-2); border-color: var(--line-2); }
body.ds .nav-toggle:hover { color: var(--ink); }
body.ds .nav-mobile { background: var(--surface); border-bottom-color: var(--line); box-shadow: var(--sh-lg); }
body.ds .nav-mobile .mob-sec { color: var(--brass); }
body.ds .nav-mobile a { color: var(--ink-2); }
body.ds .nav-mobile a.mob-top { color: var(--ink); }
body.ds .nav-mobile a:hover, body.ds .nav-mobile a.active { color: var(--ink); background: var(--surface-2); }

/* Shared row-action chips + kebab menu — light variants so the action system
   (.btn-act / UI.rowMenu) reads correctly on migrated pages. */
.ds .btn-act { background: var(--surface); border-color: var(--line-2); color: var(--ink-2); }
.ds .btn-act:hover { border-color: var(--accent); color: var(--accent); background: var(--surface-2); }
.ds .btn-act.is-primary { border-color: var(--accent); color: var(--accent); }
.ds .btn-act.is-primary:hover { background: var(--accent-soft); }
.ds .btn-act.is-danger:hover { border-color: var(--neg); color: var(--neg); background: var(--neg-soft); }
.ds .menu-btn { border-color: var(--line-2); color: var(--ink-2); }
.ds .menu-btn:hover, .ds .menu-wrap.open .menu-btn { border-color: var(--accent); color: var(--accent); }
.ds .menu { background: var(--surface); border-color: var(--line); box-shadow: var(--sh-lg); }
.ds .menu-item { color: var(--ink); }
.ds .menu-item:hover { background: var(--surface-2); }
.ds .menu-item svg { color: var(--ink-3); }
.ds .menu-item:hover svg { color: var(--accent); }
.ds .menu-item.is-danger { color: var(--neg); }
.ds .menu-item.is-danger svg { color: var(--neg); }
.ds .menu-item.is-danger:hover { background: var(--neg-soft); color: var(--neg); }

/* Buttons — ONE system: .btn + .primary/.secondary/.ghost/.danger, sizes .sm/.lg */
.ds .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: .6rem 1.1rem; border-radius: var(--r-sm);
  font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; line-height: 1;
  /* Visible, readable DEFAULT so a bare class="btn" (no variant) is never an
     invisible/naked button. Variants below override by specificity / source order. */
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-2);
  cursor: pointer; white-space: nowrap; transition: all .15s; text-decoration: none;
}
.ds .btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.ds .btn:disabled { opacity: .5; cursor: not-allowed; }
.ds a.btn, .ds a.btn:hover { text-decoration: none; } /* anchor-buttons never underline */
.ds .btn.primary { background: var(--accent); color: var(--on-accent, #fff); }
.ds .btn.primary:hover { background: var(--accent-strong); color: var(--on-accent, #fff); text-decoration: none; }
.ds .btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.ds .btn.secondary:hover { background: var(--surface-2); border-color: var(--ink-3); text-decoration: none; }
.ds .btn.ghost { background: transparent; color: var(--ink-2); }
.ds .btn.ghost:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.ds .btn.danger { background: var(--surface); color: var(--neg); border-color: var(--neg-soft); }
.ds .btn.danger:hover { background: var(--neg-soft); text-decoration: none; }
.ds .btn.sm { padding: .4rem .75rem; font-size: var(--fs-xs); }
.ds .btn.lg { padding: .8rem 1.5rem; font-size: var(--fs-base); }

/* Cards */
.ds .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: var(--sp-5); }
.ds .card + .card { margin-top: var(--sp-5); }
.ds .card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.ds .card-head h2, .ds .card-head .h2 { font-family: var(--serif); font-size: var(--fs-lg); font-weight: 500; color: var(--ink); margin: 0; }
.ds .card-head .meta { font-size: var(--fs-sm); color: var(--ink-3); }

/* Stat tiles */
.ds .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--sp-4); }
.ds .stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); }
.ds .stat .label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ds .stat .value { font-family: var(--serif); font-size: var(--fs-xl); font-weight: 500; color: var(--ink); margin-top: var(--sp-2); font-variant-numeric: tabular-nums; }
/* Signed headline figures: a stat .value carrying .pos/.neg is colored by sign so a
   loss reads red and a gain green on the tile. Higher specificity (0,4,0) than the
   ink default above (0,3,0), so this is the ONE canonical place for it — pages must
   not re-declare it. */
.ds .stat .value.pos { color: var(--pos); }
.ds .stat .value.neg { color: var(--neg); }
.ds .stat .delta { font-size: var(--fs-sm); font-weight: 600; margin-top: var(--sp-1); }

/* Tables — statement-grade */
.ds table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.ds thead th { text-align: left; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: var(--sp-3) var(--sp-3); border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.ds tbody td { padding: var(--sp-3) var(--sp-3); border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.ds tbody tr:hover td { background: var(--surface-2); }
.ds tbody tr.no-hover:hover td { background: transparent; }
.ds tr.section td, .ds tbody tr.section td { font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; font-size: var(--fs-xs); background: var(--surface-2); }
.ds tbody tr.total td { font-weight: 700; color: var(--ink); border-top: 2px solid var(--ink); border-bottom: none; }
.ds tbody tr.grand-total td { font-weight: 700; color: var(--accent); border-top: 2px solid var(--accent); background: var(--accent-soft); }
.ds td.indent { padding-left: var(--sp-5); }
.ds .table-wrap { overflow-x: auto; }

/* Weight bar (mini inline bar in a cell) */
.ds .wbar { display: inline-flex; align-items: center; gap: var(--sp-2); justify-content: flex-end; }
.ds .wbar .track { display: block; width: 64px; height: 6px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.ds .wbar .fill { display: block; height: 100%; min-width: 2px; background: var(--accent); border-radius: var(--r-pill); }

/* Badges */
.ds .badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; border: 1px solid transparent; }
.ds .badge.neutral { background: var(--surface-2); color: var(--ink-2); border-color: var(--line); }
.ds .badge.accent  { background: var(--accent-soft); color: var(--accent); }
.ds .badge.pos     { background: var(--pos-soft); color: var(--pos); }
.ds .badge.neg     { background: var(--neg-soft); color: var(--neg); }
.ds .badge.warn    { background: var(--warn-soft); color: var(--warn); }
.ds .badge.gold    { background: #F7EFD9; color: var(--brass); }

/* Tabs — underline */
.ds .tabs { display: flex; gap: var(--sp-5); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-5); overflow-x: auto; }
.ds .tab { padding: var(--sp-3) 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-3); background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: color .15s; }
.ds .tab:hover { color: var(--ink-2); }
.ds .tab.active { color: var(--ink); border-bottom-color: var(--brass); }

/* Fields */
.ds .field { display: flex; flex-direction: column; gap: var(--sp-2); }
.ds .field label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.ds input, .ds select, .ds textarea { font-family: var(--sans); font-size: var(--fs-base); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: .55rem .7rem; transition: border-color .15s, box-shadow .15s; }
.ds input:focus, .ds select:focus, .ds textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ds input::placeholder { color: var(--ink-3); }

/* Notice / callout */
.ds .notice { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-sm); color: var(--ink-2); }
.ds .notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.ds .notice.info { background: var(--info-soft); border-color: #CFE0EE; color: var(--info); }
.ds .notice.warn { background: var(--warn-soft); border-color: #E8D9B0; color: var(--warn); }
.ds .notice strong { color: inherit; }

/* Empty state */
.ds .empty { text-align: center; padding: var(--sp-8) var(--sp-5); color: var(--ink-3); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.ds .empty .ico { width: 40px; height: 40px; margin: 0 auto var(--sp-3); color: var(--ink-3); }
.ds .empty h3 { color: var(--ink); font-family: var(--serif); font-weight: 500; font-size: var(--fs-lg); margin-bottom: var(--sp-2); }

/* Skeleton (loading) */
.ds .skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: ds-shimmer 1.4s ease infinite; border-radius: var(--r-sm); }
@keyframes ds-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

@media (max-width: 720px) {
  .ds .wrap { padding: var(--sp-5) var(--sp-4); }
  .ds .page-head .title { font-size: var(--fs-xl); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGACY CLASS-NAME COMPATIBILITY (scoped to .ds) — lets existing page markup
   adopt the institutional system simply by adding <body class="ds"> and trimming
   the page's own dark <style>, without renaming classes in every page's JS.
   ═══════════════════════════════════════════════════════════════════════════ */
.ds main { width: min(94vw, calc(640px + 50vw)); max-width: 1800px; margin: 0 auto; padding: var(--sp-7) var(--sp-6); }
.ds .page-header { margin-bottom: var(--sp-6); }
.ds .page-header h1 { font-family: var(--serif); font-size: var(--fs-2xl); font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.ds .page-header p { color: var(--ink-2); font-size: var(--fs-base); margin-top: var(--sp-2); }
.ds .fund-bar { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.ds .fund-bar label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ds .sub { color: var(--ink-2); font-size: var(--fs-sm); }
.ds .empty-state { text-align: center; padding: var(--sp-8) var(--sp-5); color: var(--ink-3); }
.ds .empty-state h3 { color: var(--ink); font-family: var(--serif); font-weight: 500; margin-bottom: var(--sp-2); }

/* Legacy button modifiers → institutional buttons (base comes from .ds .btn) */
.ds .btn-gold { background: var(--accent); color: var(--on-accent, #fff); border-color: transparent; }
.ds .btn-gold:hover { background: var(--accent-strong); color: var(--on-accent, #fff); }
.ds .btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.ds .btn-outline:hover { background: var(--surface-2); border-color: var(--ink-3); }
.ds .btn-danger { background: var(--surface); color: var(--neg); border-color: var(--neg-soft); }
.ds .btn-danger:hover { background: var(--neg-soft); }
.ds .btn-green { background: var(--pos); color: #fff; border-color: transparent; }
.ds .btn-sm { padding: .4rem .75rem; font-size: var(--fs-xs); }

/* Legacy status badges */
.ds .badge-positive { background: var(--pos-soft); color: var(--pos); }
.ds .badge-negative { background: var(--neg-soft); color: var(--neg); }
.ds .badge-neutral  { background: var(--surface-2); color: var(--ink-2); }

/* Reports-page legacy structures */
.ds .stmt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: var(--sp-5) var(--sp-6); margin-bottom: var(--sp-5); }
.ds .stmt h2 { font-family: var(--serif); font-size: var(--fs-lg); font-weight: 500; color: var(--ink); margin-bottom: var(--sp-4); }
.ds .row-total td { border-top: 2px solid var(--ink); font-weight: 700; color: var(--ink); }
.ds .row-total.grand td { border-top: 2px solid var(--accent); color: var(--accent); background: var(--accent-soft); }
.ds .hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-4); }
.ds .hl { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-4); }
.ds .hl .k { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ds .hl .v { font-family: var(--serif); font-size: var(--fs-lg); font-weight: 500; color: var(--ink); margin-top: var(--sp-2); font-variant-numeric: tabular-nums; }
.ds .basis-note { font-size: var(--fs-sm); color: var(--ink-3); font-style: italic; margin-top: var(--sp-3); }
.ds .controls { display: flex; gap: var(--sp-3); align-items: end; flex-wrap: wrap; margin-bottom: var(--sp-5); }
.ds .control label { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--sp-2); }
