/* Data is a first-class brand surface here: this lab publishes forecasts, maps and
   information-theoretic measures. These tokens are the sanctioned chart palettes. */
:root {
  /* Categorical — one color per research theme. Order is the legend order. */
  --theme-travel: var(--ochre-600);
  --theme-mosquito: var(--plum-600);
  --theme-virus: var(--red-600);
  --theme-environment: var(--mangrove-600);
  --theme-people: var(--lagoon-600);
  --theme-network: var(--ink-800);

  /* Categorical series (charts with no thematic meaning) */
  --cat-1: var(--lagoon-600);
  --cat-2: var(--red-600);
  --cat-3: var(--ochre-600);
  --cat-4: var(--mangrove-600);
  --cat-5: var(--plum-600);
  --cat-6: var(--ink-500);

  /* Sequential "entropy" ramp — low information (sand) to high (ink). */
  --entropy-0: #fbf8f3;
  --entropy-1: #dcecec;
  --entropy-2: #a9d6d9;
  --entropy-3: #6ab5be;
  --entropy-4: #338d9a;
  --entropy-5: #17606f;
  --entropy-6: #0b3547;
  --entropy-7: #0a1428;

  /* Diverging — signed residuals, over/under-prediction. */
  --diverge-neg-3: #8e0c21;
  --diverge-neg-2: #c8102e;
  --diverge-neg-1: #f0a8ae;
  --diverge-mid: #f2ece1;
  --diverge-pos-1: #9fd0d4;
  --diverge-pos-2: #0e7c86;
  --diverge-pos-3: #06333a;

  /* Forecast quantile fan — nested prediction intervals, widest palest. */
  --fan-50: rgb(14 124 134 / 0.42);
  --fan-80: rgb(14 124 134 / 0.26);
  --fan-95: rgb(14 124 134 / 0.14);
  --fan-line: var(--lagoon-800);
  --fan-observed: var(--ink-900);

  /* Chart chrome */
  --chart-axis: var(--ink-300);
  --chart-grid: var(--ink-100);
  --chart-label: var(--ink-600);
  --chart-annotation: var(--red-600);
  --chart-node: var(--ink-800);
  --chart-edge: rgb(20 33 61 / 0.22);
  --chart-land: var(--sand-200);
  --chart-water: var(--lagoon-100);
  --chart-coast: var(--ink-300);
}
