/* GÉNÉRÉ par tools/theme/gen_theme_css.php — ne pas modifier à la main.
 * Source : AppTheme (lib/shared/app_theme.dart), graine #0284c7, Material 3,
 * Clair + sombre selon le système (ThemeMode.system), sauf choix du visiteur
 * (bouton jour/nuit du site) : <html data-theme="light|dark">. */

:root {
  color-scheme: light;
  --md-radius: 16px;
  --md-primary: #2c638b;
  --md-on-primary: #ffffff;
  --md-primary-container: #cce5ff;
  --md-on-primary-container: #074b72;
  --md-secondary: #51606f;
  --md-on-secondary: #ffffff;
  --md-secondary-container: #d4e4f6;
  --md-on-secondary-container: #394857;
  --md-tertiary: #67587a;
  --md-on-tertiary: #ffffff;
  --md-tertiary-container: #eddcff;
  --md-on-tertiary-container: #4e4161;
  --md-error: #ba1a1a;
  --md-on-error: #ffffff;
  --md-error-container: #ffdad6;
  --md-on-error-container: #93000a;
  --md-surface: #f7f9ff;
  --md-on-surface: #181c20;
  --md-on-surface-variant: #42474e;
  --md-surface-container-lowest: #ffffff;
  --md-surface-container-low: #f1f4f9;
  --md-surface-container: #ebeef3;
  --md-surface-container-high: #e6e8ee;
  --md-surface-container-highest: #e0e2e8;
  --md-outline: #72787e;
  --md-outline-variant: #c2c7ce;
  --md-inverse-surface: #2d3135;
  --md-on-inverse-surface: #eef1f6;
  --md-inverse-primary: #99ccfa;
  --md-shadow: #000000;
  --md-scrim: #000000;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --md-primary: #99ccfa;
    --md-on-primary: #003351;
    --md-primary-container: #074b72;
    --md-on-primary-container: #cce5ff;
    --md-secondary: #b8c8da;
    --md-on-secondary: #23323f;
    --md-secondary-container: #394857;
    --md-on-secondary-container: #d4e4f6;
    --md-tertiary: #d1bfe7;
    --md-on-tertiary: #372a4a;
    --md-tertiary-container: #4e4161;
    --md-on-tertiary-container: #eddcff;
    --md-error: #ffb4ab;
    --md-on-error: #690005;
    --md-error-container: #93000a;
    --md-on-error-container: #ffdad6;
    --md-surface: #101418;
    --md-on-surface: #e0e2e8;
    --md-on-surface-variant: #c2c7ce;
    --md-surface-container-lowest: #0b0f12;
    --md-surface-container-low: #181c20;
    --md-surface-container: #1c2024;
    --md-surface-container-high: #272a2e;
    --md-surface-container-highest: #313539;
    --md-outline: #8c9198;
    --md-outline-variant: #42474e;
    --md-inverse-surface: #e0e2e8;
    --md-on-inverse-surface: #2d3135;
    --md-inverse-primary: #2c638b;
    --md-shadow: #000000;
    --md-scrim: #000000;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --md-primary: #99ccfa;
  --md-on-primary: #003351;
  --md-primary-container: #074b72;
  --md-on-primary-container: #cce5ff;
  --md-secondary: #b8c8da;
  --md-on-secondary: #23323f;
  --md-secondary-container: #394857;
  --md-on-secondary-container: #d4e4f6;
  --md-tertiary: #d1bfe7;
  --md-on-tertiary: #372a4a;
  --md-tertiary-container: #4e4161;
  --md-on-tertiary-container: #eddcff;
  --md-error: #ffb4ab;
  --md-on-error: #690005;
  --md-error-container: #93000a;
  --md-on-error-container: #ffdad6;
  --md-surface: #101418;
  --md-on-surface: #e0e2e8;
  --md-on-surface-variant: #c2c7ce;
  --md-surface-container-lowest: #0b0f12;
  --md-surface-container-low: #181c20;
  --md-surface-container: #1c2024;
  --md-surface-container-high: #272a2e;
  --md-surface-container-highest: #313539;
  --md-outline: #8c9198;
  --md-outline-variant: #42474e;
  --md-inverse-surface: #e0e2e8;
  --md-on-inverse-surface: #2d3135;
  --md-inverse-primary: #2c638b;
  --md-shadow: #000000;
  --md-scrim: #000000;
}
