/* ===========================================================================
 * Dijiwa Design System — Dye Palette (chart surface)
 * ---------------------------------------------------------------------------
 * The chart-side sibling of tokens.css. Brand chrome and chart hues are
 * SIBLINGS — Cyan Green never appears as a chart series, and chart hues
 * never appear in chrome. Three temperature zones (cool / cool-neutral /
 * warm-reserved) prevent the uniform-temperature AI-default palette.
 *
 * Imported once on every dashboard HTML page.
 * Out of scope: frontend/login.html (cinematic dark login, separate surface).
 * =========================================================================== */

:root {
  /* =========================================================================
   * 2.2 Categorical palette — "Dijiwa Cool-Dye"
   * 8-slot, cool-pigment family of the same Balinese vernacular.
   * Slot 1–3 clear `--pairs all`; past slot 3 use adjacent pairlists.
   * ========================================================================= */
  --dye-1:  #2a78d6;   /* batik tulis navy — blue (220°) — action channels */
  --dye-2:  #A83A2F;   /* geringsing terracotta — red (25°) — RESERVED: status-critical / diverging positive */
  --dye-3:  #1baf7a;   /* prada-leaf cyan-green — aqua-green (155°) — occupancy / realized */
  --dye-4:  #e87ba4;   /* cepuk plum — magenta (340°) — Lokalua group on shared charts */
  --dye-5:  #4a3aa7;   /* kain cepuk indigo violet — violet (265°) — misc / meta */
  --dye-6:  #00B9E4;   /* aqua blue — cyan (195°) — direct / website channels */
  --dye-7:  #7B2D8E;   /* cepuk pink-violet — pink-violet (305°) — secondary categorical */
  --dye-8:  #C77F00;   /* geringsing ochre — deep amber (36°) — secondary categorical (was oxide red, collided with slot 2) */

  /* =========================================================================
   * 2.3 Sequential ramp — "kain cepuk indigo" (hue ~265°)
   * Sits between categorical slot 1 (blue, 220°) and slot 5 (violet, 265°-adjacent).
   * ========================================================================= */
  --dye-seq-100: #A99FC6;
  --dye-seq-200: #8E80B1;
  --dye-seq-300: #72619C;
  --dye-seq-400: #574287;
  --dye-seq-500: #3B2472;
  --dye-seq-600: #241560;

  /* =========================================================================
   * 2.4 Diverging ramp — batik tulis navy ↔ geringsing terracotta
   * 7 steps. Midpoint MUST read as gray (never a 3rd hue).
   * Equal step count per arm.
   * ========================================================================= */
  --dye-div-0: #2a78d6;   /* batik tulis navy — negative pole */
  --dye-div-1: #5479B5;   /* batik tulis navy */
  --dye-div-2: #9CB1DC;   /* batik tulis navy */
  --dye-div-3: #E4E4E7;   /* neutral — neutral gray midpoint */
  --dye-div-4: #C28878;   /* geringsing terracotta */
  --dye-div-5: #B85848;   /* geringsing terracotta */
  --dye-div-6: #A83A2F;   /* geringsing terracotta — positive pole */

  /* =========================================================================
   * 2.5 Status palette (reserved — never themed)
   * Hue alone never carries meaning; icon + label is the mitigation.
   * Cool-leaning red/pink family (hue 0–10°) — never collides with Terracotta.
   * Light hex only — forced-light, no dark-mode remap (see note at EOF).
   * ========================================================================= */
  --status-good:     #0E8E5A;   /* ✓ OK — deep emerald */
  --status-warning:  #C84878;   /* ⚠ Aging — cool pink-red */
  --status-serious:  #A82850;   /* ! Stale — deep magenta */
  --status-critical: #8A1842;   /* ✕ Failed — deep magenta */
}

/* ===========================================================================
 * Colour scheme: FORCED LIGHT — the dark-mode remap was REMOVED (2026-08-19).
 *
 * DELIBERATE. Do NOT re-add an `@media (prefers-color-scheme: dark)` block.
 * tokens.css no longer flips --warm/--dark, so the page surface stays
 * neutral grey (#F4F4F5) in every browser colour scheme. Chart hues tuned for a
 * near-black surface would therefore be painted onto a LIGHT GREY page — a
 * contrast regression, not a dark mode. The light hexes above are the only
 * validated set. A real dark mode is a separate project: parallel tokens,
 * re-tuned dye slots, every contrast ratio re-validated.
 * ========================================================================= */

