/* Généré par scripts/build-tokens.mjs, ne pas modifier à la main. */
:root {
  --surface: #faf6ef;
  --surface-raised: #fffdf9;
  --surface-sunken: #f1e9dc;
  --ink: #241a12;
  --ink-muted: #5e5041;
  --border: #d7cbb8;
  --border-strong: #857462;
  --brand: #a63f14;
  --on-brand: #fffdf9;
  --accent: #a63f14;
  --accent-hover: #8a3210;
  --on-accent: #fffdf9;
  --accent-soft: #f3d9c6;
  --positive: #0a6473;
  --positive-soft: #d5e9ec;
  --caution: #7a4f00;
  --caution-soft: #f4e3b8;
  --focus: #1b4fbf;
  --shadow-card: 0 1px 2px rgba(36,26,18,0.12);
  --shadow-lift: 0 6px 16px rgba(36,26,18,0.16);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font-display: "Fraunces Variable", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans Variable", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
  color-scheme: light;
}

/* Thème clair imposé : le thème sombre ne s'active que par data-theme="dark" sur <html>. */
:root[data-theme="dark"] {
  --surface: #17120e;
  --surface-raised: #221b15;
  --surface-sunken: #100c09;
  --ink: #f3eadf;
  --ink-muted: #c4b6a5;
  --border: #3a3027;
  --border-strong: #8f7f6c;
  --brand: #d9a679;
  --on-brand: #17120e;
  --accent: #e2733f;
  --accent-hover: #f08a58;
  --on-accent: #17120e;
  --accent-soft: #3b2416;
  --positive: #5fc0d1;
  --positive-soft: #12343a;
  --caution: #e0b04a;
  --caution-soft: #3a2d0d;
  --focus: #8fb0ff;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-lift: 0 6px 16px rgba(0,0,0,0.6);
  color-scheme: dark;
}
