/* TS | Verwaltungssysteme – Farben, Schrift, Abstände. Neue Optik (13.11.2026): eckig, schlicht; hell + dunkel.
   Die Akzentfarben (--accent, --accent2, --accent-line, --focus, --link) setzt Palette::cssMitDunkel je Kunde. */
@font-face{font-family:"Geist";src:url("../../fonts/geist/Geist-Variable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{
  color-scheme:light;
  --bg:#f5f5f3;--panel:#ffffff;--panel2:#fafaf8;--ink:#17201c;--ink2:#3d4743;--muted:#5d6863;
  --line:#e2e2de;--line2:#ececea;--line-strong:#c9c9c3;--input-line:#d6d6d1;
  --accent:#1f5f4a;--accent2:#e7f0ec;--accent-ink:#ffffff;--accent-line:#b8d3c6;--focus:#9cc5b5;--link:#1f5f4a;
  --ok:#22663a;--okbg:#e6f3ea;--warn:#8a4a0e;--warnbg:#fdf0df;--note-warn-ink:#6d3c0b;--bad:#a12a2a;--badbg:#fbeceb;--note-bad-ink:#6e1d1d;
  --info:#2b4c8c;--infobg:#eef2fb;
  --side:#17231f;--sideink:#d6ddd9;--side-line:#2a3934;--side-hover:#21302b;--side-on:#2b4a3f;--side-muted:#93a39c;--side-sep:#7b8b84;--side-dirty:#f0c27a;--side-err:#ff9d9d;
  --rail:#141716;--rail-ink:#c9d0cd;--rail-muted:#8f9894;--rail-hover:rgba(255,255,255,.07);
  --thead:#ffffff;--row-hover:#f7f7f5;--sel:#f2f2ef;--miss-bg:#fffaf3;--warn-line:#e2b98c;--overlay:rgba(20,24,22,.45);
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:18px;--space-6:22px;--space-7:28px;
  --r-xs:0;--r-sm:0;--r-md:0;--r:0;--r-lg:0;--r-pill:0;
  --shadow-modal:0 20px 60px rgba(0,0,0,.22);--shadow-doc:0 2px 14px rgba(0,0,0,.12);--shadow-pop:0 16px 40px rgba(20,24,22,.16);
  --side-width:228px;--rail-width:88px;--bp-mobile:820px;--touch-min:44px;
  --font-sans:"Geist","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
}
/* Dunkel – mit Tom abgestimmt (Entwurf „Richtung B – eckig, dunkel“) */
html[data-theme=dunkel]{
  color-scheme:dark;
  --bg:#1f2723;--panel:#28312d;--panel2:#2f3935;--ink:#e6ece9;--ink2:#d3dcd7;--muted:#b2beb8;
  --line:#38443f;--line2:#333e39;--line-strong:#516259;--input-line:#404f49;
  --ok:#7fd3a0;--okbg:rgba(60,170,110,.16);--warn:#f0b56f;--warnbg:rgba(230,150,60,.16);--note-warn-ink:#f0b56f;--bad:#f08a8a;--badbg:rgba(230,90,90,.16);--note-bad-ink:#f4a3a3;
  --info:#9db8f0;--infobg:rgba(100,140,230,.16);
  --rail:#1a201e;--rail-ink:#d8e0dc;--rail-muted:#9aa6a0;
  --thead:#242d2a;--row-hover:#2e3935;--sel:#2e3935;--miss-bg:rgba(230,150,60,.08);--warn-line:#7a5a33;--overlay:rgba(0,0,0,.55);
  --shadow-modal:0 20px 60px rgba(0,0,0,.6);--shadow-pop:0 16px 40px rgba(0,0,0,.5);
}
@media (prefers-color-scheme:dark){
  html[data-theme=auto]{
    color-scheme:dark;
    --bg:#1f2723;--panel:#28312d;--panel2:#2f3935;--ink:#e6ece9;--ink2:#d3dcd7;--muted:#b2beb8;
    --line:#38443f;--line2:#333e39;--line-strong:#516259;--input-line:#404f49;
    --ok:#7fd3a0;--okbg:rgba(60,170,110,.16);--warn:#f0b56f;--warnbg:rgba(230,150,60,.16);--note-warn-ink:#f0b56f;--bad:#f08a8a;--badbg:rgba(230,90,90,.16);--note-bad-ink:#f4a3a3;
    --info:#9db8f0;--infobg:rgba(100,140,230,.16);
    --rail:#1a201e;--rail-ink:#d8e0dc;--rail-muted:#9aa6a0;
    --thead:#242d2a;--row-hover:#2e3935;--sel:#2e3935;--miss-bg:rgba(230,150,60,.08);--warn-line:#7a5a33;--overlay:rgba(0,0,0,.55);
    --shadow-modal:0 20px 60px rgba(0,0,0,.6);--shadow-pop:0 16px 40px rgba(0,0,0,.5);
  }
}
