/* Nikilko Warm Utility tokens. Generated by build.mjs from source/tokens.json, which comes from the design system
   (https://claude.ai/artifact/4uyHaLdNKmHuAGkaApSnA4). Change tokens there, copy them into source/, rebuild. */
:root, [data-theme="light"] {
  --bg: #f5f5f4;
  --surface: #ffffff;
  --subtle: #eeece9;
  --raised: #ffffff;
  --border: #e7e5e4;
  --border-control: #948d87;
  --text: #1c1917;
  --text-secondary: #44403c;
  --muted: #6f6964;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --on-accent: #ffffff;
  --accent-weak: #f0fdfa;
  --accent-strong: #115e59;
  --focus-ring: var(--accent);
  --ok: #065f46;
  --ok-bg: #ecfdf5;
  --warn: #92400e;
  --warn-bg: #fffbeb;
  --err: #991b1b;
  --err-bg: #fef2f2;
  --danger: #b91c1c;
  --pos: #047857;
  --neg: #b91c1c;
  --nav-bg: #1c1917;
  --nav-border: #1c1917;
  --nav-text: #d6d3d1;
  --nav-text-strong: #f5f5f4;
  --nav-muted: #a8a29e;
  --nav-hover: #292524;
  --nav-active-bg: #134e4a;
  --nav-active-text: #99f6e4;
  --nav-mark: #14b8a6;
  --on-nav-mark: #042f2e;
  --shadow-pop: 0 4px 16px rgba(28, 25, 23, 0.12);
}
[data-theme="dark"] {
  --bg: #1c1917;
  --surface: #292524;
  --subtle: #231f1d;
  --raised: #35302c;
  --border: #3a3431;
  --border-control: #78716c;
  --text: #f5f5f4;
  --text-secondary: #d6d3d1;
  --muted: #a8a29e;
  --accent: #14b8a6;
  --accent-hover: #2dd4bf;
  --on-accent: #042f2e;
  --accent-weak: #134e4a;
  --accent-strong: #99f6e4;
  --focus-ring: var(--accent);
  --ok: #6ee7b7;
  --ok-bg: #064e3b;
  --warn: #fcd34d;
  --warn-bg: #451a03;
  --err: #fca5a5;
  --err-bg: #450a0a;
  --danger: #dc2626;
  --pos: #34d399;
  --neg: #f87171;
  --nav-bg: #0c0a09;
  --nav-border: #292524;
  --nav-text: #d6d3d1;
  --nav-text-strong: #f5f5f4;
  --nav-muted: #a8a29e;
  --nav-hover: #1c1917;
  --nav-active-bg: #134e4a;
  --nav-active-text: #99f6e4;
  --nav-mark: #14b8a6;
  --on-nav-mark: #042f2e;
  --shadow-pop: 0 4px 16px rgba(0, 0, 0, 0.5);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-8: 32px;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --control-h: 34px;
  --control-h-compact: 28px;
  --row-h: 34px;
  --row-h-compact: 28px;
  --touch-target: 44px;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}
