/* ═══════════════════════════════════════════════════════════════════════════
   §ADMIN-COMMAND-CENTER-2026-10-26 (E5) — 3-Stufen-Glas fuer das Admin-Panel
   Stufen: light (Hell, Milchglas) · smoke (Anthrazit) · obsidian (Standard, OLED)
   Gesetzt als data-ec-glass am #ec-admin-elite-shell, synchron im selben
   Skriptschritt wie html.ec-admin-elite-mode (ui-render.js, UI Block 3) → kein
   Aufblitzen. Merker: localStorage 'ec_admin_glass_theme' (ueberlebt Abmelden).
   backdrop-filter nur auf Flaechen (Leiste, Kopf, Karten), nie auf Zeilen —
   sonst ruckelt das Scrollen auf dem Handy.
   Muss NACH app.css geladen werden (gleiche Selektoren + [data-ec-glass]).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens je Stufe ─────────────────────────────────────────────────────── */
#ec-admin-elite-shell[data-ec-glass="obsidian"]{
  --ap-ink-0:#000000; --ap-ink-1:#07080c; --ap-ink-2:#0d0f16;
  --ap-fg-3:#868686;   /* §ADMIN-OVERVIEW-V3: #6B7799 lag auf dem Glas bei 4,47:1 (unter AA) */
  --ap-hl-1:rgba(255,255,255,0.12); --ap-hl-2:rgba(255,255,255,0.18);
  --ap-glass-surface:rgba(10,10,14,0.9);
  --ap-glass-blur:20px;
  --ap-glass-border:rgba(255,255,255,0.12);
  --ap-glass-shadow:inset 0 1px 0 rgba(255,255,255,0.04);
  --ap-glass-backdrop:#000;
  background:#000;
}
#ec-admin-elite-shell[data-ec-glass="smoke"]{
  --ap-ink-0:#1b1d25; --ap-ink-1:#252525; --ap-ink-2:#2e2e2e;
  --ap-fg-2:#bdbdbd; --ap-fg-3:#979797; --ap-fg-4:#757575;
  --ap-hl-1:rgba(255,255,255,0.16); --ap-hl-2:rgba(255,255,255,0.24);
  --ap-glass-surface:rgba(20,22,30,0.75);
  --ap-glass-blur:20px;
  --ap-glass-border:rgba(255,255,255,0.16);
  --ap-glass-shadow:0 8px 28px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
  --ap-glass-backdrop:#1b1d25;
  background:#1b1d25;
}
#ec-admin-elite-shell[data-ec-glass="light"]{
  --ap-ink-0:#ededed; --ap-ink-1:#ffffff; --ap-ink-2:#f3f5fa;
  --ap-fg-0:#121212; --ap-fg-1:#282828; --ap-fg-2:#3f3f3f; --ap-fg-3:#535353; --ap-fg-4:#656565;
  --ap-hl-1:rgba(23, 23, 23, 0.10); --ap-hl-2:rgba(23, 23, 23, 0.18);
  --ap-cyan-300:#575757; --ap-cyan-400:#767676; --ap-cyan-500:#606060;
  --ap-cyan-glow:rgba(118, 118, 118, 0.30);
  --ap-violet-300:#434343; --ap-violet-400:#555555; --ap-violet-500:#434343;
  --ap-success:#5d5d5d;
  --ap-glass-surface:rgba(255,255,255,0.7);
  --ap-glass-blur:25px;
  --ap-glass-border:rgba(23, 23, 23, 0.10);
  --ap-glass-shadow:0 10px 30px rgba(23, 23, 23, 0.08), 0 1px 2px rgba(23, 23, 23, 0.06);
  --ap-glass-backdrop:#ededed;
  background:#ededed;
  color:var(--ap-fg-1);
  color-scheme:light;
}

/* ── Hintergrund hinter dem Glas ─────────────────────────────────────────────
   §ADMIN-OVERVIEW-V3-2026-10-27 (E1): je Stufe EINE Volltonflaeche — kein Raster,
   keine Farbschleier, auch nicht auf der PIN-Abfrage. */
#ec-admin-elite-shell[data-ec-glass]::before{ background:var(--ap-glass-backdrop); }
#ec-admin-elite-shell[data-ec-glass]::after{ background:none; }

/* ── Hell: harte Dunkel-Farben aus app.css umgedreht ─────────────────────────
   Erzeugt aus den festen Farbwerten der Admin-Regeln in app.css
   (Text → AA-Dunkeltoene, dunkle Flaechen → --ap-glass-surface,
   Weiss-Alpha-Flaechen/Konturen → Schiefer-Alpha). Neue Admin-Regeln mit
   festen Farben brauchen hier eine Entsprechung, sonst bleibt „Hell“ halb dunkel. */
#ec-admin-elite-shell[data-ec-glass="light"]{background:var(--ap-glass-surface);color:#121212}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-sub{color:#535353}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-card{background:var(--ap-glass-surface);border:1px solid rgba(23, 23, 23, 0.096)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-input{background:var(--ap-glass-surface);border:1px solid rgba(23, 23, 23, 0.16);color:#121212}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-btn-secondary{background:rgba(23, 23, 23, 0.04);color:#121212;border:1px solid rgba(23, 23, 23, 0.128)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-btn-danger{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-tab{color:#535353}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-row{background:var(--ap-glass-surface);border:1px solid rgba(23, 23, 23, 0.08)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-pill-ok{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-pill-pending{color:#92400e}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-pill-fail{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-stat{background:var(--ap-glass-surface);border:1px solid rgba(23, 23, 23, 0.096)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-stat-l{color:#535353}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-error{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-info{color:#383838}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-topbar{background:var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-search-trigger{background:rgba(23, 23, 23, 0.03)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-search-trigger:hover{background:rgba(23, 23, 23, 0.05)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-search-trigger .kbd{background:rgba(23, 23, 23, 0.05)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-chip-icon{background:rgba(23, 23, 23, 0.03)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-chip-icon:hover{background:rgba(23, 23, 23, 0.06)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-gate-shell{background:var(--ap-glass-surface);border-color:rgba(23, 23, 23, 0.16)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-sidebar{background:var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-role{background:rgba(23, 23, 23, 0.03)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-nav-item:hover{background:rgba(23, 23, 23, 0.03)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-nav-count{background:rgba(23, 23, 23, 0.04)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-collapse-btn:hover{background:rgba(23, 23, 23, 0.04)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-btn-ghost:hover{background:rgba(23, 23, 23, 0.04)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-btn-secondary{background:rgba(23, 23, 23, 0.05)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-btn-secondary:hover{background:rgba(23, 23, 23, 0.08);border-color:rgba(23, 23, 23, 0.22)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-kpi{background:linear-gradient(180deg, rgba(23, 23, 23, 0.025) 0%, rgba(23, 23, 23, 0.01) 100%)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-kpi.success .ec-ap-kpi-icon{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-kpi.warn .ec-ap-kpi-icon{color:#92400e}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-delta.up{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-delta.down{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-delta.flat{background:rgba(23, 23, 23, 0.04)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-panel{background:var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-btn-group{background:rgba(23, 23, 23, 0.03)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-seg:hover{background:rgba(23, 23, 23, 0.04)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-a-ic{background:rgba(23, 23, 23, 0.04)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-activity-item.danger  .ec-ap-a-ic{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-activity-item.success .ec-ap-a-ic{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-banner{background:linear-gradient(180deg, var(--ap-glass-surface), var(--ap-glass-surface))}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-card{background:var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-row{border-bottom:1px dashed rgba(23, 23, 23, 0.128)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-ico{background:rgba(23, 23, 23, 0.025)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-pill{background:rgba(23, 23, 23, 0.03)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-pill.active{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-pill.warn{color:#92400e}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-pill.mono{border-color:rgba(23, 23, 23, 0.16);background:rgba(23, 23, 23, 0.035)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-danger{background:linear-gradient(180deg, var(--ap-glass-surface) 0%, var(--ap-glass-surface) 70%)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-kicker-danger{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-danger-item{border:1px solid rgba(23, 23, 23, 0.096);background:var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-settings-danger-btn.outline{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-qa{background:rgba(23, 23, 23, 0.02)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-qa.warn   .ec-ap-qa-ic{color:#92400e}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-qa.danger .ec-ap-qa-ic{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-status-row{background:rgba(23, 23, 23, 0.02)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-readonly-pill{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-topbar #ec-admin-elite-logout-btn{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-topbar #ec-admin-elite-logout-btn:hover{color:#9f1239}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-meter{background:rgba(23, 23, 23, 0.05)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-table-wrap{background:var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-table-tools{background:rgba(23, 23, 23, 0.015)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-input{background:rgba(23, 23, 23, 0.03)}
#ec-admin-elite-shell[data-ec-glass="light"] #ec-admin-elite-tabbody:not(.ec-ap-overview-mode):not(.ec-ap-support-mode){background:var(--ap-glass-surface) !important}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-card{background:var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-row{background:rgba(23, 23, 23, 0.018)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-row:hover{border-color:rgba(23, 23, 23, 0.208)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-error{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-input{background:rgba(23, 23, 23, 0.03)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-pill-ok{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-pill-pending{color:#92400e}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-pill-fail{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-btn-secondary{background:rgba(23, 23, 23, 0.05)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-hero,
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-panel,
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-card,
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-node{background:linear-gradient(180deg, rgba(23, 23, 23, 0.045), rgba(23, 23, 23, 0.015)),
    var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-hero{background:var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-mode{color:#92400e}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-icon.warn{color:#92400e}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-icon.ok{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-icon.locked,
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-icon.danger{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-subnav{background:rgba(23, 23, 23, 0.018)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-subnav-item:hover{background:rgba(23, 23, 23, 0.05)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-adv{background:rgba(23, 23, 23, 0.015)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-adv.sev-critical .ec-adb-adv-pill{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-adv.sev-warn .ec-adb-adv-pill{color:#92400e}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-adv.sev-ok .ec-adb-adv-pill{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-meter{background:rgba(23, 23, 23, 0.015)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-meter-bar{background:rgba(23, 23, 23, 0.06)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-term{background:var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-term-bar{background:rgba(23, 23, 23, 0.02)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-term-dot{background:rgba(23, 23, 23, 0.08)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-log-lvl.lvl-ok{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-log-lvl.lvl-warn{color:#92400e}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-log-src{color:#383838}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-mx-row.head{background:rgba(23, 23, 23, 0.025)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-mark.yes{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-mark.no{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-mark.lim{color:#92400e}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-ep{background:rgba(23, 23, 23, 0.018)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-ep-method.post{color:#383838}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-prog{background:rgba(23, 23, 23, 0.06)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-check-item{background:rgba(23, 23, 23, 0.018)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-check-item:hover{background:rgba(23, 23, 23, 0.04)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-check-item.is-done .ec-adb-check-box{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-step{background:rgba(23, 23, 23, 0.018)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-bound{background:rgba(23, 23, 23, 0.018)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-list-item{background:rgba(23, 23, 23, 0.018)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-adb-count{background:rgba(23, 23, 23, 0.018)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-badge{background:rgba(23, 23, 23, 0.04)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-badge.warn{color:#92400e}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-badge.danger{color:#b91c1c}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-badge.success{color:#5d5d5d}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-panel{background:var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-inbox-title .ct{background:rgba(23, 23, 23, 0.03)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-search{background:rgba(23, 23, 23, 0.03)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-filter{background:rgba(23, 23, 23, 0.03)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-filter:hover{background:rgba(23, 23, 23, 0.05)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-ticket-row:hover{background:rgba(23, 23, 23, 0.025)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-toolbar{background:rgba(23, 23, 23, 0.015)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-block{background:rgba(23, 23, 23, 0.02)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-block.muted{background:rgba(23, 23, 23, 0.025)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-card{background:var(--ap-glass-surface)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-ord-row{border-bottom:1px solid rgba(23, 23, 23, 0.096)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-ord-row:hover{background:rgba(23, 23, 23, 0.025)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-ord-head{color:#535353;background:rgba(23, 23, 23, 0.02)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-ord-head:hover{background:rgba(23, 23, 23, 0.02)}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-ord-muted{color:#535353}


/* ── Glasflaechen (alle Stufen; nach dem Hell-Block, damit sie gewinnen) ──── */
#ec-admin-elite-shell[data-ec-glass] .ec-ap-sidebar,
#ec-admin-elite-shell[data-ec-glass] .ec-ap-topbar{
  background:var(--ap-glass-surface);
  -webkit-backdrop-filter:blur(var(--ap-glass-blur)) saturate(140%);
          backdrop-filter:blur(var(--ap-glass-blur)) saturate(140%);
  border-color:var(--ap-glass-border);
}
#ec-admin-elite-shell[data-ec-glass] .ec-ap-panel,
#ec-admin-elite-shell[data-ec-glass] .ec-ap-kpi,
#ec-admin-elite-shell[data-ec-glass] .ec-ap-gate-shell,
#ec-admin-elite-shell[data-ec-glass] .ec-as-panel,
#ec-admin-elite-shell[data-ec-glass] .ec-as-card{
  background:var(--ap-glass-surface);
  -webkit-backdrop-filter:blur(var(--ap-glass-blur)) saturate(140%);
          backdrop-filter:blur(var(--ap-glass-blur)) saturate(140%);
  border:1px solid var(--ap-glass-border);
  box-shadow:var(--ap-glass-shadow);
}
#ec-admin-elite-shell[data-ec-glass] #ec-admin-elite-tabbody:not(.ec-ap-overview-mode):not(.ec-ap-support-mode){
  background:var(--ap-glass-surface) !important;
  -webkit-backdrop-filter:blur(var(--ap-glass-blur)) saturate(140%);
          backdrop-filter:blur(var(--ap-glass-blur)) saturate(140%);
  border:1px solid var(--ap-glass-border) !important;
  box-shadow:var(--ap-glass-shadow) !important;
}
/* Innere Tabellen-Huelle liegt schon auf Glas: nur Kontur, kein zweiter Blur. */
#ec-admin-elite-shell[data-ec-glass] .ec-ap-table-wrap{
  background:transparent;
  border-color:var(--ap-glass-border);
}

/* ── 3-Segment-Glas-Pill im Kopf ─────────────────────────────────────────── */
#ec-admin-elite-shell .ec-ap-glass-pill{
  display:inline-flex; align-items:center; gap:2px;
  height:34px; padding:3px;
  border-radius:999px;
  background:var(--ap-glass-surface, rgba(14, 14, 14, 0.6));
  border:1px solid var(--ap-glass-border, rgba(255,255,255,0.12));
  box-shadow:0 6px 18px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
  -webkit-backdrop-filter:blur(14px) saturate(150%);
          backdrop-filter:blur(14px) saturate(150%);
  flex:0 0 auto;
}
#ec-admin-elite-shell .ec-ap-glass-pill button{
  display:inline-flex; align-items:center; gap:6px;
  height:26px; padding:0 11px;
  border:0; border-radius:999px;
  background:transparent;
  color:var(--ap-fg-2);
  font:500 12px/1 var(--ap-font-sans);
  cursor:pointer; white-space:nowrap;
  transition:background .15s ease, color .15s ease, box-shadow .15s ease;
}
#ec-admin-elite-shell .ec-ap-glass-pill button:hover{ color:var(--ap-fg-0); }
#ec-admin-elite-shell .ec-ap-glass-pill button:focus-visible{ outline:2px solid var(--ap-cyan-400); outline-offset:1px; }
#ec-admin-elite-shell .ec-ap-glass-pill button[aria-pressed="true"]{
  color:var(--ap-fg-0);
  background:rgba(255,255,255,0.12);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.18);
}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-ap-glass-pill button[aria-pressed="true"]{
  background:#ffffff;
  box-shadow:0 1px 3px rgba(23, 23, 23, 0.16), inset 0 0 0 1px rgba(23, 23, 23, 0.08);
}
#ec-admin-elite-shell .ec-ap-glass-pill .ic{ font-size:13px; line-height:1; }
@media (max-width: 1100px){
  #ec-admin-elite-shell .ec-ap-glass-pill .lbl{ display:none; }
  #ec-admin-elite-shell .ec-ap-glass-pill button{ padding:0 9px; }
}

/* ── Command-Center-Bausteine (Aktionen, Toast, Formularzeilen) ─────────── */
#ec-admin-elite-shell .ec-cc-toolbar{
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  padding:12px 14px; border-bottom:1px solid var(--ap-hl-1);
}
#ec-admin-elite-shell .ec-cc-toolbar .grow{ flex:1 1 auto; }
#ec-admin-elite-shell .ec-cc-input,
#ec-admin-elite-shell .ec-cc-select{
  height:34px; padding:0 12px; min-width:0;
  border-radius:10px;
  border:1px solid var(--ap-hl-2);
  background:rgba(255,255,255,0.04);
  color:var(--ap-fg-0);
  font:13px var(--ap-font-sans);
}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-cc-input,
#ec-admin-elite-shell[data-ec-glass="light"] .ec-cc-select{ background:#ffffff; }
#ec-admin-elite-shell .ec-cc-input{ flex:1 1 220px; }
#ec-admin-elite-shell .ec-cc-input:focus,
#ec-admin-elite-shell .ec-cc-select:focus{ outline:none; border-color:var(--ap-cyan-400); box-shadow:0 0 0 3px var(--ap-cyan-glow); }
#ec-admin-elite-shell .ec-cc-select option{ color:#121212; background:#ffffff; }
#ec-admin-elite-shell .ec-cc-actions{ display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end; }
#ec-admin-elite-shell .ec-cc-btn{
  display:inline-flex; align-items:center; gap:6px;
  height:30px; padding:0 11px;
  border-radius:9px; border:1px solid var(--ap-hl-2);
  background:rgba(255,255,255,0.04); color:var(--ap-fg-1);
  font:600 12px var(--ap-font-sans); cursor:pointer; white-space:nowrap;
}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-cc-btn{ background:#ffffff; }
#ec-admin-elite-shell .ec-cc-btn:hover:not(:disabled){ border-color:var(--ap-cyan-400); color:var(--ap-fg-0); }
#ec-admin-elite-shell .ec-cc-btn:disabled{ opacity:.5; cursor:not-allowed; }
#ec-admin-elite-shell .ec-cc-btn.danger{ color:#ff8fa6; border-color:rgba(255,85,119,0.40); }
#ec-admin-elite-shell .ec-cc-btn.danger:hover:not(:disabled){ border-color:#ff5577; color:#ffb3c2; }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-cc-btn.danger{ color:#b91c1c; border-color:rgba(185,28,28,0.35); }
#ec-admin-elite-shell .ec-cc-btn.primary{ color:#101010; border-color:transparent; background:linear-gradient(180deg,#dbdbdb,#c1c1c1); }
#ec-admin-elite-shell .ec-cc-btn[aria-busy="true"]::before{
  content:""; width:11px; height:11px; border-radius:50%;
  border:2px solid currentColor; border-right-color:transparent;
  animation:ec-cc-spin .7s linear infinite;
}
@keyframes ec-cc-spin{ to{ transform:rotate(360deg); } }
#ec-admin-elite-shell .ec-cc-grid{
  display:grid; gap:14px;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
}
#ec-admin-elite-shell .ec-cc-kv{ display:grid; grid-template-columns:auto 1fr; gap:6px 14px; font-size:12.5px; }
#ec-admin-elite-shell .ec-cc-kv .k{ color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-cc-kv .v{ color:var(--ap-fg-0); font-family:var(--ap-font-mono); text-align:right; overflow-wrap:anywhere; }
#ec-admin-elite-shell .ec-cc-table{ width:100%; border-collapse:collapse; font-size:12.5px; }
#ec-admin-elite-shell .ec-cc-table th{ text-align:left; font-weight:600; color:var(--ap-fg-3); padding:8px 10px; border-bottom:1px solid var(--ap-hl-1); }
#ec-admin-elite-shell .ec-cc-table td{ padding:8px 10px; border-bottom:1px solid var(--ap-hl-1); color:var(--ap-fg-1); }
#ec-admin-elite-shell .ec-cc-table td.num{ text-align:right; font-family:var(--ap-font-mono); }
#ec-admin-elite-shell .ec-cc-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
#ec-admin-elite-shell .ec-cc-more{ display:flex; justify-content:center; padding:12px; }
#ec-admin-elite-shell .ec-cc-msg{ white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; line-height:1.55; color:var(--ap-fg-1); }

#ec-admin-elite-shell .ec-cc-toast-host{
  position:fixed; right:18px; bottom:18px; z-index:5;
  display:flex; flex-direction:column; gap:8px; align-items:flex-end;
  pointer-events:none; max-width:min(420px, calc(100vw - 36px));
}
#ec-admin-elite-shell .ec-cc-toast{
  pointer-events:auto;
  padding:10px 14px; border-radius:12px;
  font:500 13px/1.45 var(--ap-font-sans);
  color:var(--ap-fg-0);
  background:var(--ap-glass-surface, rgba(14, 14, 14, 0.92));
  border:1px solid var(--ap-glass-border, rgba(255,255,255,0.14));
  box-shadow:0 12px 32px rgba(0,0,0,0.30);
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
}
#ec-admin-elite-shell .ec-cc-toast.ok{ border-left:3px solid #b7b7b7; }
#ec-admin-elite-shell .ec-cc-toast.err{ border-left:3px solid #FF5577; }

#ec-admin-elite-shell .ec-cc-dialog-back{
  position:fixed; inset:0; z-index:6;
  display:flex; align-items:center; justify-content:center; padding:16px;
  background:rgba(0,0,0,0.45);
}
#ec-admin-elite-shell .ec-cc-dialog{
  width:min(460px, 100%);
  padding:20px; border-radius:16px;
  background:var(--ap-ink-1);
  border:1px solid var(--ap-glass-border, rgba(255,255,255,0.14));
  box-shadow:0 24px 60px rgba(0,0,0,0.45);
  color:var(--ap-fg-1);
}
#ec-admin-elite-shell .ec-cc-dialog h3{ margin:0 0 8px; font-size:16px; color:var(--ap-fg-0); }
#ec-admin-elite-shell .ec-cc-dialog p{ margin:0 0 12px; font-size:13px; line-height:1.55; color:var(--ap-fg-2); }
#ec-admin-elite-shell .ec-cc-dialog label{ display:block; font-size:12px; color:var(--ap-fg-3); margin:10px 0 6px; }
#ec-admin-elite-shell .ec-cc-dialog .ec-cc-input,
#ec-admin-elite-shell .ec-cc-dialog .ec-cc-select{ width:100%; }
#ec-admin-elite-shell .ec-cc-dialog .row{ display:flex; gap:8px; justify-content:flex-end; margin-top:16px; }
#ec-admin-elite-shell .ec-cc-dialog .err{ color:#ff8fa6; font-size:12px; margin-top:8px; min-height:1em; }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-cc-dialog .err{ color:#b91c1c; }

/* ── Hell: Kontrast-Nachschaerfung (gemessen, test-admin-hardening-complete.js) ── */
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-pill-ok{ color:#4a4a4a; background:rgba(93, 93, 93, 0.08); border-color:rgba(93, 93, 93, 0.28); }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-pill-pending{ color:#78350f; background:rgba(98, 98, 98, 0.08); border-color:rgba(98, 98, 98, 0.28); }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-admin-elite-pill-fail{ color:#991b1b; background:rgba(185,28,28,0.07); border-color:rgba(185,28,28,0.28); }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-as-avatar{ background:linear-gradient(135deg, #505050, #303030); }

/* Ticket-Zeilen: Kennung und Betreff als eigene Zeilen, Betreff mit Ellipse
   (die Spans waren inline — der Betreff lief unter das Status-Badge). */
#ec-admin-elite-shell .ec-as-ticket-id,
#ec-admin-elite-shell .ec-as-ticket-subj{ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#ec-admin-elite-shell .ec-cc-table th.num{ text-align:right; }

/* ═══ §ADMIN-USERS-V2-2026-10-26 — Nutzer & Lifetime (Kacheln, Sheet, Tarif-Dialog) ═══ */
#ec-admin-elite-shell .ec-usr-tiles{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; }
#ec-admin-elite-shell .ec-usr-tile{
  display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0;
  padding:14px 16px; border-radius:14px; text-align:left; cursor:pointer;
  background:var(--ap-glass-surface, rgba(14, 14, 14, 0.6));
  -webkit-backdrop-filter:blur(var(--ap-glass-blur, 16px)) saturate(140%);
          backdrop-filter:blur(var(--ap-glass-blur, 16px)) saturate(140%);
  border:1px solid var(--ap-glass-border, rgba(255,255,255,0.12));
  box-shadow:var(--ap-glass-shadow, none);
  color:var(--ap-fg-1); font-family:var(--ap-font-sans);
  transition:border-color .15s ease, box-shadow .15s ease;
}
#ec-admin-elite-shell .ec-usr-tile .l{ font-size:12px; font-weight:600; color:var(--ap-fg-2); }
#ec-admin-elite-shell .ec-usr-tile .v{ font-size:24px; font-weight:750; line-height:1.15; color:var(--ap-fg-0); font-variant-numeric:tabular-nums; }
#ec-admin-elite-shell .ec-usr-tile .m{ font-size:11.5px; color:var(--ap-fg-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
#ec-admin-elite-shell .ec-usr-tile:hover{ border-color:var(--ap-cyan-400); }
#ec-admin-elite-shell .ec-usr-tile:focus-visible{ outline:2px solid var(--ap-cyan-400); outline-offset:2px; }
#ec-admin-elite-shell .ec-usr-tile.on{ border-color:var(--ap-cyan-400); box-shadow:0 0 0 1px var(--ap-cyan-400) inset, var(--ap-glass-shadow, none); }
#ec-admin-elite-shell .ec-usr-tile.gold .v{ color:#c6c6c6; }
#ec-admin-elite-shell .ec-usr-tile.suspended .v{ color:#ff8fa6; }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-usr-tile.gold .v{ color:#92400e; }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-usr-tile.suspended .v{ color:#b91c1c; }
@media (max-width: 760px){
  #ec-admin-elite-shell .ec-usr-tiles{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
  #ec-admin-elite-shell .ec-usr-tile{ padding:12px; }
  #ec-admin-elite-shell .ec-usr-tile .v{ font-size:20px; }
}
#ec-admin-elite-shell .ec-usr-tools .ec-cc-select{ flex:0 1 auto; max-width:100%; }
/* Handy: Zeile stapeln — sonst drueckt die Aktionsspalte (4 Knoepfe, nowrap) den Namen auf 0 px. */
@media (max-width: 760px){
  #ec-admin-elite-shell .ec-admin-elite-row.ec-usr-row{ flex-direction:column; align-items:stretch; }
  #ec-admin-elite-shell .ec-admin-elite-row.ec-usr-row .r-end{ min-width:0; align-items:flex-start; text-align:left; }
  #ec-admin-elite-shell .ec-admin-elite-row.ec-usr-row .r-actions,
  #ec-admin-elite-shell .ec-admin-elite-row.ec-usr-row .ec-cc-actions{ justify-content:flex-start; }
}
#ec-admin-elite-shell .ec-usr-row{ cursor:pointer; }
#ec-admin-elite-shell .ec-admin-elite-row .r-title.ec-usr-open{
  display:inline-flex; padding:0; margin:0; border:0; background:none; cursor:pointer;
  font-family:var(--ap-font-sans); text-align:left; max-width:100%;
}
#ec-admin-elite-shell .ec-usr-open:hover{ text-decoration:underline; text-underline-offset:3px; }
#ec-admin-elite-shell .ec-usr-open:focus-visible{ outline:2px solid var(--ap-cyan-400); outline-offset:2px; border-radius:4px; }

/* Nutzer-Sheet: Desktop = verschiebbares Glas-Panel rechts, Handy = Bottom-Sheet. */
#ec-admin-elite-shell .ec-cc-toast-host{ z-index:7; }
#ec-admin-elite-shell .ec-usr-sheet-layer{ position:fixed; inset:0; z-index:5; pointer-events:none; }
#ec-admin-elite-shell .ec-usr-sheet-back{ position:absolute; inset:0; background:rgba(0,0,0,0.28); pointer-events:auto; }
#ec-admin-elite-shell .ec-usr-sheet{
  position:absolute; pointer-events:auto; display:flex; flex-direction:column;
  background:var(--ap-ink-1);
  border:1px solid var(--ap-glass-border, rgba(255,255,255,0.14));
  box-shadow:0 24px 60px rgba(0,0,0,0.45);
  color:var(--ap-fg-1); font-family:var(--ap-font-sans);
  will-change:transform;
}
#ec-admin-elite-shell .ec-usr-sheet[data-mode="drawer"]{
  top:76px; right:24px; width:min(440px, calc(100vw - 48px)); max-height:calc(100vh - 100px);
  border-radius:18px;
}
#ec-admin-elite-shell .ec-usr-sheet[data-mode="bottom"]{
  left:0; right:0; bottom:0; max-height:88vh; max-height:88dvh;
  border-radius:20px 20px 0 0; border-bottom:0;
  padding-bottom:env(safe-area-inset-bottom, 0px);
  transition:transform .2s ease;
}
#ec-admin-elite-shell .ec-usr-sheet.dragging{ transition:none; user-select:none; }
#ec-admin-elite-shell .ec-usr-sheet-head{
  display:flex; align-items:center; gap:12px; padding:14px 16px 12px;
  border-bottom:1px solid var(--ap-hl-1); cursor:grab; touch-action:none; position:relative;
}
#ec-admin-elite-shell .ec-usr-sheet.dragging .ec-usr-sheet-head{ cursor:grabbing; }
#ec-admin-elite-shell .ec-usr-sheet-head .grip{
  position:absolute; top:6px; left:50%; width:40px; height:4px; margin-left:-20px;
  border-radius:999px; background:var(--ap-hl-2);
}
#ec-admin-elite-shell .ec-usr-sheet-head .t{ flex:1; min-width:0; padding-top:4px; }
#ec-admin-elite-shell .ec-usr-sheet-head h3{ margin:0; font-size:16px; color:var(--ap-fg-0); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#ec-admin-elite-shell .ec-usr-sheet-head .s{ display:block; font-size:12px; color:var(--ap-fg-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#ec-admin-elite-shell .ec-usr-sheet-body{ overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; padding:4px 16px 16px; }
#ec-admin-elite-shell .ec-usr-sec{ padding:14px 0; border-bottom:1px solid var(--ap-hl-1); }
#ec-admin-elite-shell .ec-usr-sec:last-child{ border-bottom:0; }
#ec-admin-elite-shell .ec-usr-sec h4{ margin:0 0 10px; font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-usr-sec .ec-cc-kv .v{ font-size:12px; }
#ec-admin-elite-shell .ec-usr-sheet-acts{ justify-content:flex-start; margin-top:12px; }
#ec-admin-elite-shell .ec-usr-note{ margin:8px 0 0; font-size:12px; line-height:1.5; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-usr-sess{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; font-size:13px; color:var(--ap-fg-1); }
#ec-admin-elite-shell .ec-ap-meter.over > span{ background:linear-gradient(90deg, #adadad, #ff5577); box-shadow:none; }
#ec-admin-elite-shell .ec-usr-audit{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
#ec-admin-elite-shell .ec-usr-audit li{ display:flex; flex-direction:column; gap:2px; font-size:12.5px; }
#ec-admin-elite-shell .ec-usr-audit .a{ color:var(--ap-fg-0); font-weight:600; }
#ec-admin-elite-shell .ec-usr-audit .m{ color:var(--ap-fg-3); font-size:11.5px; }

/* Tarif-Dialog */
#ec-admin-elite-shell .ec-plan-dlg{ max-height:calc(100dvh - 32px); overflow-y:auto; }
#ec-admin-elite-shell .ec-plan-opts{ border:0; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
#ec-admin-elite-shell .ec-plan-opts legend{ font-size:12px; color:var(--ap-fg-3); margin-bottom:6px; padding:0; }
#ec-admin-elite-shell .ec-cc-dialog label.ec-plan-opt,
#ec-admin-elite-shell .ec-cc-dialog label.ec-plan-check{
  display:flex; align-items:center; gap:10px; margin:0; padding:9px 12px;
  border-radius:10px; border:1px solid var(--ap-hl-2); font-size:13px; color:var(--ap-fg-1); cursor:pointer;
}
#ec-admin-elite-shell .ec-cc-dialog label.ec-plan-check{ margin-top:12px; }
#ec-admin-elite-shell .ec-cc-dialog label.ec-plan-opt.off{ opacity:.55; cursor:not-allowed; }
#ec-admin-elite-shell .ec-plan-opt:has(input:checked){ border-color:var(--ap-cyan-400); box-shadow:0 0 0 1px var(--ap-cyan-400) inset; }
#ec-admin-elite-shell .ec-plan-dlg input[type="radio"],
#ec-admin-elite-shell .ec-plan-dlg input[type="checkbox"]{ width:16px; height:16px; accent-color:var(--ap-cyan-400); flex:0 0 auto; }
#ec-admin-elite-shell .ec-plan-dlg .note{ font-size:12px; margin:8px 0 0; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-plan-dlg .warn{ font-size:12px; line-height:1.5; margin-top:10px; color:#cacaca; min-height:0; }
#ec-admin-elite-shell .ec-plan-dlg .warn:empty{ display:none; }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-plan-dlg .warn{ color:#92400e; }
#ec-admin-elite-shell .ec-plan-dlg select:disabled{ opacity:.6; }

/* ═══ §BILLING-STUDIO-2026-10-26 — Rechnungs-Vorlage (Formular + Papier-Vorschau), Integrität ═══ */
#ec-admin-elite-shell .ec-bill{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 420px); gap:18px; align-items:start; }
@media (max-width: 1100px){ #ec-admin-elite-shell .ec-bill{ grid-template-columns:1fr; } }
#ec-admin-elite-shell .ec-bill-form,
#ec-admin-elite-shell .ec-bill-side{
  padding:16px; border-radius:16px;
  background:var(--ap-glass-surface, rgba(14, 14, 14, 0.6));
  border:1px solid var(--ap-glass-border, rgba(255,255,255,0.12));
  box-shadow:var(--ap-glass-shadow, none);
  -webkit-backdrop-filter:blur(var(--ap-glass-blur, 16px)) saturate(140%);
          backdrop-filter:blur(var(--ap-glass-blur, 16px)) saturate(140%);
}
#ec-admin-elite-shell .ec-bill-side{ position:sticky; top:12px; }
#ec-admin-elite-shell .ec-bill-side h4,
#ec-admin-elite-shell .ec-bill-sec h4{ margin:0 0 10px; font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-bill-field{ display:flex; flex-direction:column; gap:6px; margin:0 0 12px; font-size:12px; color:var(--ap-fg-2); }
#ec-admin-elite-shell .ec-bill-field small{ color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-bill-field .ec-cc-input{ width:100%; flex:0 0 auto; }
#ec-admin-elite-shell .ec-bill-field textarea.ec-cc-input{ height:auto; padding:9px 12px; line-height:1.45; resize:vertical; font-family:var(--ap-font-sans); }
#ec-admin-elite-shell .ec-bill-vat{ border:1px solid var(--ap-hl-2); border-radius:12px; padding:10px 12px; margin:0 0 12px; display:flex; flex-direction:column; gap:8px; }
#ec-admin-elite-shell .ec-bill-vat legend{ padding:0 6px; font-size:12px; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-bill-vat label{ display:flex; gap:8px; align-items:center; font-size:13px; color:var(--ap-fg-1); cursor:pointer; }
#ec-admin-elite-shell .ec-bill-vat input{ accent-color:var(--ap-cyan-400); width:16px; height:16px; }
#ec-admin-elite-shell .ec-bill-warn{ margin:0 0 12px; padding:12px; border-radius:12px; font-size:12.5px; line-height:1.5;
  color:#dddddd; background:rgba(173, 173, 173, 0.08); border:1px solid rgba(173, 173, 173, 0.35); }
#ec-admin-elite-shell .ec-bill-warn .ec-bill-field{ margin:10px 0 0; }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-bill-warn{ color:#7c2d12; background:rgba(114, 114, 114, 0.06); border-color:rgba(114, 114, 114, 0.35); }
#ec-admin-elite-shell .ec-bill-note{ display:block; margin:0 0 12px; font-size:12px; line-height:1.5; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-bill-sec{ margin-top:18px; padding-top:14px; border-top:1px solid var(--ap-hl-1); }
#ec-admin-elite-shell .ec-bill-amp{ margin-bottom:8px; }
#ec-admin-elite-shell .ec-bill-amp.ok .ec-ap-meter > span{ background:linear-gradient(90deg, #b7b7b7, #afafaf); }
#ec-admin-elite-shell .ec-bill-amp.warn .ec-ap-meter > span{ background:linear-gradient(90deg, #bbbbbb, #adadad); box-shadow:none; }
#ec-admin-elite-shell .ec-bill-amp.over .ec-ap-meter > span{ background:linear-gradient(90deg, #ff6b6b, #ff3366); box-shadow:none; }
#ec-admin-elite-shell .ec-bill-verify{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:10px 14px 14px; }
#ec-admin-elite-shell .ec-bill-verify .ec-bill-note{ margin:0; }
#ec-admin-elite-shell .ec-bill-findings{ flex:1 1 100%; margin:4px 0 0; padding-left:18px; font-size:12.5px; color:var(--ap-fg-1); line-height:1.6; }
/* Papier-Vorschau: immer weiss mit dunkler Schrift (wie das PDF), in jeder Glas-Stufe. */
#ec-admin-elite-shell .ec-bill-paper{
  position:relative; overflow:hidden; aspect-ratio:210 / 297; max-height:76vh; overflow-y:auto;
  padding:22px 22px 18px; border-radius:6px; background:#ffffff; color:#181818;
  box-shadow:0 18px 40px rgba(0,0,0,0.35); font-family:Helvetica, Arial, sans-serif;
}
#ec-admin-elite-shell .ec-bill-paper .ln{ position:relative; z-index:1; line-height:1.35; white-space:pre-wrap; overflow-wrap:anywhere; color:#181818; }
#ec-admin-elite-shell .ec-bill-paper .sp{ height:8px; }
#ec-admin-elite-shell .ec-bill-paper .wm{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; z-index:0;
  font:700 64px/1 Helvetica, Arial, sans-serif; color:rgba(24, 24, 24, 0.07); transform:rotate(-35deg); pointer-events:none;
}
#ec-admin-elite-shell .ec-bill-paper.err{ aspect-ratio:auto; color:#991b1b; font-size:13px; }
/* fieldset hat per Vorgabe min-inline-size:min-content — die lange USt-Beschriftung zwang das
   Formular am Handy ueber den Rand. Alles darf schrumpfen, Beschriftungen brechen um. */
#ec-admin-elite-shell .ec-bill > *,
#ec-admin-elite-shell .ec-bill-vat{ min-width:0; min-inline-size:0; }
#ec-admin-elite-shell .ec-bill-vat label,
#ec-admin-elite-shell .ec-bill-note,
#ec-admin-elite-shell .ec-bill-field > span{ overflow-wrap:anywhere; }
@media (max-width: 560px){
  #ec-admin-elite-shell .ec-bill-form,
  #ec-admin-elite-shell .ec-bill-side{ padding:12px; }
}

/* ═══ §MODERATION-REPORTS-2026-10-27: Fallbearbeitung „Meldungen“ ═══════════════════════════
   Karten statt Tabelle: Kopf (Kategorie, Status, Art, Zeit), Personen (gemeldet/Melder als
   @handle + UUID, nie Login-ID), Begruendung (textContent), Admin-Kommentar, Aktionen.
   Unter 760 px stapelt alles (Lehre §ADMIN-USERS-V2: Aktionsspalte drueckte Namen auf 0 px). */
#ec-admin-elite-shell .ec-mr-pills{ padding:0 14px; margin:0 0 10px; }
#ec-admin-elite-shell .ec-mr-badge{
  display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding:0 5px;
  border-radius:5px; background:#b91c1c; color:#fff; font-size:10.5px; font-weight:700; letter-spacing:0;  /* Weiss auf #b91c1c ≈ 6,5:1 (AA); Radius 5: runde Ecken zeigen sonst >10 % Untergrund */
}
#ec-admin-elite-shell .ec-mr-n{ color:var(--ap-fg-4); letter-spacing:0; }
#ec-admin-elite-shell .ec-as-filter.active .ec-mr-n{ color:inherit; }
#ec-admin-elite-shell .ec-mr-list{ display:flex; flex-direction:column; gap:10px; padding:0 14px 14px; }
#ec-admin-elite-shell .ec-mr-card{
  display:flex; flex-direction:column; gap:10px; min-width:0; padding:14px;
  border-radius:14px; border:1px solid var(--ap-glass-border, var(--ap-hl-1));
  background:rgba(255,255,255,0.025); color:var(--ap-fg-1);
}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-mr-card{ background:rgba(255,255,255,0.6); }
#ec-admin-elite-shell .ec-mr-card[data-state="open"]{ border-left:3px solid #ef4444; }
#ec-admin-elite-shell .ec-mr-card[data-state="triaged"]{ border-left:3px solid #a6a6a6; }
#ec-admin-elite-shell .ec-mr-head{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#ec-admin-elite-shell .ec-mr-kind{ font-size:12px; color:var(--ap-fg-2); }
#ec-admin-elite-shell .ec-mr-when{ margin-left:auto; font-size:12px; color:var(--ap-fg-3); font-variant-numeric:tabular-nums; }
#ec-admin-elite-shell .ec-mr-people{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:8px; }
#ec-admin-elite-shell .ec-mr-person{
  display:flex; flex-direction:column; gap:2px; min-width:0; padding:10px 12px; border-radius:10px;
  background:rgba(255,255,255,0.03); border:1px solid var(--ap-hl-1);
}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-mr-person{ background:rgba(23, 23, 23, 0.03); }
#ec-admin-elite-shell .ec-mr-person .lbl{ font-size:10.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-mr-person .v{ font-size:14px; color:var(--ap-fg-0); overflow-wrap:anywhere; }
#ec-admin-elite-shell .ec-mr-person .v.muted, #ec-admin-elite-shell .ec-mr-details.muted{ color:var(--ap-fg-3); font-style:italic; }
#ec-admin-elite-shell .ec-mr-person .uuid{ font-family:var(--ap-font-mono); font-size:11.5px; color:var(--ap-fg-2); overflow-wrap:anywhere; word-break:break-all; }
#ec-admin-elite-shell .ec-mr-count{ display:inline-block; margin-left:6px; font-size:12px; color:#fca5a5; }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-mr-count{ color:#b91c1c; }
#ec-admin-elite-shell .ec-mr-details{
  margin:4px 0 0; padding:10px 12px; border-radius:10px; font-size:13.5px; line-height:1.5;
  white-space:pre-wrap; overflow-wrap:anywhere; background:rgba(0,0,0,0.18); border:1px solid var(--ap-hl-1);
}
#ec-admin-elite-shell[data-ec-glass="light"] .ec-mr-details{ background:rgba(23, 23, 23, 0.04); }
#ec-admin-elite-shell .ec-mr-note{ display:flex; flex-direction:column; gap:6px; }
#ec-admin-elite-shell .ec-mr-note textarea{ width:100%; box-sizing:border-box; min-height:52px; resize:vertical; font:inherit; font-size:13px; }
#ec-admin-elite-shell .ec-mr-note .ec-cc-btn{ align-self:flex-start; }
#ec-admin-elite-shell .ec-mr-actions{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; }
#ec-admin-elite-shell .ec-mr-actions .ec-cc-actions{ flex-wrap:wrap; }
@media (max-width: 760px){
  #ec-admin-elite-shell .ec-mr-list{ padding:0 8px 10px; }
  #ec-admin-elite-shell .ec-mr-card{ padding:12px; }
  #ec-admin-elite-shell .ec-mr-people{ grid-template-columns:1fr; }
  #ec-admin-elite-shell .ec-mr-when{ margin-left:0; flex:1 1 100%; }
  #ec-admin-elite-shell .ec-mr-actions{ flex-direction:column; align-items:stretch; }
  #ec-admin-elite-shell .ec-mr-actions .ec-cc-actions{ justify-content:flex-start; }
  #ec-admin-elite-shell .ec-mr-actions .ec-cc-btn{ white-space:normal; }
}

/* ═══ §SUPPORT-V2-2026-10-27: 2-Spalten-Support-Center (Owner-Go E6/E12) ═════════════════════
   Links ~380 px: Umschalter Tickets/Meldungen, Filter, Liste. Rechts EINE Detailkarte.
   Unter 900 px: nur die Liste; ausgewaehlt (data-detail="open") nur die Karte mit „Zurueck“. */
#ec-admin-elite-shell .ec-sc2-grid{ display:grid; grid-template-columns:minmax(300px,380px) minmax(0,1fr); gap:16px; align-items:start; }
#ec-admin-elite-shell .ec-sc2-list{ display:flex; flex-direction:column; min-height:420px; max-height:calc(100vh - 220px); }
#ec-admin-elite-shell .ec-sc2-items{ flex:1 1 auto; overflow-y:auto; overscroll-behavior:contain; }
#ec-admin-elite-shell .ec-sc2-detail{ padding:0; min-height:420px; }
#ec-admin-elite-shell .ec-sc2-switch{ display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:12px 12px 0; }
#ec-admin-elite-shell .ec-sc2-tab{
  display:flex; align-items:center; justify-content:center; gap:6px; min-height:40px; padding:6px 8px; border-radius:10px; cursor:pointer;
  font:600 12.5px/1.2 var(--ap-font-sans); color:var(--ap-fg-2); background:rgba(255,255,255,0.03); border:1px solid var(--ap-hl-1); text-align:center;
}
#ec-admin-elite-shell .ec-sc2-tab.active{ color:var(--ap-fg-0); border-color:var(--ap-cyan-400); box-shadow:0 0 0 1px var(--ap-cyan-400) inset; }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-sc2-tab{ background:rgba(23, 23, 23, 0.03); }
#ec-admin-elite-shell .ec-sc2-filters{ display:flex; flex-direction:column; gap:8px; padding:10px 12px; border-bottom:1px solid var(--ap-hl-1); }
#ec-admin-elite-shell .ec-sc2-filters.ec-as-filter-row{ flex-direction:row; flex-wrap:wrap; margin-top:0; }
#ec-admin-elite-shell .ec-sc2-filters .ec-mr-pills{ padding:0; margin:0; }
#ec-admin-elite-shell .ec-sc2-empty{ padding:36px 16px; text-align:center; color:var(--ap-fg-3); font-size:13px; line-height:1.5; }
#ec-admin-elite-shell .ec-sc2-prio{ color:#c6c6c6; font-weight:700; }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-sc2-prio{ color:#92400e; }
#ec-admin-elite-shell .ec-sc2-new{ color:var(--ap-cyan-300); font-weight:600; }
#ec-admin-elite-shell .ec-sc2-card{ display:flex; flex-direction:column; gap:12px; padding:16px; min-width:0; border:0; border-radius:0; background:none; }
#ec-admin-elite-shell .ec-sc2-card .ec-as-detail-head{ padding:0; border:0; }
#ec-admin-elite-shell .ec-sc2-card .ec-as-toolbar{ padding:0; border:0; display:flex; flex-wrap:wrap; gap:8px; }
#ec-admin-elite-shell .ec-sc2-none{ padding:48px 20px; text-align:center; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-sc2-none p{ margin:6px 0 0; font-size:13px; }
#ec-admin-elite-shell .ec-sc2-back{ display:none; align-self:flex-start; }
#ec-admin-elite-shell .ec-sc2-who{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:6px 0; font-size:13px; color:var(--ap-fg-1); }
#ec-admin-elite-shell .ec-sc2-who .uuid{ font-family:var(--ap-font-mono); font-size:11.5px; color:var(--ap-fg-2); overflow-wrap:anywhere; word-break:break-all; }
#ec-admin-elite-shell .ec-sc2-thread{ display:flex; flex-direction:column; gap:10px; }
#ec-admin-elite-shell .ec-sc2-msg{ max-width:92%; padding:10px 12px; border-radius:12px; border:1px solid var(--ap-hl-1); background:rgba(255,255,255,0.03); }
#ec-admin-elite-shell .ec-sc2-msg--admin{ align-self:flex-end; border-color:rgba(193, 193, 193, 0.35); background:rgba(193, 193, 193, 0.07); }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-sc2-msg{ background:rgba(23, 23, 23, 0.03); }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-sc2-msg--admin{ background:rgba(118, 118, 118, 0.08); border-color:rgba(118, 118, 118, 0.35); }
#ec-admin-elite-shell .ec-sc2-msg-h{ display:flex; justify-content:space-between; gap:10px; font-size:11px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--ap-fg-3); margin-bottom:4px; }
#ec-admin-elite-shell .ec-sc2-msg-b{ font-size:13.5px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; color:var(--ap-fg-0); }
#ec-admin-elite-shell .ec-sc2-msg-b.muted, #ec-admin-elite-shell .ec-sc2-who .muted{ color:var(--ap-fg-3); font-style:italic; }
#ec-admin-elite-shell .ec-sc2-reply{ display:flex; flex-direction:column; gap:8px; padding-top:12px; border-top:1px solid var(--ap-hl-1); }
#ec-admin-elite-shell .ec-sc2-reply-top{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px; }
#ec-admin-elite-shell .ec-sc2-langs{ display:flex; gap:4px; }
#ec-admin-elite-shell .ec-sc2-tpls{ display:flex; flex-wrap:wrap; gap:6px; }
#ec-admin-elite-shell .ec-sc2-ta{ width:100%; box-sizing:border-box; min-height:110px; resize:vertical; font:inherit; font-size:14px; line-height:1.45; }
#ec-admin-elite-shell .ec-sc2-reply-foot{ display:flex; justify-content:space-between; align-items:center; gap:8px; }
#ec-admin-elite-shell .ec-sc2-reply-foot small{ color:var(--ap-fg-3); font-size:11.5px; }
#ec-admin-elite-shell .ec-sc2-hint{ margin:0; font-size:12px; line-height:1.5; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-sc2-noreply{ padding:12px; border-radius:10px; font-size:13px; color:var(--ap-fg-2); border:1px dashed var(--ap-hl-2); }
@media (max-width: 899px){
  #ec-admin-elite-shell .ec-sc2-grid{ grid-template-columns:minmax(0,1fr); }
  #ec-admin-elite-shell .ec-sc2-list{ max-height:none; min-height:0; }
  #ec-admin-elite-shell .ec-sc2-detail{ display:none; min-height:0; }
  #ec-admin-elite-shell .ec-sc2[data-detail="open"] .ec-sc2-list{ display:none; }
  #ec-admin-elite-shell .ec-sc2[data-detail="open"] .ec-sc2-detail{ display:block; }
  #ec-admin-elite-shell .ec-sc2-back{ display:inline-flex; }
  #ec-admin-elite-shell .ec-sc2-card{ padding:12px; }
  #ec-admin-elite-shell .ec-sc2-msg{ max-width:100%; }
  #ec-admin-elite-shell .ec-sc2-card .ec-cc-btn{ white-space:normal; }
}

/* ═══ §GIFT-CODES / §HANDLE-BLOCKLIST / §STORNO 2026-10-27 ══════════════════════════════════ */
#ec-admin-elite-shell .ec-gift-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:10px; padding:4px 14px 10px; }
#ec-admin-elite-shell .ec-gift-grid label{ display:flex; flex-direction:column; gap:4px; font-size:12px; color:var(--ap-fg-2); min-width:0; }
#ec-admin-elite-shell .ec-gift-grid .ec-cc-select, #ec-admin-elite-shell .ec-gift-grid .ec-cc-input{ width:100%; box-sizing:border-box; }
#ec-admin-elite-shell .ec-gift-foot{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:0 14px 14px; }
#ec-admin-elite-shell .ec-gift-note{ flex:1 1 260px; font-size:12px; line-height:1.5; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-gift-fresh{ border-color:rgba(198, 198, 198, 0.45); }
#ec-admin-elite-shell .ec-gift-warn{ margin:0; padding:0 14px 8px; font-size:12.5px; line-height:1.5; color:var(--ap-fg-1); }
#ec-admin-elite-shell .ec-gift-codes{ margin:0; padding:0 14px 14px 40px; display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:6px 18px; }
#ec-admin-elite-shell .ec-gift-codes code{ font-family:var(--ap-font-mono); font-size:14px; letter-spacing:.06em; color:var(--ap-fg-0); user-select:all; }
#ec-admin-elite-shell .ec-hbl-note{ margin:0; padding:0 14px 8px; font-size:12px; color:var(--ap-fg-3); line-height:1.5; }
#ec-admin-elite-shell .ec-hbl-row{ display:flex; gap:10px; align-items:flex-start; padding:4px 14px 8px; }
#ec-admin-elite-shell .ec-hbl-row .lbl{ flex:0 0 70px; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ap-fg-3); padding-top:6px; }
#ec-admin-elite-shell .ec-hbl-chips{ display:flex; flex-wrap:wrap; gap:6px; min-width:0; }
#ec-admin-elite-shell .ec-hbl-chips .muted{ font-size:12px; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-hbl-chip{ display:inline-flex; align-items:center; gap:6px; padding:3px 6px 3px 10px; border-radius:999px; border:1px solid var(--ap-hl-1); background:rgba(255,255,255,0.03); font-size:12.5px; }
#ec-admin-elite-shell .ec-hbl-chip.fixed{ padding-right:10px; opacity:.85; }
#ec-admin-elite-shell .ec-hbl-chip small{ font-size:10.5px; color:#c6c6c6; }
#ec-admin-elite-shell[data-ec-glass="light"] .ec-hbl-chip small{ color:#92400e; }
#ec-admin-elite-shell .ec-hbl-x{ width:24px; height:24px; min-width:24px; padding:0; border-radius:50%; border:0; background:rgba(255,255,255,0.08); color:inherit; cursor:pointer; font-size:15px; line-height:1; }
#ec-admin-elite-shell .ec-hbl-add{ display:flex; flex-wrap:wrap; gap:8px; padding:4px 14px 14px; }
#ec-admin-elite-shell .ec-hbl-add .ec-cc-input{ flex:1 1 180px; min-width:0; }
#ec-admin-elite-shell .ec-hbl-contains{ display:flex; align-items:center; gap:6px; font-size:12px; color:var(--ec-ap-text2, rgba(236, 236, 236, .75)); white-space:nowrap; }
#ec-admin-elite-shell .ec-bill-kind{ margin-top:4px; }
@media (max-width: 760px){
  #ec-admin-elite-shell .ec-hbl-row{ flex-direction:column; gap:4px; }
  #ec-admin-elite-shell .ec-gift-codes{ padding-left:30px; grid-template-columns:minmax(0,1fr); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   §ADMIN-OVERVIEW-V3-2026-10-27 (Owner-Go E1–E8) — Bento-Uebersicht
   Status-Farben als Tokens je Stufe; Text bleibt in --ap-fg-* (Status traegt
   immer zusaetzlich ein Wort, nie Farbe allein). Badges Radius ≤ 5 px.
   ═══════════════════════════════════════════════════════════════════════════ */
#ec-admin-elite-shell{
  --ov-ok:#b7b7b7; --ov-warn:#bbbbbb; --ov-crit:#FF5577; --ov-info:#c1c1c1; --ov-off:#777777; --ov-blue:#c1c1c1;
}
#ec-admin-elite-shell[data-ec-glass="light"]{
  --ov-ok:#5d5d5d; --ov-warn:#626262; --ov-crit:#b91c1c; --ov-info:#606060; --ov-off:#727272; --ov-blue:#767676;
}
#ec-admin-elite-shell .ec-ov{ gap:16px; }
#ec-admin-elite-shell .ec-ov-bento{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:16px; align-items:start; }
#ec-admin-elite-shell .ec-ov-main,
#ec-admin-elite-shell .ec-ov-side{ display:flex; flex-direction:column; gap:16px; min-width:0; }
/* Paare (Chart|System, Log|Verbindungen) richten sich nach der Breite des Hauptbereichs,
   nicht des Fensters — die Seitenleiste und die rechte Spalte nehmen unterschiedlich viel weg. */
#ec-admin-elite-shell .ec-ov-main{ container-type:inline-size; container-name:ecov; }
#ec-admin-elite-shell .ec-ov-pair{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; align-items:stretch; }
#ec-admin-elite-shell .ec-ov-pair > .ec-ap-panel{ min-width:0; }
#ec-admin-elite-shell .ec-ov-side .ec-ap-qa-grid{ grid-template-columns:minmax(0,1fr); }

/* Alert-Banner Plattenwarnung */
#ec-admin-elite-shell .ec-ov-alert{
  display:flex; gap:12px; align-items:flex-start;
  padding:14px 16px; border-radius:12px;
  border:1px solid var(--ov-crit); box-shadow:inset 4px 0 0 var(--ov-crit);
  background:var(--ap-glass-surface, rgba(14, 14, 14, 0.6)); color:var(--ap-fg-1);
}
#ec-admin-elite-shell .ec-ov-alert svg{ color:var(--ov-crit); flex:0 0 auto; margin-top:1px; }
#ec-admin-elite-shell .ec-ov-alert strong{ display:block; color:var(--ap-fg-0); font-size:14px; margin-bottom:2px; }
#ec-admin-elite-shell .ec-ov-alert span{ font-size:13px; color:var(--ap-fg-2); line-height:1.45; }

/* KPI-Sparkline (Nachrichten je Stunde) */
#ec-admin-elite-shell .ec-ov-spark{ display:block; width:100%; height:28px; margin-top:10px; }
#ec-admin-elite-shell .ec-ov-spark rect{ fill:var(--ov-ok); opacity:0.75; }
#ec-admin-elite-shell .ec-ov-kpi .ec-ap-kpi-meta{ flex-wrap:wrap; justify-content:flex-start; }

/* Panels: Kopfwert, Fuss, Leer */
#ec-admin-elite-shell .ec-ov-head-val{ font-family:var(--ap-font-mono); font-size:12px; color:var(--ap-fg-2); }
#ec-admin-elite-shell .ec-ov-foot{ margin-top:12px; font-size:11.5px; line-height:1.45; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-ov-empty{ padding:22px 8px; text-align:center; font-size:12.5px; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-ov-link{
  display:inline-flex; align-items:center; gap:4px; background:none; border:0; padding:4px 2px; cursor:pointer;
  font-size:12px; color:var(--ap-fg-2); font-family:inherit;
}
#ec-admin-elite-shell .ec-ov-link:hover{ color:var(--ap-fg-0); }

/* Linien-Chart */
#ec-admin-elite-shell .ec-ov-chart{ display:block; width:100%; height:auto; overflow:visible; }
#ec-admin-elite-shell .ec-ov-chart .grid{ stroke:var(--ap-hl-1); stroke-width:1; }
#ec-admin-elite-shell .ec-ov-chart .ax{ fill:var(--ap-fg-3); font-family:var(--ap-font-mono); font-size:11px; }
#ec-admin-elite-shell .ec-ov-chart .area{ fill:var(--ov-blue); opacity:0.10; }
#ec-admin-elite-shell .ec-ov-chart .line{ fill:none; stroke:var(--ov-blue); stroke-width:2; stroke-linejoin:round; stroke-linecap:round; }
#ec-admin-elite-shell .ec-ov-chart .dot{ fill:var(--ov-blue); stroke:var(--ap-ink-0); stroke-width:2; }
#ec-admin-elite-shell .ec-ov-chart .hit{ fill:transparent; cursor:default; }
#ec-admin-elite-shell .ec-ov-chart .tip{ fill:var(--ap-fg-0); font-size:12px; font-weight:600; opacity:0; transition:opacity .12s; }
#ec-admin-elite-shell .ec-ov-chart .pt:hover .tip{ opacity:1; }
#ec-admin-elite-shell .ec-ov-growth{ position:relative; }
/* Nur fuer Screenreader: 1-px-Huelle am linken Rand, Inhalt abgeschnitten (eine Tabelle selbst ignoriert width:1px). */
#ec-admin-elite-shell .ec-ov-sr{ position:absolute; left:0; top:0; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }

/* Tacho-Ringe */
#ec-admin-elite-shell .ec-ov-gauges{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
#ec-admin-elite-shell .ec-ov-gauge{ display:flex; flex-direction:column; align-items:center; text-align:center; min-width:0; }
#ec-admin-elite-shell .ec-ov-gauge .ring{ position:relative; width:84px; height:84px; }
#ec-admin-elite-shell .ec-ov-gauge svg{ width:84px; height:84px; display:block; }
#ec-admin-elite-shell .ec-ov-gauge .trk{ fill:none; stroke:var(--ap-hl-1); stroke-width:7; }
#ec-admin-elite-shell .ec-ov-gauge .val{ fill:none; stroke:var(--ov-blue); stroke-width:7; stroke-linecap:round; transition:stroke-dashoffset .4s ease; }
#ec-admin-elite-shell .ec-ov-gauge.warn .val{ stroke:var(--ov-warn); }
#ec-admin-elite-shell .ec-ov-gauge.crit .val{ stroke:var(--ov-crit); }
#ec-admin-elite-shell .ec-ov-gauge .num{
  position:absolute; inset:0; display:grid; place-items:center;
  font-family:var(--ap-font-mono); font-size:13.5px; font-weight:700; color:var(--ap-fg-0);
}
#ec-admin-elite-shell .ec-ov-gauge .lbl{ margin-top:6px; font-size:12.5px; font-weight:600; color:var(--ap-fg-1); }
#ec-admin-elite-shell .ec-ov-gauge .sub{ margin-top:2px; font-size:11px; line-height:1.35; color:var(--ap-fg-3); overflow-wrap:break-word; }

/* Tresor-Speicher-Monitor */
#ec-admin-elite-shell .ec-ov-vault{ margin-top:16px; padding-top:16px; border-top:1px solid var(--ap-hl-1); }
#ec-admin-elite-shell .ec-ov-vault-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
#ec-admin-elite-shell .ec-ov-vault-head .ttl{ font-size:13px; font-weight:600; color:var(--ap-fg-1); }
#ec-admin-elite-shell .ec-ov-bar{ position:relative; height:10px; border-radius:99px; background:var(--ap-hl-1); overflow:hidden; }
#ec-admin-elite-shell .ec-ov-bar > span{ display:block; height:100%; border-radius:99px; background:var(--ov-blue); transition:width .4s ease; }
#ec-admin-elite-shell .ec-ov-bar.warn > span{ background:var(--ov-warn); }
#ec-admin-elite-shell .ec-ov-bar.crit > span{ background:var(--ov-crit); }
#ec-admin-elite-shell .ec-ov-bar.off > span{ background:var(--ov-off); }
#ec-admin-elite-shell .ec-ov-bar > i{ position:absolute; top:0; bottom:0; width:1px; background:var(--ap-fg-3); opacity:0.6; }
#ec-admin-elite-shell .ec-ov-vault-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 16px; margin-top:12px; }
#ec-admin-elite-shell .ec-ov-vault-grid .k,
#ec-admin-elite-shell .ec-ov-kv .k{ display:block; font-size:11px; letter-spacing:0.04em; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-ov-vault-grid .v,
#ec-admin-elite-shell .ec-ov-kv .v{ display:block; font-family:var(--ap-font-mono); font-size:12.5px; color:var(--ap-fg-1); overflow-wrap:anywhere; }
#ec-admin-elite-shell .ec-ov-orphans{ display:flex; align-items:flex-start; gap:8px; margin-top:12px; font-size:12px; line-height:1.45; color:var(--ap-fg-2); }
#ec-admin-elite-shell .ec-ov-orphans .ec-ov-badge{ flex:0 0 auto; }

/* Badges (Wort + Farbmarke) */
#ec-admin-elite-shell .ec-ov-badge{
  display:inline-flex; align-items:center; height:20px; padding:0 7px 0 9px; border-radius:4px;
  font-family:var(--ap-font-mono); font-size:11px; font-weight:600; white-space:nowrap;
  color:var(--ap-fg-1); background:var(--ap-hl-1); border:1px solid var(--ap-hl-1);
  box-shadow:inset 3px 0 0 var(--ov-info);
}
#ec-admin-elite-shell .ec-ov-badge.ok{ box-shadow:inset 3px 0 0 var(--ov-ok); }
#ec-admin-elite-shell .ec-ov-badge.warn{ box-shadow:inset 3px 0 0 var(--ov-warn); }
#ec-admin-elite-shell .ec-ov-badge.critical{ box-shadow:inset 3px 0 0 var(--ov-crit); }
#ec-admin-elite-shell .ec-ov-badge.off,
#ec-admin-elite-shell .ec-ov-badge.unknown{ box-shadow:inset 3px 0 0 var(--ov-off); }
#ec-admin-elite-shell .ec-ov-type{ font-size:11.5px; color:var(--ap-fg-2); }

/* Statusliste */
#ec-admin-elite-shell .ec-ov-health{ flex-wrap:wrap; row-gap:4px; }
#ec-admin-elite-shell .ec-ov-health .val{ flex-basis:100%; padding-left:20px; white-space:normal; font-size:11.5px; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-ap-pulse.off{ background:var(--ov-off); box-shadow:none; }
#ec-admin-elite-shell .ec-ap-pulse.off::after{ display:none; }
#ec-admin-elite-shell .ec-ov-healthp .ec-ap-status-list{ display:flex; flex-direction:column; gap:8px; }

/* Sicherheitswarnungen */
#ec-admin-elite-shell .ec-ov-events{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
#ec-admin-elite-shell .ec-ov-events li{
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:8px; align-items:center;
  padding:8px 10px; border-radius:10px; border:1px solid var(--ap-hl-1);
}
#ec-admin-elite-shell .ec-ov-events .t{ font-size:12.5px; color:var(--ap-fg-1); min-width:0; }
#ec-admin-elite-shell .ec-ov-events code{ display:block; font-family:var(--ap-font-mono); font-size:11px; color:var(--ap-fg-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#ec-admin-elite-shell .ec-ov-events .when{ font-family:var(--ap-font-mono); font-size:11px; color:var(--ap-fg-3); white-space:nowrap; }

/* Kategorie-Schnellstarter */
#ec-admin-elite-shell .ec-ov-cats{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
#ec-admin-elite-shell .ec-ov-cat{
  position:relative; display:grid; grid-template-columns:auto minmax(0,1fr) auto; grid-template-rows:auto auto;
  column-gap:12px; row-gap:2px; align-items:center; text-align:left; cursor:pointer;
  padding:14px 14px; border-radius:14px; font-family:inherit;
  background:var(--ap-glass-surface, rgba(14, 14, 14, 0.6)); border:1px solid var(--ap-glass-border, var(--ap-hl-1)); color:var(--ap-fg-1);
  transition:border-color .2s ease;
}
#ec-admin-elite-shell .ec-ov-cat:hover,
#ec-admin-elite-shell .ec-ov-cat:focus-visible{ border-color:var(--ap-hl-2); }
#ec-admin-elite-shell .ec-ov-cat .ic{
  grid-row:1 / span 2; width:36px; height:36px; border-radius:10px; display:grid; place-items:center;
  color:var(--ov-blue); border:1px solid var(--ap-hl-1); background:var(--ap-hl-1);
}
#ec-admin-elite-shell .ec-ov-cat.violet .ic{ color:var(--ap-violet-300); }
#ec-admin-elite-shell .ec-ov-cat.warn .ic{ color:var(--ov-warn); }
#ec-admin-elite-shell .ec-ov-cat.success .ic{ color:var(--ov-ok); }
#ec-admin-elite-shell .ec-ov-cat .t{ font-size:13.5px; font-weight:600; color:var(--ap-fg-0); }
#ec-admin-elite-shell .ec-ov-cat .s{ grid-column:2; font-size:11.5px; color:var(--ap-fg-3); overflow-wrap:anywhere; }
#ec-admin-elite-shell .ec-ov-cat .chev{ grid-column:3; grid-row:1 / span 2; color:var(--ap-fg-3); }

/* Aktivitaets-Tabelle */
#ec-admin-elite-shell .ec-ov-table-wrap{ overflow-x:auto; margin:0 -4px; }
#ec-admin-elite-shell .ec-ov-table{ width:100%; border-collapse:collapse; font-size:12.5px; }
#ec-admin-elite-shell .ec-ov-table th{
  text-align:left; font-family:var(--ap-font-mono); font-size:10.5px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--ap-fg-3); font-weight:600; padding:6px 6px; border-bottom:1px solid var(--ap-hl-1);
}
#ec-admin-elite-shell .ec-ov-table td{ padding:8px 6px; color:var(--ap-fg-1); border-bottom:1px solid var(--ap-hl-1); vertical-align:middle; }
#ec-admin-elite-shell .ec-ov-table tr:last-child td{ border-bottom:0; }
#ec-admin-elite-shell .ec-ov-table td.mono{ font-family:var(--ap-font-mono); font-size:11.5px; }
#ec-admin-elite-shell .ec-ov-table .muted{ color:var(--ap-fg-3); }

/* Live-Verbindungen */
#ec-admin-elite-shell .ec-ov-conn-big{ display:flex; align-items:baseline; gap:10px; margin-bottom:12px; }
#ec-admin-elite-shell .ec-ov-conn-big .v{ font-size:32px; font-weight:700; letter-spacing:-0.02em; color:var(--ap-fg-0); }
#ec-admin-elite-shell .ec-ov-conn-big .k{ font-size:12.5px; color:var(--ap-fg-2); }
#ec-admin-elite-shell .ec-ov-kv{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 16px; }

@container ecov (max-width: 980px){
  #ec-admin-elite-shell .ec-ov-pair{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:1360px){
  #ec-admin-elite-shell .ec-ov-bento{ grid-template-columns:minmax(0,1fr); }
  #ec-admin-elite-shell .ec-ov-side{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; }
}
@media (max-width:1100px){
  #ec-admin-elite-shell .ec-ov-pair,
  #ec-admin-elite-shell .ec-ov-side{ grid-template-columns:minmax(0,1fr); }
  #ec-admin-elite-shell .ec-ov-cats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:759px){
  #ec-admin-elite-shell .ec-ov-cats{ grid-template-columns:minmax(0,1fr); }
  #ec-admin-elite-shell .ec-ov-gauges{ grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:16px; }
  #ec-admin-elite-shell .ec-ov-vault-grid,
  #ec-admin-elite-shell .ec-ov-kv{ grid-template-columns:minmax(0,1fr); }
  /* Tabelle stapeln: jede Zeile eine Karte, Spaltenname per data-th */
  #ec-admin-elite-shell .ec-ov-table thead{ display:none; }
  #ec-admin-elite-shell .ec-ov-table,
  #ec-admin-elite-shell .ec-ov-table tbody,
  #ec-admin-elite-shell .ec-ov-table tr,
  #ec-admin-elite-shell .ec-ov-table td{ display:block; width:auto; }
  #ec-admin-elite-shell .ec-ov-table tr{ padding:8px 4px; border-bottom:1px solid var(--ap-hl-1); }
  #ec-admin-elite-shell .ec-ov-table td{ border:0; padding:2px 4px; overflow-wrap:anywhere; }
  #ec-admin-elite-shell .ec-ov-table td::before{
    content:attr(data-th); display:inline-block; min-width:72px; margin-right:8px;
    font-family:var(--ap-font-mono); font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--ap-fg-3);
  }
  #ec-admin-elite-shell .ec-ov-events li{ grid-template-columns:auto minmax(0,1fr); }
  #ec-admin-elite-shell .ec-ov-events .when{ grid-column:2; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   §TRUST-SAFETY-2026-10-28 — Support-Center 2.0 (Fall-Akte, Stufen, KPIs) + Wachstums-Chart
   Text bleibt in --ap-fg-*, Status zusaetzlich als Wort; Badges Radius ≤ 5 px.
   ═══════════════════════════════════════════════════════════════════════════ */
#ec-admin-elite-shell{ --ov-gold:#b7b7b7; --ov-life:#8b8b8b; }
#ec-admin-elite-shell[data-ec-glass="light"]{ --ov-gold:#696969; --ov-life:#434343; }

/* Wachstum: Zeitraum-Umschalter, Balken, Legende */
#ec-admin-elite-shell .ec-ov-growth-head{ flex-wrap:wrap; row-gap:10px; }
#ec-admin-elite-shell .ec-ov-ranges{ display:flex; flex-wrap:wrap; gap:6px; }
#ec-admin-elite-shell .ec-ov-range{
  height:28px; padding:0 10px; border-radius:8px; cursor:pointer; font:600 12px var(--ap-font-sans);
  background:transparent; color:var(--ap-fg-2); border:1px solid var(--ap-hl-1);
}
#ec-admin-elite-shell .ec-ov-range:hover{ color:var(--ap-fg-0); border-color:var(--ap-hl-2); }
/* §E2EE-TICKETS-2026-11-13 (Kontrast-Nachzug): aktive Spanne als invertierter Chip — die graue Unterstreichung lag im Hell-Modus
   unter der Schrift (4.12:1 < AA). Jetzt Schriftfarbe ↔ Flaeche getauscht, in beiden Modi ≥ 15:1. */
#ec-admin-elite-shell .ec-ov-range.active{ color:var(--ap-ink-0); background:var(--ap-fg-0); border-color:var(--ap-fg-0); box-shadow:none; }
#ec-admin-elite-shell .ec-ov-range.ec-ov-csv{ margin-left:4px; }
#ec-admin-elite-shell .ec-ov-chart .bar-gold{ fill:var(--ov-gold); }
#ec-admin-elite-shell .ec-ov-chart .bar-life{ fill:var(--ov-life); }
#ec-admin-elite-shell .ec-ov-chart .pt:hover .dot{ stroke-width:3; }
#ec-admin-elite-shell .ec-ov-legend{ display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:10px; font-size:12px; color:var(--ap-fg-1); }
#ec-admin-elite-shell .ec-ov-legend .lg{ display:inline-flex; align-items:center; gap:6px; }
#ec-admin-elite-shell .ec-ov-legend .lg.muted{ color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-ov-legend .sw{ display:inline-block; width:12px; height:12px; border-radius:3px; }
#ec-admin-elite-shell .ec-ov-legend .sw.line{ height:3px; border-radius:2px; background:var(--ov-blue); }
#ec-admin-elite-shell .ec-ov-legend .sw.gold{ background:var(--ov-gold); }
#ec-admin-elite-shell .ec-ov-legend .sw.life{ background:var(--ov-life); }

/* Support: KPI-Leiste */
#ec-admin-elite-shell .ec-ts-kpis{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; gap:12px; align-items:stretch; margin:0 0 14px; }
#ec-admin-elite-shell .ec-ts-kpi{
  display:flex; flex-direction:column; gap:2px; padding:12px 14px; border-radius:12px; min-width:0;
  background:var(--ap-glass-surface, rgba(14, 14, 14, 0.6)); border:1px solid var(--ap-glass-border, var(--ap-hl-1));
}
#ec-admin-elite-shell .ec-ts-kpi .k{ font-family:var(--ap-font-mono); font-size:10.5px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-ts-kpi .v{ font-size:24px; font-weight:700; color:var(--ap-fg-0); }
#ec-admin-elite-shell .ec-ts-kpi .s{ font-size:11.5px; color:var(--ap-fg-3); overflow-wrap:anywhere; }
#ec-admin-elite-shell .ec-ts-kpi-days{ align-self:center; }

/* Fall-Akte */
#ec-admin-elite-shell .ec-ts-boxes{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:12px 0; }
#ec-admin-elite-shell .ec-ts-box{ padding:10px 12px; border-radius:10px; border:1px solid var(--ap-hl-1); min-width:0; }
#ec-admin-elite-shell .ec-ts-box h4{ margin:0 0 6px; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--ap-fg-2); }
#ec-admin-elite-shell .ec-ts-fact{ display:flex; justify-content:space-between; gap:10px; padding:3px 0; font-size:12.5px; border-bottom:1px dashed var(--ap-hl-1); }
#ec-admin-elite-shell .ec-ts-fact:last-of-type{ border-bottom:0; }
#ec-admin-elite-shell .ec-ts-fact .k{ color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-ts-fact .v{ color:var(--ap-fg-0); font-family:var(--ap-font-mono); text-align:right; overflow-wrap:anywhere; }
#ec-admin-elite-shell .ec-ts-fact.warn .v{ box-shadow:inset 0 -2px 0 var(--ov-warn); }
#ec-admin-elite-shell .ec-ts-flag{ margin-top:8px; padding:6px 8px; border-radius:6px; font-size:12px; color:var(--ap-fg-0); border:1px solid var(--ov-warn); box-shadow:inset 3px 0 0 var(--ov-warn); }
#ec-admin-elite-shell .ec-ts-suggest{ margin-top:8px; font-size:12.5px; color:var(--ap-fg-1); }
#ec-admin-elite-shell .ec-ts-suggest .k{ font-family:var(--ap-font-mono); font-size:10.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--ap-fg-3); margin-right:6px; }
#ec-admin-elite-shell .ec-ts-assign{ display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; margin:8px 0; }
#ec-admin-elite-shell .ec-ts-hint{ font-size:12px; color:var(--ap-fg-1); padding:4px 8px; border-radius:5px; border:1px solid var(--ov-warn); }
#ec-admin-elite-shell .ec-ts-hint.mine{ border-color:var(--ov-ok); }
#ec-admin-elite-shell .ec-ts-stages,
#ec-admin-elite-shell .ec-ts-decided,
#ec-admin-elite-shell .ec-ts-timeline{ margin-top:14px; padding-top:12px; border-top:1px solid var(--ap-hl-1); }
#ec-admin-elite-shell .ec-ts-stage-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:8px; }
#ec-admin-elite-shell .ec-ts-stage-grid .ec-cc-btn{ white-space:normal; text-align:left; min-height:40px; height:auto; padding:8px 10px; line-height:1.3; }
#ec-admin-elite-shell .ec-cc-btn.warn{ box-shadow:inset 3px 0 0 var(--ov-warn); }
#ec-admin-elite-shell .ec-ts-dec-row{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:6px; font-size:12.5px; }
#ec-admin-elite-shell .ec-ts-dec-row .muted,
#ec-admin-elite-shell .ec-ts-decided .muted{ color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-ts-ref{ font-family:var(--ap-font-mono); font-size:12px; color:var(--ap-fg-0); padding:2px 6px; border-radius:4px; border:1px solid var(--ap-hl-2); }
#ec-admin-elite-shell .ec-ts-dec-note{ margin:8px 0 0; font-size:12.5px; color:var(--ap-fg-1); white-space:pre-wrap; overflow-wrap:anywhere; }
#ec-admin-elite-shell .ec-ts-timeline ol{ list-style:none; margin:8px 0; padding:0; display:flex; flex-direction:column; gap:6px; }
#ec-admin-elite-shell .ec-ts-timeline li{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:4px 10px; align-items:baseline; font-size:12.5px; color:var(--ap-fg-1);
  padding:6px 8px; border-radius:8px; border:1px solid var(--ap-hl-1); }
#ec-admin-elite-shell .ec-ts-timeline time{ font-family:var(--ap-font-mono); font-size:11.5px; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-ts-timeline .a{ font-size:11.5px; color:var(--ap-fg-2); }
#ec-admin-elite-shell .ec-ts-timeline code{ grid-column:2 / span 2; font-family:var(--ap-font-mono); font-size:11px; color:var(--ap-fg-3); }
#ec-admin-elite-shell .ec-cc-check{ display:flex; align-items:center; gap:8px; margin-top:10px; font-size:13px; color:var(--ap-fg-1); cursor:pointer; }
#ec-admin-elite-shell .ec-cc-check input{ width:18px; height:18px; }

@media (max-width:1100px){
  #ec-admin-elite-shell .ec-ts-kpis{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  #ec-admin-elite-shell .ec-ts-kpi-days{ grid-column:1 / -1; }
}
@media (max-width:759px){
  #ec-admin-elite-shell .ec-ts-kpis{ grid-template-columns:minmax(0,1fr); }
  #ec-admin-elite-shell .ec-ts-boxes,
  #ec-admin-elite-shell .ec-ts-stage-grid{ grid-template-columns:minmax(0,1fr); }
  #ec-admin-elite-shell .ec-ts-assign{ justify-content:flex-start; }
  #ec-admin-elite-shell .ec-ts-timeline li{ grid-template-columns:minmax(0,1fr); }
  #ec-admin-elite-shell .ec-ts-timeline code{ grid-column:auto; }
}

/* §GATEWAYS-2026-11-01 (C2) — Rechnungs-Vorschau Layout v2 (Slate, ruhig; gleiche Struktur wie das PDF) */
#ec-admin-elite-shell .ec-inv2{ font-family:Helvetica, Arial, sans-serif; color:#212121; font-size:11px; line-height:1.45; }
#ec-admin-elite-shell .ec-inv2 > *{ position:relative; z-index:1; }
#ec-admin-elite-shell .ec-inv2 .wm{ z-index:0; }
#ec-admin-elite-shell .ec-inv2 h6{ margin:14px 0 4px; font-size:8.5px; letter-spacing:.08em; text-transform:uppercase; color:#9d9d9d; font-weight:700; }
#ec-admin-elite-shell .ec-inv2 .mut{ color:#6d6d6d; } #ec-admin-elite-shell .ec-inv2 .sm{ font-size:10px; } #ec-admin-elite-shell .ec-inv2 .xs{ font-size:8.5px; }
#ec-admin-elite-shell .ec-inv-head{ display:flex; align-items:center; gap:10px; padding-bottom:12px; border-bottom:1px solid #e2e2e2; }
#ec-admin-elite-shell .ec-inv-logo{ width:40px; height:40px; border-radius:8px; flex:0 0 40px; }
#ec-admin-elite-shell .ec-inv-logo.mono{ filter:grayscale(1); }
#ec-admin-elite-shell .ec-inv-brand{ flex:1; min-width:0; display:flex; flex-direction:column; }
#ec-admin-elite-shell .ec-inv-brand strong{ font-size:12.5px; overflow-wrap:anywhere; }
#ec-admin-elite-shell .ec-inv-brand small{ color:#6d6d6d; font-size:9.5px; }
#ec-admin-elite-shell .ec-inv-title{ text-align:right; display:flex; flex-direction:column; }
#ec-admin-elite-shell .ec-inv-title strong{ font-size:20px; letter-spacing:-.01em; }
#ec-admin-elite-shell .ec-inv-title code, #ec-admin-elite-shell .ec-inv2 code{ font-family:"Courier New", monospace; color:#6d6d6d; font-size:10px; overflow-wrap:anywhere; }
#ec-admin-elite-shell .ec-inv-cols{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
#ec-admin-elite-shell .ec-inv-kv{ display:flex; justify-content:space-between; gap:10px; }
#ec-admin-elite-shell .ec-inv-kv span{ color:#6d6d6d; } #ec-admin-elite-shell .ec-inv-kv b{ text-align:right; }
#ec-admin-elite-shell .ec-inv-table{ width:100%; border-collapse:collapse; margin-top:16px; }
#ec-admin-elite-shell .ec-inv-table th{ background:#f6f7f9; color:#6d6d6d; font-size:8.5px; letter-spacing:.06em; text-transform:uppercase; text-align:left; padding:7px 9px; }
#ec-admin-elite-shell .ec-inv-table td{ padding:9px; border-bottom:1px solid #e2e2e2; }
#ec-admin-elite-shell .ec-inv-table .num{ text-align:right; white-space:nowrap; }
#ec-admin-elite-shell .ec-inv-totals{ margin:10px 0 0 auto; width:min(260px, 60%); }
#ec-admin-elite-shell .ec-inv-totals .strong{ border-top:1px solid #c6c6c6; padding-top:6px; margin-top:4px; font-size:12.5px; }
#ec-admin-elite-shell .ec-inv-totals .strong span{ color:#212121; font-weight:700; }
#ec-admin-elite-shell .ec-inv-foot{ margin-top:18px; padding-top:10px; border-top:1px solid #e2e2e2; font-size:9.5px; }
@media (max-width:520px){ #ec-admin-elite-shell .ec-inv-cols{ grid-template-columns:1fr; } }

/* §GATEWAYS-2026-11-01 — Zahlungen & Gateways, Task Observer, Live-Schalter */
#ec-admin-elite-shell .ec-ops-gw, #ec-admin-elite-shell .ec-ops-job{display:flex;align-items:center;gap:12px;padding:12px 14px;border-top:1px solid var(--ap-line,rgba(255,255,255,.06))}
#ec-admin-elite-shell .ec-ops-gw-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
#ec-admin-elite-shell .ec-ops-gw-main strong{font-size:13.5px}
#ec-admin-elite-shell .ec-ops-muted{color:var(--ap-fg-3,#939393);font-size:12px;line-height:1.4}
#ec-admin-elite-shell .ec-ops-addr{font-size:11.5px;word-break:break-all;color:var(--ap-fg-1,#e9e9e9)}
#ec-admin-elite-shell .ec-ops-qr{flex:0 0 92px;width:92px;background:#fff;border-radius:8px;padding:3px}
#ec-admin-elite-shell .ec-ops-qr svg{display:block;width:100%;height:auto}
#ec-admin-elite-shell .ec-ops-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#ec-admin-elite-shell .ec-ops-kv{display:flex;justify-content:space-between;gap:12px;padding:9px 14px;border-top:1px solid var(--ap-line,rgba(255,255,255,.06));font-size:13px}
#ec-admin-elite-shell .ec-ops-kv b.ok{color:#b8b8b8} #ec-admin-elite-shell .ec-ops-kv b.bad{color:#fca5a5}
/* §WALLETS-2026-11-02 — Status-Pille, Voll/kurz, PayPal-Checkliste */
#ec-admin-elite-shell .ec-ops-pill{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:600;vertical-align:1px}
#ec-admin-elite-shell .ec-ops-pill.ok{background:rgba(184, 184, 184, .14);color:#b8b8b8} #ec-admin-elite-shell .ec-ops-pill.idle{background:rgba(161, 161, 161, .14);color:#ababab}
#ec-admin-elite-shell .ec-cc-btn.ghost{align-self:flex-start;padding:2px 8px;font-size:11.5px;min-height:28px}
#ec-admin-elite-shell details.ec-ops-note summary{cursor:pointer;font-weight:600}
#ec-admin-elite-shell details.ec-ops-note ol{margin:6px 0 0 18px;padding:0;line-height:1.55}
#ec-admin-elite-shell [data-ec-pp-result]{align-self:center}
#ec-admin-elite-shell .ec-ops-note{padding:10px 14px 12px;font-size:12px;color:var(--ap-fg-3,#939393)}
#ec-admin-elite-shell .ec-ops-warn{margin:0 0 12px;padding:10px 14px;border-radius:12px;background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.4);color:#fecaca;font-size:13px}
#ec-admin-elite-shell .ec-ops-lamp{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:#727272}
#ec-admin-elite-shell .ec-ops-lamp.ok{background:#9b9b9b;box-shadow:0 0 8px rgba(155, 155, 155, .7)}
#ec-admin-elite-shell .ec-ops-lamp.bad{background:#ef4444;box-shadow:0 0 8px rgba(239,68,68,.7)}
#ec-admin-elite-shell .ec-ops-lamp.warn{background:#a6a6a6;box-shadow:0 0 8px rgba(166, 166, 166, .7)}
#ec-admin-elite-shell .ec-ops-lamp.run{background:#a5a5a5;animation:ecOpsPulse 1s ease-in-out infinite}
@keyframes ecOpsPulse{50%{opacity:.35}}
#ec-admin-elite-shell .ec-ops-switch{position:relative;width:46px;height:26px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);cursor:pointer;padding:0}
#ec-admin-elite-shell .ec-ops-switch span{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#d4d4d4;transition:transform .18s}
#ec-admin-elite-shell .ec-ops-switch.on{background:rgba(166, 166, 166, .35);border-color:rgba(166, 166, 166, .6)}
#ec-admin-elite-shell .ec-ops-switch.on span{transform:translateX(20px);background:#c1c1c1}
@media (max-width:600px){#ec-admin-elite-shell .ec-ops-gw,#ec-admin-elite-shell .ec-ops-job{flex-wrap:wrap}#ec-admin-elite-shell .ec-ops-actions{width:100%;justify-content:flex-start}}
/* §TICKETS-V3-2026-11-02 — Inspektor: Ungelesen-Punkt, Kategorie, Status-Schritte, Konto-Zeile, interne Notiz */
#ec-admin-elite-shell .ec-tk-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ap-cyan-300,#cecece);margin-right:6px;vertical-align:1px;box-shadow:0 0 0 3px rgba(206, 206, 206, .16)}
#ec-admin-elite-shell .ec-as-ticket-row.is-unread .ec-as-ticket-subj{font-weight:700}
#ec-admin-elite-shell .ec-tk-cat{display:inline-block;margin-left:6px;padding:0 7px;border-radius:999px;font-size:10.5px;font-weight:600;background:rgba(161, 161, 161, .14);color:var(--ap-fg-2,#c9c9c9)}
#ec-admin-elite-shell .ec-tk-filters{flex-wrap:wrap}
#ec-admin-elite-shell .ec-tk-steps{display:flex;flex-wrap:wrap;gap:6px;width:100%}
#ec-admin-elite-shell .ec-tk-step{flex:1 1 0;min-width:96px;min-height:40px;padding:6px 10px;border-radius:10px;border:1px solid var(--ap-line,rgba(255,255,255,.1));background:rgba(255,255,255,.03);color:var(--ap-fg-1,#e9e9e9);font-size:12.5px;font-weight:600;cursor:pointer}
#ec-admin-elite-shell .ec-tk-step:hover:not([disabled]){background:rgba(111, 111, 111, .14)}
#ec-admin-elite-shell .ec-tk-step.is-current{background:rgba(111, 111, 111, .22);border-color:rgba(111, 111, 111, .55);cursor:default}
#ec-admin-elite-shell .ec-tk-step.is-reject:not(.is-current){color:#fca5a5}
#ec-admin-elite-shell .ec-tk-acct{display:inline-flex;flex-wrap:wrap;gap:6px}
#ec-admin-elite-shell .ec-tk-note{margin-top:14px;padding:12px;border-radius:12px;border:1px dashed rgba(201, 201, 201, .35);background:rgba(201, 201, 201, .05);display:flex;flex-direction:column;gap:8px}

/* §SUPPORT-DIAG-2026-11-13: Diagnose-Pakete am Ticket */
#ec-admin-elite-shell .ec-tk-diag-item{display:flex;flex-direction:column;gap:6px;padding:8px 0;border-top:1px solid rgba(201, 201, 201, .15)}
#ec-admin-elite-shell .ec-tk-diag-dl{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);gap:4px 12px;margin:0;font-size:12px}
#ec-admin-elite-shell .ec-tk-diag-dl dt{opacity:.7}
#ec-admin-elite-shell .ec-tk-diag-dl dd{margin:0;font-family:var(--font-mono,monospace);overflow-wrap:anywhere}

/* §E2EE-TICKETS-2026-11-13: Support-Schluessel-Leiste ueber der Ticketliste */
#ec-admin-elite-shell .ec-sk-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:10px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);font-size:13px}
#ec-admin-elite-shell .ec-sk-bar.is-open{border-color:rgba(255,255,255,.28)}
#ec-admin-elite-shell .ec-sk-bar .ec-sk-acts{display:flex;gap:8px;flex-wrap:wrap}
#ec-admin-elite-shell .ec-sk-bar .ec-sk-state{min-width:0;overflow-wrap:anywhere}
