/* ──────────────────────────────────────────────────────────────────────────
   theme-shared.css — Theme-independent tokens (S66 Phase D extended).
   Loaded BEFORE per-theme CSS files. See theme axis scope §1, §2.

   TIER 0 — CROSS-THEME CONSTANTS (S66 operator-ratified architecture
   refinement). PnL/state colors, badge identity colors, and link blue
   are constant across all 4 themes. Per-theme primitives (Tier 1) and
   semantics (Tier 2) remain in theme-{dark,dusk,retro-dark,retro-light}.css.
   Tier 0 values populated in batches as operator specs each one.
   ────────────────────────────────────────────────────────────────────────── */

:root {
  /* Radius scale */
  --radius-sm:   3px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-pill: 20px;

  /* Numeric monospace font */
  --font-numeric: 'IBM Plex Mono', 'Courier New', monospace;

  /* ─────── TIER 0: CROSS-THEME CONSTANTS ─────── */

  /* PnL / state colors — one green/red covers PnL cells, status badges,
     vertical card accent bars, and future state indicators (operator-
     ratified S66 unification call). */
  --global-green:  #1BA84F;   /* S66 operator-spec — supersedes prior #09B040 for PnL/state */
  --global-red:    #CC2B2B;   /* S66 operator-spec — supersedes prior #B01212 / #f44336 for PnL/state */
  --global-orange: #F57D27;   /* S66 operator-spec — same hex as prior --warning; absorbs all var(--yellow) refs as Tier 0 */
  --global-blue:   #1B63B3;   /* S66 operator-spec — BLUE PnL/state AND universal wallet/CA/TXN link blue (one hex serves both) */

  /* Badge identity — each badge category has its own exclusive HEX
     (operator direction S66). Collected file-by-file as migration touches them. */
  --badge-copy:               #7255E6;   /* S66 operator-spec — COPY badge + Copy-toggle (Settings Wallets tab) */
  --badge-group-wallets:      #7c5cff;   /* S66 operator-approved as-is — GROUP WALLETS identity (group cards, group chips, GROUP(N) badge, leader-card top stripe) */
  --badge-group-wallets-soft: rgba(124, 92, 255, 0.10);   /* translucent companion for subtle bg tints */
  --badge-strategy-1: #2dc98a;   /* S66 operator-approved as-is — DCA / PYRAMID_DCA */
  --badge-strategy-2: #6ba3f5;   /* S66 operator-approved as-is — SNIPER */
  --badge-strategy-3: #f57c2a;   /* S66 operator-approved as-is — APE */
  --badge-strategy-4: #f06292;   /* S66 operator-approved as-is — R1P2 */
  --badge-strategy-5: #ffd23f;   /* S66 operator-approved as-is — RUNNER */
  --badge-active: #2dc98a;       /* S66 — distinct Tier 0 token (currently same hex as DCA; respec-ready) */
  --badge-live:   #2dc98a;       /* S66 — distinct Tier 0 token (currently same hex as DCA/ACTIVE) */
  --badge-tips:   #2dc98a;       /* S66 — distinct Tier 0 token (currently same hex as DCA/ACTIVE) */
  --badge-paper:  #f57c2a;       /* S68 — operator-ratified at #f57c2a; paper trades isolated in Paper Trades tab so APE-hex collision is a non-issue per operator visual preference (consistency across LIVE/PAPER/SHADOW cards over differentiation) */
  --badge-shadow: #9678C8;       /* S66 — distinct Tier 0 token (shadow trading purple) */

  /* Universal badge chrome (S69 Stratum 4) — theme-INVARIANT bg/border/text per
     S65 universal-badge directive. Retro Light overrides --badge-bg to #2a2a2a
     per S68 C2 per-theme-override precedent for softer contrast on light bg. */
  --badge-bg:     #1a1a1a;
  --badge-border: rgba(255,255,255,0.14);
  --badge-text:   #ffffff;

  /* Link blue — wallet, contract address, TXN address links (constant across themes). */
  /* --link-blue: pending operator spec */
}
