/* Design tokens — the only place a raw colour or size is written down.
 *
 * Every value here is a role, not a swatch. The chart colours mirror the
 * validated palette in apollo_engine/dashboard/palette.py; that ordering is a
 * colourblind-safety property rather than taste, so keep the two in step and
 * re-run the palette validator before changing either.
 */

:root {
  color-scheme: light;

  /* Surfaces and ink */
  --surface:        #fcfcfb;
  --plane:          #f9f9f7;
  --ink:            #0b0b0b;
  --ink-2:          #52514e;
  --muted:          #898781;
  --grid:           #e1e0d9;
  --baseline:       #c3c2b7;
  --hairline:       rgba(11, 11, 11, 0.10);

  /* Chrome */
  --appbar:         #16181d;
  --appbar-ink:     #f2f1ee;
  --appbar-muted:   #9b9a95;
  --accent:         #2a78d6;
  --warn:           #fab219;
  --critical:       #d03b3b;

  /* Xoma brand. The bar carries text, so the ink on it clears 4.5:1 — see
     docs/guides/dashboard.md. */
  --brand:          #f5c518;
  --brand-ink:      #1a1500;
  --brand-edge:     #d9ab06;

  /* Ensemble membership. The wash is deliberately faint: it groups rows
     without competing with the numbers on them. */
  --included:            #12805a;
  --excluded:            #c0392b;
  --included-wash:       rgba(18, 128, 90, 0.07);
  --included-wash-hover: rgba(18, 128, 90, 0.13);

  /* Spacing and radii, so panels line up without magic numbers. */
  --gap:            10px;
  --pad:            16px;
  --radius:         8px;
  --radius-pill:    999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--plane);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}
