/* ============================================
   THEME: MUSTANG GT DARK
   Professional dark theme with metallic grays
   Base primitives layer - Theme-specific values
   ============================================ */

[data-theme="dark"] {
  /* ===== BASE COLORS - RGB Triplets ===== */
  /* For alpha compositing: rgba(var(--base-*-rgb), opacity) */
  --base-bg-primary-rgb: 15, 23, 42;           /* Midnight blue */
  --base-bg-secondary-rgb: 30, 41, 59;         /* Charcoal */
  --base-bg-tertiary-rgb: 8, 13, 28;           /* Shadow */
  --base-accent-blue-rgb: 56, 189, 248;        /* Focus blue */
  --base-accent-red-rgb: 239, 68, 68;          /* Alert red */
  --base-accent-orange-rgb: 251, 146, 60;      /* Warning orange */
  --base-accent-yellow-rgb: 250, 204, 21;      /* Highlight yellow */
  
  /* ===== BASE COLORS - Solid (Hex) ===== */
  /* For solid colors without alpha */
  --base-bg-primary: #0f172a;                  /* Midnight */
  --base-bg-secondary: #1e293b;                /* Charcoal */
  --base-bg-tertiary: #080d1c;                 /* Shadow */
  --base-text-primary: #f8fafc;                /* Almost white */
  --base-text-secondary: #e2e8f0;              /* Light gray */
  --base-text-tertiary: #94a3b8;               /* Medium gray */
  --base-text-muted: #64748b;                  /* Dim gray */
  --base-border-subtle: #334155;               /* Border gray */
  --base-border-focus: #38bdf8;                /* Focus blue */
  --base-accent-blue: #38bdf8;                 /* Interactive */
  --base-accent-red: #ef4444;                  /* Danger */
  --base-accent-orange: #fb923c;               /* Warning */
  --base-accent-yellow: #facc15;               /* Highlight */
  --base-accent-green: #22c55e;                /* Success */
  
  /* ===== OPACITY LEVELS ===== */
  /* Contextual transparency for dark backgrounds */
  --opacity-subtle: 0.15;      /* Barely visible highlights */
  --opacity-light: 0.3;        /* Light overlays */
  --opacity-medium: 0.6;       /* Inactive states */
  --opacity-heavy: 0.9;        /* Active cards */
  --opacity-solid: 0.95;       /* Near-solid overlays */
  
  /* ===== DEBUG COLORS - DISABLED (Use theme colors instead) ===== */
  /* Map debug tokens to theme colors for production */
  --base-debug-magenta: var(--base-text-primary);    /* Use normal text */
  --base-debug-cyan: var(--base-text-secondary);     /* Use secondary text */
  --base-debug-red: var(--base-bg-primary);          /* Use background */
  --base-debug-yellow: var(--base-bg-secondary);     /* Use secondary bg */
  --base-debug-lime: var(--base-border-subtle);      /* Use border */
  --base-debug-orange: var(--base-accent-orange);    /* Use theme orange */
  --base-debug-blue: var(--base-accent-blue);        /* Use theme blue */
  
  /* ===== SECTION DELINEATORS - Dark Theme ===== */
  /* Vibrant colors for dark backgrounds - high contrast */
  --base-section-fm000-rgb: 168, 85, 247;    /* Purple - Front Matter */
  --base-section-fm100-rgb: 34, 197, 94;     /* Green - Unit 1 */
  --base-section-fm200-rgb: 249, 115, 22;    /* Orange - Unit 2 */
  --base-section-fm300-rgb: 59, 130, 246;    /* Blue - Unit 3 */
  --base-section-fm400-rgb: 234, 179, 8;     /* Yellow - Unit 4 */
  --base-section-fm500-rgb: 236, 72, 153;    /* Pink - Unit 5 */
  --base-section-fm600-rgb: 20, 184, 166;    /* Teal - Unit 6 */
  --base-section-fm700-rgb: 250, 204, 21;    /* Gold - Back Matter */
}
