/* Beim ersten Öffnen gilt Dunkel. Für eine gespeicherte Auswahl setzt
   die App data-theme="dark" oder data-theme="light" am HTML-Element. */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --ta-logo: #427fca;
  --ta-background: #121b29;
  --ta-surface: #1b2738;
  --ta-text: #f0f4fa;
  --ta-action: #ffaa66;
  --ta-on-action: #2b1809;
  --ta-link: #8fc1ff;
  --ta-link-surface: #243b5b;
  --ta-warning: #ffcc75;
}

:root[data-theme="light"] {
  color-scheme: light;
  --ta-background: #f2f5fa;
  --ta-surface: #ffffff;
  --ta-text: #17283e;
  --ta-action: #a64009;
  --ta-on-action: #ffffff;
  --ta-link: #235aa7;
  --ta-link-surface: #e4eefb;
  --ta-warning: #825000;
}

/* Kundenberichte haben in beiden Bildschirmmodi einen weißen Papiergrund. */
@media print {
  :root,
  :root[data-theme] {
    color-scheme: light;
    --ta-background: #ffffff;
    --ta-surface: #ffffff;
    --ta-text: #17283e;
    --ta-action: #a64009;
    --ta-on-action: #ffffff;
    --ta-link: #235aa7;
    --ta-link-surface: #e4eefb;
    --ta-warning: #825000;
  }
}
