/* ── Radar theme bridge — maps shared tokens onto AOE's variable names ──────
 *
 * The upstream aoe_technology_radar package ships its own CSS variable
 * vocabulary (`--foreground`, `--background`, `--content`, `--link`,
 * `--highlight`, `--border`, `--tag`). This file rebinds those onto the
 * canonical tokens in shared/tokens.css so every radar inherits the shared
 * palette without duplicating a light-mode block per radar.
 *
 * Injected into each radar build output by scripts/inject-site-chrome.js.
 * Each radar's own `custom.css` is now reserved for radar-specific layout
 * overrides only (e.g. the legend position fix, badge font-weight, item-list
 * opacity tweaks) — no colour variables live there anymore.
 * ─────────────────────────────────────────────────────────────────────────── */

:root {
  --foreground: var(--text);
  --background: var(--bg);
  --content: var(--text);
  --text: var(--text);
  --link: var(--accent);
  --highlight: var(--accent);
  --border: var(--border);
  --tag: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] {
  /* Dark/light parity is driven by tokens.css — --text, --bg, etc. already
     switch on data-theme="light". Only --tag needs a mode-specific value
     because rgba(255,255,255,...) reads backwards in light mode. */
  --tag: rgba(0, 0, 0, 0.06);
}
