/* Gemeinsame Konturen und Desktop-Komponenten nach Christians Referenzbildern. */
:root{--card-line:color-mix(in srgb,var(--brand) 36%,var(--surface));--card-line-hover:color-mix(in srgb,var(--brand) 62%,var(--surface));--radius-karte:12px;--sidebar:224px;--topbar:72px;--pad-inhalt:24px}
:root[data-theme="dark"]{--card-line:rgba(255,255,255,.28);--card-line-hover:rgba(255,255,255,.50)}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--card-line:rgba(255,255,255,.28);--card-line-hover:rgba(255,255,255,.50)}}
.ui-icon{display:inline-block;width:22px;height:22px;flex-shrink:0;vertical-align:middle}
/* Leuchtende Akzente für die gewünschte Ampel; Textfarben bleiben kontrastreich. */
:root{--signal-ok:#00ad54;--signal-warn:#ffbe0b;--signal-critical:#ef3340}
.status--ok::before,.traffic-light--ok{background:var(--signal-ok)}.status--warn::before,.traffic-light--warn{background:var(--signal-warn)}.status--critical::before,.traffic-light--critical{background:var(--signal-critical)}
.rx-kpi__icon--critical,.rx-round-icon--critical,.rx-critical-banner .rx-round-icon--critical,.device-kpi--critical .device-kpi__symbol{background:var(--signal-critical);color:white;box-shadow:0 0 0 5px var(--critical-bg)}
.rx-kpi__icon--warn,.rx-round-icon--warn,.device-kpi--warn .device-kpi__symbol{background:var(--signal-warn);color:var(--nav);box-shadow:0 0 0 4px var(--warn-bg)}
.device-kpi--ok .device-kpi__symbol{background:var(--signal-ok);color:white;box-shadow:0 0 0 4px var(--ok-bg)}
.rx-meter--warn i{background:var(--signal-warn)}.device-kpi--ok .device-kpi__track>span{background:var(--signal-ok)}.device-kpi--warn .device-kpi__track>span{background:var(--signal-warn)}.device-kpi--critical .device-kpi__track>span{background:var(--signal-critical)}
.rx-system-card,.rx-alert-row,.rx-placeholder-stat,.rx-connector,.device-bms-card,.device-inspector-stat,.device-summary-metric{border-color:var(--card-line)}
.brand-symbol{width:34px;height:40px;color:var(--brand);flex-shrink:0;margin-top:2px}
.sidebar{padding-left:12px;padding-right:12px;background:linear-gradient(160deg,var(--nav),color-mix(in srgb,var(--nav) 88%,var(--data-5)))}
.brand{padding:0 8px;align-items:center}.main-nav__link{gap:12px;padding-left:12px;padding-right:10px;font-size:13px;white-space:nowrap;border:1px solid transparent}
.main-nav__link[aria-current="page"]{background:linear-gradient(100deg,var(--brand),color-mix(in srgb,var(--brand) 58%,var(--nav)));border-left:4px solid color-mix(in srgb,var(--brand) 50%,white);padding-left:9px;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.main-nav__link .ui-icon{width:21px;height:21px}.main-nav__link:hover{background:color-mix(in srgb,var(--brand) 28%,var(--nav))}.main-nav__count{margin-left:auto}.sidebar__foot{font-size:11px}.sidebar__foot strong{font-size:12px}
.topbar{gap:18px;box-shadow:0 2px 16px color-mix(in srgb,var(--brand) 5%,transparent)}
.global-search{max-width:420px;min-width:200px;flex:1}.global-search .ui-icon{color:var(--muted);width:19px}.topbar__trail{margin-left:auto}.topbar__rechts{gap:16px}
.preview-state{display:flex;align-items:center;gap:9px;padding:8px 13px;border:1px solid var(--card-line);background:var(--info-bg);border-radius:8px;color:var(--info)}
.preview-state .ui-icon{width:24px;height:24px}.preview-state strong,.preview-state small{display:block}.preview-state strong{font-size:12px}.preview-state small{font-size:11px;margin-top:2px;color:var(--muted)}
.theme-switch .knopf{min-width:35px;padding:0 8px}.theme-switch .ui-icon{width:17px;height:17px}.theme-switch .knopf span{display:none}
.page-head h1{font-size:30px;letter-spacing:-.045em;font-weight:760}.page-head p{font-size:14px}.page-head{margin-bottom:20px}
.karte{border:1px solid var(--card-line);border-radius:12px;box-shadow:0 3px 14px color-mix(in srgb,var(--brand) 4%,transparent)}
.rx-kpi,.rx-module,.rx-alert,.rx-stat,.rx-camera-card,.device-resource,.device-inspector,.device-metric,.device-resource-card,.device-identity,.customer-location-card{border-color:var(--card-line)}
.status{gap:6px}.status .ui-icon{width:14px;height:14px}.design-badge,.subtle-pill{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:var(--info);border:1px solid var(--card-line);background:var(--info-bg);border-radius:7px;padding:6px 9px;font-size:11px;font-weight:600}.subtle-pill{color:var(--muted);background:var(--surface-2)}
.color-icon{width:48px;height:48px;border-radius:11px;display:flex;align-items:center;justify-content:center;color:var(--info);background:var(--info-bg);flex-shrink:0}.color-icon .ui-icon{width:29px;height:29px}.color-icon--red{color:var(--critical);background:var(--critical-bg)}
.customer-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.customer-summary{padding:18px;display:flex;gap:14px;align-items:center}.customer-summary>div>span{font-size:12px;font-weight:650}.customer-summary strong{font-size:29px;letter-spacing:-.04em;display:block;margin:3px 0}.customer-summary strong small{font-size:15px;font-weight:600}.customer-summary p{font-size:11px;color:var(--muted);margin:0}.customer-summary--critical{border-left:4px solid var(--critical)}
.customer-profile-strip{display:flex;align-items:center;gap:18px;padding:20px;margin-bottom:16px;background:linear-gradient(105deg,var(--info-bg),var(--surface) 55%)}
.customer-profile-logo{width:78px;height:66px;border:1px dashed var(--card-line-hover);background:var(--surface);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--info);flex-shrink:0}.customer-profile-logo .ui-icon{width:29px;height:29px}.customer-profile-logo small{font-size:9px;letter-spacing:.09em;font-weight:700}.customer-profile-name h2{font-size:22px;margin:3px 0 5px;letter-spacing:-.025em}.customer-profile-name p{font-size:12px;color:var(--muted);margin:0}.customer-profile-name .eyebrow{font-size:10px}.customer-profile-metrics{display:flex;gap:30px;margin-left:auto}.customer-profile-metrics div{display:flex;flex-direction:column;gap:3px}.customer-profile-metrics strong{font-size:24px}.customer-profile-metrics span{font-size:11px;color:var(--muted)}.text-critical{color:var(--critical)}
.customer-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;align-items:start}.customer-sites-panel{padding:18px;min-width:0}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.panel-title h2{font-size:17px;margin:0;letter-spacing:-.025em}.panel-title p{font-size:12px;color:var(--muted);margin:5px 0 0}.panel-title>.ui-icon{color:var(--info)}
.customer-site-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}.customer-location-card{text-decoration:none;color:var(--text);border:1px solid var(--card-line);border-radius:9px;overflow:hidden;background:var(--surface);transition:border-color .15s,box-shadow .15s}.customer-location-card:hover{border-color:var(--card-line-hover);box-shadow:var(--schatten-erhoben)}
.location-art{height:74px;position:relative;color:var(--info);background:linear-gradient(110deg,var(--info-bg),var(--surface-2));overflow:hidden}.location-art>svg{width:100%;height:100%;opacity:.85}.location-art>span{position:absolute;right:12px;top:12px;border:1px solid var(--card-line);border-radius:50%;display:grid;place-items:center;width:30px;height:30px;background:var(--surface)}.location-art>span .ui-icon{width:16px;height:16px}.location-art--1{color:var(--data-1)}.location-art--2{color:var(--data-5)}.location-art--3{color:var(--info)}
.customer-location-card__body{padding:12px}.customer-location-card h3{font-size:13px;margin:0 0 4px}.customer-location-card p{font-size:12px;color:var(--muted);margin:0 0 12px}.customer-location-card__body>div{display:flex;align-items:center;justify-content:space-between}.customer-location-card__body>div>.ui-icon{color:var(--info);width:18px}.customer-location-card--ok{border-bottom:3px solid var(--ok)}.customer-location-card--warn{border-bottom:3px solid var(--warn)}.customer-location-card--critical{border-bottom:3px solid var(--critical)}.customer-location-card--unknown{border-bottom:3px solid var(--unknown)}
.customer-table-wrap{overflow-x:auto}.customer-device-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.customer-device-table th{text-align:left;padding:11px 9px;background:var(--surface-2);font-size:11px}.customer-device-table td{padding:13px 9px;border-bottom:1px solid var(--border)}.customer-device-table tr:last-child td{border-bottom:0}.customer-device-table strong,.customer-device-table small{display:block}.customer-device-table small{font-size:11px;color:var(--muted);margin-top:4px}.resource-chip{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px}.resource-chip .ui-icon{width:16px;height:16px}.table-action{display:grid;place-items:center;width:32px;height:32px;color:var(--info);background:var(--info-bg);border-radius:6px}.table-action .ui-icon{width:17px;height:17px}
.customer-side-stack,.camera-side-stack{display:flex;flex-direction:column;gap:16px}.customer-side-stack>.karte,.camera-side-stack>.karte{padding:18px}.traffic-summary{display:grid;gap:8px}.traffic-summary>div{display:flex;align-items:center;gap:9px;background:var(--surface-2);border-radius:7px;padding:10px;font-size:12px}.traffic-summary strong{margin-left:auto;font-size:17px}.traffic-light{width:11px;height:11px;border-radius:50%;background:var(--unknown);flex-shrink:0;box-shadow:0 0 0 4px var(--unknown-bg)}.traffic-light--ok{background:var(--ok);box-shadow:0 0 0 4px var(--ok-bg)}.traffic-light--warn{background:var(--warn);box-shadow:0 0 0 4px var(--warn-bg)}.traffic-light--critical{background:var(--critical);box-shadow:0 0 0 4px var(--critical-bg)}
.panel-note{font-size:11px;color:var(--muted);line-height:1.5;margin:13px 0 0}.customer-module-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.customer-module-grid a{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px 9px;border:1px solid var(--card-line);background:var(--surface-2);border-radius:8px;text-decoration:none}.customer-module-grid .ui-icon{color:var(--info);margin-bottom:3px}.customer-module-grid a:nth-child(2) .ui-icon{color:var(--warn)}.customer-module-grid strong{font-size:12px;color:var(--text)}.customer-module-grid small{font-size:10px;color:var(--muted)}.customer-brand-note{display:flex;gap:10px;background:var(--info-bg)}.customer-brand-note>.ui-icon{color:var(--info)}.customer-brand-note h3{font-size:12px;margin:0 0 6px}.customer-brand-note p{font-size:11px;line-height:1.55;margin:0;color:var(--muted)}
.camera-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:16px;align-items:start}.camera-monitor-wall{padding:18px;min-width:0}.camera-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.camera-tile{border:1px solid var(--card-line);border-radius:9px;overflow:hidden}.camera-scene{position:relative;aspect-ratio:1.8;background:var(--nav);color:var(--data-4);overflow:hidden}.camera-scene>svg{position:absolute;inset:0;width:100%;height:100%}.camera-scene__meta{position:absolute;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.1em;color:white;opacity:.75}.camera-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:white}.camera-placeholder>.ui-icon{width:28px;height:28px;margin-bottom:3px;color:var(--data-4)}.camera-placeholder strong{font-size:12px;font-weight:550}.camera-placeholder span{font-size:10px;opacity:.6}.viewfinder{position:absolute;width:15px;height:15px;border:1px solid var(--data-4);opacity:.6}.viewfinder--tl{top:38px;left:14px;border-bottom:0;border-right:0}.viewfinder--br{bottom:15px;right:14px;border-top:0;border-left:0}.camera-tile__caption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px}.camera-tile__caption strong,.camera-tile__caption small{display:block}.camera-tile__caption strong{font-size:12px}.camera-tile__caption small{color:var(--muted);font-size:10px;margin-top:4px}.camera-tile__caption .status{font-size:10px;padding:4px 6px}.camera-wall-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-top:17px}.camera-wall-footer>span:first-child{display:flex;align-items:center;gap:7px}.camera-wall-footer .ui-icon{width:16px;height:16px}
.camera-source-card>.color-icon{margin-bottom:14px}.camera-source-card h2{font-size:22px;margin:0 0 8px}.camera-source-card p{font-size:12px;color:var(--muted);line-height:1.6}.camera-source-card dl{margin:20px 0 0}.camera-source-card dl>div{display:flex;justify-content:space-between;gap:8px;padding:12px 0;border-top:1px solid var(--border);font-size:11px}.camera-source-card dt{color:var(--muted)}.camera-source-card dd{margin:0;font-weight:600;text-align:right}.camera-feature{display:flex;gap:11px;margin-bottom:18px}.camera-feature:last-child{margin-bottom:0}.camera-feature>.color-icon{width:35px;height:35px;border-radius:8px}.camera-feature .ui-icon{width:21px;height:21px}.camera-feature strong{font-size:12px}.camera-feature p{font-size:11px;line-height:1.5;color:var(--muted);margin:3px 0 0}
@media(max-width:1199px){.preview-state{padding:7px}.preview-state small{display:none}.customer-detail-layout{grid-template-columns:minmax(0,1fr) 270px}.customer-profile-strip{flex-wrap:wrap}.customer-profile-metrics{gap:20px}.customer-summary{padding:14px;gap:10px}.customer-summary .color-icon{width:37px;height:37px}.customer-summary p{font-size:10px}.camera-layout{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:900px){.preview-state{display:none}.customer-detail-layout,.camera-layout{grid-template-columns:1fr}.customer-side-stack,.camera-side-stack{display:grid;grid-template-columns:1fr 1fr}.customer-brand-note{grid-column:1/-1}.customer-summary-grid{gap:10px}.customer-summary{align-items:flex-start;flex-direction:column}.customer-profile-strip>.status{margin-left:auto}}
@media(max-width:767px){.topbar{gap:9px}.topbar__rechts{gap:5px}.page-head h1{font-size:25px}.page-head p{font-size:12px}.design-badge{font-size:10px;padding:5px 7px}.customer-summary-grid{grid-template-columns:1fr 1fr}.customer-summary{flex-direction:row}.customer-summary strong{font-size:25px}.customer-summary p{font-size:10px}.customer-profile-strip{padding:16px;gap:12px}.customer-profile-name{flex:1;min-width:180px}.customer-profile-name h2{font-size:20px}.customer-profile-logo{width:60px}.customer-profile-metrics{margin-left:0}.customer-profile-strip>.status{font-size:10px}.customer-side-stack,.camera-side-stack{grid-template-columns:1fr}.customer-site-cards{gap:9px}.customer-location-card h3{font-size:12px}.customer-location-card__body{padding:10px}.customer-location-card .status{font-size:10px}.customer-location-card p{font-size:11px}.customer-device-table{min-width:570px}.customer-sites-panel,.camera-monitor-wall{padding:14px}.panel-title h2{font-size:16px}.panel-title p{font-size:11px}.camera-grid{grid-template-columns:1fr}.camera-wall-footer{flex-wrap:wrap}.camera-placeholder strong{font-size:14px}.camera-placeholder span{font-size:12px}.camera-tile__caption strong{font-size:14px}.camera-tile__caption small{font-size:12px}.camera-tile__caption .status{font-size:11px}.mobile-nav>.mobile-nav__more .ui-icon,.mobile-nav>a>.ui-icon{width:24px;height:24px}.mobile-nav>*{min-width:0;flex:1;padding:5px 6px}.mobile-nav>* span{font-size:10px}}
/* AUTH DESIGN · 26.10.2026 · Arbeitsliste 4, A1–A3.
   Ausschliesslich die eigenstaendigen Zugangsseiten mit body.auth-seite.
   Farben sind Aliase vorhandener Marken-/Status-Tokens; tokens.css und
   noc4u-brand.css bleiben unveraendert. Masse fuer den neuen Auth-Rahmen
   stehen hier, damit keine neue Feature-Palette oder versteckte Abweichung entsteht.
   Die zwei gleich grossen Spalten ab 820 px halten die Bildschirmmitte frei.
   Die PIN bleibt ein echtes Feld, die sechs Stellen sind nur Hintergrundlinien. */
.auth-seite{
  --auth-bg:var(--noc-charcoal);--auth-bg-tief:var(--nav);--auth-bg-schein:var(--noc-forest);
  --auth-on-dark:var(--noc-white);--auth-muted-on-dark:var(--data-4);--auth-accent-on-dark:var(--noc-lime);
  --auth-line-on-dark:color-mix(in srgb,var(--noc-white) 24%,transparent);
  --auth-card:var(--surface);--auth-field:var(--surface);--auth-field-line:var(--muted);--auth-focus:var(--brand);
  --auth-pin-linie:var(--muted);--auth-card-radius:20px;--auth-card-breite:520px;--auth-shell-breite:1280px;
  --auth-seitenrand:clamp(var(--s2),4vw,calc(var(--s4)*2));--auth-spaltengap:clamp(48px,6vw,80px);
  --auth-kartenpad:clamp(var(--s3),2.5vw,40px);--auth-titel:clamp(var(--h1-mobil),2.8vw,34px);
  --auth-einstieg-titel:clamp(34px,4.3vw,58px);--auth-einstieg-titel-mobil:28px;--auth-einstieg-versatz:calc(var(--s4)*2.5);
  --auth-pin-zelle:clamp(40px,6vw,48px);--auth-pin-hoehe:56px;--auth-pin-schrift:24px;
  --dauer-kurz:160ms;--dauer:320ms;--dauer-lang:640ms;--kurve:cubic-bezier(.2,.7,.2,1);
}

/* LISTE 8 · B1-B8 · 27.10.2026
   Gemeinsame Website-Marke, ruhige Arbeitsflaechen. Bestehende Tokens bleiben
   die Farbquelle. Keine Statuskontur, Sichtbarkeit oder Navigationslogik ersetzen.
   Gezielte Selektoren, da die Komponentenblaetter anschliessend geladen werden. */

/* B1/B2: dunkler Markenrahmen, gruene Akzente mit weniger Flaechenanteil. */
body .sidebar{background:linear-gradient(165deg,var(--noc-charcoal),var(--nav))}
body .sidebar .brand{gap:10px;padding-block:4px}
body .sidebar .brand .brand-symbol{filter:none}
body .sidebar .brand small{font-size:8.5px;line-height:1.5;letter-spacing:.01em;text-transform:none;color:var(--data-4)}
body .sidebar .main-nav__link{min-height:44px;border-radius:10px;line-height:1.35}
body .sidebar .main-nav__link[aria-current="page"]{
  background:color-mix(in srgb,var(--noc-lime) 12%,var(--nav));color:var(--noc-white);
  border-color:color-mix(in srgb,var(--noc-lime) 28%,var(--nav));border-left-width:1px;
  padding-left:12px;box-shadow:inset 3px 0 0 var(--noc-lime);font-weight:700;
}
body .sidebar .main-nav__link[aria-current="page"] .main-nav__count{background:var(--nav);color:var(--data-4)}
body .sidebar .main-nav__link:focus-visible{outline:2px solid var(--noc-lime);outline-offset:3px}
body .topbar{box-shadow:none}
body .app-main :is(.page-head,.db-page-heading,.cm-page-head) h1{letter-spacing:-.04em;line-height:1.18}
body .app-main :is(.page-head,.db-page-heading,.cm-page-head) p{line-height:1.65}
body .app-main :is(.karte,.ca-ticket-card,.camera-tile,.ic-choice){border-radius:16px}
body .app-main .karte:not([data-card-state]){box-shadow:var(--schatten-karte)}
body .app-main :is(.db-group,.device-bms-card,.customer-location-card){border-radius:12px}
body .app-main .db-group{background:var(--surface);padding:16px}
body .app-main .db-kpi-copy small{font-size:12px;line-height:1.5}
body .app-main .db-group-main small{font-size:12px;line-height:1.5}
body .app-main .db-section-heading h2{letter-spacing:-.025em}
body .app-main .db-list-tools input{min-height:44px;background:var(--surface-2)}

/* B3: derselbe Kartenrhythmus in der Kunden-App; Bedienwege bleiben erhalten. */
body .app-main .cm-page-head{margin-bottom:22px}
body .app-main .cm-page-head h1{font-size:clamp(27px,3vw,32px)}
body .app-main .cm-page-head p{font-size:13px}
body .app-main .cm-kpis{gap:12px}
body .app-main .cm-kpi{padding:16px;min-height:144px}
body .app-main :is(.cm-kpi__label,.cm-kpi small){font-size:12px;line-height:1.45}
body .app-main :is(.cm-section-head h2,.cm-ticket-form__head h2){font-size:19px;line-height:1.3;letter-spacing:-.025em}
body .app-main :is(.cm-home-device p,.cm-site-hero p,.cm-site-preview__body small){font-size:12px;line-height:1.6}
body .app-main .cm-ticket-list{gap:12px}
body .app-main .ca-ticket-card summary{min-height:80px;padding:14px;gap:9px}
body .app-main .ca-ticket-copy strong{font-size:13px;line-height:1.45}
body .app-main .ca-ticket-copy small{font-size:11px;line-height:1.55}
body .app-main .ca-ticket-body p{font-size:13px;line-height:1.65}
body .app-main .cm-ticket-form{padding:22px}
body .app-main :is(.cm-field input,.cm-field select,.cm-field textarea){border-radius:10px}
body .mobile-nav{box-shadow:var(--schatten-karte)}
body .mobile-nav>[aria-current="page"]{background:var(--surface-2);color:var(--info);box-shadow:inset 0 2px 0 var(--auswahl)}

/* B5: Herkunft und Zustand kommen weiterhin aus der bestehenden Ausgabe. */
body .app-main :is(.cm-ticket-loading,.am-empty,.db-empty),
body #customer-connected .cm-support-empty:not(:empty){
  padding:20px;border:1px dashed var(--border);border-radius:12px;
  background:var(--surface-2);color:var(--muted);font-size:13px;line-height:1.65;
}
body .app-main .am-alert-empty{padding:16px;gap:12px;line-height:1.6}
body .app-main .cm-form-message{border:1px solid var(--border);border-radius:10px;padding:13px 14px;font-size:13px;line-height:1.6}
body .app-main .cm-photo-error:not(:empty){padding:12px 14px;border:1px solid var(--critical);border-radius:10px;background:var(--critical-bg);font-size:13px;line-height:1.6}

/* B6: ein ruhiges Muster fuer die schon vorhandenen Vorschau-/Quellhinweise.
   Insbesondere keine pseudo-element Texte: verbundene Inhalte bleiben verbunden. */
body .app-main :is(.demo-marke,.db-demo-pill,.am-demo-pill,.device-source--demo,.ic-scope-label){
  padding:6px 10px;border:1px solid var(--border);border-radius:8px;
  background:var(--surface-2);color:var(--muted);font-size:11px;font-weight:650;
  line-height:1.5;letter-spacing:.01em;white-space:normal;
}
body .app-main .preview-state{border-color:var(--border);background:var(--surface-2);color:var(--muted);border-radius:10px}
body .app-main .preview-state strong{color:var(--text)}
body .app-main :is(.cm-source-note,.ic-snapshot-note){
  padding:12px 14px;border:1px solid var(--border);border-radius:10px;
  background:var(--surface-2);color:var(--muted);font-size:12px;line-height:1.65;
}

/* B7: neutrale Quellenplaetze, keine inszenierten Kamerabilder. */
body .app-main .device-identity__body dl>div{padding-block:5px;font-size:12px;line-height:1.5}
body .app-main .device-section-head p{font-size:12px;line-height:1.6}
body .app-main .device-bms-card{padding:12px}
body .app-main .device-bms-card small{font-size:12px;line-height:1.5}
body .app-main .device-bms-card em{font-size:11px;line-height:1.5}
body .app-main .device-camera__stage{background:var(--surface-2);color:var(--text);border:1px dashed var(--border);border-radius:12px;gap:9px;padding:22px 18px}
body .app-main .device-camera__stage::before,body .app-main .device-camera__stage::after{content:none}
body .app-main .device-camera__icon{background:var(--surface);color:var(--muted);border-color:var(--border)}
body .app-main .device-camera__stage small{max-width:34ch;color:var(--muted);font-size:12px;line-height:1.6}
body .app-main .camera-scene{background:var(--surface-2);color:var(--muted)}
body .app-main .camera-scene>svg{color:var(--muted);opacity:.12}
body .app-main .camera-scene__meta{color:var(--muted);font-size:10px;opacity:1}
body .app-main .camera-placeholder{color:var(--text);padding:36px 14px 16px;text-shadow:none;gap:7px}
body .app-main .camera-placeholder>.ui-icon{color:var(--muted)}
body .app-main .camera-placeholder strong{font-size:14px}
body .app-main .camera-placeholder span{font-size:12px;line-height:1.5;color:var(--muted);opacity:1;text-align:center}
body .app-main .camera-tile__caption{padding:14px}
body .app-main .camera-tile__caption small{font-size:12px;line-height:1.5}
body .app-main .camera-source-card p{font-size:13px}

/* B8: vorhandene native Details, mehr Ruhe und groessere Klick-/Fokusflaechen. */
body .app-main :is(.ic-delivery,.ic-progress){border-radius:16px;background:var(--surface);padding:18px}
body .app-main :is(.ic-delivery,.ic-progress,.ic-diagnostics)>summary{min-height:44px;line-height:1.55}
body .app-main :is(.ic-delivery,.ic-progress,.ic-diagnostics)>summary:focus-visible{outline:3px solid var(--brand);outline-offset:5px;border-radius:6px}
body .app-main :is(.ic-delivery,.ic-progress)[open]>summary{padding-bottom:15px;border-bottom:1px solid var(--border);margin-bottom:18px}
body .app-main .ic-choice__summary{font-size:12px;line-height:1.6}
body .app-main .ic-choice__status{font-size:11px}
body .app-main :is(.ic-progress-grid p,.ic-progress-grid li,.ic-delivery-list strong){font-size:12px;line-height:1.7}
body .app-main .ic-delivery-list p{font-size:12px;line-height:1.6}
body .app-main .ic-diagnostics{padding:16px 18px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}

@media(min-width:768px){
  body .topbar{background:var(--surface);border-bottom:1px solid var(--border)}
  body .app-main :is(.db-page-heading,.page-head){margin-bottom:24px}
  body .app-main :is(.db-page-heading,.page-head) h1{font-size:30px}
}
@media(max-width:767px){
  body .topbar .mobile-wordmark{display:grid;grid-template-columns:22px auto;column-gap:6px;row-gap:2px;align-items:center;min-width:96px;flex:none;line-height:1}
  body .topbar .mobile-brand-symbol{grid-column:1;grid-row:1/3;width:22px;height:22px}
  body .topbar .mobile-wordmark strong{grid-column:2;font-size:17px;line-height:1}
  body .topbar .mobile-wordmark small{grid-column:2;font-size:8px;line-height:1.2;margin:0}
  body .app-main :is(.karte,.ca-ticket-card,.camera-tile,.ic-choice){border-radius:14px}
  body .app-main .db-group{padding:14px}
  body .app-main .cm-kpi{padding:14px}
  body .app-main .cm-kpi strong{font-size:24px}
  body .app-main .cm-ticket-form{padding:18px}
  body .app-main .device-bms-card{padding:10px}
  body .app-main :is(.ic-delivery,.ic-progress,.ic-diagnostics){padding:15px}
  body .app-main .ic-choice__summary{font-size:11px}
}
@media(max-width:430px){
  body .app-main .ca-ticket-card summary{gap:7px;padding:12px}
  body .app-main .ca-ticket-body{padding-left:14px}
  body .app-main .camera-scene{aspect-ratio:1.6}
}

/* B4: kein dekoratives Dauerpulsieren; nur vorhandene Messwert-Uebergaenge.
   Deren Datenquelle und Aktualisierung bleiben unberuehrt. */
body .app-main .live-demo-root[data-live-demo-running="true"] .live-demo-point{animation:none}
@media(prefers-reduced-motion:reduce){
  body .app-main *,body .sidebar,body .mobile-nav *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* LISTE 8 · B-Nachtrag · 28.10.2026
   K1/K2: lesbare Ticketzahl und solider Suchfokus. N2: aktive Navigation
   mit derselben Aktionsfarbe wie die Hauptaktionen, in beiden App-Bereichen. */
body .mobile-nav .mobile-ticket-badge{background:var(--critical-bg);color:var(--critical)}
body .global-search:focus-within{outline:3px solid var(--brand);outline-offset:3px}
body .sidebar .main-nav__link[aria-current="page"]{
  background:var(--brand-action);color:var(--brand-on-action);
}
body .mobile-nav>[aria-current="page"]{
  background:var(--brand-action);color:var(--brand-on-action);
  box-shadow:inset 0 2px 0 var(--noc-lime);
}

/* Liste 12 S3: only dynamic name fields; table and navigation geometry stay intact. */
body .app-main .customer-profile-strip .customer-profile-name,
body .app-main .ss-store-hero__copy,
body .app-main .device-detail-head>div,
body .app-main .device-list-table .device-table-identity>span:last-child{min-width:0}
body .app-main .customer-profile-name h2,
body .app-main .customer-location-card h3,
body .app-main .ss-store-hero__copy h1,
body .app-main .ss-store-device strong,
body .app-main .device-detail-head h1,
body .app-main .device-identity__title h2{
  max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;
}
body .app-main .device-list-table .device-table-name,
body .app-main .customer-device-table td:first-child strong{
  display:block;max-inline-size:28ch;white-space:normal;overflow-wrap:anywhere;word-break:normal;
}

/* Arbeitsliste 14 U · Darstellung des vorhandenen serverseitigen Live/Demo-Gerüsts. */
body .nl-ansicht{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;align-items:stretch;width:min(100%,24rem);max-width:100%;box-sizing:border-box;margin:0 0 20px;padding:5px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2);isolation:isolate}
body .nl-ansicht__knopf{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:10px 16px;box-sizing:border-box;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);font:700 15px/1.4 var(--font);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;box-shadow:none;transition:background-color 120ms ease,color 120ms ease,border-color 120ms ease}
body .nl-ansicht__knopf:is([aria-pressed="true"],[aria-current="page"],:has(input:checked)){background:var(--surface);color:var(--text);border-color:var(--border);box-shadow:var(--schatten-karte)}
body .nl-ansicht__knopf:hover{background:var(--info-bg);color:var(--info)}
body .nl-ansicht__knopf:active{border-color:var(--info)}
body .nl-ansicht__knopf:focus-visible,body .nl-ansicht__knopf:focus-within{outline:3px solid var(--info);outline-offset:2px}
body .nl-ansicht__knopf:is(:disabled,[aria-disabled="true"]){color:var(--muted);background:var(--surface-2);border-color:var(--border);box-shadow:none;cursor:default;white-space:normal}
body .nl-live__punkt{display:inline-block;width:8px;height:8px;flex:none;border-radius:50%;background:var(--ok);animation:nl-live-quelle 3s ease-in-out infinite}
@keyframes nl-live-quelle{0%,100%{opacity:1}50%{opacity:.65}}
/* Veralteter Entwurfsalias entfernt; kanonische age-/fetch-Haken in K/L. */
body .nl-ansicht[hidden]{display:none}
@media(max-width:479px){body .nl-ansicht{width:100%;margin-bottom:16px}body .nl-ansicht__knopf{padding-inline:10px;font-size:15px}}
@media(prefers-reduced-motion:reduce){body .nl-live__punkt{animation:none}body .nl-ansicht__knopf{transition:none}}
@media(forced-colors:active){body .nl-ansicht,body .nl-ansicht__knopf{forced-color-adjust:auto;border-color:currentColor}body .nl-ansicht__knopf:is([aria-pressed="true"],[aria-current="page"]){outline:2px solid currentColor;outline-offset:-4px}body .nl-live__punkt{background:currentColor;animation:none}}

/* Arbeitsliste 14 K · Quelle, Datenalter und Abruffehler bleiben getrennte Zustände. */
body .nl-live__band,body .nl-source-note,body .nl-demo-band{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0;min-height:68px;box-sizing:border-box;padding:16px 18px;border:1px solid var(--border);border-radius:12px;line-height:1.55;overflow-wrap:anywhere}
body .nl-live__band,body .nl-source-note{background:var(--ok-bg);color:var(--ok);border-left:4px solid var(--ok);font-weight:600}
body .nl-demo-band{background:var(--warn-bg);color:var(--warn);border:1px solid var(--warn);border-left-width:4px;font-weight:650;margin:0 0 20px}
body .nl-demo-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:3px 8px;border:1px solid var(--warn);border-radius:6px;background:var(--warn-bg);color:var(--warn);font-size:11px;font-weight:800;line-height:1.4;letter-spacing:.04em;white-space:nowrap}
body .nl-demo-badge::before{content:"◇";font-size:12px}
body .nl-source-note[data-live-age-state="stale"]{background:var(--warn-bg);color:var(--warn);border-left-color:var(--warn)}
body .nl-source-note[data-live-age-state="missing"],body .nl-source-note[data-live-age-state="unknown"]{background:var(--unknown-bg);color:var(--unknown);border-left-color:var(--unknown)}
body .nl-source-note[data-live-fetch-state="error"]{background:var(--critical-bg);color:var(--critical);border-left-color:var(--critical)}
body [data-live-age-state="stale"] .nl-live__punkt,body [data-live-fetch-state="error"] .nl-live__punkt{animation:none;background:currentColor}
body .nl-source-note__text{min-width:0;flex:1}
body .nl-source-note__text strong,body .nl-source-note__text small{display:block}
body .nl-source-note__text small{font-weight:500;font-size:13px;line-height:1.6}
body .nl-print-only{display:none}
body .nl-demo-hint{padding:14px 16px;border:1px solid var(--warn);border-radius:10px;background:var(--warn-bg);color:var(--warn);font-size:14px;line-height:1.6}
@media(max-width:479px){body .nl-live__band,body .nl-source-note,body .nl-demo-band{padding:14px;align-items:flex-start}}
@media(forced-colors:active){body .nl-live__band,body .nl-source-note,body .nl-demo-band,body .nl-demo-badge,body .nl-demo-hint{forced-color-adjust:auto;border:2px solid currentColor}}
@media print{body .nl-print-only{display:block}body .nl-demo-band,body .nl-demo-badge,body .nl-demo-hint{border:2px solid currentColor;background:var(--surface);color:var(--text);box-shadow:none}body .nl-live__punkt{animation:none}body .nl-demo-band{break-inside:avoid;font-weight:800}body .nl-source-note{break-inside:avoid;border:1px solid currentColor;background:var(--surface);color:var(--text)}}

/* Arbeitsliste 14 L · Live-Karten und vorbereitete Player-Komponenten. */
body .nl-live{gap:20px;min-width:0;margin-bottom:28px}
body .nl-live h2{font-size:20px;line-height:1.35;letter-spacing:-.02em}
body .nl-live__kacheln{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:14px}
body .nl-live__kachel{min-width:0;padding:20px;gap:8px;align-content:start;background:var(--surface);border-color:var(--border)}
body .nl-live__kachel>span{font-size:13px;color:var(--muted);line-height:1.5}
body .nl-live__kachel strong{font-size:clamp(27px,3vw,36px);font-weight:760;line-height:1.15;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
body .nl-live__laeden{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
body .nl-live__laden{min-width:0;gap:16px;padding:22px;border-color:var(--border);border-bottom-color:var(--border);background:var(--surface);box-shadow:var(--schatten-karte);align-items:flex-start}
body .nl-live__laden img{max-width:90px;height:36px;object-fit:contain;flex:none}
body .nl-live__laden>span{min-width:0;gap:7px}
body .nl-live__laden strong{font-size:17px;line-height:1.45;overflow-wrap:anywhere;hyphens:auto}
body .nl-live__laden small{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
body .nl-live__laden:hover{border-color:var(--info);box-shadow:var(--schatten-erhoben)}
body .nl-live__laden:focus-visible{outline:3px solid var(--info);outline-offset:3px}
body .nl-state{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid currentColor;border-radius:7px;background:var(--unknown-bg);color:var(--unknown);font-size:12px;font-weight:700;line-height:1.45;max-width:100%}
body .nl-state[data-state="online"]{background:var(--ok-bg);color:var(--ok)}
body .nl-state:is([data-state="error"],[data-state="alarm"]){background:var(--critical-bg);color:var(--critical)}
body .nl-state[data-state="warning"]{background:var(--warn-bg);color:var(--warn)}
body .nl-player-list{display:grid;gap:14px;min-width:0}
body .nl-player{min-width:0;padding:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}
body .nl-player__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
body .nl-player__name{font-size:17px;font-weight:720;line-height:1.45;overflow-wrap:anywhere;min-width:0}
body .nl-player__meta{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px;color:var(--muted);font-size:13px;line-height:1.6}
body .nl-player__states{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
body .nl-empty{padding:28px;border:1px dashed var(--border);border-radius:14px;background:var(--surface-2);color:var(--text)}
body .nl-empty p{color:var(--muted);margin-bottom:0}
body .nl-skeleton{height:18px;border-radius:6px;background:linear-gradient(90deg,var(--surface-2),var(--border),var(--surface-2));background-size:200% 100%;animation:nl-skeleton 2s ease-in-out infinite}
@keyframes nl-skeleton{0%,100%{opacity:.65}50%{opacity:1}}
body .nl-history{display:grid;gap:8px;margin-top:16px}
body .nl-history__track{display:flex;min-height:20px;gap:2px;border:1px solid var(--border);padding:3px;border-radius:5px;background:var(--surface-2)}
body .nl-history__track>span{flex:1;background:var(--data-luecke)}
body .nl-history__track>[data-state="online"]{background:var(--ok)}
body .nl-history__track>[data-state="offline"]{background:var(--unknown)}
body .nl-history__legend{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px}
body .nl-filter{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);margin-bottom:20px}
body .nl-filter label{min-width:0;flex:1 1 160px;display:grid;gap:6px;font-size:13px;font-weight:650;margin:0}
body .nl-filter select{width:100%;min-width:0;min-height:44px;padding:9px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);color:var(--text);font:inherit;font-size:16px}
body .nl-map{min-height:240px;position:relative;border:1px solid var(--border);border-radius:14px;background:var(--surface-2);padding:20px;display:grid;gap:20px}
body .nl-map__row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px;border-bottom:1px solid var(--border)}
body .nl-map__point{display:inline-block;width:14px;height:14px;border:2px solid var(--info);border-radius:50%;background:var(--info);flex:none}
body .nl-map__point[data-origin="demo"]{background:transparent;border-color:var(--warn);border-radius:2px;transform:rotate(45deg)}
/* K-Nachprüfung: ein fehlender Stand darf keinen grünen pulsierenden Punkt behalten. */
body [data-live-age-state="missing"] .nl-live__punkt,body [data-live-age-state="unknown"] .nl-live__punkt{animation:none;background:currentColor}
@media(max-width:479px){body .nl-live__kachel,body .nl-live__laden,body .nl-player{padding:16px}body .nl-live__laden{gap:12px}body .nl-live__laden strong{font-size:16px}body .nl-live__laden img{max-width:72px;height:30px}}
@media(prefers-reduced-motion:reduce){body .nl-skeleton{animation:none}}
@media print{body .nl-filter{display:none}body .nl-player,body .nl-live__laden{break-inside:avoid;box-shadow:none}body .nl-skeleton{animation:none}}

/* Arbeitsliste 14 D · Dashboardrhythmus und Quellenfuss. */
body .db-workspace>.nl-ansicht,body .am-admin-mobile>.nl-ansicht{margin-top:4px}
body .db-workspace>.nl-demo-band,body .am-admin-mobile>.nl-demo-band{margin-bottom:24px}
body .nl-live__quelle{margin:0;padding-top:12px;border-top:1px solid var(--border);color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
body .nl-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
body .nl-dashboard-head>div{min-width:0}
body .nl-dashboard-head img{max-width:84px;height:36px;object-fit:contain}
body .nl-ticket-placeholder{padding:20px;border:1px dashed var(--border);border-radius:14px;background:var(--surface-2);color:var(--muted);min-width:0}
body .nl-ticket-placeholder strong{display:block;color:var(--text);font-size:17px;margin-bottom:8px}
@media(max-width:479px){body .nl-dashboard-head{gap:10px}body .nl-dashboard-head>div{flex:1 1 190px}}

/* Arbeitsliste 14 Q · aktiver Zustand auch als deutlich sichtbare Kontur. */
body .nl-ansicht__knopf:is([aria-pressed="true"],[aria-current="page"],:has(input:checked)):not(:disabled):not([aria-disabled="true"]){border-color:var(--info)}

/* Arbeitsliste 14 P · Vorführklasse, keine automatische Aktivierung. */
@media(min-width:1440px){body.vorfuehrung .db-page-heading h1{font-size:40px}body.vorfuehrung .nl-live__kachel strong{font-size:46px}body.vorfuehrung .nl-live__kachel>span{font-size:18px}body.vorfuehrung .nl-live__laden strong{font-size:23px}body.vorfuehrung .nl-live__laden small,body.vorfuehrung .nl-live__band{font-size:18px}body.vorfuehrung .nl-live__laeden{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.vorfuehrung .nl-live__punkt{animation:none}

/* Bestehender Claude-Haken für veralteten Abrufstand, keine neue Zeitbewertung. */
body .nl-live__band:has([data-live-veraltet]){background:var(--warn-bg);color:var(--warn);border-left-color:var(--warn)}
body .nl-live__band:has([data-live-veraltet]) .nl-live__punkt{animation:none;background:currentColor}

/* Liste16 · Aktualisierung „Live = Demo 1:1“: nur bestehende zulässige Unterschiede. */
body[data-ansicht=live] .topbar .preview-state{min-width:max-content;max-width:none;flex:0 0 auto;align-items:center;gap:8px;white-space:nowrap}
body[data-ansicht=live] .topbar .preview-state>span{min-width:max-content;max-width:none;flex:none}
body[data-ansicht=live] .topbar .preview-state strong{display:block;max-width:none;font-size:13px;line-height:1.4;white-space:nowrap;overflow-wrap:normal;word-break:normal}
body[data-ansicht=live] .topbar .preview-state small{display:none}
body .nl-ansicht--kopf .nl-live__punkt{flex:none;width:7px;height:7px}
body .nl-lv-tickets{min-width:0;padding:24px;border:1px solid var(--border);border-radius:var(--radius-karte);gap:16px}
body .nl-lv-tickets__kopf{align-items:flex-start;gap:16px;flex-wrap:wrap}
body .nl-lv-tickets__kopf h2{font-size:22px;line-height:1.4}
body .nl-lv-tickets__kopf a{display:inline-flex;align-items:center;min-height:44px;line-height:1.5;color:var(--info)}
body .nl-lv-tickets a:focus-visible{outline:3px solid var(--info);outline-offset:4px}
body .nl-lv-tickets ul{gap:0}
body .nl-lv-tickets li{padding-block:16px;gap:8px;min-width:0;overflow-wrap:anywhere}
body .nl-lv-tickets li:first-child{padding-top:0}
body .nl-lv-tickets li:last-child{border-bottom:0;padding-bottom:0}
body .nl-lv-tickets .kl-status{justify-self:start;line-height:1.5;font-size:12px}
body .nl-lv-tickets li>strong{font-size:15px;line-height:1.6}
body .nl-lv-tickets small{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
body .nl-lv-tickets [data-meldung-person]{display:block;overflow-wrap:anywhere;margin-block:4px}
body .nl-lv-tickets__leer{padding:20px;margin:0;border:1px dashed var(--border);border-radius:var(--radius-kontrolle);background:var(--surface-2);color:var(--muted);line-height:1.7}
@media(max-width:767px){body .nl-lv-tickets{padding:16px}}
@media(prefers-reduced-motion:reduce){body .nl-ansicht--kopf .nl-live__punkt{animation:none;transition:none}}
@media print{body .nl-lv-tickets li{break-inside:avoid}}

/* Liste16 · tatsächlich gelieferte Band-/Kreis-Haken, nur Live. Keine Demo-Ansicht ändern. */
body[data-ansicht=live] .lv-band{min-width:0;height:64px;border:1px solid var(--border);border-radius:var(--radius-kontrolle);padding:4px;gap:1px;align-items:end;background:var(--surface-2)}
body[data-ansicht=live] .lv-band__balken{min-width:0;border-radius:2px}
body[data-ansicht=live] .lv-band__balken--grau{border:1px solid var(--unknown);height:40%}
body[data-ansicht=live] .lv-band:focus-visible{outline:3px solid var(--info);outline-offset:4px}
body[data-ansicht=live] .lv-band-leer{padding:16px;border:1px dashed var(--border);border-radius:var(--radius-kontrolle);background:var(--surface-2);color:var(--muted);font-size:14px;line-height:1.7}
body[data-ansicht=live] .il-quelle__kopf{display:flex;align-items:center;flex-wrap:wrap;gap:16px;min-width:0}
body[data-ansicht=live] .il-quelle__kopf>div{min-width:0;flex:1 1 240px}
body[data-ansicht=live] .il-quelle__kopf h2{margin:0 0 6px;line-height:1.4}
body[data-ansicht=live] .il-quelle__kopf p{margin:0;color:var(--muted);line-height:1.65;overflow-wrap:anywhere}
body[data-ansicht=live] .il-quelle__inhalt{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:32px;align-items:center;margin-top:24px}
body[data-ansicht=live] .il-kreis{margin:0;display:grid;gap:20px;justify-items:center;min-width:0}
body[data-ansicht=live] .il-kreis__ring{position:relative;width:clamp(148px,18vw,224px);height:auto;max-width:100%;aspect-ratio:1;border-radius:50%;background:var(--unknown-bg)}
body[data-ansicht=live] .il-kreis__ring:not(.il-kreis__ring--unknown){background:conic-gradient(var(--ok) 0 var(--il-ok,0deg),var(--critical) var(--il-ok,0deg) 360deg)}
body[data-ansicht=live] .il-kreis__ring--unknown{border:1px dashed var(--unknown)}
body[data-ansicht=live] .il-kreis__ring>span{position:absolute;inset:15%;width:auto;height:auto;display:grid;place-content:center;text-align:center;gap:4px;border-radius:50%;background:var(--surface);color:var(--text)}
body[data-ansicht=live] .il-kreis__ring strong{font-size:clamp(24px,3vw,36px);line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body[data-ansicht=live] .il-kreis__ring small{font-size:12px;color:var(--muted);line-height:1.5}
body[data-ansicht=live] .il-kreis figcaption{display:grid;gap:10px;width:100%;max-width:300px;font-size:14px;line-height:1.6}
body[data-ansicht=live] .il-kreis figcaption>span{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:8px}
body[data-ansicht=live] .il-kreis figcaption>small{color:var(--muted);font-size:12px}
body[data-ansicht=live] .il-punkt{width:10px;height:10px;border-radius:50%;display:inline-block;border:1px solid currentColor}
body[data-ansicht=live] .il-punkt--ok{background:var(--ok);color:var(--ok)}
body[data-ansicht=live] .il-punkt--fehler{background:var(--critical);color:var(--critical)}
body[data-ansicht=live] .il-fakten{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}
body[data-ansicht=live] .il-fakten>div{min-width:0;padding:16px;border:1px solid var(--border);border-radius:var(--radius-kontrolle);background:var(--surface-2)}
body[data-ansicht=live] .il-fakten dt{color:var(--muted);font-size:12px;line-height:1.6}
body[data-ansicht=live] .il-fakten dd{margin:6px 0 0;font-size:16px;line-height:1.6;font-weight:650;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
@media(max-width:767px){body[data-ansicht=live] .lv-band{height:48px;gap:0;padding:2px}body[data-ansicht=live] .il-quelle__inhalt{grid-template-columns:minmax(0,1fr);gap:24px}body[data-ansicht=live] .il-fakten{grid-template-columns:minmax(0,1fr)}}
@media(forced-colors:active){body[data-ansicht=live] .lv-band__balken{outline:1px solid currentColor}body[data-ansicht=live] .il-kreis__ring{outline:2px solid currentColor}}
@media(prefers-reduced-motion:reduce){body[data-ansicht=live] .lv-band,body[data-ansicht=live] .il-kreis__ring{animation:none;transition:none}}

/* L16 M1 · Messe-Grossbild auf dem bestehenden Live-Dashboard.
   Bewusst nur Bildschirm >=1440px; keine neuen Daten, Haken oder Funktionen. */
@media screen and (min-width:1440px){
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-workspace{max-width:1920px;margin-inline:auto;padding:8px 8px 24px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-page-heading{gap:24px;align-items:flex-start;margin-bottom:24px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-page-heading h1{font-size:44px;line-height:1.18}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-page-heading p{font-size:20px;line-height:1.55;max-width:70ch}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-workspace .nl-live__band{padding:16px 20px;font-size:18px;line-height:1.6;gap:12px;flex-wrap:wrap}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-context-line{font-size:17px;line-height:1.6;gap:12px 20px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-kpis{gap:20px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-kpi{min-height:160px;padding:24px 20px;align-items:flex-start;gap:16px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-kpi-copy{gap:8px;overflow-wrap:anywhere}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-kpi-copy>span{font-size:20px;line-height:1.4}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-kpi-copy strong{font-size:64px;line-height:1.05;font-variant-numeric:tabular-nums}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-kpi-copy small{font-size:16px;line-height:1.5}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-maintenance{padding-block:16px;font-size:16px;line-height:1.6}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .nl-lv-tickets{margin-block:24px;padding:28px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .nl-lv-tickets__kopf h2{font-size:28px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .nl-lv-tickets__kopf a{font-size:18px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .nl-lv-tickets li>strong{font-size:20px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .nl-lv-tickets small{font-size:18px;line-height:1.6}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .nl-lv-tickets .kl-status{font-size:16px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .nl-lv-tickets__leer{font-size:20px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-attention{padding:28px;margin-bottom:24px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-section-heading h2{font-size:28px;line-height:1.35}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-section-heading p{font-size:18px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-list-tools{gap:20px;flex-wrap:wrap}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-list-tools label{font-size:16px;width:min(420px,100%)}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-list-tools input{min-height:48px;font-size:18px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-order-note{font-size:16px;line-height:1.6}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group{padding:20px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group-heading{flex-wrap:wrap}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group-main strong{font-size:22px;line-height:1.4}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group-main small{font-size:16px;line-height:1.6}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group-status{font-size:16px;white-space:normal;overflow-wrap:anywhere}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group-reason{font-size:18px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group footer{flex-wrap:wrap;font-size:16px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group footer a{font-size:18px;min-height:44px;display:inline-flex;align-items:center}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group summary{font-size:18px;padding-block:12px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group li a{font-size:18px;flex-wrap:wrap}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group li a small{font-size:16px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-workspace :is(.db-empty,.db-list-footer){font-size:18px;line-height:1.6}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-module strong{font-size:20px;line-height:1.4}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-module small{font-size:16px;line-height:1.6}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-workspace .db-quiet-link{font-size:18px;min-height:44px;white-space:normal}
}

/* L17 L · ausschliesslich vorhandene Live-Bausteine. Demo bleibt unverändert. */
body[data-ansicht="live"] .db-group{min-block-size:128px}
body[data-ansicht="live"] .db-group--healthy{box-shadow:inset 3px 0 var(--ok)}
body[data-ansicht="live"] .db-group--healthy .db-group-status{white-space:normal;line-height:1.5}
body[data-ansicht="live"] .db-group--healthy .db-group-main{min-height:44px;display:inline-flex;align-items:center;font-weight:700;text-decoration:underline;text-underline-offset:3px}
body[data-ansicht="live"] .nl-live__band[data-origin="live"]{min-block-size:56px;padding:12px 16px;line-height:1.6;gap:12px;flex-wrap:wrap;border-color:var(--border);background:var(--surface-2);color:var(--text)}
body[data-ansicht="live"] .nl-live__band[data-origin="live"]:has([data-live-veraltet]){border-color:var(--warn);background:var(--warn-bg);color:var(--warn)}
body[data-ansicht="live"] .nl-live__band[data-origin="live"][data-card-state="critical"]{border-color:var(--critical);background:var(--critical-bg);color:var(--critical)}
body[data-ansicht="live"] .nl-live__band[data-origin="live"] strong{line-height:inherit;overflow-wrap:anywhere}
body[data-ansicht="live"] .lv-band:focus-visible{outline:3px solid var(--info);outline-offset:6px}
body[data-ansicht="live"] .lv-band__balken--grau{border-style:dashed;background:var(--unknown-bg)}
body[data-ansicht="live"] .il-fakten>div{min-block-size:104px;display:flex;flex-direction:column;justify-content:center}
body[data-ansicht="live"] .il-kreis__ring--unknown{border-style:dashed}
body[data-ansicht="live"] .device-table-wrap{max-width:100%;overflow-x:auto}
@media(min-width:768px){body[data-ansicht="live"] .device-list-table{min-width:620px}}
@media(max-width:479px){
  body[data-ansicht="live"] .mobile-wordmark small{display:inline-flex;align-items:center;gap:4px;color:var(--info)}
  body[data-ansicht="live"] .mobile-wordmark small::before{content:"";display:inline-block;width:5px;height:5px;flex:none;border:1px solid currentColor;border-radius:50%;background:currentColor}
}

/* L17 M · vorhandene Messeklassen, nur Live-Verwaltung auf Grossbild. */
@media screen and (min-width:1440px){
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .app-shell{grid-template-columns:minmax(0,1fr)}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .sidebar:not([data-open="true"]){display:none}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .sidebar[data-open="true"]{display:flex;position:fixed;left:0;top:0;z-index:50;width:280px;max-width:90vw;height:100dvh;transform:none;padding-top:72px;box-shadow:0 0 0 100vmax color-mix(in srgb,var(--text) 30%,transparent)}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .menu-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .sidebar__schliessen{display:grid;place-items:center;position:absolute;top:12px;right:14px;min-width:44px;min-height:44px;border:1px solid var(--border);border-radius:var(--radius-kontrolle);background:var(--surface);color:var(--text)}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .topbar{height:auto;min-height:64px;padding-block:8px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .noc-device-detail .lv-band{height:112px;padding:6px;gap:1px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .noc-device-detail .device-status-ribbon .history{height:24px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .noc-device-detail .device-section-head h2{font-size:28px}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .noc-device-detail :is(.device-bms__fine,.telemetry-chart__axis,.telemetry-legend){font-size:18px;line-height:1.6}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group:has(>.db-group-heading>.db-group-status--critical){border-color:var(--critical);box-shadow:inset 3px 0 var(--critical)}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group:has(>.db-group-heading>.db-group-status--critical):hover{border-color:var(--critical);box-shadow:inset 3px 0 var(--critical)}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] :is(.db-kpi,.db-module,.noc-device-detail .karte):hover{transform:none;filter:none}
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group-main:hover strong{color:var(--text);text-decoration:none}
}
@media screen and (min-width:1440px) and (prefers-reduced-motion:no-preference){
  body.messe.vorfuehrung[data-ansicht="live"][data-area="operations"] .db-group:has(>.db-group-heading>.db-group-status--critical){animation:l17-messe-akzent 3s ease-in-out infinite}
}
@keyframes l17-messe-akzent{0%,100%{outline:1px solid transparent;outline-offset:0}50%{outline:2px solid var(--critical);outline-offset:3px}}

/* L17 A · bestehende Live-Fokushaken und Druck-/Kontrast-Rueckfall. */
body[data-ansicht="live"] :is(.menu-button,.sidebar__schliessen,.db-group-main,.device-back):focus-visible{outline:3px solid var(--info);outline-offset:4px}
@media(forced-colors:active){
  body[data-ansicht="live"] .lv-band{border:1px solid currentColor}
  body[data-ansicht="live"] .lv-band__balken--grau{border:1px dashed currentColor}
  body[data-ansicht="live"] .lv-band__balken--rot{outline:1px solid currentColor}
  body[data-ansicht="live"] .il-kreis__ring{border:2px solid currentColor}
  body[data-ansicht="live"] .il-kreis__ring--unknown{border-style:dashed}
  body[data-ansicht="live"] .il-kreis__ring--critical{border:4px double currentColor}
  body[data-ansicht="live"] .db-group--healthy{border:2px solid currentColor}
  body[data-ansicht="live"] :is(.db-kpi,.device-status-card){outline:1px solid currentColor}
}
@media print{
  body[data-ansicht="live"] :is(.sidebar,.topbar,.mobile-nav,.page-footer){display:none}
  body[data-ansicht="live"] .app-shell{display:block;min-height:0}
  body[data-ansicht="live"] .noc-device-detail{max-width:100%;color:var(--text)}
  body[data-ansicht="live"] .noc-device-detail :is(.karte,.device-status-ribbon){box-shadow:none}
  body[data-ansicht="live"] .noc-device-detail :is(.device-identity,.device-status-panel,.device-bms,.device-timeline__entry){break-inside:avoid}
  body[data-ansicht="live"] .noc-device-detail .lv-band{height:64px;print-color-adjust:exact}
  body[data-ansicht="live"] .noc-device-detail .lv-band__balken--grau{border-style:dashed}
  body[data-ansicht="live"] .noc-device-detail a{overflow-wrap:anywhere;text-decoration:underline}
}

/* L18 D · Feinschliff vorhandener Live-Tageswerte. Keine Schwellenbewertung. */
body[data-ansicht="live"] .lv-24h{padding:24px}
body[data-ansicht="live"] .lv-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
body[data-ansicht="live"] .lv-chip{min-width:0;min-height:112px;align-content:start;padding:16px;background:var(--surface);border-radius:16px;gap:8px}
body[data-ansicht="live"] .lv-chip small{font-size:13px;line-height:1.5}
body[data-ansicht="live"] .lv-chip strong{font-size:clamp(22px,2vw,28px);line-height:1.3;white-space:normal;overflow-wrap:anywhere;color:var(--text)}
body[data-ansicht="live"] .lv-chip[data-card-state="critical"] strong{color:var(--critical)}
body[data-ansicht="live"] .lv-chip[data-card-state="unknown"]{border-style:dashed}
body[data-ansicht="live"] .lv-kaesten .device-bms-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:16px;align-items:stretch}
body[data-ansicht="live"] .lv-kaesten .device-bms-card[data-live-kasten]{display:flex;flex-direction:column;min-width:0;min-height:224px;padding:20px;gap:8px;background:var(--surface);border-color:var(--border);border-bottom-color:var(--border)}
body[data-ansicht="live"] .lv-kaesten .device-bms-card__head{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:0}
body[data-ansicht="live"] .lv-kaesten .device-bms-card__tag{padding:4px 8px;border:1px solid var(--border);background:var(--surface-2);color:var(--muted);font-size:11px;line-height:1.5;letter-spacing:.04em;overflow-wrap:anywhere}
body[data-ansicht="live"] .lv-kaesten .telemetry-card-title small{font-size:14px;line-height:1.5}
body[data-ansicht="live"] .lv-kaesten strong.telemetry-reading{font-size:30px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;color:var(--text)}
body[data-ansicht="live"] .lv-kaesten .device-bms-card>em{font-size:13px;line-height:1.6;min-height:0;overflow-wrap:anywhere}
body[data-ansicht="live"] .lv-kaesten .lv-track{height:10px;background:var(--surface-2)}
body[data-ansicht="live"] .lv-kaesten .lv-track>span{background:var(--brand)}
body[data-ansicht="live"] .lv-kaesten .device-bms-card__empty-track{height:10px;border:1px dashed var(--border);background:var(--surface-2)}
body[data-ansicht="live"] .device-action.lv-meldungen--offen{min-height:44px;gap:8px;flex-wrap:wrap;justify-content:center}
body[data-ansicht="live"] .device-action.lv-meldungen--offen:focus-visible{outline:3px solid var(--info);outline-offset:4px;box-shadow:0 0 0 2px var(--surface)}
body[data-ansicht="live"] .device-action.lv-meldungen--offen .lv-meldungen__zahl{min-width:28px;min-height:28px;height:auto;line-height:1.5;padding:2px 7px;font-size:14px;font-variant-numeric:tabular-nums}
body[data-ansicht="live"] .noc-device-detail .device-identity__body{min-width:0}
body[data-ansicht="live"] .noc-device-detail .device-identity__body p{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
body[data-ansicht="live"] .noc-device-detail .device-status-card>span{min-width:0}
body[data-ansicht="live"] .noc-device-detail .device-status-card em{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
@media(min-width:768px){body[data-ansicht="live"] .lv-kaesten .device-bms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){body[data-ansicht="live"] .lv-kaesten .device-bms-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-ansicht="live"] .lv-chips{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media screen and (min-width:1440px){
  body.messe.vorfuehrung[data-ansicht="live"] .lv-chip strong{font-size:36px}
  body.messe.vorfuehrung[data-ansicht="live"] .lv-chip:last-child strong{font-size:24px}
  body.messe.vorfuehrung[data-ansicht="live"] .lv-kaesten strong.telemetry-reading{font-size:40px}
  body.messe.vorfuehrung[data-ansicht="live"] .lv-kaesten .device-bms-card>em{font-size:18px}
  body.messe.vorfuehrung[data-ansicht="live"] .lv-kaesten .device-bms-card__tag{font-size:13px}
}
@media(forced-colors:active){
  body[data-ansicht="live"] .lv-chip[data-card-state="critical"]{border:3px double currentColor}
  body[data-ansicht="live"] .lv-chip[data-card-state="unknown"]{border:1px dashed currentColor}
  body[data-ansicht="live"] .lv-kaesten .device-bms-card[data-live-kasten]{outline:1px solid currentColor}
  body[data-ansicht="live"] .lv-kaesten .device-bms-card__empty-track{border-style:dashed}
}
@media print{
  body[data-ansicht="live"] .lv-kaesten .device-bms-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body[data-ansicht="live"] .lv-kaesten .device-bms-card[data-live-kasten]{break-inside:avoid;min-height:180px}
  body[data-ansicht="live"] .lv-24h{break-inside:avoid}
}

/* L18 M · expliziter leerer Store-Zustand und verbliebene Kiosk-Hoverdetails. */
body[data-ansicht="live"] .db-group--empty{border-color:var(--critical);box-shadow:inset 3px 0 var(--critical)}
body[data-ansicht="live"] .db-group--empty .db-group-reason{overflow-wrap:anywhere;line-height:1.6}
@media screen and (min-width:1440px){
  body.messe.vorfuehrung[data-ansicht="live"] .db-group--empty{padding:24px}
  body.messe.vorfuehrung[data-ansicht="live"] .db-quiet-link:hover{text-decoration:none}
  body.messe.vorfuehrung[data-ansicht="live"] .main-nav__link:not([aria-current="page"]):hover{background:transparent;color:var(--data-4)}
  body.messe.vorfuehrung[data-ansicht="live"] .main-nav__link[aria-current="page"]:hover{background:linear-gradient(100deg,var(--brand),color-mix(in srgb,var(--brand) 58%,var(--nav)))}
}

/* L18 A · neue Live-Bausteine ohne Bewegung bei reduzierter Bewegung. */
@media(prefers-reduced-motion:reduce){
  body[data-ansicht="live"] :is(.lv-chip,.lv-kaesten .device-bms-card,.lv-track>span,.lv-band,.il-kreis__ring,.db-group){animation:none;transition:none}
}
@media(max-width:767px){
  body[data-ansicht="live"] .device-action{min-height:44px}
  body[data-ansicht="live"] .device-back{min-height:44px;display:inline-flex;align-items:center}
}

/* L19 T · vorhandene Live-Meldungszustände; keine Herkunft aus Text erraten. */
body[data-ansicht="live"] .device-identity__actions{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-end;gap:12px}
body[data-ansicht="live"] .device-identity__actions .device-identity__source{min-width:0;flex:1 1 240px;overflow-wrap:anywhere;align-self:center}
body[data-ansicht="live"] .device-identity__actions .device-action{min-width:0;min-height:44px;padding:10px 12px;white-space:normal;line-height:1.5}
body[data-ansicht="live"] .device-timeline__entry[data-meldung-status]{border:1px solid var(--border);border-inline-start:4px solid var(--unknown);border-radius:var(--radius-kontrolle);padding:16px;min-width:0;gap:12px}
body[data-ansicht="live"] .device-timeline__entry[data-meldung-status="neu"]{border-inline-start-color:var(--warn)}
body[data-ansicht="live"] .device-timeline__entry:is([data-meldung-status="gesehen"],[data-meldung-status="in_bearbeitung"]){border-inline-start-color:var(--info)}
body[data-ansicht="live"] .device-timeline__entry[data-meldung-status="erledigt"]{border-inline-start-color:var(--unknown)}
body[data-ansicht="live"] .device-timeline__entry[data-meldung-status]>span{min-width:0;overflow-wrap:anywhere}
body[data-ansicht="live"] .device-timeline__entry small{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
body[data-ansicht="live"] .db-kpi[data-live-meldungen][data-card-state="warn"]{border-color:var(--warn);background:var(--warn-bg)}
body[data-ansicht="live"] .db-kpi[data-live-meldungen][data-card-state="warn"] .db-kpi-copy strong{color:var(--warn)}
@media(max-width:767px){body[data-ansicht="live"] .device-identity__actions .device-identity__source{flex-basis:100%}body[data-ansicht="live"] .device-identity__actions .device-action{flex:1 1 140px}}

/* L19 I · vorhandene Abruf-/Grundtexte, keine eigene Datenbewertung. */
body[data-ansicht="live"] .il-fakten dt{line-height:1.6;overflow-wrap:anywhere}
body[data-ansicht="live"] .il-fakten dd{line-height:1.7;white-space:normal;overflow-wrap:anywhere}
body[data-ansicht="live"] .il-quelle__kopf .status{max-width:100%;white-space:normal;line-height:1.5;overflow-wrap:anywhere}
@media screen and (min-width:1440px){
  body.messe.vorfuehrung[data-ansicht="live"] .il-quelle__inhalt{grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:40px}
  body.messe.vorfuehrung[data-ansicht="live"] .il-kreis__ring{width:280px;height:auto}
  body.messe.vorfuehrung[data-ansicht="live"] .il-kreis__ring strong{font-size:40px}
  body.messe.vorfuehrung[data-ansicht="live"] .il-fakten dd{font-size:20px}
  body.messe.vorfuehrung[data-ansicht="live"] .il-kreis figcaption{font-size:18px}
}
@media print{
  body[data-ansicht="live"] .il-quelle{break-inside:avoid;box-shadow:none}
  body[data-ansicht="live"] .il-quelle__inhalt{grid-template-columns:minmax(0,1fr);gap:20px}
  body[data-ansicht="live"] .il-kreis__ring{width:150px;height:auto}
  body[data-ansicht="live"] .il-fakten{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-ansicht="live"] .il-fakten>div{break-inside:avoid}
}

/* L19 M3 · optionaler Kiosk-Mauszeiger. Keine automatische Aktivierung. */
@media screen and (min-width:1440px){
  body.messe.vorfuehrung.maus-aus[data-ansicht="live"],body.messe.vorfuehrung.maus-aus[data-ansicht="live"] *{cursor:none}
}
/* .maus-aus ist nur vorgeschlagen; kein PHP-/JS-Schalter oder Datenhaken hinzugefuegt. */

/* L19 A · Live-Fokus und Kontrastrueckfall; keine Statuslogik. */
body[data-ansicht="live"] .device-action.lv-meldungen--offen:focus-visible{outline:3px solid var(--info);outline-offset:5px}
@media(forced-colors:active){
  body[data-ansicht="live"] .device-action.lv-meldungen--offen{outline:2px solid currentColor}
  body[data-ansicht="live"] .device-timeline__entry[data-meldung-status]{border-inline-start-style:double}
  body.kl-verwaltung .kl-meldung{outline:1px solid currentColor}
}
@media(prefers-reduced-motion:reduce){
  body[data-ansicht="live"] :is(.device-action,.device-timeline__entry,.il-quelle,.il-kreis__ring){animation:none;transition:none}
}

/* L20 D · vorhandene Live-Zustände, keine Messwerte oder Statuslogik ändern. */
body[data-ansicht="live"] .lv-kaesten .device-bms-card[data-live-kasten][data-telemetry-state="unknown"]{border-style:dashed;background:var(--surface-2)}
body[data-ansicht="live"] .lv-kaesten .device-bms-card[data-live-kasten][data-telemetry-state="unknown"] :is(.telemetry-reading,.device-bms-card__icon){color:var(--muted)}
body[data-ansicht="live"] .lv-kaesten strong.telemetry-reading{max-inline-size:100%;min-inline-size:0;font-variant-numeric:tabular-nums}
body[data-ansicht="live"] .lv-kaesten .device-bms-card__tag{font-size:13px;color:var(--text)}
body[data-ansicht="live"] .lv-chips{min-inline-size:0}
body[data-ansicht="live"] .lv-chip :is(small,strong){min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere}
body[data-ansicht="live"] .noc-device-detail .device-identity__title h2{min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere}
body[data-ansicht="live"] .noc-device-detail .device-identity__body :is(dt,dd){min-inline-size:0;overflow-wrap:anywhere}
body[data-ansicht="live"] .device-action.lv-meldungen--offen:hover>span{text-decoration:underline;text-underline-offset:3px}
/* 48 Halbstunden: vor Beginn kurz + gestrichelt + schraffiert; Ausfall bleibt voll hoch. */
body[data-ansicht="live"] .noc-device-detail .device-status-ribbon .history__segment.unknown{height:45%;align-self:end;box-sizing:border-box;border:1px dashed var(--unknown);background:repeating-linear-gradient(135deg,var(--unknown-bg) 0 2px,var(--unknown) 2px 3px)}
body[data-ansicht="live"] .noc-device-detail .lv-band__balken--grau{background:repeating-linear-gradient(135deg,var(--unknown-bg) 0 2px,var(--unknown) 2px 3px)}
@media(max-width:479px){body[data-ansicht="live"] .lv-chips{grid-template-columns:minmax(0,1fr)}}
@media(forced-colors:active){
  body[data-ansicht="live"] .lv-kaesten .device-bms-card[data-live-kasten][data-telemetry-state="unknown"]{border:1px dashed CanvasText;background:Canvas}
  body[data-ansicht="live"] .lv-kaesten .device-bms-card__tag{border:1px solid CanvasText;color:CanvasText;background:Canvas}
  body[data-ansicht="live"] .noc-device-detail .device-status-ribbon .history__segment.unknown,body[data-ansicht="live"] .noc-device-detail .lv-band__balken--grau{border:1px dashed CanvasText;background:Canvas}
  body[data-ansicht="live"] .noc-device-detail .device-status-ribbon .history__segment.critical,body[data-ansicht="live"] .noc-device-detail .lv-band__balken--rot{border:1px solid CanvasText;background:CanvasText}
  body[data-ansicht="live"] .device-action.lv-meldungen--offen:focus-visible{outline:3px double Highlight}
}

/* L20 T · vorbereitete Herkunftshaken; derzeit kein PHP-Attribut vorhanden. */
body[data-ansicht="live"] :is(.device-timeline__entry,.nl-lv-tickets li)[data-ursprung="automatisch"]{min-width:0;outline:1px dashed var(--unknown);outline-offset:3px}
body[data-ansicht="live"] [data-ursprung="automatisch"] [data-ursprung-etikett]{display:inline-flex;align-items:center;max-width:100%;margin:4px 8px 4px 0;padding:3px 8px;border:1px dashed var(--unknown);border-radius:var(--radius-kontrolle);background:var(--surface-2);color:var(--muted);font-size:12px;font-weight:600;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
body[data-ansicht="live"] [data-ursprung="automatisch"] [data-meldung-system="wieder-online"]{display:block;margin-block:10px 0;padding:10px 12px;border-inline-start:2px dashed var(--unknown);background:var(--surface-2);color:var(--muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}
body[data-ansicht="live"] .db-kpi[data-live-meldungen] .db-kpi-copy strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(forced-colors:active){
 body[data-ansicht="live"] [data-ursprung="automatisch"] [data-ursprung-etikett]{border:2px dashed currentColor}
 body[data-ansicht="live"] [data-ursprung="automatisch"] [data-meldung-system="wieder-online"]{border-inline-start:3px double currentColor}
}

/* L21 F · Live-/Standort-Fotohaken, keine Upload- oder Auswahlfunktion. */
body:is([data-ansicht="live"],.kl-seite) .meldung-foto-feld:not([hidden]){display:grid;gap:10px;min-width:0;padding:16px;border:1px dashed var(--unknown);border-radius:var(--radius-kontrolle);background:var(--surface);color:var(--text);font-size:16px;line-height:1.6;overflow-wrap:anywhere}
body:is([data-ansicht="live"],.kl-seite) .meldung-foto-feld input[type="file"]{box-sizing:border-box;max-width:100%;min-width:0;min-height:48px;width:100%;font:inherit;color:var(--text)}
body:is([data-ansicht="live"],.kl-seite) .meldung-foto-feld input[type="file"]::file-selector-button{min-height:44px;margin-inline-end:12px;padding:10px 14px;border:1px solid var(--info);border-radius:var(--radius-kontrolle);background:var(--info-bg);color:var(--info);font:inherit;font-weight:700;cursor:pointer}
body:is([data-ansicht="live"],.kl-seite) .meldung-foto-feld small{font-size:13px;color:var(--muted);line-height:1.6}
body:is([data-ansicht="live"],.kl-seite) .meldung-foto-vorschau:not([hidden]):not(:empty){display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px;background:var(--surface-2);color:var(--text);border-radius:var(--radius-kontrolle);overflow-wrap:anywhere}
body:is([data-ansicht="live"],.kl-seite) .meldung-foto-vorschau img{display:block;width:96px;height:72px;max-width:100%;object-fit:contain;border-radius:6px}
body:is([data-ansicht="live"],.kl-seite) .meldung-foto-vorschau button{min-width:44px;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-kontrolle);background:var(--surface);color:var(--critical);font:inherit;line-height:1.5}
body:is([data-ansicht="live"],.kl-seite) .meldung-foto-fehler:not([hidden]):not(:empty){padding:12px 16px;border:1px solid var(--critical);border-radius:var(--radius-kontrolle);background:var(--critical-bg);color:var(--critical);line-height:1.7;overflow-wrap:anywhere}
body:is([data-ansicht="live"],.kl-seite) figure.meldung-foto{display:block;width:96px;max-width:100%;margin:12px 0;break-inside:avoid}
body:is([data-ansicht="live"],.kl-seite) figure.meldung-foto>a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;max-width:100%;border:1px solid var(--border);border-radius:8px;background:var(--surface-2)}
body:is([data-ansicht="live"],.kl-seite) figure.meldung-foto>a>img{display:block;width:96px;height:72px;max-width:100%;object-fit:contain;border-radius:7px}
body:is([data-ansicht="live"],.kl-seite) figure.meldung-foto[data-foto-zustand="nicht-verfuegbar"]{width:auto;padding:12px;border:1px dashed var(--unknown);border-radius:var(--radius-kontrolle);background:var(--unknown-bg);color:var(--unknown);line-height:1.6}
body:is([data-ansicht="live"],.kl-seite) :is(.meldung-foto-feld input,.meldung-foto-vorschau button,figure.meldung-foto>a):focus-visible{outline:3px solid var(--info);outline-offset:4px}
@media(forced-colors:active){
 body:is([data-ansicht="live"],.kl-seite) :is(.meldung-foto-feld,.meldung-foto-vorschau,.meldung-foto-fehler,figure.meldung-foto>a){border:1px solid CanvasText}
 body:is([data-ansicht="live"],.kl-seite) .meldung-foto-feld input[type="file"]::file-selector-button{border-color:ButtonText;color:ButtonText;background:ButtonFace}
 body:is([data-ansicht="live"],.kl-seite) figure.meldung-foto[data-foto-zustand="nicht-verfuegbar"]{border:2px dashed CanvasText;color:CanvasText;background:Canvas}
}
@media print{
 body:is([data-ansicht="live"],.kl-seite) :is(.meldung-foto-feld,.meldung-foto-vorschau){display:none}
 body:is([data-ansicht="live"],.kl-seite) figure.meldung-foto{break-inside:avoid}
}

/* L21 P · nur vorbereitete Push-Karte. Keine Berechtigungsanfrage oder Registrierung. */
#push-schalter[data-push-zustand]:not([hidden]){display:grid;gap:12px;min-width:0;padding:20px;border:1px solid var(--unknown);border-radius:var(--radius-karte);background:var(--surface);color:var(--text);line-height:1.6;overflow-wrap:anywhere}
#push-schalter[data-push-zustand] :is(p,small){margin:0;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}
#push-schalter[data-push-zustand] button{justify-self:start;min-height:48px;max-width:100%;padding:10px 16px;border:1px solid var(--info);border-radius:var(--radius-kontrolle);background:var(--info-bg);color:var(--info);font:inherit;font-weight:700;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
#push-schalter[data-push-zustand] button:focus-visible{outline:3px solid var(--info);outline-offset:4px}
#push-schalter[data-push-zustand] button:disabled{border-style:dashed;color:var(--muted);background:var(--surface-2);cursor:default}
#push-schalter[data-push-zustand="an"]{border-inline-start:4px solid var(--info)}
#push-schalter[data-push-zustand="blockiert"]{border-color:var(--warn);background:var(--warn-bg)}
#push-schalter[data-push-zustand="blockiert"] :is(p,small){color:var(--warn)}
#push-schalter[data-push-zustand="nicht-unterstuetzt"]{border-style:dashed;background:var(--unknown-bg)}
#push-schalter[data-push-zustand="homescreen-noetig"]{border-inline-start:4px solid var(--info);background:var(--info-bg)}
@media(max-width:479px){#push-schalter[data-push-zustand] button{justify-self:stretch;width:100%}}
@media(forced-colors:active){
 #push-schalter[data-push-zustand]{border:1px solid CanvasText;background:Canvas;color:CanvasText}
 #push-schalter[data-push-zustand="blockiert"]{border:3px double CanvasText}
 #push-schalter[data-push-zustand] :is(p,small){color:CanvasText}
 #push-schalter[data-push-zustand] button{border-color:ButtonText;background:ButtonFace;color:ButtonText}
 #push-schalter[data-push-zustand] button:focus-visible{outline-color:Highlight}
}
@media(prefers-reduced-motion:reduce){#push-schalter[data-push-zustand],#push-schalter[data-push-zustand] button{animation:none;transition:none}}

/* L21 D · vorhandene leere/unerreichbare Timeline, keine Text- oder Statusableitung. */
body[data-ansicht="live"] .device-timeline__entry--muted{padding:16px;border:1px dashed var(--unknown);border-radius:var(--radius-kontrolle);background:var(--surface-2);color:var(--muted);line-height:1.7;overflow-wrap:anywhere}
body[data-ansicht="live"] .device-timeline__entry--muted strong{color:var(--text)}
@media(forced-colors:active){body[data-ansicht="live"] .device-timeline__entry--muted{border:1px dashed CanvasText;color:CanvasText;background:Canvas}}

/* L22 S · gleiche bestehende Live-Storekarten, kein Sonderstatus für den Messe-Store. */
@media screen and (min-width:1440px){
 body.messe[data-ansicht="live"][data-area="operations"] .db-groups{grid-template-columns:minmax(0,1fr);gap:16px}
 body.messe[data-ansicht="live"][data-area="operations"] .db-group-main strong{font-size:24px;line-height:1.4;overflow-wrap:anywhere}
 body.messe[data-ansicht="live"][data-area="operations"] .db-group-main small{font-size:18px;line-height:1.6}
 body.messe[data-ansicht="live"][data-area="operations"] .db-group-reason{font-size:20px;line-height:1.6}
 body.messe[data-ansicht="live"][data-area="operations"] .db-group footer{font-size:18px;line-height:1.6}
}

/* L22 F · echte Fotofehler in vorhandenem Alert; keine Textsuche oder neue Uploadlogik. */
body:is([data-ansicht="live"],.kl-seite) .va-meldung[role="alert"]:is([data-fehler="foto_gross"],[data-fehler="foto_pixel"],[data-fehler="foto_typ"]){border:1px solid var(--critical);border-inline-start-width:4px;background:var(--critical-bg);color:var(--critical);padding:16px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
body:is([data-ansicht="live"],.kl-seite) label.meldung-foto-feld input[type="file"][name="foto"]:focus-visible{outline:3px solid var(--info);outline-offset:4px}
@media(forced-colors:active){
 body:is([data-ansicht="live"],.kl-seite) .va-meldung[role="alert"]:is([data-fehler="foto_gross"],[data-fehler="foto_pixel"],[data-fehler="foto_typ"]){border:3px double CanvasText;background:Canvas;color:CanvasText}
 body:is([data-ansicht="live"],.kl-seite) :is(label.meldung-foto-feld input[type="file"][name="foto"],figure.meldung-foto>a):focus-visible{outline:3px solid Highlight;outline-offset:4px}
}

/* L22 A · übersetzte PHP-Haken, Herkunft bleibt vom Bearbeitungsstatus getrennt. */
body:is([data-ansicht="live"],.kl-seite) [data-ursprung="automatisch"] span[data-ursprung-etikett]{display:inline-flex;align-items:center;max-width:100%;margin:4px 8px 4px 0;padding:3px 8px;border:1px dashed var(--unknown);border-radius:var(--radius-kontrolle);background:var(--surface-2);color:var(--muted);font-size:13px;font-weight:600;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
body:is([data-ansicht="live"],.kl-seite) [data-meldung-system="wieder-online"]{display:block;max-width:100%;margin-block:10px 0;padding:10px 12px;border-inline-start:2px dashed var(--unknown);background:var(--surface-2);color:var(--muted);font-size:13px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
body.auth-seite .ka-hinweis-laden{display:block;flex-basis:100%;min-width:0;max-width:100%;padding:12px 14px;border-inline-start:3px solid var(--info);background:var(--info-bg);color:var(--text);font-size:14px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
body:is([data-ansicht="live"],.auth-seite) [data-live-veraltet]{display:inline-block;max-width:100%;padding:4px 8px;border:1px solid var(--warn);border-radius:var(--radius-kontrolle);background:var(--warn-bg);color:var(--warn);font-size:14px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
@media(forced-colors:active){
 body:is([data-ansicht="live"],.kl-seite) :is(span[data-ursprung-etikett],[data-meldung-system="wieder-online"]){border:1px dashed CanvasText;background:Canvas;color:CanvasText}
 body.auth-seite .ka-hinweis-laden{border:1px solid CanvasText;background:Canvas;color:CanvasText}
 body:is([data-ansicht="live"],.auth-seite) [data-live-veraltet]{border:2px double CanvasText;background:Canvas;color:CanvasText}
}

/* L22 Q · Bildlink als Bedienelement auch ohne Fokus klar abgrenzen. */
body:is([data-ansicht="live"],.kl-seite) figure.meldung-foto>a{border-color:var(--unknown)}

/* L23 P · geplante Paket-3-Haken. Keine Upload-, Sperr- oder Entfernenlogik. */
body:is([data-ansicht="live"],.kl-seite) .va-meldung.kl-ok span[data-foto-hinweis]{display:block;margin-block-start:12px;padding:10px 12px;border-inline-start:2px dashed var(--unknown);background:var(--surface-2);color:var(--muted);font-weight:400;line-height:1.7;overflow-wrap:anywhere}
body:is([data-ansicht="live"],.kl-seite) button[type="submit"][data-sendet]{min-height:48px;max-width:100%;padding:12px 16px;border:2px dashed var(--unknown);background:var(--surface-2);color:var(--muted);opacity:1;white-space:normal;overflow-wrap:anywhere;cursor:progress;line-height:1.6}
body:is([data-ansicht="live"],.kl-seite) .meldung-foto-vorschau button[data-foto-entfernen]{min-width:44px;min-height:44px;max-width:100%;padding:10px 12px;border:1px solid var(--unknown);border-radius:var(--radius-kontrolle);background:var(--surface);color:var(--critical);font:inherit;white-space:normal;overflow-wrap:anywhere}
body:is([data-ansicht="live"],.kl-seite) .meldung-foto-vorschau button[data-foto-entfernen]:focus-visible{outline:3px solid var(--info);outline-offset:4px}
body[data-ansicht="live"] [data-live-hinweis]{display:block;max-width:100%;padding:12px 16px;border-inline-start:2px solid var(--unknown);background:var(--surface-2);color:var(--muted);font-size:14px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
@media(forced-colors:active){
 body:is([data-ansicht="live"],.kl-seite) :is(.va-meldung.kl-ok span[data-foto-hinweis],button[type="submit"][data-sendet]){border:2px dashed CanvasText;background:Canvas;color:CanvasText}
 body:is([data-ansicht="live"],.kl-seite) .meldung-foto-vorschau button[data-foto-entfernen]{border-color:ButtonText;background:ButtonFace;color:ButtonText}
 body:is([data-ansicht="live"],.kl-seite) .meldung-foto-vorschau button[data-foto-entfernen]:focus-visible{outline-color:Highlight}
 body[data-ansicht="live"] [data-live-hinweis]{border:1px solid CanvasText;background:Canvas;color:CanvasText}
}

/* L23 Q · hidden bleibt auch bei geplanten Anzeigehaken wirksam. */
body:is([data-ansicht="live"],.kl-seite) .va-meldung.kl-ok span[data-foto-hinweis][hidden],body[data-ansicht="live"] [data-live-hinweis][hidden]{display:none}

/* L23 Q3 · Inhaltsverzeichnis, nur Kommentar. Keine Regel verschoben.
 * Zeile 214: Liste 12 S3: only dynamic name fields; table and navigation geometry stay intact.
 * Zeile 393: L16 M1 · Messe-Grossbild auf dem bestehenden Live-Dashboard.
 * Zeile 440: L17 L · ausschliesslich vorhandene Live-Bausteine. Demo bleibt unverändert.
 * Zeile 460: L17 M · vorhandene Messeklassen, nur Live-Verwaltung auf Grossbild.
 * Zeile 482: L17 A · bestehende Live-Fokushaken und Druck-/Kontrast-Rueckfall.
 * Zeile 505: L18 D · Feinschliff vorhandener Live-Tageswerte. Keine Schwellenbewertung.
 * Zeile 551: L18 M · expliziter leerer Store-Zustand und verbliebene Kiosk-Hoverdetails.
 * Zeile 561: L18 A · neue Live-Bausteine ohne Bewegung bei reduzierter Bewegung.
 * Zeile 570: L19 T · vorhandene Live-Meldungszustände; keine Herkunft aus Text erraten.
 * Zeile 584: L19 I · vorhandene Abruf-/Grundtexte, keine eigene Datenbewertung.
 * Zeile 603: L19 M3 · optionaler Kiosk-Mauszeiger. Keine automatische Aktivierung.
 * Zeile 609: L19 A · Live-Fokus und Kontrastrueckfall; keine Statuslogik.
 * Zeile 620: L20 D · vorhandene Live-Zustände, keine Messwerte oder Statuslogik ändern.
 * Zeile 642: L20 T · vorbereitete Herkunftshaken; derzeit kein PHP-Attribut vorhanden.
 * Zeile 652: L21 F · Live-/Standort-Fotohaken, keine Upload- oder Auswahlfunktion.
 * Zeile 676: L21 P · nur vorbereitete Push-Karte. Keine Berechtigungsanfrage oder Registrierung.
 * Zeile 697: L21 D · vorhandene leere/unerreichbare Timeline, keine Text- oder Statusableitung.
 * Zeile 702: L22 S · gleiche bestehende Live-Storekarten, kein Sonderstatus für den Messe-Store.
 * Zeile 711: L22 F · echte Fotofehler in vorhandenem Alert; keine Textsuche oder neue Uploadlogik.
 * Zeile 719: L22 A · übersetzte PHP-Haken, Herkunft bleibt vom Bearbeitungsstatus getrennt.
 * Zeile 730: L22 Q · Bildlink als Bedienelement auch ohne Fokus klar abgrenzen.
 * Zeile 733: L23 P · geplante Paket-3-Haken. Keine Upload-, Sperr- oder Entfernenlogik.
 * L23 Q: hidden-Rückfall und dieses Inhaltsverzeichnis am Ende.
 */

/* L24 A · Barrierefreiheit: nur Live-Inhalt und vorhandene Kunden-/Teamseiten.
 * Kein DOM-/Fokusmanagement, keine PHP-/JS-/Cacheaenderung. */
body[data-ansicht="live"] a.skip-link,body.kl-seite a.skip-link{position:fixed;inset-block-start:12px;inset-inline-start:12px;z-index:10000;box-sizing:border-box;max-inline-size:calc(100% - 24px);padding:12px 16px;border:2px solid var(--unknown);border-radius:var(--radius-kontrolle);background:var(--surface);color:var(--text);font:inherit;line-height:1.5;white-space:normal;overflow-wrap:anywhere;transform:translateY(calc(-100% - 24px))}
body[data-ansicht="live"] a.skip-link:focus,body.kl-seite a.skip-link:focus{transform:none;outline:3px solid var(--info);outline-offset:3px}
body[data-ansicht="live"] main :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible,
body.kl-seite .auth-inhalt :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--info);outline-offset:4px;box-shadow:none}
body:is([data-ansicht="live"],.kl-seite) .va-meldung[role="alert"]{box-sizing:border-box;max-inline-size:100%;padding:16px;border:2px solid var(--critical);border-inline-start-width:4px;border-radius:var(--radius-kontrolle);background:var(--critical-bg);color:var(--critical);line-height:1.7;white-space:normal;overflow-wrap:anywhere}
@media(prefers-contrast:more){
 body:is([data-ansicht="live"],.kl-seite) :is(.kl-melden,.md-status,.md-verlauf,.kl-meldung){border:2px solid var(--unknown);box-shadow:none}
 body[data-ansicht="live"] main a:not(.knopf),body.kl-seite .auth-inhalt a:not(.knopf){text-decoration:underline;text-underline-offset:.2em}
 body:is([data-ansicht="live"],.kl-seite) :is([data-ursprung-etikett],[data-meldung-system="wieder-online"],[data-live-hinweis],span[data-foto-hinweis]){border-width:2px}
}
@media(forced-colors:active){
 body[data-ansicht="live"] a.skip-link,body.kl-seite a.skip-link{border-color:CanvasText;background:Canvas;color:CanvasText;forced-color-adjust:auto}
 body[data-ansicht="live"] a.skip-link:focus,body.kl-seite a.skip-link:focus,
 body[data-ansicht="live"] main :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible,
 body.kl-seite .auth-inhalt :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline-color:Highlight}
 body:is([data-ansicht="live"],.kl-seite) .va-meldung[role="alert"]{border:3px double CanvasText;background:Canvas;color:CanvasText;forced-color-adjust:auto}
}
@media(prefers-reduced-motion:reduce){body[data-ansicht="live"] a.skip-link,body.kl-seite a.skip-link{animation:none;transition:none}}

/* L25 P · Paket3: vorhandene Status-/Sitzungshaken, Vorschau bleibt geplant. */
body:is([data-ansicht="live"],.kl-seite) .va-meldung.kl-ok[role="status"]{box-sizing:border-box;max-width:100%;padding:16px;border:1px solid var(--ok);border-radius:var(--radius-kontrolle);background:var(--ok-bg);color:var(--ok);line-height:1.7;white-space:normal;overflow-wrap:anywhere}
body:is([data-ansicht="live"],.kl-seite) .va-meldung[role="alert"][data-fehler="sitzung"]{border:2px solid var(--warn);border-inline-start-width:4px;background:var(--warn-bg);color:var(--warn);line-height:1.7;white-space:normal;overflow-wrap:anywhere}
body:is([data-ansicht="live"],.kl-seite) .meldung-foto-vorschau img{display:block;width:auto;height:auto;max-width:100%;max-height:320px;object-fit:contain;border-radius:var(--radius-kontrolle)}
@media(prefers-contrast:more){
 body:is([data-ansicht="live"],.kl-seite) .va-meldung.kl-ok[role="status"]{border-width:2px}
 body:is([data-ansicht="live"],.kl-seite) .va-meldung[role="alert"][data-fehler="sitzung"]{border-style:double;border-width:3px}
 body:is([data-ansicht="live"],.kl-seite) .meldung-foto-vorschau img{outline:2px solid var(--unknown);outline-offset:2px}
}
@media(forced-colors:active){
 body:is([data-ansicht="live"],.kl-seite) .va-meldung.kl-ok[role="status"]{border:2px solid CanvasText;background:Canvas;color:CanvasText}
 body:is([data-ansicht="live"],.kl-seite) .va-meldung[role="alert"][data-fehler="sitzung"]{border:3px double CanvasText;background:Canvas;color:CanvasText}
 body:is([data-ansicht="live"],.kl-seite) .meldung-foto-vorschau img{outline:1px solid CanvasText}
}

/* L26 / Paket 4: Darstellung vorbereiteter Haken, keine Rechte-/Formularlogik. */
:is(body[data-ansicht="live"],body.kl-seite) a.app-impressum{
 display:inline-flex;align-items:center;min-height:44px;max-width:100%;
 padding:8px 12px;box-sizing:border-box;color:var(--info);
 font-size:.875rem;line-height:1.5;text-decoration:underline;
 text-underline-offset:.2em;white-space:normal;overflow-wrap:anywhere;
}
:is(body[data-ansicht="live"],body.kl-seite) a.app-impressum:focus-visible{
 outline:3px solid var(--info);outline-offset:3px;border-radius:var(--radius-kontrolle);
}
:is(body[data-ansicht="live"],body.kl-seite) [data-meldung-aus]{
 display:block;margin-block:12px;padding:12px 16px;
 color:var(--text);background:var(--surface-2);
 border:1px solid var(--unknown);border-inline-start-width:4px;
 border-radius:var(--radius-kontrolle);line-height:1.6;overflow-wrap:anywhere;
}
:is(body[data-ansicht="live"],body.kl-seite) [data-tageswerte-alter]{
 display:block;max-width:100%;color:var(--muted);font-size:.875rem;
 line-height:1.6;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;
}
:is(body[data-ansicht="live"],body.kl-seite) .kl-meldung__status[data-nur-lesen]{
 color:var(--text);background:var(--surface-2);border:1px solid var(--unknown);
 border-radius:var(--radius-kontrolle);padding:16px;min-width:0;overflow-wrap:anywhere;
}
:is(body[data-ansicht="live"],body.kl-seite) .kl-meldung__status[data-nur-lesen] button:disabled{
 color:var(--muted);background:var(--surface-2);border:1px dashed var(--unknown);
 opacity:1;cursor:not-allowed;
}
@media(prefers-contrast:more){
 :is(body[data-ansicht="live"],body.kl-seite) :is([data-meldung-aus],.kl-meldung__status[data-nur-lesen]){border-width:2px;border-color:currentColor}
 :is(body[data-ansicht="live"],body.kl-seite) a.app-impressum{font-weight:600;text-decoration-thickness:2px}
}
@media(forced-colors:active){
 :is(body[data-ansicht="live"],body.kl-seite) a.app-impressum{color:LinkText}
 :is(body[data-ansicht="live"],body.kl-seite) a.app-impressum:focus-visible{outline-color:Highlight}
 :is(body[data-ansicht="live"],body.kl-seite) :is([data-meldung-aus],[data-tageswerte-alter],.kl-meldung__status[data-nur-lesen]){color:CanvasText;background:Canvas;border-color:CanvasText}
 :is(body[data-ansicht="live"],body.kl-seite) .kl-meldung__status[data-nur-lesen] button:disabled{color:GrayText;background:Canvas;border-color:GrayText}
}

/* L28: vorhandener Nur-lesen-Hinweis als eigene volle Formularzeile. */
body.kl-seite .kl-meldung__status[data-nur-lesen] > .kl-meldung__nur-lesen{
 display:block;flex:0 0 100%;grid-column:1 / -1;box-sizing:border-box;
 min-inline-size:0;max-inline-size:100%;margin:0;
 color:var(--text);font-size:.875rem;font-weight:600;line-height:1.5;
 white-space:normal;overflow-wrap:anywhere;
}
@media(prefers-contrast:more){
 body.kl-seite .kl-meldung__status[data-nur-lesen] > .kl-meldung__nur-lesen{font-weight:700}
}
@media(forced-colors:active){
 body.kl-seite .kl-meldung__status[data-nur-lesen] > .kl-meldung__nur-lesen{color:CanvasText;forced-color-adjust:auto}
}
@media(prefers-reduced-motion:reduce){
 body.kl-seite .kl-meldung__status[data-nur-lesen] > .kl-meldung__nur-lesen{animation:none;transition:none}
}

/* L29 A: vorhandene Live-Klassen, grössere Ziele und flexibles Sprachmenü. */
body.kl-seite .md-team-link a,
body.kl-seite .auth-language-fallback a{
 display:inline-flex;align-items:center;box-sizing:border-box;
 min-block-size:44px;max-inline-size:100%;padding:8px 10px;
 white-space:normal;overflow-wrap:anywhere;line-height:1.5;
}
body.kl-seite .auth-language .language-menu{
 inline-size:min(22rem,calc(100vw - 40px));
}
body.kl-seite .auth-language .language-choice{gap:12px}
body.kl-seite .auth-language .language-choice>span{
 min-inline-size:0;flex:1 1 auto;white-space:normal;overflow-wrap:anywhere;
}
@media(prefers-contrast:more){
 body.kl-seite .md-team-link a,
 body.kl-seite .auth-language-fallback a{text-decoration-thickness:2px}
 body.kl-seite .auth-language .language-choice{border-color:var(--unknown)}
}
@media(forced-colors:active){
 body.kl-seite .md-team-link a,
 body.kl-seite .auth-language-fallback a{color:LinkText}
 body.kl-seite .auth-language .language-menu{color:CanvasText;background:Canvas;border-color:CanvasText}
 body.kl-seite .auth-language .language-choice{border-color:ButtonText;forced-color-adjust:auto}
}

/* L30 C: Paket-3c-Haken, nur Live und vorhandene Kunden-Live-Klassen. */
body:is([data-ansicht="live"],.kl-seite) [data-live-leer]{
 box-sizing:border-box;min-inline-size:0;max-inline-size:100%;
 padding:16px;border:2px dashed var(--unknown);border-radius:var(--radius-kontrolle);
 background:var(--surface-2);color:var(--text);box-shadow:none;
 white-space:normal;overflow-wrap:anywhere;line-height:1.6;
}
body:is([data-ansicht="live"],.kl-seite) [data-live-leer] :is(small,.status){color:var(--unknown)}
body[data-ansicht="live"] .nl-lv-tickets__mehr{margin:16px 0 0;padding-block-start:12px;border-block-start:1px dashed var(--unknown);line-height:1.6}
body[data-ansicht="live"] .nl-lv-tickets__mehr a{display:inline-flex;align-items:center;box-sizing:border-box;min-block-size:44px;max-inline-size:100%;padding:8px 10px;color:var(--info);white-space:normal;overflow-wrap:anywhere}
body.kl-seite textarea[data-entwurf]{border:2px dashed var(--unknown);overflow-wrap:anywhere}
body.kl-seite textarea[aria-invalid="true"]{border:2px solid var(--critical)}
body.kl-seite [data-form-ergebnis]:focus{outline:3px solid var(--info);outline-offset:4px}
body.kl-seite button[type="submit"][data-sendet]{animation:none;transition:none}
@media(prefers-contrast:more){
 body:is([data-ansicht="live"],.kl-seite) [data-live-leer]{border-width:3px}
 body[data-ansicht="live"] .nl-lv-tickets__mehr a{text-decoration-thickness:2px}
 body.kl-seite textarea[data-entwurf]{border-width:3px}
}
@media(forced-colors:active){
 body:is([data-ansicht="live"],.kl-seite) [data-live-leer]{background:Canvas;color:CanvasText;border-color:CanvasText}
 body:is([data-ansicht="live"],.kl-seite) [data-live-leer] :is(small,.status){color:CanvasText}
 body[data-ansicht="live"] .nl-lv-tickets__mehr a{color:LinkText}
 body.kl-seite textarea:is([data-entwurf],[aria-invalid="true"]){border-color:CanvasText;forced-color-adjust:auto}
 body.kl-seite [data-form-ergebnis]:focus{outline-color:Highlight}
}
@media(prefers-reduced-motion:reduce){
 body:is([data-ansicht="live"],.kl-seite) :is([data-live-leer],.nl-lv-tickets__mehr,textarea[data-entwurf],button[data-sendet]){animation:none;transition:none}
}

/* L31 P: Seitenhilfe und vorhandene Textfehler, keine Formularlogik. */
body.auth-seite .hilfe-seiten{min-inline-size:0;max-inline-size:100%;margin-block-start:24px;color:var(--text)}
body.auth-seite .hilfe-seiten h2{line-height:1.35;overflow-wrap:anywhere}
body.auth-seite .hilfe-seiten details.hilfe-abschnitt{min-inline-size:0;margin-block:12px;border:1px solid var(--unknown);border-radius:var(--radius-kontrolle);background:var(--surface);color:var(--text);box-shadow:none;scroll-margin-block-start:24px}
body.auth-seite .hilfe-seiten details.hilfe-abschnitt>summary{box-sizing:border-box;min-block-size:44px;padding:12px 16px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;cursor:pointer;font-weight:600}
body.auth-seite .hilfe-seiten details.hilfe-abschnitt>p{margin:0;padding:0 16px 16px;line-height:1.65;white-space:normal;overflow-wrap:anywhere}
body.auth-seite .hilfe-seiten details.hilfe-abschnitt[open]>summary{border-block-end:1px solid var(--unknown);margin-block-end:12px}
body.auth-seite .hilfe-seiten details.hilfe-abschnitt>summary:focus-visible{outline:3px solid var(--info);outline-offset:3px;border-radius:var(--radius-kontrolle)}
body.kl-seite .va-meldung[data-fehler="kurz"]{box-sizing:border-box;max-inline-size:100%;padding:16px;border:2px solid var(--critical);border-radius:var(--radius-kontrolle);background:var(--surface);color:var(--critical);line-height:1.6;overflow-wrap:anywhere}
@media(prefers-contrast:more){
 body.auth-seite .hilfe-seiten details.hilfe-abschnitt{border-width:2px}
 body.auth-seite .hilfe-seiten details.hilfe-abschnitt>summary{text-decoration:underline;text-underline-offset:.2em}
 body.kl-seite .va-meldung[data-fehler="kurz"]{border-width:3px}
}
@media(forced-colors:active){
 body.auth-seite .hilfe-seiten details.hilfe-abschnitt{background:Canvas;color:CanvasText;border-color:CanvasText}
 body.auth-seite .hilfe-seiten details.hilfe-abschnitt[open]>summary{border-color:CanvasText}
 body.auth-seite .hilfe-seiten details.hilfe-abschnitt>summary:focus-visible{outline-color:Highlight}
 body.kl-seite .va-meldung[data-fehler="kurz"]{background:Canvas;color:CanvasText;border-color:CanvasText}
}
@media(prefers-reduced-motion:reduce){
 body.auth-seite .hilfe-seiten details.hilfe-abschnitt,body.kl-seite .va-meldung[data-fehler="kurz"]{animation:none;transition:none;scroll-behavior:auto}
}

/* L31 D: explizit bestaetigte Einrichtung; kein Null-/Fehler-Automatismus. */
body.auth-seite.os-seite [data-live-leer="einrichtung"]{box-sizing:border-box;min-inline-size:0;max-inline-size:100%;padding:16px;border:2px dashed var(--unknown);border-radius:var(--radius-kontrolle);background:var(--surface-2);color:var(--text);box-shadow:none;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
body:is([data-ansicht="live"],.kl-seite,.os-seite) [data-live-leer="einrichtung"] :is(.db-group-status,.status){color:var(--unknown);background:var(--surface);border:1px solid var(--unknown);box-shadow:none}
@media(prefers-contrast:more){
 body.auth-seite.os-seite [data-live-leer="einrichtung"]{border-width:3px}
}
@media(forced-colors:active){
 body.auth-seite.os-seite [data-live-leer="einrichtung"],body:is([data-ansicht="live"],.kl-seite,.os-seite) [data-live-leer="einrichtung"] :is(.db-group-status,.status){background:Canvas;color:CanvasText;border-color:CanvasText}
}
@media(prefers-reduced-motion:reduce){body.auth-seite.os-seite [data-live-leer="einrichtung"]{animation:none;transition:none}}

/* L32 P: vorhandener gesperrter Meldeknopf vor dem eigentlichen Versand. */
body.kl-seite form.kl-form button[type="submit"]:disabled:not([data-sendet]){min-block-size:48px;max-inline-size:100%;padding:12px 16px;border:2px dashed var(--unknown);background:var(--surface-2);color:var(--muted);opacity:1;box-shadow:none;white-space:normal;overflow-wrap:anywhere;line-height:1.6;cursor:wait;animation:none;transition:none}
@media(prefers-contrast:more){body.kl-seite form.kl-form button[type="submit"]:disabled:not([data-sendet]){border-width:3px}}
@media(forced-colors:active){body.kl-seite form.kl-form button[type="submit"]:disabled:not([data-sendet]){background:Canvas;color:CanvasText;border-color:CanvasText;forced-color-adjust:auto}}

/* L33 H: FAQ-Entwurf, nur explizite Hilfeflaechen. */
body.auth-seite .hilfe-faq,body.kl-verwaltung .hilfe-faq{min-inline-size:0;max-inline-size:100%;margin-block-start:24px;color:var(--text)}
body.auth-seite .hilfe-inhaltsverzeichnis{display:flex;flex-wrap:wrap;gap:8px 16px;margin-block:16px}
body.auth-seite .hilfe-inhaltsverzeichnis a{display:inline-flex;align-items:center;min-block-size:44px;max-inline-size:100%;color:var(--info);overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:.2em}
body:is(.auth-seite,.kl-verwaltung) .hilfe-faq details.faq-abschnitt{min-inline-size:0;border:1px solid var(--unknown);border-radius:var(--radius-kontrolle);background:var(--surface);color:var(--text);margin-block:12px;scroll-margin-block-start:24px}
body:is(.auth-seite,.kl-verwaltung) .hilfe-faq details.faq-abschnitt>summary{min-block-size:44px;box-sizing:border-box;padding:12px 16px;font-weight:600;line-height:1.5;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
body:is(.auth-seite,.kl-verwaltung) .hilfe-faq details.faq-abschnitt>p{margin:0;padding:0 16px 16px;line-height:1.65;overflow-wrap:anywhere}
body:is(.auth-seite,.kl-verwaltung) .hilfe-faq details.faq-abschnitt:target{outline:2px solid var(--info);outline-offset:3px}
body.auth-seite .hilfe-inhaltsverzeichnis a:focus-visible,body:is(.auth-seite,.kl-verwaltung) .hilfe-faq summary:focus-visible{outline:3px solid var(--info);outline-offset:3px}
@media(prefers-contrast:more){body:is(.auth-seite,.kl-verwaltung) .hilfe-faq details.faq-abschnitt{border-width:2px}}
@media(forced-colors:active){body:is(.auth-seite,.kl-verwaltung) .hilfe-faq details.faq-abschnitt{background:Canvas;color:CanvasText;border-color:CanvasText}body.auth-seite .hilfe-inhaltsverzeichnis a{color:LinkText}}
@media(prefers-reduced-motion:reduce){body:is(.auth-seite,.kl-verwaltung) .hilfe-faq{scroll-behavior:auto}}

/* L33 K: passive Kontenentwuerfe, nur mit ausdruecklichem Seitenhaken. */
body.kl-verwaltung .konten-seite[data-konten-verwaltung]{min-inline-size:0;max-inline-size:100%;color:var(--text)}
body.kl-verwaltung .konten-seite[data-konten-verwaltung] .konten-raster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.kl-verwaltung .konten-seite[data-konten-verwaltung] .konten-karte{min-inline-size:0;padding:20px;border:1px solid var(--unknown);border-radius:var(--radius-kontrolle);background:var(--surface);color:var(--text)}
body.kl-verwaltung .konten-seite[data-konten-verwaltung] :is(h1,h2,p,dd){overflow-wrap:anywhere}
body.kl-verwaltung .konten-seite[data-konten-verwaltung] dl{margin:16px 0;display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:8px 16px}
body.kl-verwaltung .konten-seite[data-konten-verwaltung] dd{margin:0;min-inline-size:0}
body.kl-verwaltung .konten-seite[data-konten-verwaltung] .konten-hinweis{border-inline-start:4px solid var(--info);padding:12px 16px;background:var(--surface);line-height:1.6}
body.kl-verwaltung .konten-seite[data-konten-verwaltung] .konten-status{font-weight:700;text-decoration:underline;text-underline-offset:.2em}
body.kl-verwaltung .konten-seite[data-konten-verwaltung] .konten-aktionen{display:flex;flex-wrap:wrap;gap:12px}
body.kl-verwaltung .konten-seite[data-konten-verwaltung] button{min-block-size:44px;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere}
body.kl-verwaltung .konten-seite[data-konten-verwaltung] button:disabled{opacity:1;background:var(--surface);color:var(--muted);border:1px solid var(--unknown);cursor:not-allowed}
body.kl-verwaltung .konten-seite[data-konten-verwaltung] :is(a,button,summary):focus-visible{outline:3px solid var(--info);outline-offset:3px}
@media(max-width:767px){body.kl-verwaltung .konten-seite[data-konten-verwaltung] .konten-raster{grid-template-columns:minmax(0,1fr)}body.kl-verwaltung .konten-seite[data-konten-verwaltung] dl{grid-template-columns:minmax(0,1fr)}body.kl-verwaltung .konten-seite[data-konten-verwaltung] dd{margin-block-end:8px}}
@media(prefers-contrast:more){body.kl-verwaltung .konten-seite[data-konten-verwaltung] .konten-karte{border-width:2px}}
@media(forced-colors:active){body.kl-verwaltung .konten-seite[data-konten-verwaltung] :is(.konten-karte,.konten-hinweis){background:Canvas;color:CanvasText;border-color:CanvasText}body.kl-verwaltung .konten-seite[data-konten-verwaltung] button:disabled{color:GrayText;border-color:GrayText}}
@media(prefers-reduced-motion:reduce){body.kl-verwaltung .konten-seite[data-konten-verwaltung]{scroll-behavior:auto}}

/* L34 G: 6b-6h verfeinern; nur verbundene Seiten, keine Demo. */
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen{display:block;min-inline-size:0}
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen details.kl-meldungen-gruppe{margin-block:0 18px;padding:0 16px;border:1px solid var(--unknown);border-radius:var(--radius-kontrolle);background:var(--surface);color:var(--text)}
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen details.kl-meldungen-gruppe>summary{min-block-size:48px;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding-block:10px;line-height:1.5;overflow-wrap:anywhere}
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen .kl-meldungen-gruppe__zahl{min-inline-size:32px;min-block-size:28px;display:inline-flex;align-items:center;justify-content:center;margin-inline-start:auto;padding:2px 10px;background:var(--surface-2);color:var(--text);border:1px solid var(--unknown);font-variant-numeric:tabular-nums}
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen details.kl-meldung-zeile{margin-block:0 12px;padding:0 14px;border:1px solid var(--unknown);background:var(--surface);min-inline-size:0}
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen details.kl-meldung-zeile>summary.kl-meldung__kopf,body.auth-seite.kl-seite:not(.kl-verwaltung) .kl-meldungen details.kl-meldung-zeile>summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-block-size:48px;padding-block:14px;line-height:1.5;white-space:normal}
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen details.kl-meldung-zeile>summary strong,body.auth-seite.kl-seite:not(.kl-verwaltung) .kl-meldungen details.kl-meldung-zeile>summary strong{flex:1 1 15rem;min-inline-size:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen details.kl-meldung-zeile>summary small,body.auth-seite.kl-seite:not(.kl-verwaltung) .kl-meldungen details.kl-meldung-zeile>summary small{flex:1 1 100%;white-space:normal;overflow-wrap:anywhere;color:var(--muted);font-variant-numeric:tabular-nums}
body.auth-seite.kl-seite .kl-meldung-zeile>summary::after{flex:0 0 auto;margin-inline-start:auto;color:var(--text)}
body.auth-seite.kl-seite .kl-meldung-zeile .kl-status{white-space:normal;overflow-wrap:anywhere;max-inline-size:100%}
body.auth-seite.kl-seite .kl-meldung-zeile>.kl-meldung-zeile__inhalt{min-inline-size:0;padding-block:4px 18px;gap:12px;color:var(--text)}
body.auth-seite.kl-seite .kl-meldung-zeile:not([open])>.kl-meldung-zeile__inhalt,body.auth-seite.kl-verwaltung .kl-meldungen-gruppe:not([open])>:not(summary),body.auth-seite.kl-seite .kl-meldungen__erledigt:not([open])>ul{display:none}
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen .kl-meldung__status{display:flex;flex-wrap:wrap;align-items:end;gap:12px;min-inline-size:0}
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen .kl-meldung__status label{flex:1 1 14rem;min-inline-size:0}
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen .kl-meldung__status :is(select,button){min-block-size:44px;max-inline-size:100%;white-space:normal}
body.auth-seite.kl-seite:not(.kl-verwaltung) .kl-meldungen .kl-meldungen__liste{display:block;list-style:none;margin:0;padding:0}
body.auth-seite.kl-seite:not(.kl-verwaltung) .kl-meldungen .kl-meldungen__liste>li{padding-inline:0;border-block-end:1px solid var(--unknown)}
body.auth-seite.kl-seite .kl-meldungen__erledigt{padding-block:12px;margin-block-start:12px;border-block-start:1px solid var(--unknown)}
body.auth-seite.kl-seite .kl-meldungen__erledigt>summary{min-block-size:44px;padding-block:10px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.auth-seite.kl-seite dialog.foto-gross{box-sizing:border-box;inline-size:min(94vw,1200px);max-inline-size:94vw;max-block-size:92vh;padding:12px;border:1px solid var(--unknown);background:var(--surface);color:var(--text);border-radius:var(--radius-kontrolle)}
body.auth-seite.kl-seite dialog.foto-gross[open]{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px}
body.auth-seite.kl-seite dialog.foto-gross:not([open]){display:none}
body.auth-seite.kl-seite dialog.foto-gross .foto-gross__zu{position:static;justify-self:end;min-inline-size:44px;min-block-size:44px;padding:10px 16px;border:1px solid var(--unknown);background:var(--surface-2);color:var(--text);line-height:1.5;white-space:normal}
body.auth-seite.kl-seite dialog.foto-gross img{max-inline-size:100%;max-block-size:calc(90vh - 90px);inline-size:auto;block-size:auto;object-fit:contain;margin:auto}
body.auth-seite.kl-seite dialog.foto-gross::backdrop{background:var(--nav);opacity:.82}
body.auth-seite fieldset.ka-laeden[data-laeden-auswahl]{min-inline-size:0;margin-block:16px;padding:16px;border:1px solid var(--unknown);border-radius:var(--radius-kontrolle);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:8px 16px;color:var(--text);background:var(--surface)}
body.auth-seite fieldset.ka-laeden[data-laeden-auswahl] legend{padding-inline:8px;font-weight:700;white-space:normal;overflow-wrap:anywhere;max-inline-size:100%}
body.auth-seite fieldset.ka-laeden[data-laeden-auswahl] label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;margin:0;min-block-size:44px;padding:10px 4px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
body.auth-seite fieldset.ka-laeden[data-laeden-auswahl] input[type="checkbox"]{inline-size:20px;block-size:20px;min-block-size:20px;max-inline-size:20px;margin:2px 0 0;flex:none}
body.auth-seite.kl-seite .ka-inner>.kl-grid{min-inline-size:0;gap:20px}
body.auth-seite.kl-seite .kl-bildschirme[data-bildschirme-karte]{min-inline-size:0;margin-block:0;padding:20px;border:1px solid var(--unknown);background:var(--surface);color:var(--text)}
body.auth-seite.kl-seite .kl-bildschirme[data-bildschirme-karte]>h2{line-height:1.4;overflow-wrap:anywhere}
body.auth-seite.kl-seite .kl-bildschirme[data-bildschirme-karte] .os-player{min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere}
body.auth-seite.kl-seite .kl-bildschirme[data-bildschirme-karte] .kl-monitor__details{white-space:nowrap;min-inline-size:0;max-inline-size:100%}
body.auth-seite.os-seite .ka-inner .os-hinweis[data-daten-zustand]{background:var(--surface);color:var(--muted);border:1px solid var(--unknown);border-inline-start-width:4px;line-height:1.6;overflow-wrap:anywhere}
body.auth-seite.os-seite .ka-inner .os-hinweis[data-daten-zustand="frisch"]{border-inline-start-color:var(--ok)}
body.auth-seite.os-seite .ka-inner .os-hinweis[data-daten-zustand="veraltet"]{border-inline-start-color:var(--warn)}
body.auth-seite.os-seite .ka-inner .os-hinweis[data-daten-zustand="momentaufnahme"]{border-inline-start-color:var(--unknown)}
body.auth-seite.os-seite .ka-inner .os-hinweis[data-daten-zustand] :is(strong,.os-stand){color:var(--text);font-weight:600}
/* G8 ist vorbereitet und wirkt erst nach Claudes P7-Markup-Einbau. */
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen [data-meldung-typ="system"]{border-inline-start:4px solid var(--info)}
body.auth-seite.kl-verwaltung .kl-meldungen-gruppen .kl-system-etikett{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid var(--info);background:var(--surface);color:var(--info);font-weight:700;line-height:1.5}
body.auth-seite.kl-seite :is(.kl-meldung-zeile,.kl-meldungen-gruppe,.kl-meldungen__erledigt)>summary:focus-visible,body.auth-seite.kl-seite dialog.foto-gross button:focus-visible,body.auth-seite fieldset.ka-laeden[data-laeden-auswahl] input:focus-visible{outline:3px solid var(--info);outline-offset:3px}
@media(min-width:1024px){body.auth-seite.kl-seite .ka-inner>.kl-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(18rem,1fr);align-items:start}body.auth-seite.kl-seite .ka-inner>.kl-grid>.kl-melden{position:static;margin-block-start:0;min-inline-size:0}}
@media(max-width:1023px){body.auth-seite.kl-seite .ka-inner>.kl-grid{display:grid;grid-template-columns:minmax(0,1fr)}}
@media(prefers-contrast:more){body.auth-seite.kl-seite :is(.kl-meldung-zeile,.kl-meldungen-gruppe),body.auth-seite fieldset.ka-laeden[data-laeden-auswahl]{border-width:2px}}
@media(forced-colors:active){body.auth-seite.kl-seite :is(.kl-meldung-zeile,.kl-meldungen-gruppe,dialog.foto-gross,.kl-system-etikett),body.auth-seite fieldset.ka-laeden[data-laeden-auswahl]{background:Canvas;color:CanvasText;border-color:CanvasText}body.auth-seite.kl-seite dialog.foto-gross .foto-gross__zu{background:ButtonFace;color:ButtonText;border-color:ButtonText}body.auth-seite.kl-verwaltung .kl-meldungen-gruppe__zahl{background:Canvas;color:CanvasText;border-color:CanvasText}}
@media(prefers-reduced-motion:reduce){body.auth-seite.kl-seite .kl-meldung-zeile>summary::after{transition:none;animation:none}body.auth-seite.kl-seite :is(.kl-meldung-zeile,.kl-meldungen-gruppe,dialog.foto-gross){scroll-behavior:auto}}

/* L35 · Paket 7c: Desktop und Konten, nur vorhandene Tokens, keine Funktionen. */
body.auth-seite.kl-seite,body.auth-seite:has(.ka-form input[name="mitgliedschaft"]){font-family:var(--font)}
body.auth-seite.kl-seite .auth-shell{overflow:clip}
body.auth-seite.kl-seite .kl-kennzahlen{gap:12px;align-items:stretch}
body.auth-seite.kl-seite .kl-kennzahlen>li{justify-content:space-between;gap:8px;padding:16px;min-inline-size:0}
body.auth-seite.kl-seite .kl-kennzahlen strong{font-variant-numeric:tabular-nums;line-height:1.3;min-inline-size:0;overflow-wrap:anywhere}
body.auth-seite.kl-seite .kl-kennzahlen [data-kennzahl="stand"] strong{font-size:clamp(16px,1.55vw,22px)}
body.auth-seite.kl-seite .kl-kennzahlen li[data-achtung]{border-color:var(--warn);background:var(--warn-bg);box-shadow:none}
body.auth-seite.kl-seite .kl-kennzahlen li[data-achtung] :is(strong,span){color:var(--warn)}
body.auth-seite.kl-seite .kl-bildschirme .os-liste{grid-auto-rows:1fr;align-items:stretch;gap:16px}
body.auth-seite.kl-seite .kl-bildschirme .os-liste>.kl-monitor{display:grid;grid-template-columns:16px minmax(0,1fr);grid-template-rows:minmax(2.8em,auto) auto 1fr;align-content:stretch;align-items:start;gap:8px 12px;min-block-size:174px;padding:18px;min-inline-size:0;box-sizing:border-box}
body.auth-seite.kl-seite .kl-bildschirme .kl-monitor>.os-punkt{grid-column:1;grid-row:1;margin-block-start:5px;align-self:start}
body.auth-seite.kl-seite .kl-bildschirme .kl-monitor>strong{grid-column:2;grid-row:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere;line-height:1.4;max-block-size:2.8em;min-inline-size:0}
body.auth-seite.kl-seite .kl-bildschirme .kl-monitor>small{grid-column:1/-1;grid-row:2;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
body.auth-seite.kl-seite .kl-bildschirme .kl-monitor>.kl-monitor__details{grid-column:1/-1;grid-row:3;align-self:end;justify-self:start;margin-block-start:8px;line-height:1.5}
body.auth-seite.kl-seite .kl-bildschirme a.kl-monitor:hover{border-color:var(--info);box-shadow:none;transform:none}
body.auth-seite.kl-seite .kl-bildschirme a.kl-monitor:focus-visible{outline:3px solid var(--info);outline-offset:3px;transform:none}
body.auth-seite.kl-seite .kl-laeden{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch;margin-block:0 20px}
body.auth-seite.kl-seite .kl-laeden>a{min-block-size:44px;padding:10px 14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;max-inline-size:100%;box-sizing:border-box;box-shadow:none}
body.auth-seite.kl-seite .kl-laeden>a[aria-current="page"]{border-block-end-width:3px;font-weight:700}
body.auth-seite.kl-seite .kl-meldungen .kl-meldungen__liste{display:block}
body.auth-seite.kl-seite .kl-meldungen .kl-meldung-zeile>summary{gap:8px 16px;min-block-size:52px}
body.auth-seite.kl-seite.md-seite .md-detail{gap:20px}
body.auth-seite.kl-seite.md-seite .md-name{font-size:clamp(24px,2vw,32px);line-height:1.3;overflow-wrap:anywhere}
body.auth-seite.kl-seite.md-seite :is(.md-status,.md-verlauf,.md-tageswerte,.md-melden,.md-meldungen){padding:20px;min-inline-size:0}
body.auth-seite.kl-seite.md-seite .md-werte{gap:12px}
body.auth-seite.kl-seite.md-seite .md-werte dd{font-variant-numeric:tabular-nums}
@media(min-width:1024px){
 body.auth-seite.kl-seite:not(.md-seite) .auth-innen{grid-template-columns:minmax(0,1fr)}
 body.auth-seite.kl-seite:not(.md-seite) :is(.auth-einstieg,.auth-inhalt,.kl-seitennav){grid-column:1/-1}
 body.auth-seite.kl-seite .kl-seitennav{display:flex;flex-wrap:wrap;gap:8px;align-items:center;position:static;margin-block:0 20px}
 body.auth-seite.kl-seite .kl-seitennav>a{min-block-size:44px;padding:10px 14px;box-sizing:border-box}
 body.auth-seite.kl-seite .kl-kennzahlen{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
 body.auth-seite.kl-seite .kl-kennzahlen strong{font-size:26px}
 body.auth-seite.kl-seite:not(.md-seite) .ka-inner>.kl-grid{grid-template-columns:minmax(0,1fr) minmax(300px,350px);gap:24px;align-items:start}
 body.auth-seite.kl-seite .ka-inner>.kl-grid>.kl-melden{position:sticky;inset-block-start:24px;max-block-size:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding-block:16px}
 body.auth-seite.kl-seite .kl-bildschirme .os-liste{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr))}
}
@media(min-width:1024px) and (max-height:800px){
 body.auth-seite.kl-seite .ka-inner>.kl-grid>.kl-melden{position:static;max-height:none;max-block-size:none;overflow:visible;scrollbar-gutter:auto}
}
/* Konten ohne Produkt-Markupänderung: vorhandene Mitgliedschaftsformulare begrenzen den Scope. */
body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-inner>.ka-card{padding:20px;min-inline-size:0;display:flex;flex-direction:column;gap:12px;margin-block:0 16px}
body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-inner>.ka-card>h2{font-size:18px;line-height:1.45;overflow-wrap:anywhere;margin:0}
body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-inner>.ka-card>small{display:block;align-self:start;border:1px solid var(--unknown);background:var(--surface-2);color:var(--text);border-radius:var(--radius-kontrolle);padding:6px 10px;line-height:1.6;max-inline-size:100%;box-sizing:border-box;overflow-wrap:anywhere}
body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-inner>.ka-card:not(:has(form)){border-inline-start:3px solid var(--info);background:var(--surface-2)}
body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-card>.ka-form{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-block-start:auto}
body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-form select{min-inline-size:0;margin:0}
body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-form button[value="entziehen"]{margin-block-start:4px;border:1px dashed var(--unknown);background:transparent;color:var(--text);box-shadow:none}
body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-form button:focus-visible{outline:3px solid var(--info);outline-offset:3px}
@media(min-width:1024px){
 body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-inner>:is(h1,p,.ka-meldung,.ka-ok){grid-column:1/-1;margin-block-end:0}
 body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-inner>.ka-card{margin:0}
 body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-form select{grid-column:1/-1}
 body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-form button[value="entziehen"]{margin-block-start:0}
}
@media(prefers-reduced-motion:reduce){
 body.auth-seite.kl-seite .kl-monitor,body.auth-seite.kl-seite .kl-monitor:hover,body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .knopf{transition:none;animation:none;transform:none}
}
@media(forced-colors:active){
 body.auth-seite.kl-seite .kl-kennzahlen>li,body.auth-seite.kl-seite .kl-bildschirme .kl-monitor{background:Canvas;color:CanvasText;border:1px solid CanvasText}
 body.auth-seite.kl-seite .kl-kennzahlen li[data-achtung]{border:2px dashed CanvasText}
 body.auth-seite.kl-seite .kl-kennzahlen li[data-achtung] :is(strong,span){color:CanvasText}
 body.auth-seite.kl-seite .kl-monitor:focus-visible,body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-form button:focus-visible{outline-color:Highlight}
 body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-inner>.ka-card>small{background:Canvas;color:CanvasText;border-color:CanvasText}
}
@media print{
 body.auth-seite.kl-seite .kl-kennzahlen{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
 body.auth-seite.kl-seite .kl-kennzahlen>li{background:transparent;border:1px solid currentColor;break-inside:avoid}
 body.auth-seite.kl-seite .kl-bildschirme .os-liste{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto}
 body.auth-seite.kl-seite .kl-bildschirme .kl-monitor{break-inside:avoid;min-block-size:0}
 body.auth-seite.kl-seite .kl-bildschirme .kl-monitor>strong{display:block;max-block-size:none;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible}
 body.auth-seite.kl-seite .ka-inner>.kl-grid>.kl-melden{position:static;max-height:none;max-block-size:none;overflow:visible}
}

/* L35 Sichtprüfung: vorhandener Details-Text braucht keinen zweiten Pseudopfeil. */
body.auth-seite.kl-seite .kl-bildschirme a.kl-monitor::after{content:none;display:none}
body.auth-seite.kl-seite .kl-meldungen .kl-meldung-zeile>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:8px 12px;padding:12px 4px;min-block-size:64px;box-sizing:border-box}
body.auth-seite.kl-seite .kl-meldungen .kl-meldung-zeile>summary>.kl-status{grid-column:1;grid-row:1;align-self:start}
body.auth-seite.kl-seite .kl-meldungen .kl-meldung-zeile>summary>strong{grid-column:2;grid-row:1;min-inline-size:0}
body.auth-seite.kl-seite .kl-meldungen .kl-meldung-zeile>summary>small{grid-column:2;grid-row:2;min-inline-size:0;white-space:normal}
body.auth-seite.kl-seite .kl-meldungen .kl-meldung-zeile>summary::after{grid-column:3;grid-row:1/3;align-self:center;flex:none}
@media(min-width:1024px){body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .ka-card>.ka-form{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* L35 finale Kaskadenkorrektur: kunde-landshut.css wird nach reference-design.css geladen. */
@media(min-width:1024px) and (max-height:800px){body.auth-seite.os-seite.kl-seite:not(.md-seite) .ka-inner>.kl-grid>.kl-melden{position:static;max-height:none;max-block-size:none;overflow:visible;scrollbar-gutter:auto}}
body.auth-seite.kl-seite .auth-einstieg .auth-einstieg__titel{font-size:clamp(26px,3vw,38px);line-height:1.2;letter-spacing:-.035em;font-weight:700;color:var(--text);margin:0 0 12px}

/* L35 Konten: bei 1024 px keine zweite, verschachtelte Halbierung durch die Zugangsspalte. */
@media(min-width:1024px){
 body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .auth-innen{display:block}
 body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .auth-einstieg{max-inline-size:none;margin-block:0 24px}
 body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .auth-inhalt{inline-size:100%;max-inline-size:none}
 body.auth-seite:has(.ka-form input[name="mitgliedschaft"]) .auth-inhalt>.ka-inner{inline-size:100%;max-inline-size:none;box-sizing:border-box}
}

/* L36: Umfang der Verwaltungsliste sichtbar und umbruchfest; vorhandene Tokens. */
body.auth-seite.os-seite.kl-verwaltung .ka-inner>.kl-liste-umfang{
 margin:0 0 20px;padding:12px 16px;border:1px solid var(--border);border-inline-start:3px solid var(--info);border-radius:12px;
 background:var(--surface);color:var(--text);font-size:.9375rem;line-height:1.6;max-inline-size:80ch;overflow-wrap:anywhere;box-sizing:border-box;
}
body.auth-seite.os-seite.kl-seite.kl-verwaltung .kl-meldungen-gruppen .kl-meldung-zeile[data-meldung-typ="system"]{border-inline-start:4px solid var(--info)}
@media(max-width:480px){body.auth-seite.os-seite.kl-verwaltung .ka-inner>.kl-liste-umfang{padding:12px;margin-block-end:16px}}
@media(forced-colors:active){body.auth-seite.os-seite.kl-verwaltung .ka-inner>.kl-liste-umfang{border-color:CanvasText;background:Canvas;color:CanvasText}}

/* 11.11.2026 (Befund Christian, Screenshot): Demo/Live-Schalter in der Kopfleiste ragte oben heraus. Ursache: der
   allgemeine Abstand unter .nl-ansicht (20 px) galt auch hier und verschob ihn in der zentrierten Kopfleiste nach oben. */
body .topbar .nl-ansicht--kopf{margin-block:0}/* 11.11.2026 (Christian): Push-Knopf auch auf dem Dashboard. */
body .db-workspace .kl-push{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 16px;padding:12px 16px;border:1px solid var(--border);border-radius:var(--radius-kontrolle,12px);background:var(--surface-2)}
body .db-workspace .kl-push [data-push-info]{color:var(--muted);font-size:14px}
body .db-workspace .kl-push [data-push-knopf]{margin-inline-start:auto;min-height:44px}
body .db-workspace .kl-push [data-push-knopf][hidden]{display:none}/* 11.11.2026 (Befund Christian, Android): In „Gerät & BMS“ überlappte das Bildschirm-Symbol den Gerätenamen.
   Ursache: erste Spalte fest 46 px, Logo + Symbol brauchen rund 70 px. Spalte jetzt so breit wie der Inhalt. */
body .am-feature-device{grid-template-columns:auto minmax(0,1fr) auto}
/* 11.11.2026 (Christian/Sebastian): Seitenleiste auch auf Meldungen, Servicezeiten, Echte Bildschirme, Kontoanträge,
   Konten und Einstellungen. Nachtrag gleicher Tag (Christian: „die ganze Zeit das gleiche Bild“): gleiche Optik wie die
   Startseite. noc-demo.css ist auf diesen Seiten nicht geladen, darum hier die Grundmasse der Startseiten-Leiste
   (noc-demo.css .sidebar/.main-nav__link + Zeilen 15–18 oben); Farben kommen aus marke-blueline.css (.sidebar …). */
body.mit-vs .vs-leiste{display:flex;flex-direction:column;gap:28px;padding:22px 12px 28px;box-sizing:border-box;z-index:30;font-family:var(--font)}
body.mit-vs .vs-marke{display:flex;align-items:center;gap:10px;padding:0 8px;margin-bottom:18px;text-decoration:none}
body.mit-vs .vs-klapp__knopf{display:none}
body.mit-vs .vs-nav{display:flex;flex-direction:column;gap:4px}
body.mit-vs .vs-link{min-height:44px;display:flex;align-items:center;gap:12px;padding:0 10px 0 13px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap;box-sizing:border-box}
body.mit-vs .vs-link .ui-icon{width:21px;height:21px;flex:none}
body.mit-vs .vs-link small{margin-left:auto;border-radius:6px;padding:2px 6px;font-size:10px;background:rgba(255,255,255,.08)}
body.mit-vs .main-nav__link--disabled{opacity:.65;cursor:not-allowed}
body.mit-vs .vs-link:focus-visible{outline:3px solid var(--bl-cyan,var(--info));outline-offset:2px}
body.mit-vs .vs-fuss{border:0;border-top:1px solid color-mix(in srgb,var(--bl-cloud,#F1F5FB) 45%,var(--bl-midnight,#0A1F44));border-radius:0;background:none;padding:15px 6px 0;font-size:11px;display:flex;flex-direction:column;gap:8px}
body.mit-vs .vs-fuss strong{font-size:12px}
body.mit-vs .vs-fuss p{margin:0;line-height:1.6}
body.mit-vs .vs-fuss small{overflow-wrap:anywhere}
body.mit-vs .vs-fuss .sidebar__faceid{display:block;font-size:.8rem}
/* Zweites BLUELINE-Logo im Inhalt weg (Christian: Kontoanträge in Anmelde-Optik, Servicezeiten mit Logo-Kopfzeile);
   Sprache und Tag/Nacht im Kopf bleiben. */
body.mit-vs .auth-kopf .auth-marke,body.mit-vs .auth-wellenfeld,body.mit-vs .auth-einstieg .auth-ueberzeile,body.mit-vs .bl-powered{display:none}
body.mit-vs .auth-kopf{justify-content:flex-end}
@media(min-width:1024px){
  body.mit-vs .vs-leiste{position:fixed;inset-block:0;inset-inline-start:0;width:var(--sidebar);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
  body.mit-vs .auth-shell{margin-inline-start:var(--sidebar)}
}
@media(max-width:1023px){
  body.mit-vs .vs-leiste{position:sticky;top:0;max-width:100vw;min-width:0;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border-right:0;border-bottom:2px solid var(--bl-line,var(--border))}
  body.mit-vs aside.vs-leiste a.vs-marke{margin:0;padding:4px 0;flex:1 1 auto}
  body.mit-vs aside.vs-leiste a.vs-marke img{height:24px}
  body.mit-vs .vs-marke small{display:none}
  body.mit-vs .vs-klapp{flex:1 1 100%;min-width:0;max-width:100%}
  body.mit-vs .vs-klapp__knopf{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid rgba(241,245,251,.3);border-radius:10px;cursor:pointer;font-weight:600;list-style:none}
  body.mit-vs .vs-klapp__knopf::-webkit-details-marker{display:none}
  body.mit-vs .vs-nav{flex-direction:row;gap:6px;min-width:0;max-width:100%;overflow-x:auto;padding-block:8px 2px;scrollbar-width:thin}
  body.mit-vs .vs-link{flex:none;min-height:44px;border-color:rgba(241,245,251,.18)}
  body.mit-vs .vs-fuss{display:none}
}
