/* =====================================================
   Armada Next — colour tokens
   Cool blueprint neutrals (hue 240) · indigo signal (hue 265).
   Scoped to `.armada-next` so they never touch the classic UI.
   Light is the default; dark applies via [data-mode="dark"]
   (or .theme-dark) on the same `.armada-next` root.
   ===================================================== */

.armada-next,
.armada-next[data-mode="light"] {
  /* surfaces & ink */
  --bg:            oklch(0.965 0.005 240);
  --surface:       oklch(0.99 0.003 240);
  --surface-2:     oklch(0.93 0.006 240);
  --surface-3:     oklch(0.88 0.008 240);
  --border:        oklch(0.82 0.008 240);
  --border-strong: oklch(0.55 0.012 240);
  --fg:            oklch(0.18 0.012 240);
  --fg-2:          oklch(0.36 0.010 240);
  --muted:         oklch(0.52 0.008 240);
  --faint:         oklch(0.70 0.008 240);

  /* indigo signal */
  --accent:        oklch(0.58 0.11 265);
  --accent-soft:   oklch(0.92 0.045 265);
  --accent-ink:    oklch(0.30 0.10 265);
  --accent-line:   oklch(0.78 0.08 265);
  --accent-fg:     white;

  /* semantic states */
  --ok:        oklch(0.62 0.13 150);
  --ok-soft:   oklch(0.94 0.04 150);
  --warn:      oklch(0.74 0.14 75);
  --warn-soft: oklch(0.95 0.05 75);
  --err:       oklch(0.60 0.18 25);
  --err-soft:  oklch(0.94 0.05 25);
  --info:      oklch(0.62 0.11 240);
  --info-soft: oklch(0.94 0.04 240);

  /* deleting — distinct magenta, deliberately not the red error states */
  --del:       oklch(0.55 0.17 350);

  /* blueprint grid ground */
  --grid-line: rgba(0, 0, 0, 0.018);

  color-scheme: light;
}

.armada-next[data-mode="dark"],
.armada-next.theme-dark {
  --bg:            oklch(0.15 0.012 240);
  --surface:       oklch(0.20 0.014 240);
  --surface-2:     oklch(0.24 0.016 240);
  --surface-3:     oklch(0.28 0.018 240);
  --border:        oklch(0.36 0.020 240);
  --border-strong: oklch(0.55 0.024 240);
  --fg:            oklch(0.96 0.010 220);
  --fg-2:          oklch(0.80 0.012 220);
  --muted:         oklch(0.62 0.014 220);
  --faint:         oklch(0.45 0.012 220);

  --accent:        oklch(0.74 0.13 265);
  --accent-soft:   oklch(0.30 0.08 265);
  --accent-ink:    oklch(0.92 0.10 265);
  --accent-line:   oklch(0.50 0.10 265);
  --accent-fg:     oklch(0.15 0.01 230);

  --ok:        oklch(0.78 0.17 150);
  --ok-soft:   oklch(0.30 0.09 150);
  --warn:      oklch(0.82 0.15 75);
  --warn-soft: oklch(0.32 0.09 75);
  --err:       oklch(0.74 0.18 25);
  --err-soft:  oklch(0.30 0.12 25);
  --info:      oklch(0.78 0.13 240);
  --info-soft: oklch(0.30 0.09 240);

  --del:       oklch(0.74 0.16 350);

  --grid-line: rgba(255, 255, 255, 0.015);

  color-scheme: dark;
}
