/* ============================================================
   gcommand · G — Design Language EXTENSIONS
   Things gcommand needs that the upstream pack doesn't ship:
   a categorical chart palette and service-status semantics.
   Kept separate from the vendored tokens/ so a future pack
   re-pull stays a clean overwrite. Tuned to read on both the
   paper (light, default) and black (dark) grounds.
   ============================================================ */
:root {
  /* --- Categorical chart palette (FD.palette resolves these) ---
     Mid-tone, desaturated; legible on paper and on near-black. */
  --chart-1: #2f6fe0;  /* azure — primary, ties to --g-blue-ink */
  --chart-2: #c2410c;  /* burnt orange */
  --chart-3: #4d8b3f;  /* moss green */
  --chart-4: #b7791f;  /* ochre */
  --chart-5: #7c4dbd;  /* violet */
  --chart-6: #2a8a8a;  /* teal */

  /* Chart chrome */
  --chart-axis:     var(--text-muted);
  --chart-gridline: var(--border);
  --chart-label:    var(--text);

  /* --- Service-status semantics --------------------------------
     Replace the old hardcoded #2c5d63 (up) / #7b2d26 (down). */
  --status-up:    #3a7d5c;  /* healthy / live */
  --status-down:  #b23b30;  /* down / error */
  --status-warn:  #b7791f;  /* degraded / pending */
  --status-up-wash:   rgba(58, 125, 92, 0.12);
  --status-down-wash: rgba(178, 59, 48, 0.12);
  --status-warn-wash: rgba(183, 121, 31, 0.12);
}

/* Dark ground wants slightly brighter status hits to hold contrast. */
[data-theme="dark"] {
  --status-up:   #4fb37e;
  --status-down: #e0594c;
  --status-warn: #d9a13a;
}
