*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #fafafa;
  --white: #ffffff;
  --black: #0a0a0a;
  --border: rgba(0,0,0,0.06);
  --border-light: rgba(0,0,0,0.03);
  --text-1: #0a0a0a;
  --text-2: #525252;
  --text-3: #a3a3a3;
  --green: #0c9c6a;
  --green-bg: #f0fdf8;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --red: #dc2626;
  --red-bg: #fff1f2;
  --blue: #1a56db;
  --blue-bg: #eff6ff;
  --modified: #7c3aed;
  --modified-bg: #f5f3ff;
  --accent: #6b7280;
  --accent-hover: #4b5563;
  --accent-muted: rgba(107,114,128,0.08);
  --surface-hover: rgba(0,0,0,0.02);
  /* Surface / ink aliases — used by the sidebar active state and
     a handful of other components that want "page background" and
     "page foreground" by name. Without these the sidebar's active
     nav item rendered the icon black-on-black because var(--surface)
     resolved to an empty string. */
  --surface: var(--white);
  --ink: var(--text-1);
  --ink-45: var(--text-3);
  --ink-65: var(--text-2);
  --ink-80: var(--text-1);
  --rule: var(--border);
  --shadow: 0 1px 2px rgba(0,0,0,0.04);
  --rail: 44px;
  --expanded: 44px;
  --r: 12px;
  --rsm: 8px;
}
html, body {
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  color: var(--text-1);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
