/* css/bridge.css · ONE dark system.
   tokens.css is the design system (v3: --brand, --ink, --up, Geist). Three older
   families still theme the chat cards, the grid views and the premium layer with
   their own names and slightly different values: style.css (--accent, --txt-*,
   --pos/--neg, Inter, Space Grotesk), corvo-grid.css (--tg-*) and premium.css
   (--pr-*). style.css appends three more :root blocks that each "win". This sheet
   loads AFTER all of them and BEFORE theme.css, so in dark mode every legacy name
   resolves to the v3 value, and in light mode theme.css still has the last word.
   Revert = remove this file's <link> in index.html. */
:root {
  /* brand · orange primary, Base blue secondary */
  --accent: var(--brand);
  --accent-2: var(--brand-hi);
  --accent-soft: var(--brand-soft);
  --accent-glow: var(--shadow-glow);
  --ember: var(--brand);
  --ember-2: var(--brand-hi);
  --ember-soft: var(--brand-soft);
  --tg-orange: var(--brand);
  --tg-orange-soft: var(--brand-hi);
  --pr-ember: var(--brand);
  --pr-ember-soft: var(--brand-line);
  --pr-ember-tint: var(--brand-soft);
  --base: var(--base-blue);
  --base-2: #5b8dff;
  --base-soft: rgba(0, 82, 255, .10);
  --tg-blue: var(--base-blue);

  /* ground · one charcoal ladder */
  --bg: var(--bg-0);
  --bg-4: #26262c;
  --tg-bg: var(--bg-0);
  --tg-panel: var(--bg-1);
  --tg-panel-2: var(--bg-2);
  --tg-panel-3: var(--bg-3);

  /* ink · AA-safe greys from the token file */
  --txt: var(--ink);
  --txt-1: var(--ink);
  --txt-2: var(--ink-2);
  --txt-3: var(--ink-4);
  --tg-txt: var(--ink);
  --tg-dim: var(--ink-3);
  --tg-faint: var(--ink-4);
  --pr-ink-2: var(--ink-2);
  --pr-ink-3: var(--ink-3);

  /* lines */
  --line-1: var(--line);
  --tg-line: var(--line);
  --tg-line-2: var(--line-2);
  --pr-line: var(--line);
  --pr-line-2: var(--line-2);

  /* P&L semantics only */
  --pos: var(--up);
  --neg: var(--down);
  --tg-up: var(--up);
  --tg-down: var(--down);

  /* type · Geist and Geist Mono everywhere */
  --inter: var(--font);
  --space: var(--font);
  --tg-sans: var(--font);
  --tg-mono: var(--mono);

  /* radii · the v3 ladder */
  --r-md: 12px;
  --r-lg: 16px;
  --pr-r: 12px;
  --pr-r-lg: 16px;
}
