/* Style partagé par les pages annexes (légal, admin, bilans, intégration).
   Sombre par défaut ; theme.js pose data-theme="light" selon le choix de la personne ou du système. */
@font-face { font-family: Anton; font-weight: 400; font-display: swap; src: url(/vendor/fonts/anton-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/vendor/fonts/inter-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/vendor/fonts/inter-700.woff2) format('woff2'); }
:root {
  --bg: #0f1230; --surface: #191d45; --surface-2: #242a59; --line: #363c73;
  --fg: #f3f2fa; --muted: #b0b3d8; --accent: #9eaaff; --accent-fg: #0f1230;
  --brand-grad: linear-gradient(135deg, #ef8f88, #9576a8 55%, #3a4db2); --grad-fg: #ffffff;
  --fdo: #e5484d; --danger: #f5a524; --soutien: #30a46c; --info: #8e8cd8; --fdo-strong: #cf3036; --info-strong: #6966c6;
  --ok-text: #7ee2b0; --warn-text: #ffcf7a; --bad-text: #ff9a9d;
  --warn-bg: #3a2c00; --overlay: rgba(25, 29, 69, .92);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: Anton, Impact, "Arial Narrow", sans-serif;
  --page-bg: var(--bg);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3eef6; --surface: #ffffff; --surface-2: #f1edf7; --line: #d8d2e6;
  --fg: #1c2156; --muted: #4a4f7a; --accent: #3a4db2; --accent-fg: #ffffff;
  --ok-text: #17734a; --warn-text: #8a5a00; --bad-text: #b42328;
  --warn-bg: #fff1d6; --overlay: rgba(255, 255, 255, .94);
  --page-bg: linear-gradient(180deg, #fdeceb, #eae4ee 45%, #d8dbf0);
  color-scheme: light;
}
