/* Engendré depuis src/design/tokens.js — ne pas éditer à la main. */
:root, [data-theme='paper'] { --bg:#FAF7F2; --bg-alt:#F2EEE5; --surface:#FFFFFF; --surface-h:#F2EEE5; --border:#E5E0D4; --text:#131311; --text-b:#0A0A09; --text-m:#78786E; --text-d:#8E8E84; --text-f:#B5B2A6; --c1:#C8F04B; --c2:#7FA31C; --accent-soft:rgba(200,240,75,0.22); --green:#5FA83D; --green-bg:#F1F7E8; --green-border:#C6E0A3; --orange:#C9721A; --orange-bg:#FDF4E7; --orange-border:#EFCFA1; --red:#C0392B; --red-bg:#FCEFED; --red-border:#EDBDB6 }
[data-theme='machine'] { --bg:#0D0F0C; --bg-alt:#131511; --surface:#161814; --surface-h:#1E211C; --border:#343A30; --text:#E8EAE3; --text-b:#FAF7F2; --text-m:#9A9C91; --text-d:#78786E; --text-f:#4A4E45; --c1:#C8F04B; --c2:#C8F04B; --accent-soft:rgba(200,240,75,0.12); --green:#9BE564; --green-bg:rgba(155,229,100,0.10); --green-border:rgba(155,229,100,0.28); --orange:#F0A24B; --orange-bg:rgba(240,162,75,0.10); --orange-border:rgba(240,162,75,0.28); --red:#F0705C; --red-bg:rgba(240,112,92,0.10); --red-border:rgba(240,112,92,0.28) }

:root {
  --font-display: 'Neue Montreal', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --label-tracking: 0.08em;
  --label-size: 11px;
  --radius: 4px;
  --radius-button: 2px;
  --radius-pill: 999px;
  --hairline: 1px;
  --grid-size: 80px;
  --grid-mask: radial-gradient(90% 80% at 50% 0%, #000 30%, transparent 75%);
}

[data-theme='paper'] { --grid-line: #E5E0D4; --grid-opacity: 0.45; }
[data-theme='machine'] { --grid-line: #1E211C; --grid-opacity: 0.6; }