/* TOBY Software — Ingénierie : tokens, générés depuis le design system (tokens.json). Ne pas modifier à la main. */
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Variable-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-Regular-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-Medium-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
:root, [data-theme="light"] {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-hover: #f0f0ed;
  --border: #e6e6e2;
  --border-strong: #111111;
  --border-control: #85857f;
  --text-strong: #111111;
  --text: #3a3a37;
  --text-muted: #6b6b66;
  --accent: #d9381e;
  --accent-hover: #b82e16;
  --accent-soft: #fdebe6;
  --on-accent: #ffffff;
  --danger: #b3123a;
  --warning: #8a5800;
  --success: #1d7048;
  --overlay: rgba(250, 250, 249, 0.88);
  --shadow-overlay: 0 12px 32px -12px rgba(17, 17, 17, 0.18);
  --shadow-frame: 0 1px 2px rgba(17, 17, 17, 0.06), 0 24px 48px -24px rgba(17, 17, 17, 0.2);
}
[data-theme="dark"] {
  --bg: #111111;
  --surface: #1a1a19;
  --surface-hover: #242423;
  --border: #2a2a28;
  --border-strong: #f5f5f3;
  --border-control: #6f6f6a;
  --text-strong: #f5f5f3;
  --text: #cfcfca;
  --text-muted: #9a9a94;
  --accent: #ff5c3a;
  --accent-hover: #ff7b5e;
  --accent-soft: #2a1611;
  --on-accent: #111111;
  --danger: #ff7a95;
  --warning: #e9b04c;
  --success: #56c58f;
  --overlay: rgba(17, 17, 17, 0.86);
  --shadow-overlay: 0 12px 32px -12px rgba(0, 0, 0, 0.7);
  --shadow-frame: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 48px -24px rgba(0, 0, 0, 0.8);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 144px;
  --radius-none: 0;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-full: 999px;
  --container: 1280px;
  --columns: 12;
  --gutter-mobile: 20px;
  --gutter: 40px;
  --measure: 64ch;
  --header-h-mobile: 64px;
  --header-h: 72px;
  --control-lg: 48px;
  --control-md: 44px;
  --control-sm: 36px;
  --icon-md: 24px;
  --icon-sm: 20px;
  --mark: 8px;
  --stroke-1: 1px;
  --stroke-2: 2px;
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
[data-theme="light"] { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }
