/* Koru AI dashboard design tokens (spec 5.4). Every colour lives here; no raw hex anywhere else. */
:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-2: #f1f4f2;
  --border: #dfe4e0;
  --border-soft: #eceff0;
  --text: #16201b;
  --muted: #5b6670;
  --text-micro: #8a949c; /* decoration only, fails AA, never for needed text */
  --brand-green: #00662f;
  --brand-green-hover: #004f25;
  --brand-green-light: #e3f1e8;
  --brand-green-mid: #b9d9c5;
  --brand-green-bright: #00a651; /* decoration only */
  --brand-blue: #004a88;
  --brand-blue-light: #e1ecf7;
  --sidebar-bg: #0a1f16;
  --sidebar-text: #dbe7e0;
  --sidebar-muted: #9fb5a8;
  --nav-active-bg: #14442b;
  --nav-active-text: #ffffff;
  --nav-active-icon: #6fe3a4;
  --ok: #0b5a2e;
  --ok-bg: #dcf3e4;
  --warn: #7a4300;
  --warn-bg: #fdf0cf;
  --danger: #a4271c;
  --danger-bg: #fde8e6;
  --info: #004a88;
  --info-bg: #e1ecf7;
  --neutral: #4b5560;
  --neutral-bg: #eef0f2;
  --focus-ring: #00662f;
  --focus-ring-on-dark: #6fe3a4;
  /* Reviewer confidence bands (specs/spec-kai-coding-experience.md 9.1). Text on fill, plus the left bar colour. Colour is never the only signal. */
  --conf-green: #0b5a2e;
  --conf-green-bg: #f4f8f5;
  --conf-green-bar: #5f9c73;
  --conf-amber: #7a4300;
  --conf-amber-bg: #fdf0cf;
  --conf-amber-bar: #b86e00;
  --conf-red: #7a1610;
  --conf-red-bg: #fbd9d5;
  --conf-red-bar: #c62828;
  --conf-overdue: #ffffff;
  --conf-overdue-bg: #a4160c;
  --conf-overdue-bar: #8e0000;
  --orange: #8a3b00;
  --orange-bg: #ffe8d6;
  --overlay: rgba(10, 31, 22, 0.55);
  --white: #ffffff;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 4px 16px rgba(0, 0, 0, 0.10);
  --motion: 150ms ease;
}
