/* GENERATED by site/build.py from brand-tokens.css's :root block and
   its dark @media override (extracted by brace-matching). Do not
   hand-edit this file -- edit brand-tokens.css and re-run the build. */
:root {
  --brand-blue: #1464CC;
  --brand-blue-deep: #0B3C7D;
  --brand-ink: #2B3534;
  --brand-paper: #F4F5F8;
  --brand-warn: #8A5A00;
  --oh-amber: var(--brand-warn);
  --oh-ring: var(--brand-blue);
  /* the brand fade (sky blue → royal blue): meters and bars */
  --ai-grad-from: #38BDF8;
  --ai-grad-to: #1464CC;
  --color-background-page: #F4F5F8;
  --color-background-primary: #FFFFFF;
  --color-background-secondary: #ECEDF2;
  --color-text-primary: #2B3534;
  --color-text-secondary: #5C6B6A;
  --color-text-tertiary: #6D7877;  /* the report's AA pin (4.56:1 on white) — one palette, DESIGN.md */
  --color-border-tertiary: rgba(20,32,31,0.10);
  --color-border-secondary: rgba(20,32,31,0.16);
  --color-positive: #07703E;
  --color-positive-border: #12B76A;
  --card-border: var(--color-border-secondary);
  --accent-interactive: #1053A8;
  --border-radius-sm: 6px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* REPO-SIDE OVERRIDE of the handoff, chosen by Tom 2026-09-25 — see the file header.
     Light-only literals by design: a button's own fill does not repaint between themes. */
  --cta-fill: #57D698;
  --cta-ink: #0B3C7D;
  --cta-edge: #0E9A59;
  --cta-press: #35D189;
  --cost: #2B3534;
  --net: #1464CC;
  --pos-bg: #E3F7EE;
  --track: #ECEDF2;
  --panel: #F4F5F8;
  --shadow-card: 0 1px 2px rgba(0,0,0,.04), 0 18px 50px rgba(20,32,31,.12);
  --shadow-pane: 0 1px 2px rgba(0,0,0,.04), 0 14px 40px rgba(20,32,31,.10);
  --shadow-menu: 0 12px 30px rgba(20,32,31,.16);
  --shadow-pin: 0 4px 12px rgba(20,20,26,.35);
  --v2-hl-saving-col: #57D698;
  --lp-charcoal: #404E4D;
  --v2-rail-bg: #ECEDF2;
  --v2-rail-text: #2B3534;
  --v2-rail-hover: rgba(20,32,31,0.06);
  --v2-rail-active-bg: #FFFFFF;
  --v2-rail-active-text: #2B3534;
  --v2-page-bg: #F4F5F8;
  --v2-setup-text: #5C6B6A;
  --v2-setup-active-bg: var(--v2-rail-active-bg);
  --v2-setup-active-text: var(--v2-rail-active-text);
  --v2-divider: rgba(20,32,31,0.10);
  --v2-rail-w: 208px;
  --v2-hdr-h: 60px;
  --v2-crail-w: 360px;
  --lp-trio-col: 76px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-ink: #E6E8EC;
    --brand-paper: #121A19;
    --color-background-page: #121A19;
    --color-background-primary: #1C2524;
    --color-background-secondary: #26302F;
    --v2-page-bg: #121A19;
    --v2-rail-bg: #121A19;
    --v2-rail-text: #E6E8EC;
    --v2-rail-hover: rgba(255,255,255,0.08);
    --v2-rail-active-bg: #1C2524;
    --v2-rail-active-text: #E6E8EC;
    --v2-setup-text: #A8AABC;
    --v2-divider: rgba(255,255,255,0.12);
    --color-text-primary: #E6E8EC;
    --color-text-secondary: #A8AABC;
    --color-text-tertiary: #7E8A89;
    --color-border-tertiary: rgba(255,255,255,0.12);
    --color-border-secondary: rgba(255,255,255,0.22);
    --color-positive: #35D189;
    --color-positive-border: #12B76A;
    --accent-interactive: #7BA9EE;
    /* site addition (not in the handoff): brand blues lifted for the dark canvas */
    --brand-blue: #7BA9EE;
    --brand-blue-deep: #6199E6;  /* the report's AA lift: 4.7:1 as AI-chip text on the dark tint */
    --ai-grad-to: #4E86D8;
    --oh-amber: #E6C079;
    --cost: #DCE0E6;
    --net: #7BA9EE;
    --pos-bg: #0D2E22;
    --track: #2B3534;
    --panel: #1F2827;
  }
}
