/* Whitehole internal apps — design tokens (v0.2 proposal)
   Single source of truth for color, radius, and typography variables. */

:root {
  /* surfaces */
  --paper: #f6f7f9;
  --panel: #ffffff;
  --hair: #e1e6ed;
  --hair-strong: #c9d1dc;

  /* text */
  --ink: #101d2b;
  --muted: #586374;
  --faint: #66707f;

  /* brand */
  --brand: #002946;
  --accent: #034575;
  --accent-2: #223e37;
  --accent-soft: #e8eef6;

  /* functional states */
  --good: #256b49;
  --good-bg: #e5f1ea;
  --warn: #8a5a16;
  --warn-bg: #faf0dd;
  --danger: #600e2c;
  --danger-bg: #f6e6e8;
  --ai: #5a4a9c;
  --ai-bg: #eeeaf8;
  --code: #eef2f6;

  /* data visualization */
  --chart-1: #034575;
  --chart-2: #223e37;
  --chart-3: #d35244;
  --chart-4: #600e2c;
  --chart-5: #7a6b72;

  /* shape & rhythm */
  --radius-input: 8px;
  --radius-card: 12px;
  --radius-panel: 14px;
  --gutter: clamp(20px, 4vw, 52px);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  /* typography */
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* legacy aliases used in markup */
  --white: var(--panel);
  --line: var(--hair);
  --blue: var(--accent);
}
