/* skillomat Zentrale 1.6.0 · Erscheinungsbild der Hauptanwendung (eine Marke): Tokens wie frontend/brand41.css (Navy, Cyan, Rot, Violett,
   Orange, Gelb, Magenta, Beere, Markenverlauf), Poppins, Glas-Kopfzeile, Pillen-Navigation, hell und dunkel (dunkel = Navy).
   Bewegung ruhig und funktional (E4): Druck-Rückmeldung, Dialoge und Hinweise blenden kurz ein (150–300 ms, ease-out), Schließen sofort;
   keine Bewegung bei Reitern, Tastenkürzeln und der Befehlssuche. „Bewegung reduzieren“ schaltet jede Bewegung ab.
   Telefon: sichere Ränder (Notch), 100dvh, Eingaben 16 px, Trefferflächen 44 px, Hover nur mit Maus. */
@font-face { font-family: "Poppins"; font-weight: 300; font-display: swap; src: url("poppins-Light.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("poppins-Regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("poppins-Medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("poppins-Bold.woff") format("woff"); }

/* ---------- Tokens (Namen und Werte wie frontend/brand41.css) ---------- */
:root {
  --navy: #000046; --cyan: #00B9FF; --red: #EE0000; --violet: #AD00FF; --orange: #FF8A00; --yellow: #FFC800; --magenta: #DC00A5; --berry: #A8124F;
  --grad-brand: linear-gradient(100deg, #00B9FF 0%, #AD00FF 52%, #EE0000 100%);
  --grad-cool: linear-gradient(135deg, #00B9FF, #AD00FF);
  --grad-warm: linear-gradient(135deg, #FF8A00, #EE0000 55%, #DC00A5);
  --grad-primary: linear-gradient(120deg, #000046 0%, #14148a 60%, #2a1aa8 100%);
  --bg: #ffffff; --bg2: #eef3fc; --surface: #ffffff; --surface2: #f5f7fc; --card: #ffffff;
  --ink: #000046; --muted: #4a4f7c; --faint: #7c80a6; --faint-text: #5c618c;
  --line: rgba(0, 0, 70, .10); --line-strong: rgba(0, 0, 70, .18); --line2: var(--line-strong);
  --selected: rgba(0, 185, 255, .14); --hover: rgba(0, 0, 70, .045); --chip: rgba(0, 0, 70, .06);
  --primary: #000046; --primary-ink: #ffffff; --focus: #00B9FF; --a11y-accent-text: #006a96; --ring: var(--a11y-accent-text);
  --glass: rgba(255, 255, 255, .74); --glass-line: rgba(0, 0, 70, .09);
  --shadow: 0 1px 2px rgba(0, 0, 70, .05), 0 10px 30px -12px rgba(0, 0, 70, .14);
  --shadow-hi: 0 1px 2px rgba(0, 0, 70, .06), 0 18px 40px -16px rgba(0, 0, 70, .24);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 70, .35);
  --shadow-primary: 0 12px 30px -14px rgba(0, 0, 70, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
  --ok: #0f8a5f; --warn: #a86a00; --bad: #d00000; --unk: #8a8fa8;
  --ok-bg: rgba(15, 138, 95, .10); --warn-bg: rgba(214, 150, 0, .14); --bad-bg: rgba(238, 0, 0, .09);
  --s-produktiv: #0077b6; --s-pilot: #b8008a; --s-sandbox: #b86a00; --s1: #0086c9; --grid: rgba(0, 0, 70, .08);
  --mesh-a: rgba(0, 185, 255, .20); --mesh-b: rgba(173, 0, 255, .12); --mesh-c: rgba(238, 0, 0, .08);
  --toast-bg: #000046; --toast-ink: #ffffff;
  --r-lg: 24px; --r: 18px; --r-sm: 12px; --r-in: 12px; --r-pill: 999px;
  --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-drawer: cubic-bezier(.32, .72, 0, 1); --ease-out5600: var(--ease-out); --ease-drawer5600: var(--ease-drawer);
  --t-press: 140ms; --t-ui: 200ms;
  --z-head: 30; --z-drop: 40; --z-pop: 45; --z-nav: 50; --z-toast: 60; --z-warn: 65; --z-veil: 70;
  --safe-t: env(safe-area-inset-top, 0px); --safe-r: env(safe-area-inset-right, 0px); --safe-b: env(safe-area-inset-bottom, 0px); --safe-l: env(safe-area-inset-left, 0px);
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #000046; --bg2: #00002c; --surface: #06065a; --surface2: #0c0c66; --card: #05054f;
  --ink: #ffffff; --muted: #b9bde6; --faint: #8d92c9; --faint-text: #a6aad8;
  --line: rgba(255, 255, 255, .10); --line-strong: rgba(255, 255, 255, .20);
  --selected: rgba(0, 185, 255, .18); --hover: rgba(255, 255, 255, .07); --chip: rgba(255, 255, 255, .08);
  --primary: #00B9FF; --primary-ink: #000046; --a11y-accent-text: #33c7ff;
  --grad-primary: linear-gradient(120deg, #00B9FF 0%, #5fd3ff 100%);
  --glass: rgba(0, 0, 60, .62); --glass-line: rgba(255, 255, 255, .12);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 20, .6);
  --shadow-hi: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -16px rgba(0, 0, 20, .8);
  --shadow-lg: 0 40px 120px -30px rgba(0, 0, 20, .9);
  --shadow-primary: 0 0 0 1px rgba(255, 255, 255, .25), 0 16px 40px -14px rgba(0, 185, 255, .75);
  --ok: #3ddc97; --warn: #FFC800; --bad: #ff4d5e; --unk: #8d92c9;
  --ok-bg: rgba(61, 220, 151, .14); --warn-bg: rgba(255, 200, 0, .14); --bad-bg: rgba(255, 77, 94, .15);
  --s-produktiv: #33c7ff; --s-pilot: #ff5fd2; --s-sandbox: #ffae4d; --s1: #33c7ff; --grid: rgba(255, 255, 255, .08);
  --mesh-a: rgba(0, 185, 255, .30); --mesh-b: rgba(173, 0, 255, .28); --mesh-c: rgba(238, 0, 0, .18);
  --toast-bg: #ffffff; --toast-ink: #000046;
  color-scheme: dark;
}

/* ---------- Grundlage ---------- */
* { box-sizing: border-box; }
html { background: var(--bg2); -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; }
body { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14.5px; line-height: 1.55; color: var(--ink); background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%) fixed; -webkit-font-smoothing: antialiased; }
html[data-theme="dark"] body { background: radial-gradient(140% 90% at 50% -10%, #0a0a7a 0%, #000046 45%, #00002c 100%) fixed; }
.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; width: 820px; height: 820px; }
.mesh i:nth-child(1) { left: -240px; top: -300px; background: radial-gradient(closest-side, var(--mesh-a), transparent 72%); }
.mesh i:nth-child(2) { right: -260px; top: 10%; background: radial-gradient(closest-side, var(--mesh-b), transparent 74%); }
.mesh i:nth-child(3) { left: 30%; bottom: -420px; background: radial-gradient(closest-side, var(--mesh-c), transparent 75%); }
a { color: inherit; }
h1 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 0; line-height: 1.2; text-wrap: balance; }
h2 { font-size: 16px; font-weight: 600; letter-spacing: -.005em; margin: 0 0 12px; }
h3 { font-size: 13.5px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
p { margin: 0 0 10px; text-wrap: pretty; }
code, .mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12.5px; }
.muted { color: var(--muted); } .faint { color: var(--faint-text); } .small { font-size: 12.5px; } .nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
::selection { background: rgba(0, 185, 255, .28); }
button, a, [role="button"], [role="tab"], summary, label.choice, label.check, .seg label { touch-action: manipulation; }
.btn, .chip, .iconbtn, .seg button, .seg label, .tabs button, .ah-hub, .ah-page, .ah-icon, .ah-user, .ah-burger, .ah-search, .pop3-item, .kpi, .help, .search .clear { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfzeile wie in der Hauptanwendung: schwebende Pille, Bereiche, Suche, Profil ---------- */
.ah { position: sticky; top: 0; z-index: var(--z-head); padding: calc(12px + var(--safe-t)) calc(16px + var(--safe-r)) 0 calc(16px + var(--safe-l)); }
.ah-top { position: relative; z-index: 2; max-width: 1480px; margin: 0 auto; height: 62px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 14px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); }
.ah-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding-right: 6px; min-height: 44px; border-radius: var(--r-pill); }
.ah-brand svg { width: 34px; height: 34px; flex: none; }
.ah-name { display: flex; flex-direction: column; line-height: 1.1; }
.ah-name b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; } .ah-name small { font-size: 11.5px; color: var(--muted); }
.ah-hubs { display: flex; gap: 4px; }
.ah-hubwrap { position: relative; }
.ah-hub { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 0; background: none; color: var(--muted); font: 500 14px "Poppins", sans-serif; cursor: pointer; white-space: nowrap; }
.ah-hub svg { width: 18px; height: 18px; }
.ah-hub[aria-expanded="true"] { background: var(--hover); color: var(--ink); }
.ah-hub[aria-current="true"] { background: var(--selected); color: var(--ink); }
.ah-drop { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; padding: 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: var(--z-drop); transform-origin: 24px 0; }
.ah-drop a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.ah-drop a:focus-visible { background: var(--hover); outline-offset: -2px; }
.ah-drop a[aria-current="page"] { background: var(--selected); font-weight: 600; }
.ah-search { flex: 1; max-width: 420px; margin-left: auto; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); color: var(--muted); font: 400 14px "Poppins", sans-serif; cursor: pointer; text-align: left; }
.ah-search svg { width: 18px; height: 18px; flex: none; } .ah-search span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-search kbd { font: 500 11px ui-monospace, Menlo, monospace; border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px 7px; color: var(--muted); }
.ah-actions { display: flex; align-items: center; gap: 4px; }
.ah-icon { position: relative; width: 44px; height: 44px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--ink); text-decoration: none; }
.ah-icon svg { width: 20px; height: 20px; }
.ah-icon .count { position: absolute; top: 4px; right: 2px; }
.count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; line-height: 1; font-variant-numeric: tabular-nums; }
.ah-user { width: 44px; height: 44px; border-radius: var(--r-pill); border: 0; background: none; display: grid; place-items: center; cursor: pointer; padding: 0; }
.ah-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-cool); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 12.5px; flex: none; box-shadow: 0 0 0 2px var(--card); }
.ah-avatar.lg { width: 42px; height: 42px; font-size: 15px; }
.ah-sub { position: relative; z-index: 1; width: max-content; max-width: min(1480px, 100%); margin: 8px 0 0 max(0px, calc((100% - 1480px) / 2)); height: 52px; display: flex; align-items: center; gap: 2px; padding: 0 4px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); }
.ah-sub::-webkit-scrollbar { display: none; }
.ah-page { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: var(--r-pill); text-decoration: none; color: var(--muted); font-weight: 500; white-space: nowrap; }
.ah-page[aria-current="page"] { color: var(--ink); background: var(--card); box-shadow: var(--shadow); }
.ah-page[aria-current="page"]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.ah-burger { display: none; width: 44px; height: 44px; border-radius: var(--r-pill); border: 0; background: none; color: var(--ink); place-items: center; cursor: pointer; }
.ah-burger svg { width: 22px; height: 22px; }
.iconbtn { position: relative; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid transparent; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.iconbtn svg { width: 20px; height: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 2px; }
/* Profilmenü mit Sitzungskarte */
.pop3 { position: fixed; top: calc(80px + var(--safe-t)); right: max(calc(16px + var(--safe-r)), calc((100vw - 1480px) / 2 + 16px)); z-index: var(--z-pop); width: min(320px, calc(100vw - 24px)); padding: 8px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform-origin: calc(100% - 22px) 0; }
.pop3-head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 12px; }
.pop3-head b { display: block; }
.sess { margin: 0 4px 6px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--hover); font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sess.warn { background: var(--bad-bg); color: var(--bad); font-weight: 600; }
.pop3-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); border: 0; background: none; color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; text-align: left; }
.pop3-item svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.pop3-item:focus-visible { background: var(--hover); outline-offset: -2px; }
.pop3-item.danger, .pop3-item.danger svg { color: var(--bad); }
.pop3-foot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
/* Menü am Telefon als Vollbild */
.mnav { position: fixed; inset: 0; z-index: var(--z-nav); background: var(--bg); padding: calc(14px + var(--safe-t)) calc(18px + var(--safe-r)) calc(40px + var(--safe-b)) calc(18px + var(--safe-l)); overflow-y: auto; overscroll-behavior: contain; }
html[data-theme="dark"] .mnav { background: radial-gradient(140% 90% at 50% -10%, #0a0a7a 0%, #000046 55%, #00002c 100%); }
.mnav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mnav-group + .mnav-group { margin-top: 8px; }
.mnav-group a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 14px; text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 500; }
.mnav-group a[aria-current="page"] { background: var(--selected); font-weight: 600; }
html.mnav-open { overflow: hidden; }
/* Warnung vor der Abmeldung, Schleier beim Abmelden */
.idlewarn { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translateX(-50%); z-index: var(--z-warn); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; padding: 14px 16px 14px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--bad); box-shadow: var(--shadow-lg); width: max-content; max-width: calc(100vw - 24px); }
.idlewarn b { font-variant-numeric: tabular-nums; }
.veil { position: fixed; inset: 0; z-index: var(--z-veil); display: grid; place-items: center; background: var(--bg); color: var(--muted); font-size: 15px; }
/* Ruhebildschirm */
.idle { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: calc(24px + var(--safe-t)) 24px calc(24px + var(--safe-b)); gap: 28px; text-align: center; }
.idle-clock { display: grid; justify-items: center; gap: 6px; }
.idle-logo svg { width: 46px; height: 46px; }
.idle-time { font-size: clamp(64px, 14vw, 132px); font-weight: 300; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.idle-date { font-size: 18px; color: var(--muted); }
.idle-hint { margin-top: 18px; color: var(--muted); font-size: 14px; }
.idle-card { width: min(380px, 100%); text-align: left; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.idle-card h1 { font-size: 20px; margin-bottom: 6px; }
/* 1.14.0: Ruhebildschirm mit Produktmerkmalen (ui/skal-schau.css) – nur im Ruhezustand; mit der Anmeldekarte allein die Karte */
.idle-schau-box { width: min(600px, calc(100vw - 48px)); }
.idle.idle-awake .idle-schau-box { display: none; }
.idle.idle-schau:not(.idle-awake) .idle-time { font-size: clamp(56px, 11vw, 112px); }
@media (max-height: 700px) { .idle.idle-schau:not(.idle-awake) .idle-time { font-size: clamp(48px, 9vw, 84px); } }
.idle .idle-schau-box .s88-t { color: var(--ink); } .idle .idle-schau-box .s88-d { color: var(--muted); }
/* Hilfe-Dialog */
.cardhead { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.cardhead .grow { flex: 1; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--a11y-accent-text); margin-bottom: 2px; }
dialog.help h3 { margin-top: 18px; }
dialog.help ol, dialog.help ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.helpbtn svg { width: 18px; height: 18px; }

/* ---------- Seiten ---------- */
main { max-width: 1320px; margin: 0 auto; padding: 28px calc(24px + var(--safe-r)) calc(64px + var(--safe-b)) calc(24px + var(--safe-l)); }
main:focus { outline: none; }
.head { display: flex; align-items: flex-end; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 22px; }
.head .grow { flex: 1; min-width: 240px; }
.head .sub { color: var(--muted); margin-top: 6px; display: flex; gap: 6px 8px; flex-wrap: wrap; align-items: center; font-size: 13.5px; }
.head .sub a { color: var(--a11y-accent-text); text-underline-offset: 3px; overflow-wrap: anywhere; }
.back { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; margin-bottom: 6px; border-radius: 8px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; }
.card + .card, .grid + .card, .card + .grid, .grid + .grid, .kpis + .grid, .kpis + .card, .tabs + .card { margin-top: 16px; }
.card .cardhead { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 16px; }
.card .cardhead h2 { margin: 0; flex: 1; min-width: 12ch; }
.card > h2:first-child { margin-bottom: 14px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row.end { justify-content: flex-end; }
.spacer { flex: 1; }
.mt { margin-top: 14px; } .mt2 { margin-top: 24px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* ---------- Kennzahlen ---------- */
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.kpi { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 15px; box-shadow: var(--shadow); min-height: 108px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.kpi .lbl { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.kpi .val { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi .val small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.kpi .note { font-size: 12px; color: var(--muted); margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.kpi.bad, .kpi.warn { border-color: color-mix(in srgb, var(--kc) 40%, transparent); }
.kpi.bad { --kc: var(--bad); } .kpi.warn { --kc: var(--warn); }
.kpi.bad::before, .kpi.warn::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--kc); }
.meter { height: 6px; border-radius: 3px; background: var(--hover); overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--grad-cool); }
.meter i.warn { background: var(--warn); } .meter i.bad { background: var(--bad); }

/* ---------- Ampel, Abzeichen ---------- */
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--unk); flex: none; }
.st.gruen::before { background: var(--ok); } .st.gelb::before { background: var(--warn); } .st.rot::before { background: var(--bad); box-shadow: 0 0 0 3px var(--bad-bg); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--unk); flex: none; }
.dot.gruen { background: var(--ok); } .dot.gelb { background: var(--warn); } .dot.rot { background: var(--bad); }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 500; background: var(--chip); color: var(--ink); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.bad { background: var(--bad-bg); color: var(--bad); }
html:not([data-theme="dark"]) .pill.warn { color: #8a5600; }
.kind { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; border: 1px solid color-mix(in srgb, currentColor 55%, transparent); background: color-mix(in srgb, currentColor 7%, transparent); white-space: nowrap; }
.kind::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.kind.produktiv { color: var(--s-produktiv); } .kind.pilot { color: var(--s-pilot); } .kind.sandbox { color: var(--s-sandbox); }
.kind.sandbox::before { border-radius: 50%; } .kind.pilot::before { transform: rotate(45deg); width: 7px; height: 7px; }
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.area { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); }
.area b { display: block; font-weight: 500; font-size: 13px; }
.area span { font-size: 12px; color: var(--muted); }
.area.rot { border-color: color-mix(in srgb, var(--bad) 45%, transparent); background: var(--bad-bg); }
.area.gelb { border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: var(--warn-bg); }
.area.gruen .dot { box-shadow: 0 0 0 3px var(--ok-bg); }

/* ---------- Tabellen ---------- */
.tablewrap { overflow-x: auto; margin: 0 -22px -22px; overscroll-behavior-x: contain; border-radius: 0 0 var(--r) var(--r); }
.toolbar + .tablewrap, .cardhead + .tablewrap { border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; background: var(--surface2); padding-top: 10px; padding-bottom: 10px; }
th { font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
th:first-child, td:first-child { padding-left: 22px; } th:last-child, td:last-child { padding-right: 22px; }
tbody tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; }
tr.click:focus-visible { outline-offset: -3px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tname b { font-weight: 600; display: block; } .tname span { font-size: 12px; color: var(--muted); }
.tname a { text-decoration: none; }

/* ---------- Leer, Laden, Fehler ---------- */
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty::before { content: ""; display: block; width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 14px; background: radial-gradient(circle at 30% 34%, var(--cyan) 0 3.5px, transparent 4px), radial-gradient(circle at 70% 46%, var(--violet) 0 3.5px, transparent 4px), radial-gradient(circle at 42% 72%, var(--red) 0 3.5px, transparent 4px), var(--surface2); box-shadow: inset 0 0 0 1px var(--line); }
.pall .empty::before, .chart .empty::before, .heat + .empty::before { display: none; }
.loading { display: grid; gap: 14px; padding: 6px 0 12px; color: transparent; }
.loading::before, .loading::after { content: ""; display: block; border-radius: var(--r); background: linear-gradient(90deg, var(--hover), var(--chip), var(--hover)); }
.loading::before { height: 92px; }
.loading::after { height: 220px; }
#tab > .loading::after, #sgb > .loading::after, #drill > .loading::after, #sess > .loading::after, #mysess > .loading::after { display: none; }
#tab > .loading::before, #sgb > .loading::before, #drill > .loading::before, #sess > .loading::before, #mysess > .loading::before { height: 64px; }
.card > .err:only-child { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 14px; }
.card > .err:only-child::before { content: "!"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bad-bg); color: var(--bad); font-weight: 700; font-size: 13px; }

/* ---------- Formulare ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.row > .field { flex: 1 1 200px; }
.field > label, .lab { font-weight: 500; font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.req::after { content: " *"; color: var(--bad); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-in); padding: 0 14px; height: 44px; width: 100%; min-width: 0; transition: border-color 150ms ease, box-shadow 150ms ease; }
html[data-theme="dark"] :is(input, select, textarea) { background: rgba(255, 255, 255, .04); }
textarea { padding: 10px 14px; height: auto; resize: vertical; line-height: 1.5; }
select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 19px, calc(100% - 15px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
html[data-theme="dark"] select { background-color: var(--surface); }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--selected); }
input[readonly] { background: var(--hover); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-bg); }
.err { color: var(--bad); font-size: 12.5px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 8px 0; min-height: 36px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
html[data-theme="dark"] .check input { accent-color: var(--cyan); }
.check small { display: block; color: var(--muted); }
.help { position: relative; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: 600 11px/1 "Poppins", sans-serif; cursor: pointer; display: inline-grid; place-items: center; padding: 0; flex: none; }
.help[aria-expanded="true"] { background: var(--selected); color: var(--ink); border-color: var(--focus); }
.helptext { font-size: 12.5px; color: var(--muted); background: var(--surface2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
legend { font-weight: 500; font-size: 13px; padding: 0; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: var(--r-pill); background: var(--hover); flex-wrap: wrap; max-width: 100%; }
.seg button, .seg label { position: relative; height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--muted); font: 500 13px "Poppins", sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.seg button[aria-pressed="true"], .seg label:has(input:checked) { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 70, .08), 0 2px 8px -2px rgba(0, 0, 70, .12); }
html[data-theme="dark"] .seg button[aria-pressed="true"], html[data-theme="dark"] .seg label:has(input:checked) { background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--ring); outline-offset: 1px; }
.seg label:has(input:disabled) { opacity: .5; cursor: default; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.choice { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 42px 14px 16px; border-radius: 16px; border: 1px solid var(--line-strong); cursor: pointer; background: var(--surface); min-height: 52px; justify-content: center; transition: border-color 150ms ease, box-shadow 150ms ease; }
.choice input { position: absolute; opacity: 0; }
.choice b { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.choice span { font-size: 12.5px; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--focus); box-shadow: 0 0 0 3px var(--selected); }
.choice:has(input:checked)::after { content: ""; position: absolute; right: 14px; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
html[data-theme="dark"] .choice:has(input:checked)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23000046' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.choice:has(input:focus-visible) { outline: 3px solid var(--ring); outline-offset: 2px; }
.choice:has(input:disabled) { opacity: .6; cursor: default; }
.steps { display: flex; gap: 8px; margin-bottom: 18px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--line-strong); }
.steps i.on { background: var(--grad-brand); }
.section-title { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 26px 0 12px; display: flex; align-items: center; gap: 12px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-title:first-child { margin-top: 0; }

/* ---------- Schaltflächen ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; height: 44px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: 500 14px "Poppins", sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease, filter 150ms ease; }
.btn:disabled { opacity: .55; cursor: default; }
.btn:not(:disabled):active { transform: scale(.97); }
.btn.primary { background: var(--grad-primary); color: var(--primary-ink); border-color: transparent; box-shadow: var(--shadow-primary); }
.btn.danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.sm { min-height: 34px; height: 34px; padding: 0 14px; font-size: 13px; }
.btn.block { width: 100%; }
.btn svg { width: 17px; height: 17px; flex: none; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.linkbtn { position: relative; border: 0; background: none; color: var(--a11y-accent-text); padding: 6px 0; min-height: 32px; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.iconbtn, .chip, .seg button, .ah-hub, .ah-page, .ah-icon, .ah-user, .ah-burger, .ah-search, .pop3-item, .tabs button, .choice, .kpi, .search .clear, .help { transition: transform var(--t-press) var(--ease-out), background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease; }
:is(.iconbtn, .chip, .seg button, .ah-hub, .ah-icon, .ah-user, .ah-burger, .ah-search, .help, .search .clear):active { transform: scale(.95); }
:is(.pop3-item, .ah-page, a.kpi, button.kpi):active { transform: scale(.985); }
.search .clear:active { transform: translateY(-50%) scale(.92); }

/* ---------- Anmeldung ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: calc(32px + var(--safe-t)) calc(18px + var(--safe-r)) calc(32px + var(--safe-b)) calc(18px + var(--safe-l)); flex-direction: column; }
.authcard { position: relative; width: min(460px, 100%); background: var(--card); border-radius: 30px; box-shadow: var(--shadow-lg); padding: 40px 36px 32px; border: 1px solid var(--line); overflow: hidden; }
.authcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-brand); }
.authcard.wide { width: min(560px, 100%); }
.authcard .brand { justify-content: center; font-size: 22px; margin-bottom: 26px; }
.authcard .brand svg { width: 44px; height: 44px; }
.authcard h1 { font-size: 22px; text-align: center; margin-bottom: 6px; }
.authcard .sub { text-align: center; color: var(--muted); margin-bottom: 22px; }
.authcard .btn.primary { width: 100%; height: 48px; margin-top: 6px; }
.authcard .alt { margin-top: 12px; width: 100%; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 16px 0 4px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.authfoot { text-align: center; margin-top: 18px; font-size: 12px; color: var(--muted); }
.authtools { position: fixed; top: calc(16px + var(--safe-t)); right: calc(16px + var(--safe-r)); }
.qr { display: grid; place-items: center; margin: 4px 0 14px; }
.qr svg { width: 196px; height: 196px; background: #fff; border-radius: 16px; padding: 10px; border: 1px solid var(--line); }
.secret { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; letter-spacing: .06em; padding: 10px; border-radius: var(--r-sm); background: var(--hover); margin-bottom: 14px; }
.secret span { white-space: nowrap; overflow-x: auto; }
.codebox { display: flex; gap: 8px; }
.codebox input { text-align: center; font-size: 20px; letter-spacing: .4em; font-variant-numeric: tabular-nums; }
.factor { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.factor + .factor { margin-top: 8px; }
.factor .fi { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--selected); display: grid; place-items: center; flex: none; }
.factor .fi svg { width: 20px; height: 20px; }
.factor div.t { flex: 1; min-width: 0; } .factor div.t b { display: block; font-weight: 500; } .factor div.t span { font-size: 12px; color: var(--muted); }

/* ---------- Diagramme ---------- */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .ax { fill: var(--muted); font: 400 11px "Poppins", sans-serif; font-variant-numeric: tabular-nums; }
.chart .gl { stroke: var(--grid); stroke-width: 1; }
.chart .base { stroke: var(--line-strong); stroke-width: 1; }
.chart .ln { fill: none; stroke: var(--s1); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .ar { fill: var(--s1); opacity: .10; }
.chart .bar { fill: var(--s1); }
.chart .bar.bad { fill: var(--bad); }
.chart .cross { stroke: var(--line-strong); stroke-width: 1; }
.chart .mk { fill: var(--s1); stroke: var(--card); stroke-width: 2; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .empty { padding: 28px 12px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--surface2); font-size: 12.5px; }
.tip { position: absolute; pointer-events: none; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 10px; padding: 7px 10px; font-size: 12px; white-space: nowrap; z-index: 5; font-variant-numeric: tabular-nums; }
.tip b { display: block; font-weight: 600; font-size: 13px; }
.rangebar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.strip { display: flex; gap: 1px; height: 26px; align-items: stretch; }
.strip i { flex: 1; border-radius: 2px; background: var(--unk); opacity: .5; min-width: 1px; max-width: 16px; }
.strip i.gruen { background: var(--ok); opacity: .8; } .strip i.gelb { background: var(--warn); opacity: 1; } .strip i.rot { background: var(--bad); opacity: 1; } .strip i.grau { opacity: .25; }
.legend { display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend.col { flex-direction: column; gap: 8px; }
.donutwrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.donutwrap svg { width: 132px; height: 132px; flex: none; }
.donut-center { fill: var(--ink); font: 600 24px "Poppins", sans-serif; }
.donut-sub { fill: var(--muted); font: 400 11px "Poppins", sans-serif; }
.spark { width: 110px; height: 26px; display: block; }
.spark path { fill: none; stroke: var(--s1); stroke-width: 1.5; }
.hbar { display: grid; grid-template-columns: minmax(70px, auto) 1fr auto; gap: 8px 12px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.hbar .track { height: 10px; border-radius: 5px; background: var(--hover); overflow: hidden; }
.hbar .track i { display: block; height: 100%; background: var(--grad-cool); border-radius: 0 4px 4px 0; }

/* ---------- Filter, Reiter ---------- */
.toolbar { display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar input[type="search"] { max-width: 260px; height: 40px; border-radius: var(--r-pill); }
.chip { position: relative; height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--card); color: var(--muted); font: 500 13px "Poppins", sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--selected); color: var(--ink); border-color: var(--focus); }
.chip .n { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 400; }
.chip[aria-pressed="true"] .n { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { min-height: 44px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; height: 46px; padding: 0 16px; border: 0; background: none; color: var(--muted); font: 500 14px "Poppins", sans-serif; cursor: pointer; white-space: nowrap; border-radius: 10px 10px 0 0; }
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad-brand); }
.tabs button:focus-visible { outline-offset: -3px; }
.kv { display: grid; grid-template-columns: minmax(130px, max-content) 1fr; gap: 8px 18px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.list.plain li { display: block; }
.alert { display: flex; gap: 12px; align-items: center; padding: 12px 14px 12px 16px; border-radius: 14px; background: var(--bad-bg); border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent); }
.alert > .dot { box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 18%, transparent); }
.alert.acked { background: var(--hover); border-color: var(--line); }
.alert.acked > .dot { box-shadow: none; }
/* 1.10 (OP-298): quittierte Warnung – graues Info-Zeichen, zählt nicht als Warnung */
.ackico { display: inline-flex; flex: none; width: 20px; height: 20px; color: var(--muted, #6b7280); }
.ackico svg, .pill.ackinfo svg { width: 100%; height: 100%; }
.pill.ackinfo { background: var(--hover); color: var(--muted, #6b7280); border: 1px solid var(--line); }
.pill.ackinfo svg { width: 14px; height: 14px; flex: none; }
.alert + .alert { margin-top: 8px; }
.alert .grow { flex: 1; min-width: 0; }
.banner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: var(--warn-bg); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); margin-bottom: 16px; }
.banner.info { background: var(--selected); border-color: color-mix(in srgb, var(--cyan) 35%, transparent); }
.wave { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--surface); }
.wave + .wave { margin-top: 10px; }
.wsteps { display: grid; gap: 6px; margin-top: 10px; }
.wstep { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: center; font-size: 13px; }
.track6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.track6 i { height: 8px; border-radius: 4px; background: var(--line-strong); }
.track6 i.done { background: var(--ok); } .track6 i.now { background: var(--s1); } .track6 i.fail { background: var(--bad); }

/* ---------- Dialoge, Meldungen ---------- */
dialog.zdlg { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain; background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg); }
dialog.zdlg.wide { width: min(720px, calc(100vw - 32px)); }
dialog.zdlg::backdrop { background: rgba(0, 0, 40, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
dialog.zdlg h2 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px; }
dialog.zdlg h2 + .muted { margin-bottom: 16px; }
dialog.zdlg .row.end { margin-top: 12px; padding-top: 4px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translate(-50%, 0); background: var(--toast-bg); color: var(--toast-ink); padding: 12px 20px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); z-index: var(--z-toast); max-width: calc(100vw - 32px); font-size: 13.5px; font-weight: 500; opacity: 1; transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out); }
.toast.bad { background: var(--bad); color: #fff; }
html[data-theme="dark"] .toast.bad { background: #c8102e; }
.toast.out { opacity: 0; transform: translate(-50%, 8px); transition-duration: 150ms; }
.copy { display: flex; gap: 8px; align-items: center; }
.copy input { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }
@media (pointer: coarse) { .copy input { font-size: 16px; } }

/* ---------- Bewegung (E4): kurz, ease-out, unterbrechbar; Schließen sofort ---------- */
@keyframes zIn { from { opacity: 0; transform: scale(.97); } }
@keyframes zSheet { from { transform: translateY(100%); } }
@keyframes zFade { from { opacity: 0; } }
@keyframes zPulse { 50% { opacity: .55; } }
dialog.zdlg[open] { animation: zIn var(--t-ui) var(--ease-out); }
dialog.zdlg[open]::backdrop { animation: zFade var(--t-ui) ease-out; }
dialog.palette[open], dialog.palette[open]::backdrop { animation: none; } /* Befehlssuche: per Tastatur, keine Bewegung */
.ah-drop, .pop3 { transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out); }
@starting-style { .ah-drop, .pop3 { opacity: 0; transform: translateY(-4px) scale(.98); } }
/* Menü am Telefon: häufig benutzt – öffnet ohne Bewegung */
@starting-style { .toast { opacity: 0; transform: translate(-50%, 8px); } }
.idlewarn { animation: zFade var(--t-ui) var(--ease-out); }
.helptext { animation: zFade 180ms var(--ease-out); }
.loading::before, .loading::after { animation: zPulse 1.4s ease-in-out infinite; }
.loading::after { animation-delay: .15s; }

/* ---------- Hover nur mit Maus (kein „klebendes“ Hover am Telefon) ---------- */
@media (hover: hover) and (pointer: fine) {
  .ah-hub:hover { background: var(--hover); color: var(--ink); }
  .ah-drop a:hover { background: var(--hover); }
  .ah-search:hover { border-color: var(--line-strong); color: var(--ink); }
  .ah-icon:hover, .ah-user:hover, .ah-burger:hover, .iconbtn:hover { background: var(--hover); }
  .ah-page:not([aria-current="page"]):hover { background: var(--hover); color: var(--ink); }
  .pop3-item:hover { background: var(--hover); }
  .back:hover { color: var(--ink); }
  a.kpi:hover, button.kpi:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hi); }
  tr.click:hover td { background: var(--hover); }
  .tname a:hover b { text-decoration: underline; }
  .help:hover { background: var(--selected); color: var(--ink); border-color: var(--focus); }
  .seg button:not([aria-pressed="true"]):hover, .seg label:not(:has(input:checked)):hover { color: var(--ink); background: var(--hover); }
  .choice:not(:has(input:checked)):hover { border-color: color-mix(in srgb, var(--focus) 55%, var(--line-strong)); }
  .btn:not(:disabled):hover { border-color: var(--ink); }
  .btn.primary:not(:disabled):hover { filter: brightness(1.12); border-color: transparent; }
  .btn.danger:not(:disabled):hover { background: var(--bad-bg); border-color: var(--bad); }
  .btn.ghost:not(:disabled):hover { background: var(--hover); border-color: transparent; }
  .chip:not([aria-pressed="true"]):hover { border-color: var(--line-strong); color: var(--ink); background: var(--hover); }
  .tabs button:not([aria-selected="true"]):hover { color: var(--ink); background: var(--hover); }
  .search .clear:hover { background: var(--hover); color: var(--ink); }
  .linkbtn:hover { color: var(--ink); }
  .heat .hn:hover { text-decoration: underline; }
  .heat .hc:hover { outline: 2px solid var(--focus); outline-offset: 1px; }
  .rank li a:hover b { text-decoration: underline; }
  .legal-links a:hover { color: var(--ink); text-decoration: underline; }
}

/* ---------- Telefon und Tablet ---------- */
@media (max-width: 1100px) {
  .ah-burger { display: grid; }
  .ah-hubs { display: none; }
  .ah-search kbd { display: none; }
}
@media (max-width: 860px) {
  .brand small { display: none; }
  main { padding: 20px calc(14px + var(--safe-r)) calc(56px + var(--safe-b)) calc(14px + var(--safe-l)); }
  .grid.two { grid-template-columns: 1fr; }
  .hide-s { display: none; }
  .authcard { padding: 32px 22px 26px; }
  .wstep { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 600px) {
  .ah { padding: calc(8px + var(--safe-t)) calc(8px + var(--safe-r)) 0 calc(8px + var(--safe-l)); }
  .ah-top { height: 56px; padding: 0 6px; gap: 4px; }
  .ah-name small { display: none; }
  .ah-search { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; justify-content: center; border: 0; background: none; color: var(--ink); margin-left: auto; }
  .ah-search span { display: none; }
  .ah-sub { height: 50px; }
  .pop3 { top: calc(70px + var(--safe-t)); right: calc(12px + var(--safe-r)); }
  .helpbtn span { display: none; }
  h1 { font-size: 24px; }
  .head { margin-bottom: 16px; }
  .head .actions { width: 100%; }
  .card { padding: 18px; border-radius: 16px; }
  .tablewrap { margin: 0 -18px -18px; }
  th:first-child, td:first-child { padding-left: 18px; } th:last-child, td:last-child { padding-right: 18px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpis > .kpi:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; }
  .kpi { padding: 14px; min-height: 100px; }
  .kpi .val { font-size: 24px; }
  .card .cardhead > .seg { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .card .cardhead > .seg button { flex: 1; padding: 0 8px; }
  .toolbar .search { max-width: none; flex: 1 1 100%; }
  .heat .ht { visibility: hidden; }
  .heat > span:not(.ht):empty + .ht, .heat > .ht:last-child { visibility: visible; }
  /* Dialoge als Bodenblatt */
  dialog.zdlg, dialog.zdlg.wide { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; padding: 22px calc(18px + var(--safe-r)) calc(18px + var(--safe-b)) calc(18px + var(--safe-l)); max-height: 92dvh; }
  dialog.zdlg[open] { animation: zSheet 300ms var(--ease-drawer); }
  dialog.zdlg .row.end > .btn { flex: 1 1 0; }
  dialog.palette { margin-top: calc(10px + var(--safe-t)); margin-bottom: auto; border-radius: 20px; border-bottom: 1px solid var(--line); width: calc(100% - 16px); max-width: calc(100% - 16px); padding: 0 !important; }
  .toast { border-radius: 16px; width: max-content; text-align: center; }
}
@media (max-width: 560px), (pointer: coarse) {
  .check { min-height: 44px; align-items: center; }
  .check input { margin-top: 0; }
  .linkbtn { min-height: 44px; }
  .back { min-height: 44px; margin-bottom: 0; }
  .heat .hn { min-height: 32px; }
}
@media print { .ah, .idlewarn, .toolbar, .actions, .mesh { display: none; } body { background: #fff; } .card { box-shadow: none; } }

/* ---------- Schalter ---------- */
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 13px; background: var(--line-strong); pointer-events: none; transition: background-color 150ms ease; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 40, .3); transition: transform var(--t-ui) var(--ease-out); }
.switch input:checked + i { background: var(--ok); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 3px solid var(--ring); outline-offset: 2px; }
.mt0 { margin-top: 4px; }
.choice b svg, .lab svg, label svg, .pill svg { width: 18px; height: 18px; flex: none; }
.pill svg { width: 14px; height: 14px; }
.authcard .choices { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.authcard .choice { padding: 12px 36px 12px 14px; }
.authcard .choice:has(input:checked)::after { right: 10px; top: 50%; margin-top: -9px; }
.grid > .card, .grid > form.card { margin-top: 0 !important; }

/* ---------- VA-03.3 (Eingaben 16 px, Trefferflächen 44 px), VA-03.9 (Suche mit „x“) ---------- */
.chip, .btn.sm, .seg button, .seg label, .help, .switch, .iconbtn, .nav a, .me, .tabs button, .back, .kpi-link { position: relative; }
.chip::before, .btn.sm::before, .seg button::before, .seg label::before, .help::before, .switch::before, .iconbtn::before, .nav a::before, .me::before, .back::before, .linkbtn::before { content: ""; position: absolute; top: 50%; left: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
.search { position: relative; display: inline-flex; align-items: center; min-width: 0; }
.search input { padding-right: 44px; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search .clear { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.toolbar .search { max-width: 280px; flex: 1 1 200px; }
.toolbar .search input { height: 40px; border-radius: var(--r-pill); }

/* ---------- Dashboard ---------- */
a.kpi, button.kpi { cursor: pointer; text-align: left; font: inherit; color: inherit; }
.kpi .go { margin-left: auto; color: var(--faint); }
.heat { display: grid; gap: 3px; align-items: center; font-size: 12.5px; }
.heat .hn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; display: flex; gap: 8px; align-items: center; text-decoration: none; min-height: 28px; }
.heat .hc { height: 24px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; background: var(--hover); min-width: 0; }
.heat .hc.a100 { background: color-mix(in srgb, var(--ok) 70%, transparent); }
.heat .hc.a99 { background: color-mix(in srgb, var(--ok) 40%, var(--warn)); }
.heat .hc.a95 { background: var(--warn); }
.heat .hc.a0 { background: var(--bad); }
.heat .hc:focus-visible { outline: 3px solid var(--ring); outline-offset: 1px; }
.heat .ht { color: var(--muted); font-size: 11px; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rank { list-style: none; margin: 0; padding: 0; }
.rank li a { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 44px; }
.rank li:last-child a { border-bottom: 0; }
.rank .v { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.rank .n { width: 22px; height: 22px; border-radius: 50%; background: var(--hover); display: grid; place-items: center; font-size: 11px; font-weight: 600; flex: none; }
.drill { margin-top: 16px; }
.palette { width: min(640px, calc(100vw - 32px)); padding: 0 !important; margin-top: 12vh; }
.palette form { padding: 0; }
.palette .pin { padding: 16px; border-bottom: 1px solid var(--line); }
.palette .pin .search { display: flex; }
.palette .pin input { height: 48px; font-size: 17px; }
.pall { padding: 8px; max-height: 56vh; max-height: 56dvh; overflow-y: auto; overscroll-behavior: contain; }
.pal-g { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 4px; }
.pall button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; gap: 2px; padding: 8px 12px; min-height: 44px; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pall button[aria-selected="true"] { background: var(--selected); }
@media (hover: hover) and (pointer: fine) { .pall button:hover { background: var(--selected); } }
.pall small { color: var(--muted); font-size: 12px; }
.pall .empty { padding: 14px 12px; color: var(--muted); margin: 0; }
.kbd { font: 500 11px ui-monospace, Menlo, monospace; border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 6px; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 10px 0; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.faq details p { color: var(--muted); }
.timeline { display: flex; gap: 2px; height: 22px; align-items: stretch; }
.timeline i { flex: 1; max-width: 10px; border-radius: 2px; background: var(--ok); opacity: .8; }
.timeline i.bad { background: var(--bad); opacity: 1; }
.timeline i.none { background: var(--line-strong); }
.file { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.file input[type=file] { height: auto; padding: 10px; }
input[type=file]::file-selector-button { margin-right: 10px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--hover); color: var(--ink); font: 500 12.5px "Poppins", sans-serif; cursor: pointer; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; padding: 0; margin: 0; accent-color: var(--navy); vertical-align: middle; box-shadow: none; }
html[data-theme="dark"] input[type=checkbox], html[data-theme="dark"] input[type=radio] { accent-color: var(--cyan); }
td input[type=checkbox], th input[type=checkbox] { position: relative; }

/* 1.5.0: Rechtliches (Anmeldeseite, Ruhebildschirm, öffentliche Seiten /rechtliches/…) */
.legal-links { display: flex; gap: 4px 18px; flex-wrap: wrap; justify-content: center; margin-top: 18px; font-size: 13px; }
.legal-links a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.legal-wrap { max-width: 900px; padding-top: 32px; }
.legal h1 { margin-bottom: 6px; }
.legal-sec { margin-top: 22px; }
.legal-sec h2 { font-size: 17px; }
.legal-sec ul { padding-left: 20px; margin: 0 0 10px; } .legal-sec li { margin-bottom: 5px; }
.legal-dl { display: grid; grid-template-columns: minmax(150px, max-content) 1fr; gap: 8px 20px; margin: 0; }
.legal-dl dt { color: var(--muted); } .legal-dl dd { margin: 0; overflow-wrap: anywhere; }
.legal-table { overflow-x: auto; } .legal-table table { width: 100%; }
.legal-foot { margin-top: 24px; color: var(--muted); font-size: 13px; }
.legal-nav { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.legal-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: var(--r-pill); text-decoration: none; color: var(--muted); }
.legal-nav a[aria-current="page"] { background: var(--selected); color: var(--ink); }
@media (max-width: 600px) { .legal-dl { grid-template-columns: 1fr; gap: 2px; } .legal-dl dd { margin-bottom: 8px; } }
/* 1.5.0: Eigenbetrieb, Anfragen, Papierkorb, Einstellungen */
.msgbox { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-top: 14px; }
.kpi .val.small2 { font-size: 20px; }
.row > .field.grow2 { flex: 2 1 260px; }
/* 1.6.0: Umgebung aufnehmen (Schritte als nummerierte Leiste), Speicher je Bereich */
.pairsteps { list-style: none; counter-reset: ps; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); color: var(--muted); }
.pairsteps li { counter-increment: ps; position: relative; padding: 14px 14px 14px 52px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); line-height: 1.5; }
.pairsteps li::before { content: counter(ps); position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; color: #fff; background: var(--grad-cool); }
.pairsteps b { color: var(--ink); font-weight: 500; }
#pc { font-size: 14px; }
@media (pointer: coarse) { #pc { font-size: 16px; } }
.sbar-row { display: grid; grid-template-columns: 9.5em 1fr 6.5em; align-items: center; gap: 12px; margin: 10px 0; }
.sbar-row .meter { margin: 0; }
.sbar-row .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 480px) { .sbar-row { grid-template-columns: 7em 1fr 5.5em; gap: 8px; font-size: 14px; } }
/* Tabellen der Umgebung (Administratoren, Meldungen, Aufgaben): lange Namen, Adressen, Pfade und Meldungen ohne Leerzeichen
   brechen in der Zelle um, statt die Tabelle zu verbreitern; Aktionen umbrechen. */
td.brk { overflow-wrap: anywhere; min-width: 9ch; }
td.brk.wide { min-width: 18ch; }
.rowacts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; min-width: 11em; }
.pills { display: inline-flex; flex-wrap: wrap; gap: 4px; }
/* Telefon: jede Zeile als Block – kurze Angaben nebeneinander, lange Texte und Aktionen in voller Breite */
@media (max-width: 600px) {
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
  table.stack tbody tr:last-child { border-bottom: 0; }
  table.stack td, table.stack td:first-child, table.stack td:last-child { display: block; padding: 0; border: 0; }
  table.stack td.brk, table.stack td.empty, table.stack td:has(> .rowacts) { flex: 1 1 100%; min-width: 0; }
  table.stack td.num { text-align: left; }
  table.stack td[data-l]::before { content: attr(data-l) " "; color: var(--muted); }
  .rowacts { justify-content: flex-start; min-width: 0; }
}

/* ---------- „Bewegung reduzieren“: jede Bewegung aus ---------- */
/* 1.8.0: Hilfe & FAQ mit Themenbaum (wie die Hauptanwendung) */
.hwrap { display: grid; grid-template-columns: minmax(200px, 250px) 1fr; gap: 20px; margin-top: 12px; align-items: start; }
.htree { position: sticky; top: 140px; display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface2); }
.hnode { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 40px; padding: 8px 10px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink); font: 500 13.5px "Poppins", sans-serif; text-align: left; cursor: pointer; }
.hnode small { font-size: 11.5px; color: var(--muted); font-weight: 400; }
.hnode:hover { background: var(--hover); } .hnode.on { background: var(--selected); }
.hnode.sub { padding-left: 22px; font-weight: 400; }
.hgroup > summary { list-style: none; cursor: pointer; border-radius: var(--r-sm); }
.hgroup > summary::-webkit-details-marker { display: none; }
.hgroup > summary .hnode { pointer-events: auto; }
.hcrumb { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.hsec { margin-bottom: 18px; } .hsec h3 { font-size: 14.5px; margin: 0 0 8px; } .hsec h3 small { color: var(--muted); font-weight: 400; }
.hsec details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); margin-bottom: 8px; }
.hsec summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; cursor: pointer; font-weight: 500; }
.hsec details[open] summary { border-bottom: 1px solid var(--line); }
.hans { padding: 10px 14px 12px; } .hans h4 { margin: 10px 0 4px; font-size: 13px; } .hans p, .hans ol, .hans ul { margin: 4px 0; }
.htag { flex: none; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: var(--r-pill); background: var(--chip); color: var(--muted); } .htag.faq { background: var(--selected); color: var(--ink); }
@media (max-width: 860px) { .hwrap { grid-template-columns: 1fr; } .htree { position: static; } }
/* 1.8.0: Bereiche und Kennzahlen erklären */
button.area { font: inherit; color: inherit; text-align: left; cursor: pointer; min-height: 52px; position: relative; transition: border-color var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out); }
button.area:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
button.area > div { flex: 1; min-width: 0; }
button.area .ax { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 12px; color: var(--muted); }
.kpi.xk { cursor: pointer; }
.kpi.xk:hover { box-shadow: var(--shadow-hi); }
.xdlg .xhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.xdlg .xhead h2 { margin: 0; flex: 1; }
.xdlg h3 { margin: 16px 0 4px; font-size: 14px; }
.xdlg p { margin: 0; }
.xnext { margin-top: 8px !important; padding: 8px 12px; border-radius: var(--r-sm); background: var(--surface2); font-weight: 500; }
.xnext.rot { background: var(--bad-bg); color: var(--bad); } .xnext.gelb { background: var(--warn-bg); color: var(--warn); } .xnext.gruen { background: var(--ok-bg); color: var(--ok); }
.xsteps { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 6px; }
/* 1.8.0: Werte mit Vorgabe */
.vinfo { display: grid; gap: 4px; margin: 6px 0 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface2); border: 1px solid var(--line); }
.vinfo p { margin: 0; }
.vmeta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.vlist li { align-items: flex-start; }
/* 1.7.0: Fortschritt beim Hochladen von Paketen */
.upst { display: grid; gap: 6px; margin: 10px 0 4px; }
.upst progress { appearance: none; width: 100%; height: 8px; border: 0; border-radius: 4px; background: var(--hover); overflow: hidden; }
.upst progress::-webkit-progress-bar { background: var(--hover); border-radius: 4px; }
.upst progress::-webkit-progress-value { background: var(--grad-cool); border-radius: 4px; transition: width .2s ease-out; }
.upst progress::-moz-progress-bar { background: var(--grad-cool); border-radius: 4px; }
.zpend { border: 1px solid var(--line); border-radius: var(--r-md, 12px); padding: 14px 16px; margin-top: 8px; background: var(--chip); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, *::backdrop { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  :is(.btn, .chip, .iconbtn, .seg button, .ah-hub, .ah-icon, .ah-user, .ah-burger, .ah-search, .help, .pop3-item, .ah-page, a.kpi, button.kpi):active { transform: none; }
  .search .clear:active { transform: translateY(-50%); }
}

/* 1.9.0 (OP-290): Update der Zentrale wie in der Hauptanwendung – Version, Ablauf, Vorabprüfung, Planung, Wartungshinweis */
.zver { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface2); margin: 8px 0 12px; }
.zver > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zver b { font-size: 22px; font-weight: 600; line-height: 1.2; }
.zarrow { font-size: 22px; color: var(--muted); }
.zsteps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 12px; flex-wrap: wrap; }
.zsteps li { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px 0 6px; border-radius: var(--r-pill); background: var(--chip); color: var(--muted); font-size: 13px; }
.zsteps li i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--card); font-style: normal; font-size: 12px; font-weight: 600; }
.zsteps li.done { color: var(--ok); background: var(--ok-bg); }
.zsteps li.cur { color: var(--ink); background: var(--selected); font-weight: 600; }
.zchecks { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; }
.zchecks li { display: flex; gap: 10px; align-items: flex-start; }
.zchecks li i { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; }
.zchecks li.ok i { background: var(--ok-bg); color: var(--ok); } .zchecks li.bad i { background: var(--bad-bg); color: var(--bad); }
.zchecks li span { display: flex; flex-direction: column; } .zchecks small { color: var(--muted); }
.zwarnbox { border: 1px solid var(--warn); background: var(--warn-bg); border-radius: var(--r-sm); padding: 10px 12px; margin: 8px 0 12px; font-size: 14px; }
.zwarnbox p { margin: 4px 0 0; }
html:not([data-theme="dark"]) .zwarnbox b { color: #8a5600; }
.zplanbox { border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 12px 14px; margin: 8px 0; }
.zplanbox.ok { border-color: var(--ok); } .zplanbox.bad { border-color: var(--bad); }
.zplanbox h3, .zplan h3 { margin: 0 0 8px; }
.zplan fieldset { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; margin: 0 0 10px; min-width: 0; }
.zplan legend { padding: 0 6px; font-weight: 600; font-size: 14px; }
.zpmail { margin-bottom: 6px; } .zpmail input { min-width: 0; }

/* 1.9.0 (OP-293): Ausrollpläne – Zeitstrahl und Wellen */
.rtwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface2); }
svg.rtl { display: block; width: 100%; min-width: 640px; height: auto; font: 12px var(--t-ui, inherit); }
.rtl .rt-grid { stroke: var(--line); stroke-width: 1; }
.rtl .rt-tick, .rtl .rt-open, .rtl .rt-nowt { fill: var(--muted); font-size: 11px; }
.rtl .rt-label { fill: var(--ink); font-size: 12px; }
.rtl .rt-now { stroke: var(--primary); stroke-width: 2; stroke-dasharray: 4 3; }
.rtl .rt-nowt { fill: var(--primary); font-weight: 600; }
.rtl .rt-bar rect { fill: color-mix(in srgb, var(--primary) 28%, transparent); stroke: var(--primary); stroke-width: 1; }
.rtl .rt-bar.s-läuft rect { fill: color-mix(in srgb, var(--primary) 55%, transparent); }
.rtl .rt-bar.s-fertig rect { fill: color-mix(in srgb, var(--ok) 45%, transparent); stroke: var(--ok); }
.rtl .rt-bar.s-angehalten rect, .rtl .rt-bar.s-abgebrochen rect { fill: color-mix(in srgb, var(--bad) 35%, transparent); stroke: var(--bad); }
.rtl .rt-bar.s-übersprungen rect { fill: transparent; stroke: var(--muted); stroke-dasharray: 3 3; }
.rtl .rt-env { fill: var(--card); stroke: var(--ink); stroke-width: 1.2; } .rtl .rt-env.ok { fill: var(--ok); stroke: var(--ok); } .rtl .rt-env.bad { fill: var(--bad); stroke: var(--bad); }
.rtleg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 4px; }
.rtleg span { display: inline-flex; align-items: center; gap: 6px; }
.rtleg i { width: 18px; height: 10px; border-radius: 4px; border: 1px solid var(--primary); background: color-mix(in srgb, var(--primary) 28%, transparent); }
.rtleg i.s-läuft { background: color-mix(in srgb, var(--primary) 55%, transparent); } .rtleg i.s-fertig { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 45%, transparent); }
.rtleg i.s-angehalten { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 35%, transparent); } .rtleg i.dot { width: 9px; height: 9px; border-radius: 50%; border-color: var(--ink); background: var(--card); }
.rplan { border-top: 1px solid var(--line); padding: 14px 0 6px; margin-top: 10px; }
.rplan .row { flex-wrap: wrap; gap: 8px; }
ol.rstages { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.rstage { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.renvs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.renv { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: var(--chip); font-size: 12.5px; max-width: 100%; }
.renv span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.renv small { color: var(--muted); } .renv.ok { background: var(--ok-bg); } .renv.bad { background: var(--bad-bg); }
.rsf { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; margin: 10px 0; min-width: 0; }
.rsf legend { font-weight: 600; padding: 0 6px; }
.rsf .lbl { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.rsten { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 16px; margin-top: 6px; }
.row.wrap { flex-wrap: wrap; }

/* 1.9.0 (OP-295): Protokoll */
table.audit tr.click { cursor: pointer; } table.audit tr.click:hover { background: var(--hover); } table.audit tr.click:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
table.audit td.ell { max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv dd.pre { white-space: pre-wrap; word-break: break-word; }
.row.center { justify-content: center; }
/* ---------------- 1.9.0 (OP-294) · Benachrichtigungen: Glocke, Mitteilungen, Matrix je Konto, Webhooks ---------------- */
button.ah-icon { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; }
.ah-icon .warnbadge { top: auto; bottom: 3px; right: auto; left: 0; min-width: 16px; height: 16px; font-size: 10px; background: var(--orange); color: #000046; }
.npanel { position: fixed; top: calc(80px + var(--safe-t)); right: max(calc(16px + var(--safe-r)), calc((100vw - 1480px) / 2 + 16px)); z-index: var(--z-pop); width: min(400px, calc(100vw - 24px)); max-height: min(640px, calc(100dvh - 100px - var(--safe-t))); display: flex; flex-direction: column; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out); transform-origin: calc(100% - 70px) 0; }
.npanel[hidden] { display: none; }
@starting-style { .npanel { opacity: 0; transform: translateY(-4px) scale(.98); } }
.np-head { display: flex; align-items: center; gap: 4px; padding: 10px 8px 6px 16px; }
.np-head h2 { margin: 0; font-size: 16px; }
.np-head .spacer, .np-filter .spacer { flex: 1; }
.iconbtn.sm { width: 36px; height: 36px; }
.iconbtn.sm svg { width: 18px; height: 18px; }
.np-alert { display: flex; align-items: center; gap: 10px; margin: 4px 12px 6px; padding: 10px 12px; border-radius: 14px; background: var(--warn-bg); color: var(--ink); text-decoration: none; min-height: 44px; }
.np-alert svg { width: 20px; height: 20px; color: var(--warn); flex: none; }
.np-alert span { display: flex; flex-direction: column; }
.np-alert small, .np-banner b + span { color: var(--a11y-accent-text); text-decoration: underline; text-underline-offset: 3px; }
a.np-banner { color: var(--ink); text-decoration: none; }
a.np-banner svg { width: 20px; height: 20px; color: var(--warn); }
.np-filter { display: flex; align-items: center; gap: 8px; padding: 4px 12px 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.np-filter select { height: 40px; min-width: 0; flex: 1 1 140px; max-width: 200px; border-radius: var(--r-pill); }
.np-list { list-style: none; margin: 0; padding: 4px 6px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.np-list.page { padding: 0; }
.np-list .empty { padding: 28px 16px; }
.np-item { display: flex; align-items: flex-start; gap: 2px; border-radius: 14px; }
.np-item + .np-item { border-top: 1px solid var(--line); }
.np-list.page .np-item { border-radius: 0; }
.np-main { flex: 1; min-width: 0; display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; border-radius: 12px; min-height: 44px; }
.np-main:focus-visible { outline-offset: -2px; }
.np-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex: none; background: transparent; border: 1.5px solid var(--line-strong); }
.np-item.unread .np-dot { background: var(--cyan); border-color: var(--cyan); }
.np-item.unread.lvl-warn .np-dot { background: var(--orange); border-color: var(--orange); }
.np-item.unread.lvl-error .np-dot { background: var(--bad); border-color: var(--bad); }
.np-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.np-t b { font-weight: 500; overflow-wrap: anywhere; }
.np-item.unread .np-t b { font-weight: 600; }
.np-b { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.np-m { color: var(--faint-text); font-size: 12px; }
.np-act { display: flex; gap: 0; padding: 4px 2px 0 0; flex: none; }
.np-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 16px 10px; border-top: 1px solid var(--line); }
.np-foot a { color: var(--a11y-accent-text); }
.nmatrix th[scope="row"] { font-weight: 400; }
.nmatrix th[scope="row"] b { display: block; font-weight: 600; }
.nmatrix th[scope="row"] span { display: block; max-width: 46ch; }
.nmatrix .c { text-align: center; width: 92px; }
.nmatrix .c .switch { display: inline-block; vertical-align: middle; }
.field.inline { display: flex; align-items: center; gap: 8px; margin: 0; }
.field.inline label { margin: 0; white-space: nowrap; }
.row.center { justify-content: center; }
.wev { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 18px; }
.wev .section-title { margin: 10px 0 4px; }
@media (hover: hover) and (pointer: fine) {
  .np-main:hover { background: var(--hover); }
  .np-alert:hover { filter: brightness(.98); }
}
@media (max-width: 600px) {
  .npanel { top: calc(70px + var(--safe-t)); right: calc(8px + var(--safe-r)); left: calc(8px + var(--safe-l)); width: auto; max-height: calc(100dvh - 84px - var(--safe-t) - var(--safe-b)); }
  .nmatrix .c { width: 64px; padding-left: 4px; padding-right: 4px; }
  .nmatrix th[scope="row"] span { display: none; }
  .np-filter select { max-width: none; }
}
.tablewrap.nm { margin-bottom: 16px; border-bottom: 1px solid var(--line); }
/* 1.10.0 (OP-300): Verschieben im Zeitstrahl, Kundenfreigabe, Gruppen */
.rtl .rt-lane { fill: transparent; }
.rtl .rt-lane.held { fill: color-mix(in srgb, var(--warn) 8%, transparent); stroke: color-mix(in srgb, var(--warn) 40%, transparent); stroke-dasharray: 4 3; }
.rtl .rt-drag { cursor: grab; touch-action: none; }
.rtl .rt-drag:focus { outline: none; }
.rtl .rt-drag:focus-visible rect, .rtl .rt-drag:focus-visible circle { stroke: var(--primary); stroke-width: 3; }
.rtl .dragging { cursor: grabbing; opacity: .85; }
.rtl .rt-drag.dragging rect { stroke-width: 2.5; }
.rtl .rt-env.apv-ok circle { fill: var(--ok); stroke: var(--ok); }
.rtl .rt-env.apv-warn circle { fill: var(--card); stroke: var(--warn); stroke-width: 2; }
.rtl .rt-env.apv-bad circle { fill: var(--card); stroke: var(--bad); stroke-width: 2; }
.rtl .rt-env.apv-info circle { fill: var(--card); stroke: var(--primary); stroke-width: 2; }
.rtl .rt-env circle { fill: inherit; stroke: inherit; }
.rtl .rt-apv { font-size: 8px; font-weight: 700; text-anchor: middle; fill: var(--ink); pointer-events: none; }
.rtl .rt-env.apv-ok .rt-apv { fill: #fff; }
.rthint { margin: 4px 0 0; }
.apvsum { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
button.renv { font: inherit; color: inherit; cursor: pointer; min-height: 44px; }
button.renv:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.renv .apvp { min-height: 20px; padding: 0 8px; font-size: 11px; }
.pill.info { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.rheld { margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--warn) 50%, var(--line)); background: color-mix(in srgb, var(--warn) 6%, transparent); }
.renv.held { border-style: dashed; }
.rsgrp { align-items: flex-end; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .rtl .dragging { transition: none; } }
.rstage { min-width: 0; } .rstage .row > .grow { min-width: 0; flex: 1 1 220px; } .rstage .small { overflow-wrap: anywhere; }
button.renv { border: 1px solid transparent; text-align: left; flex-wrap: wrap; row-gap: 2px; padding: 6px 12px; border-radius: 14px; }
button.renv:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
@media (max-width: 560px) {
  .renvs { display: grid; grid-template-columns: 1fr; }
  .renv { width: 100%; box-sizing: border-box; flex-wrap: wrap; }
  .renv span { max-width: none; white-space: normal; }
  .renv .apvp { white-space: nowrap; }
}

/* ================================================================
   1.11.0 · Menü wie in der Hauptanwendung (nav7000.css): „Alle Seiten“, Lage Oben/Links/Rechts/Unten (Dock), schmale Symbolleiste –
   ab 768 px; Telefon unverändert. Version im Profilmenü und auf der Anmeldeseite, Hinweis vor dem Update der Zentrale mit Countdown.
   Farben nur über Tokens (hell und dunkel); Bewegung nur ohne „Bewegung reduzieren“.
   ================================================================ */
.ah-subrow { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; max-width: 1480px; margin: 8px auto 0; }
.ah-subrow[hidden] { display: none; }
.ah-subrow > .ah-sub { margin: 0; min-width: 0; flex: 0 1 auto; }
.ah-all { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--glass-line); background: var(--glass); color: var(--muted); font: 500 14px "Poppins", sans-serif; cursor: pointer; backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); white-space: nowrap; }
.ah-all svg { width: 18px; height: 18px; flex: none; }
.ah-all[hidden] { display: none; }
.ah-dico, .mnav-ico { display: inline-flex; width: 20px; height: 20px; flex: none; color: var(--muted); }
.ah-dico svg, .mnav-ico svg { width: 18px; height: 18px; }
.ah-drop a[aria-current="page"] .ah-dico { color: var(--a11y-accent-text); }
.mnav-group a { gap: 12px; }
.mnav-ver, .pop3-version { margin: 10px 12px 2px; font-size: 12px; color: var(--muted); }
.mnav-ver { margin: 24px 16px 0; }
.pop3-ver { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.zver-login { margin: 6px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.hfoot { margin: 18px 4px 0; text-align: center; }
.about { display: flex; gap: 14px; align-items: center; }
.about-logo svg { width: 48px; height: 48px; display: block; }
@media (hover: hover) and (pointer: fine) { .ah-all:hover { color: var(--ink); background: var(--hover); } }
@media (max-width: 600px) { .ah-all { width: 50px; height: 50px; padding: 0; justify-content: center; } .ah-all span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* Alle Seiten (Dialog) */
.allp { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 6px 18px; }
.allp-col h3 { margin: 6px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.allp-item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.allp-item .pill { margin-left: auto; }
.allp-ico { display: inline-flex; width: 20px; color: var(--muted); } .allp-ico svg { width: 18px; height: 18px; }
.allp-item.active { background: var(--selected); font-weight: 600; }
.allp-item:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .allp-item:not(.active):hover { background: var(--hover); } }

/* Einstellung (Mein Konto › Darstellung & Menü) */
.znav-set { border: 0; padding: 0; margin: 12px 0 0; min-width: 0; }
.znav-set legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.znav-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.znav-opt { display: grid; justify-items: start; gap: 4px; min-height: 44px; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.znav-opt svg { width: 48px; height: 34px; fill: none; stroke: var(--muted); stroke-width: 1.4; }
.znav-opt svg .hl { fill: var(--cyan); stroke: none; opacity: .55; }
.znav-opt b { font-size: 14px; } .znav-opt small { color: var(--muted); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.znav-opt[aria-checked="true"] { border-color: var(--a11y-accent-text); box-shadow: inset 0 0 0 1px var(--a11y-accent-text); background: var(--selected); }
.znav-opt[aria-checked="true"] svg .hl { opacity: 1; }
.znav-opt:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 640px) { .znav-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (hover: hover) and (pointer: fine) { .znav-opt:hover { border-color: var(--line-strong); } }

#znav { display: none; }
#znav[hidden] { display: none !important; }
html { --znav-w: 0px; --znav-dock: 0px; }
@media (min-width: 768px) {
  html.znav-on #znav:not([hidden]) { display: flex; }
  html.znav-on .ah-hubs, html.znav-on .ah-burger { display: none !important; }
  /* Links / Rechts: senkrechte Leiste */
  html.znav-on:is(.znav-links, .znav-rechts) { --znav-w: 248px; }
  html.znav-on.znav-schmal:is(.znav-links, .znav-rechts) { --znav-w: 76px; }
  /* 2.3.0 (OP-465): Spalte des Seitengerüsts statt Innenabstand des body (ui/skal-geruest.css) */
  html.znav-on.znav-links body { --g95-l: var(--znav-w); }
  html.znav-on.znav-rechts body { --g95-r: var(--znav-w); }
  html.znav-on:is(.znav-links, .znav-rechts) .ah-subrow { display: none; }
  html.znav-on:is(.znav-links, .znav-rechts) #znav { position: fixed; top: 0; bottom: 0; z-index: var(--z-head); width: var(--znav-w); box-sizing: border-box; flex-direction: column; padding: calc(14px + var(--safe-t)) 10px calc(10px + var(--safe-b)); background: var(--card); color: var(--ink); }
  html.znav-on.znav-links #znav { left: 0; border-right: 1px solid var(--line); padding-left: max(10px, var(--safe-l)); }
  html.znav-on.znav-rechts #znav { right: 0; border-left: 1px solid var(--line); padding-right: max(10px, var(--safe-r)); }
  .znav-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; margin: 0 -4px; padding: 0 4px; }
  .znav-list, .znav-pages, .znav-dock { list-style: none; margin: 0; padding: 0; }
  .znav-list { display: grid; gap: 2px; }
  .znav-area, .znav-pg, .znav-fold { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; box-sizing: border-box; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
  .znav-area { font-weight: 600; }
  .znav-chev { margin-left: auto; display: inline-flex; color: var(--muted); } .znav-chev svg { width: 16px; height: 16px; }
  .znav-area[aria-expanded="false"] .znav-chev svg { transform: rotate(-90deg); }
  .znav-ico { display: inline-flex; flex: none; width: 20px; height: 20px; align-items: center; justify-content: center; color: var(--muted); }
  .znav-ico svg { width: 18px; height: 18px; }
  .znav-area.active .znav-ico, .znav-pg.active .znav-ico { color: var(--a11y-accent-text); }
  .znav-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .znav-pg .count { margin-left: auto; }
  .znav-pages { display: grid; gap: 1px; margin: 2px 0 6px; padding-left: 12px; }
  .znav-pages[hidden] { display: none; }
  .znav-pg { min-height: 40px; font-size: 13.5px; color: var(--muted); }
  .znav-pg.active { background: var(--selected); color: var(--ink); font-weight: 600; }
  :is(.znav-area, .znav-pg, .znav-fold):focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
  .znav-fold { flex: none; color: var(--muted); font-size: 13px; }
  .znav-fold[data-znav-all] { margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0; }
  .znav-foldico svg { transform: rotate(90deg); }
  html.znav-rechts .znav-foldico svg { transform: rotate(-90deg); }
  html.znav-schmal.znav-links .znav-foldico svg { transform: rotate(-90deg); }
  html.znav-schmal.znav-rechts .znav-foldico svg { transform: rotate(90deg); }
  html.znav-schmal #znav :is(.znav-txt, .znav-chev) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html.znav-schmal #znav :is(.znav-area, .znav-fold) { justify-content: center; padding: 0; }
  html.znav-schmal #znav .znav-area.active { background: var(--selected); }
  @media (hover: hover) and (pointer: fine) { :is(.znav-area, .znav-pg:not(.active), .znav-fold):hover { background: var(--hover); color: var(--ink); } }
  /* Unten: Dock */
  html.znav-on.znav-unten { --znav-dock: calc(80px + var(--safe-b)); }
  html.znav-on.znav-unten #znav { position: fixed; z-index: var(--z-head); left: 50%; bottom: calc(12px + var(--safe-b)); transform: translateX(-50%); max-width: calc(100vw - 32px); box-sizing: border-box; padding: 6px 8px; border: 1px solid var(--glass-line); border-radius: 20px; background: var(--glass); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: var(--shadow-lg); }
  .znav-dock { display: flex; align-items: flex-end; gap: 4px; }
  .znav-sep { width: 1px; align-self: stretch; margin: 8px 4px; background: var(--line-strong); }
  .znav-dk { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); cursor: pointer; transform-origin: 50% 100%; }
  .znav-dk .znav-ico { width: 26px; height: 26px; color: var(--ink); } .znav-dk .znav-ico svg { width: 24px; height: 24px; }
  .znav-dk.active .znav-ico { color: var(--a11y-accent-text); }
  .znav-dk.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--a11y-accent-text); }
  .znav-dk[aria-expanded="true"] { background: var(--selected); }
  .znav-dk:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .znav-tip { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); padding: 5px 10px; border-radius: 8px; white-space: nowrap; pointer-events: none; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 600; opacity: 0; visibility: hidden; }
  .znav-dk:focus-visible .znav-tip, .znav-dk[aria-expanded="false"]:hover .znav-tip, .znav-dk:not([aria-expanded]):hover .znav-tip { opacity: 1; visibility: visible; }
  @media (hover: hover) and (pointer: fine) { .znav-dk:hover { background: var(--hover); } }
  @media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
    .znav-dk { transition: transform .18s var(--ease-out), background-color .15s; }
    .znav-dk:hover { transform: scale(1.18) translateY(-3px); }
  }
  html.znav-on.znav-unten main { padding-bottom: calc(64px + var(--znav-dock)); }
  .znav-pop { position: fixed; z-index: var(--z-pop); width: min(280px, calc(100vw - 24px)); overflow-y: auto; }
  .znav-pophead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 12px 6px; }
  .znav-pop .pop3-item.active { background: var(--selected); font-weight: 600; }
  /* Ausweichen: nichts überdeckt etwas anderes */
  html.znav-on.znav-rechts :is(#userPop, .npanel) { margin-right: var(--znav-w); }
  html.znav-on.znav-links :is(.toast, .idlewarn) { margin-left: calc(var(--znav-w) / 2); }
  html.znav-on.znav-rechts :is(.toast, .idlewarn) { margin-left: calc(var(--znav-w) / -2); }
  html.znav-on.znav-links .zupd-bar { margin-left: var(--znav-w); }
  html.znav-on.znav-unten :is(.toast, .idlewarn, .zupd-bar) { margin-bottom: var(--znav-dock); }
}
@media print { #znav, #znavPop, .zupd-bar { display: none !important; } html.znav-on body { padding: 0 !important; } }

/* Hinweis vor dem Update der Zentrale (wie der Wartungs-Countdown der Hauptanwendung) */
.zupd-bar { position: fixed; z-index: var(--z-warn); left: calc(18px + var(--safe-l)); bottom: calc(18px + var(--safe-b)); display: flex; align-items: center; gap: 12px; width: min(620px, calc(100vw - 36px)); box-sizing: border-box; padding: 10px 10px 10px 14px; border-radius: 18px; background: #000046; color: #fff; border: 1px solid rgba(255, 255, 255, .18); box-shadow: var(--shadow-lg); }
.zupd-bar.is-final { background: #b00020; }
.zupd-bar.is-admin { background: #1d1d6b; }
.zupd-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #FFC800; color: #000046; }
.zupd-ico svg { width: 20px; height: 20px; }
.zupd-txt { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 13px; }
.zupd-txt b { font-size: 14px; }
.zupd-left { flex: none; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .14); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zupd-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: inherit; cursor: pointer; display: grid; place-items: center; }
.zupd-x svg { width: 18px; height: 18px; }
.zupd-x:focus-visible { outline: 3px solid #00B9FF; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .zupd-x:hover { background: rgba(255, 255, 255, .26); } }
@media (prefers-reduced-motion: no-preference) { .zupd-bar { animation: zFade var(--t-ui) var(--ease-out); } }
@media (max-width: 560px) { .zupd-bar { flex-wrap: wrap; left: calc(12px + var(--safe-l)); width: calc(100vw - 24px - var(--safe-l) - var(--safe-r)); } .zupd-txt { flex-basis: calc(100% - 100px); } }
.zupd-in { font-variant-numeric: tabular-nums; }

/* 1.12.0: Anzeigen zu Zahlen (Z.meter, Z.stackbar, Z.hbars) – Farben der Ampel nie allein: Legende mit Zahl, Schraffur bei Störung */
.stackbar { display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden; background: var(--hover); margin-top: 8px; }
.stackbar i { display: block; height: 100%; min-width: 3px; background: var(--unk); }
.stackbar i.gruen { background: var(--ok); } .stackbar i.gelb { background: var(--warn); } .stackbar i.grau { background: var(--unk); opacity: .6; } .stackbar i.leer { background: transparent; }
.stackbar i.rot { background: repeating-linear-gradient(135deg, var(--bad) 0 4px, color-mix(in srgb, var(--bad) 70%, var(--card, #fff)) 4px 7px); }
.stackbar + .legend { margin-top: 8px; }
.hbar .track i.warn { background: var(--warn); } .hbar .track i.bad { background: repeating-linear-gradient(135deg, var(--bad) 0 4px, color-mix(in srgb, var(--bad) 70%, var(--card, #fff)) 4px 7px); }
.hbar .track i.grau { background: var(--unk); }
.meter i.bad { background: repeating-linear-gradient(135deg, var(--bad) 0 4px, color-mix(in srgb, var(--bad) 70%, var(--card, #fff)) 4px 7px); }
.kpi .meter { width: 100%; }
td .meter { min-width: 64px; }
.vizrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 24px; }
.vizrow h3 { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
@media (forced-colors: active) { .stackbar i, .meter i, .hbar .track i { forced-color-adjust: none; border: 1px solid CanvasText; } }
/* 1.12.0: Demos – Übersicht als Kacheln, Einzelseite, öffentliche Demo (nur Tokens des Designsystems) */
.demo-tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-top: 16px; }
.demo-tiles > .card { margin-top: 0 !important; display: flex; flex-direction: column; cursor: pointer; }
.demo-tiles > .card > .row.end { margin-top: auto; padding-top: 12px; }
.demo-tile .cardhead h2 { font-size: 17px; min-width: 0; overflow-wrap: anywhere; }
.demo-tile .cardhead h2 a, .demo-pub h2 a { color: inherit; text-decoration: none; }
.demo-tile .cardhead h2 a:hover, .demo-pub h2 a:hover { text-decoration: underline; }
.demo-tile .pills { margin: 2px 0 8px; }
.demo-tile .kv { font-size: 13.5px; }
.demo-tiles > .card:hover { border-color: var(--primary); }
.demo-tiles > .card:focus-within { box-shadow: 0 0 0 3px var(--ring); }
.demo-pub { border-left: 4px solid var(--primary); }
.pills.mb { margin-bottom: 12px; }
.demo-backups li .btn.sm { min-height: 44px; }
.demo-protect { margin: 6px 0 0; padding-left: 18px; line-height: 1.6; }
.demo-mailprev pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 280px; overflow: auto; font-size: 13px; }
@media (prefers-reduced-motion: no-preference) { .demo-tiles > .card { transition: border-color var(--t-ui, 150ms) ease; } }

/* ---------- 1.12.0: Sprache der Oberfläche (Deutsch, English, Español) ---------- */
html.i18n600-wait body { visibility: hidden; }
.authtools { display: flex; align-items: center; gap: 8px; }
.zlang { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm, none); }
.zlang button { min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); font: 500 13px "Poppins", sans-serif; cursor: pointer; }
.zlang button:hover { color: var(--ink); background: var(--hover); }
.zlang button[aria-pressed="true"] { background: var(--primary); color: var(--primary-ink); }
html[data-theme="dark"] .zlang button[aria-pressed="true"] { background: var(--ink); color: var(--card); }
@media (max-width: 560px) { .auth { padding-top: calc(84px + var(--safe-t)); } .zlang button { padding: 0 9px; font-size: 12px; } }
.zlang-set .seg button { min-height: 44px; }
.zlang-set .zlang-note { margin: 10px 0 0; }
/* 1.13.0: Anmeldung & zweiter Faktor (Mein Konto), Wiederherstellungscodes, Richtlinie je Rolle, Hinweis nach der Anmeldung, Druckbereich */
.factor { flex-wrap: wrap; }
.factor.sub { margin-left: 24px; padding: 8px 12px; } .factor.sub .fi { background: none; width: 0; }
.factor .btn { min-height: 44px; }
#myauth .banner { margin: 10px 0; }
#myauth details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.mfahist { margin: 6px 0 10px; padding-left: 18px; font-size: 13.5px; } .mfahist li + li { margin-top: 4px; }
.totp-steps { margin: 0 0 12px; padding-left: 18px; }
.rcodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; margin: 12px 0; padding: 12px 14px 12px 34px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--hover); }
.rcodes code { font: 500 15px/1.6 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; }
@media (max-width: 420px) { .rcodes { grid-template-columns: 1fr; } .factor.sub { margin-left: 0; } }
.mfapol { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 12px; min-width: 0; }
#mfaf { min-width: 0; } .mfarole .check { white-space: normal; } .mfarole .check span { min-width: 0; overflow-wrap: anywhere; }
.mfarole { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin: 0; min-width: 0; }
.mfarole legend { font-weight: 600; padding: 0 6px; }
.mfarole .check { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.mfarole .check input:disabled + span { color: var(--muted); }
#mfasec { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; } #mfasec > .card { margin: 0; min-width: 0; }
#mfaHint { max-width: 1272px; margin: 16px auto 0; width: calc(100% - 48px - var(--safe-l) - var(--safe-r)); }
#mfaHint + main { padding-top: 16px; }
#mfaHint .btn { min-height: 44px; display: inline-flex; align-items: center; }
#zprint { display: none; }
@media print {
  html.zprint-on body > :not(#zprint) { display: none !important; }
  html.zprint-on, html.zprint-on body { background: #fff !important; color: #000 !important; padding: 0 !important; margin: 0 !important; }
  html.zprint-on #zprint { display: block !important; font: 12pt/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: #000; padding: 16mm 14mm; }
  #zprint .zprint-brand { margin: 0 0 2mm; font-size: 10pt; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  #zprint h1 { margin: 0 0 2mm; font-size: 18pt; } #zprint .zprint-meta { margin: 0 0 8mm; font-size: 10pt; color: #333; }
  #zprint .zprint-codes { columns: 2; margin: 0 0 8mm; padding: 6mm 6mm 6mm 12mm; border: 1.5pt solid #000; border-radius: 3mm; font: 15pt/1.8 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .05em; }
  #zprint .zprint-note { font-size: 11pt; }
}
/* 1.13.0: Kundenkontakt › Besucher – Zeitraum und Filter in einer Zeile (umbrechend), eigener Zeitraum, Seitenpfade */
.vs-bar .seg label { min-height: 44px; height: auto; display: inline-flex; align-items: center; }
.vs-range { display: inline-flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.vs-range[hidden] { display: none; }
.vs-range .field { margin: 0; min-width: 150px; }
.vs-range input[type="date"] { font-size: 16px; min-height: 44px; }
.vs-paths { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; }
.vs-paths li { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; }
.vs-path { overflow-wrap: anywhere; min-width: 0; }
.vs-notes { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.hbar > span:first-child, .hbar > [role="listitem"] { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 560px) { .vs-bar .seg { width: 100%; } .vs-range { width: 100%; } .vs-range .field { flex: 1 1 140px; } }
/* 1.13.0: Lokale Anwendung › Auswahl der Module (ganze Zeile schaltet, Trefferfläche ≥ 44 px) */
.lkmods { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; margin: 4px 0 12px; }
.lkmods legend { font-weight: 500; font-size: 13px; padding: 0 4px; display: flex; align-items: center; gap: 6px; }
.lkmods-bar { align-items: flex-end; justify-content: space-between; }
.lkmods-bar > .field { flex: 1 1 220px; margin: 0; }
.lkmodlist { max-height: min(46dvh, 420px); overflow: auto; overscroll-behavior: contain; }
.lkmodlist li { padding: 0; }
.lkmod { display: flex; gap: 12px; align-items: center; width: 100%; min-height: 52px; padding: 8px 2px; cursor: pointer; }
.lkmod .grow { min-width: 0; }
.lkmod .lkhelp { display: block; overflow-wrap: anywhere; }
.lkmod:has(input:focus-visible) { outline: 2px solid var(--focus, var(--navy)); outline-offset: 2px; border-radius: var(--r-sm); }
.lkmod:has(input:disabled) { cursor: default; }
.lkmods.off { background: var(--hover); }
.lkfx { flex-wrap: nowrap; align-items: center; }
.lkfx .grow { min-width: 0; overflow-wrap: anywhere; }
.lkcut { display: inline-block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
@media (max-width: 560px) { .lkfx { flex-wrap: wrap; } .lkfx .btn { width: 100%; } }

/* 1.13.0: automatisch aktualisieren (Kopfzeile) und Tastatur in Dialogen */
.ah-icon.zref { width: auto; min-width: 44px; padding: 0 8px; display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; cursor: pointer; font: 500 12px "Poppins", sans-serif; color: var(--muted); }
.zref-ring { width: 22px; height: 22px; flex: none; }
.zref-ring circle { fill: none; stroke-width: 2.2; } .zref-bg { stroke: var(--line); } .zref-fg { stroke: var(--a11y-accent-text); stroke-linecap: round; }
.zref-ar { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.zref.off .zref-fg { stroke: transparent; } .zref.paused .zref-fg { stroke: var(--faint); stroke-dasharray: 2 3; }
.zref-t { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) { .zref-t { display: none; } }
.zrefpop { right: auto; width: 260px; } .zrefh { padding: 6px 12px 2px; } .zrefn { padding: 4px 12px 6px; margin: 0; } .zrefdot { width: 20px; text-align: center; color: var(--a11y-accent-text); }
.enterhint { align-self: center; margin-right: -2px; padding: 1px 6px; color: var(--faint-text); border-radius: 6px; border: 1px solid currentColor; font: 500 11px "Poppins", sans-serif; opacity: .72; white-space: nowrap; }
@media (pointer: coarse) { .enterhint { display: none; } }
.pzbox { margin: 8px 0 4px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--hover); }
.pzq { margin: 4px 0; font: 600 24px "Poppins", sans-serif; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--ink); }
/* 1.14.0: überlaufende Leisten (Z.ovf in core.js) – Pfeile mit Schatten am Rand nur dort, wo es weitergeht, Menü „Weitere“ */
.ovf { position: relative; display: flex; align-items: stretch; min-width: 0; max-width: 100%; }
.ovf-in { position: relative; display: flex; flex: 1 1 auto; min-width: 0; }
.ovf-in > .tabs, .ovf-in > .ah-sub, .ovf-in > [data-ovf] { flex: 1 1 auto; min-width: 0; }
.ovf + .card, .ovf + .grid { margin-top: 16px; }
.ovf-btn { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink); background: none; }
.ovf-btn::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--card); border: 1px solid var(--line-strong); box-shadow: 0 2px 10px -2px rgba(0, 0, 70, .28); }
html[data-theme="dark"] .ovf-btn::before { background: var(--surface2); box-shadow: 0 2px 12px -2px rgba(0, 0, 0, .7); }
.ovf-btn svg { position: relative; width: 18px; height: 18px; }
.ovf-btn[hidden] { display: none; }
.ovf-prev { left: -4px; } .ovf-next { right: -4px; }
.ovf-btn:hover::before { border-color: var(--a11y-accent-text); }
.ovf-btn:active { transform: scale(.94); }
/* Schatten/Verlauf am Rand: Inhalt läuft unter den Pfeil aus */
.ovf-tabs.ovf-l .tabs, .ovf:not(.ovf-nav).ovf-l .ovf-in > [data-ovf] { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 56px); mask-image: linear-gradient(to right, transparent 0, #000 56px); }
.ovf-tabs.ovf-r .tabs, .ovf:not(.ovf-nav).ovf-r .ovf-in > [data-ovf] { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 56px); mask-image: linear-gradient(to left, transparent 0, #000 56px); }
.ovf-tabs.ovf-l.ovf-r .tabs, .ovf:not(.ovf-nav).ovf-l.ovf-r .ovf-in > [data-ovf] { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); }
.ovf-tabs .ovf-in { border-bottom: 1px solid var(--line); } .ovf-tabs .tabs { border-bottom: 0; }
.ovf-tabs > .ovf-more { box-shadow: inset 0 -1px 0 var(--line); }
/* Seitenleiste im Kopf (Glas-Pille): Pfeile innen am Rand mit eigenem Schatten */
.ah-subrow > .ovf-nav { flex: 0 1 auto; min-width: 0; }
.ovf-nav .ovf-in { flex: 0 1 auto; }
.ah-subrow > .ovf-nav .ah-sub { margin: 0; min-width: 0; flex: 0 1 auto; }
.ovf-nav .ovf-prev { left: 0; } .ovf-nav .ovf-next { right: 0; }
.ovf-nav.ovf-l .ah-sub { padding-left: 40px; } .ovf-nav.ovf-r .ah-sub { padding-right: 40px; }
.ovf-more { flex: none; display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; height: 46px; margin-left: 4px; padding: 0 12px; border: 0; border-radius: 10px 10px 0 0; background: none; color: var(--muted); font: 500 14px "Poppins", sans-serif; cursor: pointer; white-space: nowrap; }
.ovf-more[hidden] { display: none; }
.ovf-more svg { width: 16px; height: 16px; }
.ovf-more:hover, .ovf-more[aria-expanded="true"] { color: var(--ink); background: var(--hover); }
.ovf-more:focus-visible { outline: 3px solid var(--ring); outline-offset: -3px; }
.ovf-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--chip); color: var(--ink); font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.ovf-n:empty { display: none; }
.ovf-pop { position: fixed; width: min(300px, calc(100vw - 24px)); overflow-y: auto; transform-origin: top right; }
.ovf-pophead { padding: 6px 12px 4px; }
.ovf-pop .pop3-item.active { background: var(--selected); font-weight: 600; }
.ovf-mark { width: 18px; display: inline-grid; place-items: center; color: var(--a11y-accent-text); flex: none; } .ovf-mark svg { width: 16px; height: 16px; color: inherit; }
@media (max-width: 640px) { .ovf-more-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .ovf-more { padding: 0 10px; } }
@media (prefers-reduced-motion: no-preference) { .ovf-btn { transition: transform var(--t-press) var(--ease-out); } } /* Menü: Einblenden wie .pop3 */
@media (forced-colors: active) { .ovf-btn::before { border-color: ButtonText; } }
/* 1.15.0: Farben der Syntaxhervorhebung (Editor des Datei-Explorers) – hell und dunkel, Kontrast mindestens 4,5:1 auf --surface/--surface2 */
:root { --hl-c: #5c618c; --hl-s: #0a6e45; --hl-k: #a3007a; --hl-n: #b0280f; --hl-v: #00628f; --hl-t: #1f3fae; --hl-a: #7a5200; --hl-p: #6a2cb0; --hl-sel: rgba(0, 185, 255, .28); }
html[data-theme="dark"] { --hl-c: #a6aad8; --hl-s: #7ee2a8; --hl-k: #ff8ad8; --hl-n: #ffb86b; --hl-v: #7fd4ff; --hl-t: #9dbcff; --hl-a: #ffd479; --hl-p: #d4a8ff; --hl-sel: rgba(0, 185, 255, .38); }
/* 1.16.0: Speichergrenzen in MB oder GB (Baustein .qty81000 aus skal-ui.css) */
.q116-err { min-height: 0; margin: 4px 0 0; color: var(--bad); font-weight: 600; }
.q116-err:empty { display: none; }
.q116-kv { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface2); }
.q116-c { font-variant-numeric: tabular-nums; font-weight: 600; }
.q116-c.warn { color: var(--warn); } .q116-c.bad { color: var(--bad); }
.q116-src { display: block; }

/* 1.16.0 · Bewegungs-Tokens (gemeinsam mit der Hauptanwendung, frontend/bewegung81000.css): Aliasse der vorhandenen Kurven und Dauern */
:root { --mo-ease-out: var(--ease-out, cubic-bezier(.23, 1, .32, 1)); --mo-ease-move: cubic-bezier(.77, 0, .175, 1); --mo-ease-drawer: var(--ease-drawer, cubic-bezier(.32, .72, 0, 1)); --mo-t-fast: 120ms; --mo-t-press: var(--t-press, 140ms); --mo-t-ui: var(--t-ui, 200ms); --mo-t-exit: 150ms; --mo-t-panel: 280ms; --mo-t-max: 320ms; }

/* 1.17.0 · Karten nach Inhalt (Auftrag des Inhabers 11.11.2026: Boxen im Verhältnis zum Inhalt; Befundliste .agent/ag811-ui-zen-befunde.md)
   – Zweispaltige Raster (.grid.two): jede Karte so hoch wie ihr Inhalt statt so hoch wie die Nachbarkarte (vorher bis 1 500 px leere Fläche).
     Gleich hohe Karten bleiben möglich: Klasse .kn117-gleich am Raster.
   – .kn117-reihe: kleine Einstellungskarten nebeneinander statt je eine ganze Zeile; Schaltflächen unten bündig.
   – Benachrichtigungen: Ereignisse eines Bereichs als Fließtext (vorher je Ereignis eine Zeile und ein Komma allein in der Zeile).
   – Karten im Raster: Mindestbreite 0, damit breite Tabellen in der Karte scrollen (vorher 390 px: Seite 476 px breit).
   – Schalter „Animationen“: Größe des Schalters (die allgemeine Regel für Kontrollkästchen machte ihn zum Punkt über dem Text). */
.grid:not(.kn117-gleich):not(.kn117-reihe) > .card { align-self: start; } /* 1.17.0: auch Übersicht (Zustand, Versionen, Arten) – Entscheidung Inhaber */
/* Mein Konto (Entscheidung Inhaber): ab 1200 px zwei Spalten – links Angaben, Passwort, zweiter Faktor, Sitzungen; rechts Darstellung, Sprache;
   Benachrichtigungen in voller Breite darunter. Schmaler: untereinander in der bisherigen Reihenfolge (order). */
.kn117-konto { display: flex; flex-direction: column; gap: 16px; }
.kn117-konto .card { margin-top: 0; }
.kn117-konto > .kn117-sp { display: contents; }
.kn117-konto #pf { order: 1; } .kn117-konto #wf { order: 2; } .kn117-konto #myauth { order: 3; } .kn117-konto #mynav { order: 4; }
.kn117-konto #mylang { order: 5; } .kn117-konto #mynotify { order: 6; } .kn117-konto #mysess { order: 7; }
@media (min-width: 1200px) {
  .kn117-konto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .kn117-konto > .kn117-sp { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
  .kn117-konto > #mynotify { grid-column: 1 / -1; }
}
.grid > .card { min-width: 0; } /* breite Tabellen scrollen in ihrer Karte statt die Seite zu verbreitern (Zentrale › Prüfungen bei 390 px: 476 px) */
.grid.kn117-reihe { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.grid.kn117-reihe > .card { display: flex; flex-direction: column; margin-top: 0; }
.grid.kn117-reihe > .card > .row.end:last-child { margin-top: auto; padding-top: 12px; }
.grid.kn117-reihe + * { margin-top: 16px; }
.nmatrix th[scope="row"] > span { white-space: normal; text-wrap: pretty; }
.nmatrix th[scope="row"] span span { display: inline; max-width: none; }
input.mo116-sw[type=checkbox] { width: 44px; height: 26px; }
