/* Hallmark · tokens · theme: brand (Windows 11 Fluent, kept; Apple Liquid Glass as the owner's second design) + refract (by request, third design, water/pool) + karma (by request: design inspiration from karmafood.at, fourth design) · v2.0.0
 * Every colour, face, size, space, radius, shadow, duration and layer the app uses is declared here and only here.
 * Names follow the project (bg, text, accent …); Hallmark's role names are aliases at the end of each block. */

/* ---------- Windows 11, hell (Standard) ---------- */
:root {
  /* Flächen */
  --wall: #f3f3f3;
  --bg: #ffffff;
  --ground: #f5f5f5;
  --raised: #fafafa;
  --glass: rgba(243, 243, 243, 0);
  --glass-strong: rgba(252, 252, 252, .97);
  --glass-solid: rgba(255, 255, 255, .86);
  --lens: rgba(255, 255, 255, .8);
  --ctl-h: rgba(249, 249, 249, .6);
  --fill: rgba(0, 0, 0, .04);
  --fill-h: rgba(0, 0, 0, .07);
  --scrim: rgba(0, 0, 0, .3);
  /* Linien */
  --line: rgba(0, 0, 0, .09);
  --rule: rgba(0, 0, 0, .06);
  --control: rgba(0, 0, 0, .45);
  --edge: rgba(0, 0, 0, .2);
  /* Schrift */
  --text: #1b1b1b;
  --muted: rgba(0, 0, 0, .64);
  --on-fill: #ffffff;
  --on-warm: #1c1c1e;
  /* Akzent und Status */
  --accent: #005fb8;
  --accent-text: #ffffff;
  --accent-soft: #e5f0fa;
  --accent-ink: #003e92;
  --focus: #1b1b1b;
  --green: #107c10;
  --pos: #0f7b0f;
  --ok-soft: #dff6dd;
  --orange: #f7630c;
  --warn: #9d5d00;
  --warn-soft: #fff4ce;
  --neg: #c42b1c;
  --red: #c42b1c;
  --neg-soft: #fde7e9;
  --neg-ink: #a4262c;
  --today: #005fb8;
  --hatch: rgba(196, 43, 28, .24);
  --stamp-in: #0f7b0f;
  --stamp-out: #c42b1c;
  --stamp-pause: #9d5d00;
  --stamp-pause-ink: #ffffff;
  --tip-ink: #ffffff;
  --toast-bg: #ffffff;
  --toast-ink: #1b1b1b;
  --toast-link: #005fb8;
  /* Abwesenheitsarten: dieselben Farben wie in den Auswahlknöpfen */
  --k-urlaub: #ffcc00;
  --k-urlaub-ink: #6b5200;
  --k-pflege: #ff9500;
  --k-sonder: #af52de;
  --k-za: #007aff;
  --k-frei: #8e8e93;
  --k-krank: #ff3b30;
  --k-krank-soft: rgba(255, 59, 48, .08);
  --ch-r: #d70015; --ch-g: #248a3d; --ch-b: #0071e3;
  --ch-r-bar: #ff3b30; --ch-g-bar: #34c759; --ch-b-bar: #007aff;
  --thumb: #ffffff;
  --swatch-edge: rgba(127, 127, 127, .35);
  /* Personen: Farbton aus den Daten, Sättigung und Helligkeit hier */
  --av-s: 45%;
  --av-l: 42%;
  /* Schrift */
  --font-body: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --tracking: 0;
  --tracking-display: 0;
  --weight-strong: 600;
  --weight-display: 600;
  --font-figure: var(--font-body);
  /* Schriftgrößen: feste Stufen im Verhältnis 1,2 ab 14 px, wie Windows 11 (Body 14, Subtitle 20, Title 28) */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 29px;
  --text-3xl: 35px;
  --text-4xl: 42px;
  --text-touch: 16px;
  /* Abstände */
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 144px;
  /* Maße */
  --side-w: 244px;
  --name-w: 216px;
  --col-w: 60px;
  --row-h: 52px;
  --wk-gap: 12px;
  --ctl: 32px;
  --ctl-lg: 40px;
  --hit: 44px;
  --container: 1440px;
  --measure: 65ch;
  /* Formen */
  --radius-ctl: 4px;
  --radius-card: 8px;
  --radius-sheet: 8px;
  --radius-event: 4px;
  --radius-pill: 999px;
  --radius-field: 4px;
  --rule-hair: 1px;
  --rule-bar: 2px;
  --rule-ink: var(--text);
  /* Schatten: Karten flach, nur Schwebendes hat Schatten */
  --spec: 0 0 0 transparent;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .06);
  --sh-2: 0 2px 4px rgba(0, 0, 0, .1);
  --sh-3: 0 8px 16px rgba(0, 0, 0, .14), 0 16px 48px rgba(0, 0, 0, .18);
  --shadow-card: none;
  --shadow-event: none;
  --blur: none;
  /* Hintergrund des Fensters */
  --wall-image: none;
  /* Bewegung */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;
  /* Ebenen */
  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-sticky-nav: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;
  /* Hallmark-Rollen */
  --color-paper: var(--bg);
  --color-paper-2: var(--ground);
  --color-ink: var(--text);
  --color-muted: var(--muted);
  --color-rule: var(--rule);
  --color-accent: var(--accent);
  --color-accent-ink: var(--accent-text);
  --color-focus: var(--focus);
  --color-error: var(--neg);
  --color-success: var(--pos);
  color-scheme: light;
}

/* ---------- Windows 11, dunkel ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --wall: #202020; --bg: #2b2b2b; --ground: #272727; --raised: #272727;
    --glass: rgba(32, 32, 32, 0); --glass-strong: rgba(44, 44, 44, .98); --glass-solid: rgba(255, 255, 255, .05); --lens: rgba(255, 255, 255, .07); --ctl-h: rgba(255, 255, 255, .1);
    --fill: rgba(255, 255, 255, .06); --fill-h: rgba(255, 255, 255, .09); --scrim: rgba(0, 0, 0, .5);
    --line: rgba(255, 255, 255, .09); --rule: rgba(255, 255, 255, .06); --control: rgba(255, 255, 255, .55); --edge: rgba(255, 255, 255, .06);
    --text: #ffffff; --muted: rgba(255, 255, 255, .77); --on-fill: #ffffff;
    --accent: #60cdff; --accent-text: #00263a; --accent-soft: #143a50; --accent-ink: #99ebff; --focus: #ffffff;
    --green: #6ccb5f; --pos: #6ccb5f; --ok-soft: #393d1b; --orange: #fce100; --warn: #fce100; --warn-soft: #433519;
    --neg: #ff99a4; --red: #ff6b5e; --neg-soft: #442726; --neg-ink: #ffb3ba; --today: #60cdff; --hatch: rgba(255, 107, 94, .32);
    --stamp-in: #0f7b0f; --stamp-out: #c42b1c; --stamp-pause: #9d5d00;
    --tip-ink: #00263a;
    --toast-bg: #2b2b2b; --toast-ink: #ffffff; --toast-link: #60cdff;
    --k-urlaub-ink: #ffe27a; --k-krank-soft: rgba(255, 69, 58, .14);
    --sh-1: 0 1px 2px rgba(0, 0, 0, .3); --sh-2: 0 2px 4px rgba(0, 0, 0, .4); --sh-3: 0 8px 16px rgba(0, 0, 0, .4), 0 16px 48px rgba(0, 0, 0, .5);
    --av-s: 40%; --av-l: 38%;
    color-scheme: dark;
  }
}

/* ---------- Apple Liquid Glass, hell (in den Einstellungen wählbar) ---------- */
:root[data-design="apple"] {
  --wall: #eef1f7;
  --wall-image: radial-gradient(1100px 700px at 8% -5%, #cfe4ff 0%, transparent 62%), radial-gradient(1000px 800px at 85% 105%, #d3f4e6 0%, transparent 60%), radial-gradient(900px 700px at 0% 100%, #ffe6d6 0%, transparent 60%);
  --bg: #ffffff; --ground: #f2f2f7; --raised: #f2f2f7;
  --glass: rgba(255, 255, 255, .52); --glass-strong: rgba(255, 255, 255, .74); --glass-solid: rgba(255, 255, 255, .86); --lens: rgba(255, 255, 255, .62); --ctl-h: rgba(255, 255, 255, .74);
  --fill: rgba(120, 120, 128, .12); --fill-h: rgba(120, 120, 128, .2); --scrim: rgba(20, 30, 50, .22);
  --line: rgba(60, 60, 67, .2); --rule: rgba(60, 60, 67, .12); --control: rgba(60, 60, 67, .29); --edge: rgba(60, 60, 67, .2);
  --text: #0b0b0d; --muted: rgba(60, 60, 67, .78);
  --accent: #0071e3; --accent-text: #ffffff; --accent-soft: #e3f0ff; --accent-ink: #0040a8; --focus: #0071e3;
  --green: #34c759; --pos: #248a3d; --ok-soft: #e3f6e8; --orange: #ff9500; --warn: #c93400; --warn-soft: #fff1dd;
  --neg: #d70015; --red: #ff3b30; --neg-soft: #ffebe9; --neg-ink: #a50011; --today: #ff3b30; --hatch: rgba(255, 59, 48, .28);
  --stamp-in: #248a3d; --stamp-out: #d70015; --stamp-pause: #ff9500; --stamp-pause-ink: #1c1c1e;
  --toast-bg: rgba(30, 30, 34, .78); --toast-ink: #ffffff; --toast-link: #64b5ff;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --tracking: -.006em; --tracking-display: -.02em;
  --radius-ctl: 999px; --radius-card: 22px; --radius-sheet: 30px; --radius-event: 8px; --radius-field: 999px;
  --spec: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 .5px rgba(255, 255, 255, .55);
  --sh-1: 0 1px 2px rgba(10, 30, 70, .07), 0 4px 12px rgba(10, 30, 70, .08);
  --sh-2: 0 2px 6px rgba(10, 30, 70, .07), 0 12px 32px rgba(10, 30, 70, .14);
  --sh-3: 0 8px 20px rgba(10, 30, 70, .12), 0 28px 70px rgba(10, 30, 70, .28);
  --shadow-card: var(--spec), var(--sh-2);
  --shadow-event: 0 1px 2px rgba(10, 30, 70, .09);
  --blur: saturate(185%) blur(28px);
  --av-s: 58%; --av-l: 46%;
}
@media (prefers-color-scheme: dark) {
  :root[data-design="apple"] {
    --wall: #08090c;
    --wall-image: radial-gradient(1100px 700px at 8% -5%, #12284d 0%, transparent 62%), radial-gradient(1000px 800px at 85% 105%, #0f3a33 0%, transparent 60%), radial-gradient(900px 700px at 0% 100%, #3a2118 0%, transparent 60%);
    --bg: #1c1c1e; --ground: #000000; --raised: #2c2c2e;
    --glass: rgba(58, 58, 64, .46); --glass-strong: rgba(44, 44, 48, .74); --glass-solid: rgba(36, 36, 40, .88); --lens: rgba(120, 120, 130, .32); --ctl-h: rgba(120, 120, 130, .42);
    --fill: rgba(118, 118, 128, .24); --fill-h: rgba(118, 118, 128, .36); --scrim: rgba(0, 0, 0, .45);
    --line: rgba(84, 84, 88, .65); --rule: rgba(84, 84, 88, .4); --control: rgba(120, 120, 128, .6); --edge: rgba(84, 84, 88, .65);
    --text: #ffffff; --muted: rgba(235, 235, 245, .72);
    --accent: #0a84ff; --accent-soft: #10305a; --accent-ink: #7dbbff; --focus: #0a84ff;
    --green: #30d158; --pos: #30d158; --ok-soft: #13301c; --orange: #ff9f0a; --warn: #ffb340; --warn-soft: #3b2a10;
    --neg: #ff6961; --red: #ff453a; --neg-soft: #3f1a18; --neg-ink: #ff9d97; --today: #ff453a; --hatch: rgba(255, 69, 58, .4);
    --tip-ink: #ffffff;
    --spec: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 .5px rgba(255, 255, 255, .12);
    --sh-1: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 12px rgba(0, 0, 0, .3);
    --sh-2: 0 2px 6px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .45);
    --sh-3: 0 8px 20px rgba(0, 0, 0, .5), 0 28px 70px rgba(0, 0, 0, .65);
    --av-s: 58%; --av-l: 46%;
  }
}
/* Wer am Gerät weniger Transparenz eingestellt hat, bekommt feste Flächen */
@media (prefers-reduced-transparency: reduce) {
  :root[data-design="apple"] { --glass: var(--bg); --glass-strong: var(--bg); --glass-solid: var(--bg); --lens: var(--raised); --blur: none; --wall-image: none; }
}

/* ---------- Refract: weißer Putz in der Sonne, Poolblau, Wasserlicht (in den Einstellungen wählbar) ----------
   Das Licht ist ein erzeugtes Bild (light.js) und liegt nur in der Seitenleiste, nie unter Fließtext.
   Flächen sind klar, ohne Unschärfe; Schatten fallen von einer Sonne nach rechts unten und tragen den Ton des Wassers. */
:root[data-design="refract"] {
  --wall: #faf9f5; --bg: #ffffff; --ground: #f4f3ef; --raised: #faf9f5;
  --glass: rgba(255, 255, 255, .8); --glass-strong: rgba(255, 255, 255, .94); --glass-solid: rgba(255, 255, 255, .86); --lens: rgba(255, 255, 255, .82); --ctl-h: #ffffff;
  --fill: rgba(14, 31, 44, .045); --fill-h: rgba(14, 31, 44, .08); --scrim: rgba(14, 31, 44, .26);
  --line: #d7dde1; --rule: #e6eaed; --control: #8d9aa3; --edge: #d7dde1;
  --text: #0e1f2c; --muted: #576570;
  --accent: #006c9c; --accent-hi: #005a8b; --accent-text: #fcfcf9; --accent-soft: #daf0f7; --accent-ink: #005a8b; --focus: #007fb9;
  --green: #2f9e6a; --pos: #1f7a52; --ok-soft: #dcf2e8; --orange: #e08a2e; --warn: #9a5b00; --warn-soft: #fbefd8;
  --neg: #c2332b; --red: #d9473e; --neg-soft: #fbe6e3; --neg-ink: #a1281f; --today: #006c9c; --hatch: rgba(194, 51, 43, .24);
  --stamp-in: #1f7a52; --stamp-out: #c2332b; --stamp-pause: #e08a2e; --stamp-pause-ink: #0e1f2c;
  --toast-bg: #ffffff; --toast-ink: #0e1f2c; --toast-link: #006c9c;
  --font-body: "Funnel Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Funnel Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --tracking: 0; --tracking-display: -.032em; --weight-strong: 500; --weight-display: 400;
  --radius-ctl: 999px; --radius-card: 22px; --radius-sheet: 22px; --radius-event: 8px; --radius-field: 12px;
  /* Licht und Spektrum: nur für das Wasserlicht */
  --shade: #acdae4; --shade-2: #77b6ca; --light: #fffefb;
  --spec-1: #ff9079; --spec-2: #ede361; --spec-3: #52dfbf; --spec-4: #6f8bed;
  --spec: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(255, 255, 255, .55);
  --primary-edge: inset 0 1px 0 rgba(255, 255, 255, .28);
  --sh-1: 2px 3px 6px -2px rgba(41, 77, 94, .14);
  --sh-2: 10px 16px 30px -18px rgba(19, 116, 141, .38), 2px 3px 6px -2px rgba(41, 77, 94, .12);
  --sh-3: 28px 40px 70px -30px rgba(0, 145, 166, .45), 4px 8px 18px -6px rgba(41, 77, 94, .16);
  --shadow-card: var(--spec), 18px 28px 48px -26px rgba(19, 116, 141, .38), 2px 3px 6px -2px rgba(41, 77, 94, .12);
  --shadow-event: 1px 2px 3px -1px rgba(19, 116, 141, .22);
  --blur: none; --wall-image: none;
  --av-s: 42%; --av-l: 44%;
}
@media (prefers-color-scheme: dark) {
  /* Der Pool am Abend: tiefes Blau statt Putz, das Licht wird kühler und leiser */
  :root[data-design="refract"] {
    --wall: #09151e; --bg: #0f1f2a; --ground: #0c1a24; --raised: #0c1a24;
    --glass: rgba(15, 31, 42, .8); --glass-strong: rgba(17, 34, 46, .96); --glass-solid: rgba(20, 38, 51, .9); --lens: rgba(255, 255, 255, .07); --ctl-h: rgba(255, 255, 255, .11);
    --fill: rgba(240, 238, 231, .06); --fill-h: rgba(240, 238, 231, .1); --scrim: rgba(0, 8, 14, .55);
    --line: #2a343c; --rule: #1d2a33; --control: #6f8089; --edge: #2a343c;
    --text: #f0eee7; --muted: #a2b1b8;
    --accent: #4cbadc; --accent-hi: #6ccdea; --accent-text: #031826; --accent-soft: #133747; --accent-ink: #8fd8ee; --focus: #6ccdea;
    --green: #4cc38a; --pos: #5fd39b; --ok-soft: #12352a; --orange: #f0a654; --warn: #f2bd6b; --warn-soft: #3a2c14;
    --neg: #ff8a80; --red: #f0645a; --neg-soft: #3d1b1a; --neg-ink: #ffb0a8; --today: #4cbadc; --hatch: rgba(240, 100, 90, .34);
    --toast-bg: #11222e; --toast-ink: #f0eee7; --toast-link: #6ccdea;
    --tip-ink: #031826;
    --shade: #003443; --shade-2: #0d5468; --light: #76c7d0;
    --spec: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .05);
    --primary-edge: inset 0 1px 0 rgba(255, 255, 255, .3);
    --sh-1: 2px 3px 6px -2px rgba(0, 0, 0, .4);
    --sh-2: 10px 16px 30px -18px rgba(0, 60, 80, .7), 2px 3px 6px -2px rgba(0, 0, 0, .35);
    --sh-3: 28px 40px 70px -30px rgba(0, 80, 100, .75), 4px 8px 18px -6px rgba(0, 0, 0, .45);
    --shadow-card: var(--spec), 18px 28px 48px -26px rgba(0, 60, 80, .7), 2px 3px 6px -2px rgba(0, 0, 0, .3);
    --shadow-event: 1px 2px 3px -1px rgba(0, 0, 0, .4);
    --av-s: 40%; --av-l: 40%;
  }
}

/* ---------- Karma Food (Standard) ----------
   Formen nach der Designsprache des Karma-Food-Dashboards (Kacheln statt Glas, Tastenreihen in einer Fuge, kleine
   Radien); Farben, Schrift (Geist) und Abstände aus dem vorigen Design „Karma Food Glass“: Weiß, Petrol als Schrift,
   Karma-Orange für die Auswahl. */
:root[data-design="karma"] {
  --wall: #ffffff; --wall-image: none;
  --bg: #ffffff; --ground: #f5f7f7; --raised: #ffffff;
  --glass: #ffffff; --glass-strong: #ffffff; --glass-solid: #ffffff; --lens: #ffffff; --ctl-h: rgba(3, 39, 43, .06);
  --glass-edge: rgba(3, 39, 43, .08);
  --seam: #e6ebeb; --tick-off: rgba(3, 39, 43, .14); --disp: #03272b; --on-disp: #f0ebe3; --on-disp-2: #a9bcbd;
  --fill: rgba(3, 39, 43, .06); --fill-h: rgba(3, 39, 43, .1); --scrim: rgba(3, 39, 43, .28);
  --line: rgba(3, 39, 43, .08); --rule: rgba(3, 39, 43, .06); --control: rgba(3, 39, 43, .3); --edge: rgba(3, 39, 43, .12);
  --text: #03272b; --muted: #3f5759; --ink-muted: #6a7c7d;
  /* Orange: accent ist die Schriftfarbe (5,2:1), brand-orange das Logo-Orange; ausgewählt = Orange gefüllt */
  --accent: #c2401c; --accent-hi: #a8330f; --accent-text: #ffffff; --accent-soft: #fdeae3; --accent-ink: #c2401c; --focus: #e95028;
  --brand-orange: #e95028; --sel-bg: #c2401c; --sel-ink: #ffffff; --glow: transparent;
  --green: #2f7d3a; --pos: #2f7d3a; --ok-soft: #e3f1e3; --orange: #d98e1c; --warn: #96600e; --warn-soft: #fbefd6;
  --neg: #b3203a; --red: #d9473e; --neg-soft: #f9e1e4; --neg-ink: #961a30; --today: #c2401c; --hatch: rgba(179, 32, 58, .22);
  --stamp-in: #2f7d3a; --stamp-out: #b3203a; --stamp-pause: #d98e1c; --stamp-pause-ink: #03272b;
  --toast-bg: rgba(3, 39, 43, .94); --toast-ink: #f0ebe3; --toast-link: #ff9670; --tip-ink: #ffffff;
  --font-body: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font-body);
  --tracking: 0; --tracking-display: -.025em; --weight-strong: 600; --weight-display: 600;
  --radius-ctl: 10px; --radius-card: 16px; --radius-sheet: 16px; --radius-event: 6px; --radius-field: 10px;
  --spec: inset 0 1px 0 #ffffff;
  --sh-1: 0 1px 2px rgba(3, 39, 43, .04);
  --sh-2: 0 1px 2px rgba(3, 39, 43, .04), 0 16px 48px rgba(40, 48, 60, .1);
  --sh-3: 0 8px 24px rgba(40, 48, 60, .12), 0 24px 64px rgba(40, 48, 60, .18);
  --shadow-card: inset 0 0 0 1px rgba(3, 39, 43, .08), 0 1px 2px rgba(3, 39, 43, .04), 0 16px 48px rgba(40, 48, 60, .1);
  --glow-control: none; --glow-hover: var(--shadow-card); --glow-lead: var(--shadow-card);
  --shadow-event: none;
  --blur: none;
  --kfg-ease: cubic-bezier(.22, 1, .36, 1);
  --av-s: 40%; --av-l: 42%;
}
@media (prefers-color-scheme: dark) {
  /* Dunkel: Graphit mit weichem Silberverlauf, Kacheln in Anthrazit, Creme als Schrift */
  :root[data-design="karma"] {
    --wall: #0d0e10; --wall-image: radial-gradient(55% 50% at 8% 0%, rgba(220, 226, 235, .14), transparent 70%), radial-gradient(45% 45% at 96% 10%, rgba(170, 178, 190, .12), transparent 70%), radial-gradient(60% 55% at 70% 100%, rgba(120, 128, 140, .14), transparent 70%), linear-gradient(160deg, #15171a, #0d0e10);
    --bg: #1c1e22; --ground: #17191c; --raised: #0d0e10;
    --glass: #1c1e22; --glass-strong: #1c1e22; --glass-solid: #1c1e22; --lens: #1c1e22; --ctl-h: rgba(240, 235, 227, .12);
    --glass-edge: rgba(220, 226, 235, .14);
    --seam: #0d0e10; --tick-off: rgba(240, 235, 227, .16); --disp: #0d0e10; --on-disp: #f0ebe3; --on-disp-2: #8f8a82;
    --fill: rgba(240, 235, 227, .08); --fill-h: rgba(240, 235, 227, .13); --scrim: rgba(0, 0, 0, .55);
    --line: rgba(240, 235, 227, .09); --rule: rgba(240, 235, 227, .07); --control: rgba(240, 235, 227, .4); --edge: rgba(240, 235, 227, .14);
    --text: #f0ebe3; --muted: #bdb7ad; --ink-muted: #8f8a82;
    --accent: #ff8f6b; --accent-hi: #ffa688; --accent-text: #160a05; --accent-soft: #3a2018; --accent-ink: #ff8f6b; --focus: #ff6a3d;
    --brand-orange: #ff6a3d; --sel-bg: #ff6a3d; --sel-ink: #160a05; --glow: transparent;
    --green: #5ccf6a; --pos: #5ccf6a; --ok-soft: #173322; --orange: #e8a53a; --warn: #e8a53a; --warn-soft: #3a2c14;
    --neg: #ff5c8a; --red: #ff6a5a; --neg-soft: #3d1b26; --neg-ink: #ff94b0; --today: #ff8f6b; --hatch: rgba(255, 92, 138, .32);
    --toast-bg: rgba(240, 235, 227, .95); --toast-ink: #03272b; --toast-link: #c2401c; --tip-ink: #160a05;
    --spec: inset 0 1px 0 rgba(255, 255, 255, .08);
    --sh-1: 0 1px 2px rgba(0, 0, 0, .35); --sh-2: 0 16px 48px rgba(0, 0, 0, .5); --sh-3: 0 24px 64px rgba(0, 0, 0, .6);
    --shadow-card: inset 0 0 0 1px rgba(220, 226, 235, .1), 0 16px 48px rgba(0, 0, 0, .5);
    --av-s: 38%; --av-l: 40%;
  }
}

/* Kleine Bildschirme: schmalere Namensspalte */
@media (max-width: 700px) {
  :root { --name-w: 132px; --col-w: 56px; --wk-gap: 8px; }
}
