/* Vemelu Phase 22S Step 4 – Admin Standalone Cleanup */

body.vemelu-admin-subdomain,
body.vemelu-admin-subdomain-login,
body.vemelu-admin-subdomain-auth {
  background: #07131c !important;
  background-image:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.10), transparent 34%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.10), transparent 34%) !important;
}

body.vemelu-admin-subdomain [data-site-header],
body.vemelu-admin-subdomain [data-site-footer],
body.vemelu-admin-subdomain-login [data-site-header],
body.vemelu-admin-subdomain-login [data-site-footer],
body.vemelu-admin-subdomain-auth [data-site-header],
body.vemelu-admin-subdomain-auth [data-site-footer] {
  display: none !important;
}

body.vemelu-admin-subdomain main[data-page-root],
body.vemelu-admin-subdomain-login main[data-page-root],
body.vemelu-admin-subdomain-auth main[data-page-root] {
  min-height: 100dvh;
}

body.vemelu-admin-subdomain .admin-dashboard {
  padding-top: 24px;
}

body.vemelu-admin-subdomain .admin-hero {
  padding-block: clamp(22px, 3vw, 38px) !important;
  min-height: auto !important;
  border-color: rgba(125, 211, 252, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.10), transparent 32%),
    linear-gradient(135deg, rgba(11, 36, 50, 0.98), rgba(6, 22, 35, 0.98));
}

body.vemelu-admin-subdomain .admin-hero .h1 {
  font-size: clamp(2.3rem, 4vw, 4.1rem) !important;
}

body.vemelu-admin-subdomain .admin-hero .lead {
  font-size: clamp(1rem, 1.2vw, 1.25rem) !important;
}

body.vemelu-admin-subdomain .admin-tabs {
  top: 0 !important;
}

/* Eigene Admin-Login-Optik, ohne öffentliche Marketing-Navigation. */
body.vemelu-admin-subdomain-login .auth-section,
body.vemelu-admin-subdomain-auth .auth-section {
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding-block: clamp(28px, 5vw, 72px);
}

body.vemelu-admin-subdomain-login .auth-shell,
body.vemelu-admin-subdomain-auth .auth-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 520px);
  align-items: center;
}

body.vemelu-admin-subdomain-login .auth-copy,
body.vemelu-admin-subdomain-auth .auth-copy {
  max-width: 620px;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(8, 47, 73, 0.24), rgba(2, 6, 23, 0.18));
}

body.vemelu-admin-subdomain-login .auth-copy .eyebrow,
body.vemelu-admin-subdomain-auth .auth-copy .eyebrow {
  color: #22c55e;
}

body.vemelu-admin-subdomain-login .auth-copy .h1,
body.vemelu-admin-subdomain-auth .auth-copy .h1 {
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  line-height: 0.96;
}

body.vemelu-admin-subdomain-login .auth-benefits,
body.vemelu-admin-subdomain-auth .auth-benefits {
  grid-template-columns: 1fr;
  max-width: 540px;
}

body.vemelu-admin-subdomain-login .auth-benefits span,
body.vemelu-admin-subdomain-auth .auth-benefits span {
  border-color: rgba(125, 211, 252, 0.16);
  background: rgba(15, 23, 42, 0.36);
}

body.vemelu-admin-subdomain-login .auth-card,
body.vemelu-admin-subdomain-auth .auth-card {
  border-color: rgba(34, 197, 94, 0.20);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(8, 47, 73, 0.92), rgba(2, 6, 23, 0.96));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

body.vemelu-admin-subdomain-login .auth-card-head::after,
body.vemelu-admin-subdomain-auth .auth-card-head::after {
  content: "Interner Bereich";
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(20, 83, 45, 0.20);
  border: 1px solid rgba(34, 197, 94, 0.24);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

body.vemelu-admin-subdomain-login .form-note {
  display: none !important;
}

body.vemelu-admin-subdomain-login .auth-row a,
body.vemelu-admin-subdomain-auth .auth-back-link {
  color: #7dd3fc;
}

body.vemelu-admin-subdomain-login .admin-subdomain-local-note,
body.vemelu-admin-subdomain-auth .admin-subdomain-local-note {
  margin-top: 14px;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  body.vemelu-admin-subdomain-login .auth-shell,
  body.vemelu-admin-subdomain-auth .auth-shell {
    grid-template-columns: 1fr;
  }

  body.vemelu-admin-subdomain-login .auth-copy,
  body.vemelu-admin-subdomain-auth .auth-copy {
    padding: 0;
    border: 0;
    background: transparent;
  }
}


/* =====================================================================
   Vemelu Phase 22S Step 4b – Admin Header Padding Fix
   ===================================================================== */

/* Der Admin-Hero klebte auf der Subdomain links zu nah am Rand.
   Padding-inline sorgt fuer saubere Innenabstaende links/rechts. */
body.vemelu-admin-subdomain .admin-hero {
  padding-inline: clamp(22px, 3vw, 46px) !important;
  box-sizing: border-box !important;
}

/* Admin-Hero Inhalt und Aktionen bleiben sauber im Kasten. */
body.vemelu-admin-subdomain .admin-hero > * {
  min-width: 0;
}

body.vemelu-admin-subdomain .admin-hero .btn-row,
body.vemelu-admin-subdomain .admin-hero .admin-hero-actions,
body.vemelu-admin-subdomain .admin-hero [class*="action"] {
  max-width: 100%;
}

@media (max-width: 780px) {
  body.vemelu-admin-subdomain .admin-hero {
    padding-inline: 18px !important;
  }
}


/* Vemelu Phase 22S Step 4c – Subdomain Ticketlisten-Feinschliff */
body.vemelu-admin-subdomain .admin-ticket-card-pro {
  border-radius: 18px !important;
}


/* Vemelu Phase 22S Step 4d – alte Ticketkarten auf Admin-Subdomain komplett ausblenden */
body.vemelu-admin-subdomain .admin-ticket-card-pro {
  display: none !important;
}


/* =====================================================================
   Vemelu Phase 22T Step 7 – Neutraler Admin-Login
   ===================================================================== */

/* Login/Auth-Seiten wirken absichtlich wie ein neutraler sicherer Zugang,
   nicht wie eine offen erkennbare Admin-Konsole. */
body.vemelu-admin-subdomain-login,
body.vemelu-admin-subdomain-auth {
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 197, 94, 0.12), transparent 32%),
    radial-gradient(circle at 82% 100%, rgba(14, 165, 233, 0.10), transparent 36%),
    linear-gradient(145deg, #06111b 0%, #07131c 56%, #071722 100%) !important;
}

body.vemelu-admin-subdomain-login .auth-copy .eyebrow,
body.vemelu-admin-subdomain-auth .auth-copy .eyebrow {
  color: #bbf7d0 !important;
  border-color: rgba(34, 197, 94, 0.18);
  background: rgba(20, 83, 45, 0.18);
}

body.vemelu-admin-subdomain-login .auth-copy .h1,
body.vemelu-admin-subdomain-auth .auth-copy .h1 {
  letter-spacing: -0.055em;
}

body.vemelu-admin-subdomain-login .auth-benefits,
body.vemelu-admin-subdomain-auth .auth-benefits {
  max-width: 640px;
}

body.vemelu-admin-subdomain-login .auth-benefits span,
body.vemelu-admin-subdomain-auth .auth-benefits span {
  color: rgba(226, 232, 240, 0.82);
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.24);
}

body.vemelu-admin-subdomain-login .auth-card,
body.vemelu-admin-subdomain-auth .auth-card {
  border-color: rgba(125, 211, 252, 0.14) !important;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.10), transparent 32%),
    linear-gradient(145deg, rgba(8, 47, 73, 0.22), rgba(2, 6, 23, 0.35)) !important;
}

body.vemelu-admin-subdomain-login .auth-card::before,
body.vemelu-admin-subdomain-auth .auth-card::before {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.72), rgba(14, 165, 233, 0.42), rgba(34, 197, 94, 0.18));
}

body.vemelu-admin-subdomain-login .auth-card-head p,
body.vemelu-admin-subdomain-auth .auth-card-head p {
  color: rgba(148, 163, 184, 0.92);
}

body.vemelu-admin-subdomain-login .admin-subdomain-local-note,
body.vemelu-admin-subdomain-auth .admin-subdomain-local-note {
  color: rgba(148, 163, 184, 0.78);
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.24);
}

body.vemelu-admin-subdomain-login .admin-subdomain-local-note::before,
body.vemelu-admin-subdomain-auth .admin-subdomain-local-note::before {
  content: "●";
  color: #86efac;
  margin-right: 7px;
  font-size: 10px;
}


/* =====================================================================
   Vemelu Phase 22T Step 7b – Minimal Neutral Login
   ===================================================================== */

/* Der große linke Erklärblock wird komplett entfernt.
   Die Seite zeigt nur noch eine neutrale Login-Karte. */
body.vemelu-admin-subdomain-login .auth-copy,
body.vemelu-admin-subdomain-auth .auth-copy {
  display: none !important;
}

body.vemelu-admin-subdomain-login .auth-shell,
body.vemelu-admin-subdomain-auth .auth-shell {
  min-height: 100dvh !important;
  display: grid !important;
  grid-template-columns: minmax(0, 440px) !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
  padding-block: clamp(26px, 6vh, 70px) !important;
}

body.vemelu-admin-subdomain-login .auth-section,
body.vemelu-admin-subdomain-auth .auth-section {
  display: grid !important;
  align-items: center !important;
  min-height: 100dvh !important;
}

body.vemelu-admin-subdomain-login .auth-card,
body.vemelu-admin-subdomain-auth .auth-card {
  width: min(100%, 440px) !important;
  margin-inline: auto !important;
  padding: clamp(22px, 4vw, 34px) !important;
  border-radius: 30px !important;
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.vemelu-admin-subdomain-login .auth-card-head,
body.vemelu-admin-subdomain-auth .auth-card-head {
  align-items: center !important;
  margin-bottom: 20px !important;
}

body.vemelu-admin-subdomain-login .auth-card-head img,
body.vemelu-admin-subdomain-auth .auth-card-head img {
  width: 50px !important;
  height: 50px !important;
}

body.vemelu-admin-subdomain-login .auth-card-head h2,
body.vemelu-admin-subdomain-auth .auth-card-head h2 {
  font-size: 1.45rem !important;
  margin-bottom: 2px !important;
}

body.vemelu-admin-subdomain-login .auth-card-head p,
body.vemelu-admin-subdomain-auth .auth-card-head p {
  font-size: 0.92rem !important;
}

body.vemelu-admin-subdomain-login .auth-row,
body.vemelu-admin-subdomain-auth .auth-row {
  gap: 12px !important;
}

body.vemelu-admin-subdomain-login .admin-subdomain-local-note,
body.vemelu-admin-subdomain-auth .admin-subdomain-local-note {
  text-align: center !important;
  justify-content: center !important;
  font-size: 0.82rem !important;
  opacity: 0.76 !important;
}

/* Keine verräterischen Zusatzhinweise auf der minimalen Login-Seite. */
body.vemelu-admin-subdomain-login .auth-benefits,
body.vemelu-admin-subdomain-auth .auth-benefits {
  display: none !important;
}

@media (max-width: 560px) {
  body.vemelu-admin-subdomain-login .auth-shell,
  body.vemelu-admin-subdomain-auth .auth-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100% - 28px, 440px) !important;
  }

  body.vemelu-admin-subdomain-login .auth-card,
  body.vemelu-admin-subdomain-auth .auth-card {
    border-radius: 24px !important;
  }
}


/* Phase 22T Step 12 – Admin Dashboard Local Polish */
.vemelu-step12-local-test {
  --admin-step12-warn: #fb923c;
}
.admin-step12-local-banner {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .68rem 1rem;
  border-bottom: 1px solid rgba(251, 146, 60, .38);
  background: linear-gradient(135deg, rgba(251, 146, 60, .18), rgba(15, 23, 42, .94));
  color: var(--text, #f8fafc);
  font-size: .88rem;
  box-shadow: 0 12px 30px rgba(2, 6, 23, .25);
  backdrop-filter: blur(14px);
}
.admin-step12-local-banner strong {
  letter-spacing: .01em;
}
.admin-step12-local-banner span {
  color: var(--muted, #94a3b8);
}
.admin-overview-hero-step12 {
  position: relative;
  overflow: hidden;
}
.admin-overview-hero-step12::after {
  content: "";
  position: absolute;
  inset: auto -12% -65% auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(251, 146, 60, .18), transparent 64%);
  pointer-events: none;
}
.admin-overview-step-chip {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-bottom: .45rem;
  padding: .28rem .62rem;
  border: 1px solid rgba(251, 146, 60, .34);
  border-radius: 999px;
  background: rgba(251, 146, 60, .11);
  color: #fed7aa;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .01em;
}
.admin-overview-runtime-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
}
.admin-overview-runtime-chip {
  min-width: 0;
  padding: .72rem .82rem;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 16px;
  background: rgba(15, 23, 42, .54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.admin-overview-runtime-chip small,
.admin-overview-runtime-chip strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-overview-runtime-chip small {
  color: var(--muted, #94a3b8);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.admin-overview-runtime-chip strong {
  margin-top: .22rem;
  color: var(--text, #f8fafc);
  font-size: .84rem;
}
.admin-overview-attention {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border-color: rgba(251, 146, 60, .22);
  background: linear-gradient(135deg, rgba(251, 146, 60, .11), rgba(15, 23, 42, .58));
}
.admin-overview-attention.tone-green {
  border-color: rgba(34, 197, 94, .22);
  background: linear-gradient(135deg, rgba(34, 197, 94, .1), rgba(15, 23, 42, .58));
}
.admin-overview-attention-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fb923c;
  background: rgba(251, 146, 60, .13);
}
.admin-overview-attention.tone-green .admin-overview-attention-icon {
  color: var(--green, #22c55e);
  background: rgba(34, 197, 94, .13);
}
.admin-overview-attention span {
  color: var(--muted, #94a3b8);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.admin-overview-attention strong {
  display: block;
  margin-top: .12rem;
  color: var(--text, #f8fafc);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.admin-overview-attention p {
  margin: .25rem 0 0;
  color: var(--muted, #94a3b8);
}
.admin-overview-attention b {
  min-width: 3.25rem;
  min-height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fed7aa;
  background: rgba(251, 146, 60, .13);
  font-size: 1.35rem;
}
.admin-overview-attention.tone-green b {
  color: #bbf7d0;
  background: rgba(34, 197, 94, .13);
}
.admin-overview-panel-head p {
  margin: .18rem 0 0;
  color: var(--muted, #94a3b8);
  font-size: .82rem;
  line-height: 1.35;
}
.admin-overview-kpi-grid-step12 .admin-overview-kpi {
  min-height: 150px;
}
.admin-overview-kpi.is-clickable,
.admin-overview-row-item.is-clickable,
.admin-overview-action,
.admin-overview-link {
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.admin-overview-kpi.is-clickable:hover,
.admin-overview-row-item.is-clickable:hover,
.admin-overview-action:hover {
  transform: translateY(-2px);
}
@media (max-width: 1100px) {
  .admin-overview-runtime-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .admin-step12-local-banner { align-items: flex-start; flex-direction: column; gap: .15rem; }
  .admin-overview-runtime-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-overview-attention { grid-template-columns: 1fr; align-items: flex-start; }
  .admin-overview-attention b { min-width: 3rem; justify-self: start; }
}
@media (max-width: 460px) {
  .admin-overview-runtime-strip { grid-template-columns: 1fr; }
}


/* Phase 22T Step 12 Fix 1 – ausführlicheres Admin-Protokoll */
.admin-audit-protocol-v3 {
  gap: 1rem;
}
.admin-audit-heading-pro {
  align-items: flex-start;
  gap: 1rem;
}
.admin-audit-heading-pro .admin-overview-step-chip {
  margin-bottom: .55rem;
}
.admin-audit-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
}
.admin-audit-summary-grid article {
  min-width: 0;
  padding: .95rem 1rem;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 23, 42, .72), rgba(15, 23, 42, .42));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.admin-audit-summary-grid span,
.admin-audit-summary-grid small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted, #94a3b8);
}
.admin-audit-summary-grid span {
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.admin-audit-summary-grid strong {
  display: block;
  margin: .28rem 0 .18rem;
  color: var(--text, #f8fafc);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1;
}
.admin-audit-summary-grid small {
  font-size: .78rem;
}
.admin-audit-toolbar-pro {
  grid-template-columns: repeat(4, minmax(150px, 1fr)) repeat(2, minmax(220px, 1.15fr)) auto;
}
.admin-audit-filter-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  max-width: 100%;
  padding: .55rem .75rem;
  border: 1px solid rgba(251, 146, 60, .28);
  border-radius: 999px;
  background: rgba(251, 146, 60, .08);
  color: #fed7aa;
  font-size: .82rem;
  font-weight: 800;
}
.admin-audit-list-detailed {
  gap: 1rem;
}
.admin-audit-card-detailed {
  align-items: flex-start;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, .78), rgba(15, 23, 42, .48));
}
.admin-audit-card-detailed > time {
  min-width: 8.5rem;
  display: grid;
  gap: .15rem;
  text-align: right;
}
.admin-audit-card-detailed > time strong {
  color: var(--text, #f8fafc);
  font-size: .82rem;
}
.admin-audit-card-detailed > time span {
  color: var(--muted, #94a3b8);
  font-size: .74rem;
  line-height: 1.35;
}
.admin-audit-title-row-pro strong {
  font-size: clamp(1rem, 1.2vw, 1.14rem);
}
.admin-audit-info-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .55rem;
}
.admin-audit-info-grid div {
  min-width: 0;
  padding: .62rem .7rem;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.admin-audit-info-grid span,
.admin-audit-info-grid strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-audit-info-grid span {
  margin-bottom: .16rem;
  color: var(--muted, #94a3b8);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.admin-audit-info-grid strong {
  color: var(--text, #f8fafc);
  font-size: .81rem;
}
.admin-audit-insight {
  padding: .72rem .82rem;
  border: 1px solid rgba(251, 146, 60, .2);
  border-radius: 16px;
  background: rgba(251, 146, 60, .07);
}
.admin-audit-insight span {
  display: block;
  margin-bottom: .18rem;
  color: #fed7aa;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.admin-audit-insight p {
  margin: 0;
  color: var(--muted, #94a3b8);
  font-size: .86rem;
  line-height: 1.45;
}
.admin-audit-change-preview {
  display: grid;
  gap: .45rem;
  padding: .72rem;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}
.admin-audit-section-title {
  color: var(--muted, #94a3b8);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.admin-audit-change-row {
  display: grid;
  grid-template-columns: minmax(110px, .7fr) minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .5rem;
  min-width: 0;
}
.admin-audit-change-row code,
.admin-audit-change-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-audit-change-row code {
  padding: .32rem .5rem;
  border-radius: 999px;
  background: rgba(251, 146, 60, .12);
  color: #fed7aa;
  font-size: .76rem;
  font-weight: 900;
}
.admin-audit-change-row span {
  padding: .42rem .55rem;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 12px;
  color: var(--text, #f8fafc);
  background: rgba(15, 23, 42, .35);
  font-size: .8rem;
}
.admin-audit-change-row b {
  color: var(--muted, #94a3b8);
}
.admin-audit-change-empty {
  padding: .65rem .75rem;
  border: 1px dashed rgba(148, 163, 184, .25);
  border-radius: 14px;
  color: var(--muted, #94a3b8);
  font-size: .82rem;
}
.admin-audit-detail-grid-pro {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-audit-detail-grid-pro .admin-audit-details pre {
  max-height: 310px;
}
html[data-theme="light"] .admin-audit-summary-grid article,
html[data-theme="light"] .admin-audit-card-detailed,
html[data-theme="light"] .admin-audit-info-grid div,
html[data-theme="light"] .admin-audit-change-preview {
  background: rgba(255, 255, 255, .78);
}
html[data-theme="light"] .admin-audit-change-row span {
  background: rgba(10, 30, 42, .035);
}
@media (max-width: 1180px) {
  .admin-audit-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-audit-toolbar-pro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-audit-toolbar-pro button { grid-column: 1 / -1; }
  .admin-audit-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-audit-detail-grid-pro { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .admin-audit-summary-grid,
  .admin-audit-info-grid { grid-template-columns: 1fr; }
  .admin-audit-card-detailed > time { min-width: 0; text-align: left; }
  .admin-audit-change-row { grid-template-columns: 1fr; align-items: stretch; }
  .admin-audit-filter-note { border-radius: 18px; }
}


/* Phase 22T Step 13 Fix 1 – Admin User Delete Workflow */
.admin-delete-workflow-hint {
  border-color: rgba(248, 113, 113, 0.34);
}

.btn-danger {
  border-color: rgba(248, 113, 113, 0.58) !important;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.92), rgba(190, 18, 60, 0.82)) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(127, 29, 29, 0.24);
}

.btn-danger:hover,
.btn-danger:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(127, 29, 29, 0.34);
}

.admin-danger-zone {
  border: 1px solid rgba(248, 113, 113, 0.38) !important;
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.20), rgba(15, 23, 42, 0.74)) !important;
}

.admin-danger-zone--blocked {
  opacity: 0.75;
}

.admin-danger-zone-head {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.admin-danger-zone-head h4 {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.25rem;
}

.admin-danger-zone-head p {
  margin: 0;
  color: var(--muted, #9ca3af);
}

.admin-danger-zone-head > span {
  border: 1px solid rgba(248, 113, 113, 0.44);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.28);
  white-space: nowrap;
}

.admin-delete-user-form textarea,
.admin-delete-user-form input,
.admin-delete-user-form select {
  border-color: rgba(248, 113, 113, 0.34) !important;
}

.admin-delete-confirm-help {
  display: block;
  margin-top: -0.45rem;
  color: var(--muted, #9ca3af);
}

.admin-delete-confirm-help strong {
  color: #fecaca;
}

.admin-delete-ack {
  align-items: flex-start;
}

.admin-delete-api-note {
  margin: 0 0 1rem;
}

@media (max-width: 720px) {
  .admin-danger-zone-head {
    display: block;
  }

  .admin-danger-zone-head > span {
    display: inline-flex;
    margin-top: 0.75rem;
  }
}


/* Phase 22T Step 13 Fix 7: sichtbares Feedback fuer Nutzerloesch-Workflow */
.admin-delete-inline-status {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  background: rgba(15, 23, 42, 0.035);
  color: var(--text, #172033);
  margin: 0.2rem 0 0.35rem;
}
.admin-delete-inline-status[hidden] { display: none !important; }
.admin-delete-inline-status strong { display: block; line-height: 1.35; }
.admin-delete-inline-status p { margin: 0.2rem 0 0; color: var(--muted, #64748b); font-size: 0.92rem; line-height: 1.35; }
.admin-delete-inline-status.success { border-color: rgba(22, 163, 74, 0.35); background: rgba(22, 163, 74, 0.08); }
.admin-delete-inline-status.error { border-color: rgba(220, 38, 38, 0.38); background: rgba(220, 38, 38, 0.08); }
.admin-delete-inline-status.info { border-color: rgba(37, 99, 235, 0.35); background: rgba(37, 99, 235, 0.08); }
.admin-delete-inline-status svg { flex: 0 0 auto; margin-top: 0.1rem; }


/* Phase 22T Step 13 Fix 8: Sicherheitscode statt kopierbarem Bestätigungstext */
.admin-delete-mode-hint,
.admin-delete-code-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  padding: 0.82rem 0.9rem;
  background: rgba(15, 23, 42, 0.28);
  color: var(--text, #f8fafc);
}
.admin-delete-mode-hint strong,
.admin-delete-code-card > span {
  display: block;
  color: #bae6fd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.32rem;
}
.admin-delete-mode-hint p,
.admin-delete-code-card small,
.admin-delete-field-help {
  margin: 0;
  color: var(--muted, #9ca3af);
  font-size: 0.9rem;
  line-height: 1.35;
}
.admin-delete-challenge-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 190px;
  padding: 0.62rem 0.9rem;
  margin: 0.12rem 0 0.35rem;
  border: 1px dashed rgba(56, 189, 248, 0.58);
  border-radius: 14px;
  background: rgba(8, 47, 73, 0.68);
  color: #e0f2fe;
  font-size: 1.15rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
.admin-delete-field-help { display: block; margin-top: 0.35rem; }
.admin-delete-field-help.ok { color: #86efac; }
.admin-delete-ack input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  flex: 0 0 20px !important;
  padding: 0 !important;
  margin-top: 0.08rem;
  accent-color: #22c55e;
}
.admin-delete-ack span { line-height: 1.35; }
html[data-theme="light"] .admin-delete-mode-hint,
html[data-theme="light"] .admin-delete-code-card { background: rgba(248, 250, 252, 0.82); }
html[data-theme="light"] .admin-delete-challenge-code { background: rgba(224, 242, 254, 0.92); color: #082f49; }

/* =====================================================================
   Phase 22T Step 13 Fix 9 – Nutzer/Kunden/Mitarbeiter verfeinert
   ===================================================================== */
.admin-user-refine-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.65fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.10), transparent 36%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.70), rgba(15, 23, 42, 0.44));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.admin-user-refine-main {
  min-width: 0;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(2, 6, 23, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.13);
}
.admin-user-refine-main span,
.admin-user-refine-cards article span {
  display: block;
  color: var(--muted, #94a3b8);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-user-refine-main h3 {
  margin: 0.3rem 0 0.25rem;
  color: var(--text, #f8fafc);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}
.admin-user-refine-main p {
  margin: 0;
  color: var(--muted, #94a3b8);
  line-height: 1.45;
}
.admin-user-refine-main strong {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.75rem;
  padding: 0.38rem 0.68rem;
  border: 1px solid rgba(56, 189, 248, 0.26);
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(8, 47, 73, 0.40);
  font-size: 0.82rem;
}
.admin-user-refine-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.admin-user-refine-cards article {
  min-width: 0;
  padding: 0.82rem 0.88rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.42);
}
.admin-user-refine-cards article.is-active {
  border-color: rgba(34, 197, 94, 0.36);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(15, 23, 42, 0.52));
}
.admin-user-refine-cards article div {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
}
.admin-user-refine-cards article strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--text, #f8fafc);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1;
}
.admin-user-refine-cards article small {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted, #94a3b8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-user-person-cell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.82rem;
  align-items: start;
  min-width: 0;
}
.admin-user-avatar-pro {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.52);
  color: #e0f2fe;
  font-weight: 950;
  letter-spacing: -0.03em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.admin-user-avatar-pro--customer { color: #bbf7d0; background: rgba(20, 83, 45, 0.34); border-color: rgba(34, 197, 94, 0.22); }
.admin-user-avatar-pro--employee { color: #fed7aa; background: rgba(124, 45, 18, 0.34); border-color: rgba(251, 146, 60, 0.26); }
.admin-user-avatar-pro--tester { color: #ddd6fe; background: rgba(76, 29, 149, 0.34); border-color: rgba(167, 139, 250, 0.24); }
.admin-user-avatar-pro--inactive { color: #fecaca; background: rgba(127, 29, 29, 0.34); border-color: rgba(248, 113, 113, 0.28); }
.admin-user-person-main { min-width: 0; display: grid; gap: 0.18rem; }
.admin-user-person-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
}
.admin-user-person-title strong { min-width: 0; overflow-wrap: anywhere; }
.admin-user-kind-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  width: fit-content;
  padding: 0.2rem 0.48rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  color: var(--muted, #94a3b8);
  background: rgba(15, 23, 42, 0.28);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.admin-user-kind-badge--customer { color: #bbf7d0; border-color: rgba(34, 197, 94, 0.24); background: rgba(20, 83, 45, 0.18); }
.admin-user-kind-badge--employee { color: #fed7aa; border-color: rgba(251, 146, 60, 0.26); background: rgba(124, 45, 18, 0.18); }
.admin-user-kind-badge--tester { color: #ddd6fe; border-color: rgba(167, 139, 250, 0.26); background: rgba(76, 29, 149, 0.18); }
.admin-user-kind-badge--inactive { color: #fecaca; border-color: rgba(248, 113, 113, 0.26); background: rgba(127, 29, 29, 0.18); }
.admin-user-mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.24rem;
}
.admin-user-mini-chip {
  display: inline-flex;
  max-width: 100%;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.10);
  color: var(--muted, #94a3b8);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
}
.admin-user-mini-chip--customer,
.admin-user-mini-chip--success { color: #bbf7d0; background: rgba(34, 197, 94, 0.12); }
.admin-user-mini-chip--employee { color: #fed7aa; background: rgba(251, 146, 60, 0.12); }
.admin-user-mini-chip--tester { color: #ddd6fe; background: rgba(167, 139, 250, 0.12); }
.admin-user-mini-chip--warning { color: #fde68a; background: rgba(234, 179, 8, 0.12); }
.admin-user-mini-chip--danger { color: #fecaca; background: rgba(248, 113, 113, 0.12); }
.admin-user-mini-chip--info { color: #bae6fd; background: rgba(56, 189, 248, 0.12); }
.admin-user-mini-chip--plan { color: #e0e7ff; background: rgba(99, 102, 241, 0.12); }
.admin-date-strong,
.admin-user-activity {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}
.admin-date-strong { color: #bae6fd; background: rgba(56, 189, 248, 0.10); }
.admin-user-activity--success { color: #bbf7d0; background: rgba(34, 197, 94, 0.12); }
.admin-user-activity--info { color: #bae6fd; background: rgba(56, 189, 248, 0.12); }
.admin-user-activity--warning { color: #fde68a; background: rgba(234, 179, 8, 0.12); }
.admin-user-activity--danger { color: #fecaca; background: rgba(248, 113, 113, 0.12); }
.admin-user-activity--muted { color: #cbd5e1; background: rgba(148, 163, 184, 0.10); }
.admin-dev-hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted, #94a3b8);
  font-size: 0.72rem;
  line-height: 1.28;
}
.admin-user-hero-type {
  border-color: rgba(148, 163, 184, 0.22) !important;
}
.admin-user-hero-type--customer { color: #bbf7d0 !important; background: rgba(34, 197, 94, 0.12) !important; }
.admin-user-hero-type--employee { color: #fed7aa !important; background: rgba(251, 146, 60, 0.12) !important; }
.admin-user-hero-type--tester { color: #ddd6fe !important; background: rgba(167, 139, 250, 0.12) !important; }
.admin-user-hero-type--inactive { color: #fecaca !important; background: rgba(248, 113, 113, 0.12) !important; }
.admin-user-drawer-pro--employee .admin-user-pro-hero {
  border-color: rgba(251, 146, 60, 0.20);
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.10), rgba(15, 23, 42, 0.62));
}
.admin-user-drawer-pro--tester .admin-user-pro-hero {
  border-color: rgba(167, 139, 250, 0.20);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.10), rgba(15, 23, 42, 0.62));
}
html[data-theme="light"] .admin-user-refine-panel,
html[data-theme="light"] .admin-user-refine-cards article,
html[data-theme="light"] .admin-user-refine-main {
  background: rgba(255, 255, 255, 0.78);
}
html[data-theme="light"] .admin-user-mini-chip,
html[data-theme="light"] .admin-user-kind-badge {
  background-color: rgba(15, 23, 42, 0.045);
}
@media (max-width: 1120px) {
  .admin-user-refine-panel { grid-template-columns: 1fr; }
  .admin-user-refine-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .admin-user-refine-cards { grid-template-columns: 1fr; }
  .admin-user-person-cell { grid-template-columns: 1fr; }
  .admin-user-avatar-pro { width: 38px; height: 38px; border-radius: 14px; }
}


/* Phase 22T Step 19 – Betriebszentrale / Desktop-Readiness */
.admin-ops-center {
  display: grid;
  gap: 1rem;
  border-color: rgba(34, 197, 94, 0.18) !important;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.16), rgba(15, 23, 42, 0.72)) !important;
}
.admin-ops-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.admin-ops-head h3 {
  margin: 0.35rem 0 0.3rem;
  color: var(--text, #f8fafc);
  font-size: clamp(1.12rem, 1.8vw, 1.55rem);
}
.admin-ops-head p {
  margin: 0;
  max-width: 68ch;
  color: var(--muted, #94a3b8);
  line-height: 1.45;
}
.admin-ops-chip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}
.admin-ops-chip {
  min-width: 0;
  padding: 0.72rem 0.78rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.44);
}
.admin-ops-chip small {
  display: block;
  margin-bottom: 0.26rem;
  color: var(--muted, #94a3b8);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-ops-chip strong {
  display: block;
  min-width: 0;
  color: var(--text, #f8fafc);
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-ops-chip.tone-green { border-color: rgba(34, 197, 94, 0.24); background: rgba(20, 83, 45, 0.18); }
.admin-ops-chip.tone-red { border-color: rgba(248, 113, 113, 0.26); background: rgba(127, 29, 29, 0.18); }
.admin-ops-chip.tone-yellow { border-color: rgba(234, 179, 8, 0.24); background: rgba(113, 63, 18, 0.16); }
.admin-ops-chip.tone-blue { border-color: rgba(56, 189, 248, 0.24); background: rgba(8, 47, 73, 0.20); }
.admin-ops-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.admin-ops-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.68rem;
  min-width: 0;
  padding: 0.86rem;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.24);
}
.admin-ops-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}
.admin-ops-item strong {
  display: block;
  color: var(--text, #f8fafc);
  font-size: 0.9rem;
}
.admin-ops-item p {
  margin: 0.24rem 0 0;
  color: var(--muted, #94a3b8);
  font-size: 0.8rem;
  line-height: 1.35;
}
.admin-ops-item.tone-blue .admin-ops-dot { color: #bae6fd; background: rgba(56, 189, 248, 0.12); }
.admin-ops-item.tone-purple .admin-ops-dot { color: #ddd6fe; background: rgba(167, 139, 250, 0.12); }
.admin-ops-item.tone-cyan .admin-ops-dot { color: #a5f3fc; background: rgba(6, 182, 212, 0.12); }
html[data-theme="light"] .admin-ops-center,
html[data-theme="light"] .admin-ops-chip,
html[data-theme="light"] .admin-ops-item {
  background-color: rgba(255, 255, 255, 0.78) !important;
}
@media (max-width: 1180px) {
  .admin-ops-chip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-ops-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .admin-ops-head { flex-direction: column; }
  .admin-ops-chip-grid,
  .admin-ops-list { grid-template-columns: 1fr; }
}


/* Phase 22T Step 20 – PWA/Desktop-Foundation */
.admin-pwa-center {
  display: grid;
  gap: 1rem;
  border-color: rgba(56, 189, 248, 0.20) !important;
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.24), rgba(15, 23, 42, 0.72)) !important;
}
.admin-pwa-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: flex-start;
}
.admin-pwa-icon {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #a5f3fc;
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: rgba(8, 47, 73, 0.26);
}
.admin-pwa-head h3 {
  margin: 0.35rem 0 0.28rem;
  color: var(--text, #f8fafc);
  font-size: clamp(1.08rem, 1.7vw, 1.45rem);
}
.admin-pwa-head p,
.admin-pwa-note {
  margin: 0;
  color: var(--muted, #94a3b8);
  line-height: 1.45;
}
.admin-pwa-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}
.admin-pwa-status {
  min-width: 0;
  padding: 0.75rem 0.82rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.26);
}
.admin-pwa-status small {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted, #94a3b8);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-pwa-status strong {
  display: block;
  color: var(--text, #f8fafc);
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-pwa-status.tone-green { border-color: rgba(34, 197, 94, 0.24); background: rgba(20, 83, 45, 0.18); }
.admin-pwa-status.tone-yellow { border-color: rgba(234, 179, 8, 0.24); background: rgba(113, 63, 18, 0.16); }
.admin-pwa-status.tone-blue { border-color: rgba(56, 189, 248, 0.24); background: rgba(8, 47, 73, 0.20); }
.admin-pwa-status.tone-purple { border-color: rgba(167, 139, 250, 0.24); background: rgba(76, 29, 149, 0.16); }
.admin-pwa-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}
.admin-pwa-live-status {
  color: var(--muted, #94a3b8);
  font-size: 0.9rem;
}
html[data-theme="light"] .admin-pwa-center,
html[data-theme="light"] .admin-pwa-status {
  background-color: rgba(255, 255, 255, 0.78) !important;
}
@media (max-width: 980px) {
  .admin-pwa-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .admin-pwa-head,
  .admin-pwa-status-grid { grid-template-columns: 1fr; }
}

/* Phase 22T Step 21 – Release Center / Rollback Readiness */
.admin-release-center {
  display: grid;
  gap: 1rem;
  border-color: rgba(167, 139, 250, 0.22) !important;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.20), rgba(15, 23, 42, 0.72)) !important;
}
.admin-release-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: flex-start;
}
.admin-release-icon {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #ddd6fe;
  border: 1px solid rgba(167, 139, 250, 0.26);
  background: rgba(76, 29, 149, 0.24);
}
.admin-release-head h3 {
  margin: 0.35rem 0 0.28rem;
  color: var(--text, #f8fafc);
  font-size: clamp(1.08rem, 1.7vw, 1.45rem);
}
.admin-release-head p {
  margin: 0;
  max-width: 76ch;
  color: var(--muted, #94a3b8);
  line-height: 1.45;
}
.admin-release-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}
.admin-release-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.admin-release-stage {
  min-width: 0;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.24);
}
.admin-release-stage > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 950;
  background: rgba(148, 163, 184, 0.18);
}
.admin-release-stage strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text, #f8fafc);
  font-size: 0.94rem;
}
.admin-release-stage p {
  margin: 0;
  color: var(--muted, #94a3b8);
  font-size: 0.84rem;
  line-height: 1.38;
}
.admin-release-stage.tone-green { border-color: rgba(34, 197, 94, 0.22); }
.admin-release-stage.tone-green > span { background: rgba(22, 163, 74, 0.22); color: #bbf7d0; }
.admin-release-stage.tone-blue { border-color: rgba(56, 189, 248, 0.22); }
.admin-release-stage.tone-blue > span { background: rgba(14, 165, 233, 0.18); color: #bae6fd; }
.admin-release-stage.tone-purple { border-color: rgba(167, 139, 250, 0.24); }
.admin-release-stage.tone-purple > span { background: rgba(124, 58, 237, 0.18); color: #ddd6fe; }
.admin-release-stage.tone-yellow { border-color: rgba(234, 179, 8, 0.22); }
.admin-release-stage.tone-yellow > span { background: rgba(202, 138, 4, 0.18); color: #fef3c7; }
.admin-release-note {
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
  color: var(--muted, #94a3b8);
  border: 1px dashed rgba(167, 139, 250, 0.24);
  background: rgba(2, 6, 23, 0.22);
  overflow-wrap: anywhere;
}
.admin-release-note strong { color: var(--text, #f8fafc); }
.admin-release-note code {
  color: #ddd6fe;
  font-size: 0.88rem;
}
html[data-theme="light"] .admin-release-center,
html[data-theme="light"] .admin-release-stage,
html[data-theme="light"] .admin-release-note {
  background-color: rgba(255, 255, 255, 0.80) !important;
}
@media (max-width: 1180px) {
  .admin-release-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-release-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .admin-release-head,
  .admin-release-flow,
  .admin-release-status-grid { grid-template-columns: 1fr; }
}


/* Phase 22T Step 22 – Admin Health Center / Live-Readiness Checks */
.admin-health-center {
  display: grid;
  gap: 1rem;
  border-color: rgba(45, 212, 191, 0.22) !important;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.16), rgba(15, 23, 42, 0.74)) !important;
}
.admin-health-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: flex-start;
}
.admin-health-icon {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #99f6e4;
  border: 1px solid rgba(45, 212, 191, 0.26);
  background: rgba(20, 184, 166, 0.16);
}
.admin-health-head h3 {
  margin: 0.35rem 0 0.28rem;
  color: var(--text, #f8fafc);
  font-size: clamp(1.08rem, 1.7vw, 1.45rem);
}
.admin-health-head p {
  margin: 0;
  max-width: 78ch;
  color: var(--muted, #94a3b8);
  line-height: 1.45;
}
.admin-health-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.admin-health-check {
  min-width: 0;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.24);
}
.admin-health-check small {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--muted, #94a3b8);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 850;
}
.admin-health-check strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text, #f8fafc);
  overflow-wrap: anywhere;
}
.admin-health-check p {
  margin: 0;
  color: var(--muted, #94a3b8);
  font-size: 0.84rem;
  line-height: 1.38;
}
.admin-health-check.tone-green { border-color: rgba(34, 197, 94, 0.22); }
.admin-health-check.tone-blue { border-color: rgba(56, 189, 248, 0.22); }
.admin-health-check.tone-yellow { border-color: rgba(234, 179, 8, 0.24); }
.admin-health-check.tone-red { border-color: rgba(248, 113, 113, 0.24); }
.admin-health-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 0.75rem;
  align-items: stretch;
}
.admin-health-bottom > div {
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px dashed rgba(45, 212, 191, 0.22);
  background: rgba(2, 6, 23, 0.22);
}
.admin-health-bottom strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text, #f8fafc);
}
.admin-health-bottom ol {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted, #94a3b8);
  font-size: 0.88rem;
  line-height: 1.45;
}
.admin-health-command {
  display: grid;
  gap: 0.35rem;
  align-content: center;
}
.admin-health-command span {
  color: var(--muted, #94a3b8);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 850;
}
.admin-health-command code {
  color: #99f6e4;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}
html[data-theme="light"] .admin-health-center,
html[data-theme="light"] .admin-health-check,
html[data-theme="light"] .admin-health-bottom > div {
  background-color: rgba(255, 255, 255, 0.82) !important;
}
@media (max-width: 1180px) {
  .admin-health-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-health-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .admin-health-head,
  .admin-health-grid { grid-template-columns: 1fr; }
}


/* Phase 22T Step 23 Fix 3 – normaler Schnellzugriff-Tab statt Popup */
.admin-quick-hero-button { gap: .4rem; }
.admin-quick-access-page { gap: 1rem; }
.admin-quick-access-hero { border-color: rgba(112, 228, 203, .22); }
.admin-quick-search-card { display: grid; gap: .85rem; }
.admin-quick-search {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 1rem;
  background: rgba(15, 118, 110, .06);
}
.admin-quick-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font: inherit;
}
.admin-quick-group { display: grid; gap: .9rem; }
.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.admin-quick-action {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .85rem;
  border: 1px solid rgba(15, 118, 110, .14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .72);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
[data-theme="dark"] .admin-quick-action { background: rgba(255, 255, 255, .045); border-color: rgba(255,255,255,.09); }
.admin-quick-action:hover { transform: translateY(-2px); border-color: rgba(15, 118, 110, .34); background: rgba(15, 118, 110, .08); }
.admin-quick-action[hidden] { display: none; }
.admin-quick-action-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: .85rem;
  background: rgba(15, 118, 110, .12);
  color: rgb(15, 118, 110);
}
.admin-quick-action strong { display: block; font-size: .96rem; }
.admin-quick-action small { display: block; margin-top: .12rem; color: var(--muted, #64748b); line-height: 1.35; }
.admin-quick-action em {
  font-style: normal;
  font-size: .78rem;
  font-weight: 850;
  color: rgb(15, 118, 110);
}
.admin-quick-info { margin-top: .25rem; }
@media (max-width: 760px) {
  .admin-quick-grid { grid-template-columns: 1fr; }
  .admin-quick-action { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .admin-quick-action em { display: none; }
}

/* Phase 22T Step 24 – Aufgaben-Center */
.admin-task-center-page {
  gap: 1.15rem;
}
.admin-task-hero {
  border-color: rgba(35, 213, 171, 0.22);
}
.admin-task-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: flex-end;
  align-items: center;
}
.admin-task-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
}
.admin-task-toolbar-card {
  padding: 1rem;
}
.admin-task-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px);
  gap: .8rem;
  align-items: center;
  margin-bottom: 1rem;
}
.admin-task-toolbar select {
  width: 100%;
}
.admin-task-list {
  display: grid;
  gap: .75rem;
}
.admin-task-item {
  display: grid;
  grid-template-columns: minmax(112px, 150px) minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: center;
  padding: .9rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
[data-theme="light"] .admin-task-item {
  background: rgba(255,255,255,.82);
  border-color: rgba(15,23,42,.10);
}
.admin-task-item.priority-critical,
.admin-task-item.priority-high {
  border-color: rgba(248, 113, 113, .32);
  background: linear-gradient(135deg, rgba(127, 29, 29, .20), rgba(15, 23, 42, .35));
}
[data-theme="light"] .admin-task-item.priority-critical,
[data-theme="light"] .admin-task-item.priority-high {
  background: linear-gradient(135deg, rgba(254, 226, 226, .82), rgba(255, 255, 255, .86));
}
.admin-task-item.priority-warning {
  border-color: rgba(251, 191, 36, .30);
  background: linear-gradient(135deg, rgba(120, 53, 15, .16), rgba(15, 23, 42, .35));
}
[data-theme="light"] .admin-task-item.priority-warning {
  background: linear-gradient(135deg, rgba(254, 243, 199, .82), rgba(255, 255, 255, .86));
}
.admin-task-marker {
  display: grid;
  gap: .35rem;
}
.admin-task-marker span {
  color: var(--text-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.admin-task-marker b {
  width: fit-content;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: rgba(35, 213, 171, .12);
  color: var(--text);
  font-size: .78rem;
}
.admin-task-main {
  min-width: 0;
}
.admin-task-main strong {
  display: block;
  font-size: .98rem;
  line-height: 1.25;
}
.admin-task-main small,
.admin-task-main p {
  display: block;
  color: var(--text-muted);
  margin: .18rem 0 0;
  line-height: 1.35;
}
.admin-task-actions {
  display: grid;
  gap: .45rem;
  justify-items: end;
  min-width: 120px;
}
.admin-task-actions time {
  color: var(--text-muted);
  font-size: .82rem;
}
.admin-task-source-warning,
.admin-task-info {
  align-items: flex-start;
}
@media (max-width: 980px) {
  .admin-task-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-task-toolbar { grid-template-columns: 1fr; }
  .admin-task-item { grid-template-columns: 1fr; }
  .admin-task-actions { justify-items: start; grid-template-columns: 1fr auto; align-items: center; }
}
@media (max-width: 640px) {
  .admin-task-summary-grid { grid-template-columns: 1fr; }
  .admin-task-hero-actions { justify-content: stretch; }
  .admin-task-hero-actions .btn { width: 100%; }
  .admin-task-actions { grid-template-columns: 1fr; }
}


/* Phase 22T Step 25: Admin Inbox / Tagesübersicht */
.admin-inbox-page .admin-inbox-hero {
  border-color: rgba(35, 213, 171, .28);
}
.admin-inbox-summary-grid {
  margin-top: .25rem;
}
.admin-inbox-focus-card .admin-inbox-item {
  margin-top: .75rem;
}
.admin-inbox-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.admin-inbox-section {
  min-width: 0;
}
.admin-inbox-list {
  display: grid;
  gap: .75rem;
  margin-top: .9rem;
}
.admin-inbox-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: center;
  padding: .85rem;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 18px;
  background: rgba(15, 23, 42, .32);
}
[data-theme="light"] .admin-inbox-item {
  background: rgba(255,255,255,.84);
  border-color: rgba(15,23,42,.10);
}
.admin-inbox-item.priority-critical,
.admin-inbox-item.priority-high {
  border-color: rgba(248, 113, 113, .34);
  background: linear-gradient(135deg, rgba(127, 29, 29, .20), rgba(15, 23, 42, .34));
}
[data-theme="light"] .admin-inbox-item.priority-critical,
[data-theme="light"] .admin-inbox-item.priority-high {
  background: linear-gradient(135deg, rgba(254, 226, 226, .86), rgba(255,255,255,.9));
}
.admin-inbox-item.priority-warning {
  border-color: rgba(251, 191, 36, .30);
}
.admin-inbox-type {
  display: grid;
  gap: .35rem;
}
.admin-inbox-type span {
  color: var(--text-muted);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.admin-inbox-type b {
  width: fit-content;
  padding: .25rem .5rem;
  border-radius: 999px;
  background: rgba(35, 213, 171, .12);
  font-size: .76rem;
}
.admin-inbox-main {
  min-width: 0;
}
.admin-inbox-main strong,
.admin-inbox-main small,
.admin-inbox-main p {
  display: block;
}
.admin-inbox-main strong {
  line-height: 1.25;
}
.admin-inbox-main small,
.admin-inbox-main p {
  color: var(--text-muted);
  margin: .2rem 0 0;
  line-height: 1.35;
}
.admin-inbox-actions {
  display: grid;
  gap: .45rem;
  justify-items: end;
  min-width: 110px;
}
.admin-inbox-actions time {
  color: var(--text-muted);
  font-size: .8rem;
}
@media (max-width: 1180px) {
  .admin-inbox-columns { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .admin-inbox-item { grid-template-columns: 1fr; }
  .admin-inbox-actions { justify-items: start; grid-template-columns: 1fr auto; align-items: center; }
}


/* Phase 22T Step 26 - Admin CRM Suite */
.admin-step26-stack { display: grid; gap: 1rem; }
.admin-role-matrix-card-step26 { overflow: hidden; }
.admin-role-matrix-step26 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .75rem; margin-top: 1rem; }
.admin-role-matrix-step26 article { border: 1px solid rgba(148, 163, 184, .22); border-radius: 18px; padding: .9rem; background: rgba(15, 23, 42, .28); }
.admin-role-matrix-step26 article.is-current { border-color: rgba(34, 197, 94, .65); box-shadow: 0 0 0 3px rgba(34, 197, 94, .10); }
.admin-role-matrix-step26 strong { display: block; font-size: .95rem; }
.admin-role-matrix-step26 small { color: rgba(226, 232, 240, .66); }
.admin-role-matrix-step26 ul { margin: .75rem 0 0; padding-left: 1.1rem; display: grid; gap: .28rem; color: rgba(226, 232, 240, .86); font-size: .84rem; }
.admin-step26-note { margin-top: 1rem; }
.admin-user-tab-grid-step26 { align-items: start; }
.admin-role-guard-card-step26 { border-color: rgba(251, 191, 36, .22); }
.admin-abo-overview-step26 .admin-user-support-kpis { margin-top: 1rem; }
.admin-plan-path-step26 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .65rem; margin-top: 1rem; }
.admin-plan-path-step26 article { padding: .8rem; border: 1px solid rgba(148, 163, 184, .18); border-radius: 16px; background: rgba(2, 6, 23, .18); }
.admin-plan-path-step26 strong { display: block; }
.admin-plan-path-step26 span { color: rgba(226, 232, 240, .68); font-size: .82rem; }
.admin-note-workflow-step26 .admin-note-chip-row { margin-top: .8rem; }
.admin-support-final-step26 form { margin-top: .85rem; }
.admin-avatar-storage-step26 .admin-user-media-preview { margin-bottom: .85rem; }
.admin-avatar-storage-form { display: grid; gap: .85rem; }
.admin-profile-action-status { margin-top: .75rem; border-radius: 16px; padding: .85rem; display: flex; gap: .7rem; align-items: flex-start; border: 1px solid rgba(148, 163, 184, .22); background: rgba(15, 23, 42, .35); }
.admin-profile-action-status--success { border-color: rgba(34, 197, 94, .42); background: rgba(34, 197, 94, .10); }
.admin-profile-action-status--error { border-color: rgba(248, 113, 113, .50); background: rgba(127, 29, 29, .16); }
.admin-profile-action-status--info { border-color: rgba(56, 189, 248, .42); background: rgba(14, 116, 144, .12); }
.admin-profile-action-status strong { display: block; }
.admin-profile-action-status p { margin: .25rem 0 0; color: rgba(226, 232, 240, .72); }
@media (max-width: 760px) { .admin-role-matrix-step26, .admin-plan-path-step26 { grid-template-columns: 1fr; } }


/* Phase 22T Step 27 - CRM Verbindung */
.admin-crm-connector-step27 {
  display: grid;
  gap: 1rem;
  border-color: rgba(34, 211, 238, .24);
}
.admin-crm-connector-head {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.admin-crm-connector-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, .20), rgba(129, 140, 248, .16));
  color: #a5f3fc;
  flex: 0 0 auto;
}
.admin-crm-connector-head h3 { margin: .2rem 0 .25rem; }
.admin-crm-connector-head p { margin: 0; color: rgba(226, 232, 240, .72); line-height: 1.45; }
.admin-crm-connector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: .65rem;
}
.admin-crm-activity-list {
  display: grid;
  gap: .55rem;
}
.admin-crm-activity-list article {
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(2, 6, 23, .18);
  border-radius: 16px;
  padding: .75rem .85rem;
}
.admin-crm-activity-list strong,
.admin-crm-activity-list small { display: block; }
.admin-crm-activity-list small { margin-top: .2rem; color: rgba(226, 232, 240, .65); }
.admin-crm-connector-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.admin-note-form .admin-profile-action-status { margin-top: .85rem; }
.admin-avatar-storage-form .admin-profile-action-status,
.admin-support-final-step26 .admin-profile-action-status { border-style: solid; }
@media (max-width: 760px) {
  .admin-crm-connector-head { flex-direction: column; }
  .admin-crm-connector-actions .btn { width: 100%; }
}

/* Phase 22T Step 29 – Admin-Handbuch / Runbook Center */
.admin-guide-page {
  gap: 1.1rem;
}
.admin-guide-hero .admin-overview-hero-actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.admin-guide-toolbar-card .admin-task-toolbar {
  align-items: stretch;
}
.admin-guide-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
.admin-guide-category-strip button {
  border: 1px solid rgba(148, 163, 184, .28);
  background: rgba(15, 23, 42, .38);
  color: var(--muted, #94a3b8);
  border-radius: 999px;
  padding: .5rem .78rem;
  font-weight: 750;
  cursor: pointer;
}
.admin-guide-category-strip button:hover,
.admin-guide-category-strip button.is-active {
  color: var(--text, #e5eef7);
  border-color: rgba(99, 179, 237, .55);
  background: rgba(37, 99, 235, .16);
}
.admin-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.admin-guide-card {
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(15, 23, 42, .72), rgba(15, 23, 42, .42));
  box-shadow: 0 18px 48px rgba(2, 6, 23, .18);
  padding: 1rem;
}
.admin-guide-card-head {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
}
.admin-guide-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #dbeafe;
  background: rgba(59, 130, 246, .18);
  border: 1px solid rgba(96, 165, 250, .26);
}
.admin-guide-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}
.admin-guide-card small {
  display: block;
  margin-top: .2rem;
  color: var(--muted, #94a3b8);
  line-height: 1.4;
}
.admin-guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .85rem;
}
.admin-guide-tags span {
  border-radius: 999px;
  padding: .28rem .55rem;
  font-size: .78rem;
  font-weight: 800;
  color: #bfdbfe;
  background: rgba(59, 130, 246, .14);
  border: 1px solid rgba(59, 130, 246, .18);
}
.admin-guide-card ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text, #e5eef7);
}
.admin-guide-card li {
  margin: .42rem 0;
  line-height: 1.45;
}
.admin-guide-info {
  margin-top: .2rem;
}
@media (max-width: 780px) {
  .admin-guide-hero .admin-overview-hero-actions,
  .admin-guide-toolbar-card .admin-task-toolbar {
    justify-content: stretch;
  }
  .admin-guide-hero .admin-overview-hero-actions .btn,
  .admin-guide-toolbar-card select {
    width: 100%;
  }
}

/* Phase 22T Step 29 Fix 1 – erweitertes Admin-HowTo */
.admin-guide-overview-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .85rem;
}
.admin-guide-overview-strip article {
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 18px;
  background: rgba(15, 23, 42, .42);
  padding: .9rem 1rem;
}
.admin-guide-overview-strip strong,
.admin-guide-overview-strip span {
  display: block;
}
.admin-guide-overview-strip strong {
  color: var(--text, #e5eef7);
  font-weight: 900;
}
.admin-guide-overview-strip span {
  margin-top: .25rem;
  color: var(--muted, #94a3b8);
  line-height: 1.45;
  font-size: .9rem;
}
.admin-guide-howto-card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.admin-guide-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}
.admin-guide-meta-grid > div {
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 14px;
  background: rgba(2, 6, 23, .18);
  padding: .62rem .7rem;
}
.admin-guide-meta-grid span {
  display: block;
  color: rgba(226, 232, 240, .58);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .25rem;
}
.admin-guide-meta-grid strong {
  font-size: .86rem;
  line-height: 1.35;
}
.admin-guide-meta-wide {
  grid-column: 1 / -1;
}
.admin-guide-step-block,
.admin-guide-dont {
  border-radius: 16px;
  padding: .78rem .9rem;
}
.admin-guide-step-block {
  background: rgba(37, 99, 235, .10);
  border: 1px solid rgba(96, 165, 250, .18);
}
.admin-guide-dont {
  background: rgba(239, 68, 68, .10);
  border: 1px solid rgba(248, 113, 113, .18);
}
.admin-guide-step-block h4,
.admin-guide-dont h4 {
  margin: 0 0 .55rem;
  font-size: .88rem;
  letter-spacing: .02em;
}
.admin-guide-dont h4 {
  color: #fecaca;
}
.admin-guide-dont ul {
  margin: 0;
  padding-left: 1.15rem;
}
.admin-guide-dont li {
  margin: .36rem 0;
  line-height: 1.45;
  color: rgba(254, 226, 226, .92);
}
@media (max-width: 620px) {
  .admin-guide-meta-grid {
    grid-template-columns: 1fr;
  }
}


/* Phase 22T Step 30 – Final Polish & Konsistenzprüfung */
:root {
  --vemelu-admin-gap-xs: .45rem;
  --vemelu-admin-gap-sm: .7rem;
  --vemelu-admin-gap-md: 1rem;
  --vemelu-admin-gap-lg: 1.35rem;
  --vemelu-admin-radius-md: 16px;
  --vemelu-admin-radius-lg: 22px;
  --vemelu-admin-card-border: rgba(148, 163, 184, .18);
  --vemelu-admin-card-bg: linear-gradient(145deg, rgba(15, 23, 42, .70), rgba(15, 23, 42, .42));
}
.vemelu-clean-admin .admin-dashboard {
  gap: var(--vemelu-admin-gap-lg);
}
.vemelu-clean-admin .admin-hero {
  gap: 1rem;
  border-radius: 28px;
  padding: clamp(1rem, 1.8vw, 1.45rem);
}
.vemelu-clean-admin .admin-hero .lead {
  max-width: 76ch;
  line-height: 1.55;
}
.vemelu-clean-admin .admin-hero-actions-step30,
.vemelu-clean-admin .admin-hero-actions {
  gap: .55rem;
  align-items: center;
}
.vemelu-clean-admin .admin-hero-actions .btn,
.vemelu-clean-admin .admin-overview-hero-actions .btn,
.vemelu-clean-admin .admin-task-hero-actions .btn,
.vemelu-clean-admin .admin-crm-connector-actions .btn {
  min-height: 2.35rem;
  border-radius: 999px;
  line-height: 1.1;
}
.vemelu-clean-admin .admin-tabs {
  position: sticky;
  top: .35rem;
  z-index: 20;
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  padding: .55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(2, 6, 23, .62);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(2, 6, 23, .18);
  scrollbar-width: thin;
}
.vemelu-clean-admin .admin-tab {
  white-space: nowrap;
  border-radius: 999px;
  min-height: 2.35rem;
}
.vemelu-clean-admin .admin-tab.is-active {
  box-shadow: 0 10px 26px rgba(59, 130, 246, .20);
}
.vemelu-clean-admin .admin-panel-stack,
.vemelu-clean-admin .admin-guide-page,
.vemelu-clean-admin .admin-overview-pro {
  gap: 1.05rem;
}
.vemelu-clean-admin .card,
.vemelu-clean-admin .admin-overview-panel,
.vemelu-clean-admin .admin-guide-card,
.vemelu-clean-admin .admin-task-item,
.vemelu-clean-admin .admin-inbox-item,
.vemelu-clean-admin .admin-quality-item,
.vemelu-clean-admin .admin-user-pro-card {
  border-radius: var(--vemelu-admin-radius-lg);
  border-color: var(--vemelu-admin-card-border);
}
.vemelu-clean-admin .admin-overview-panel,
.vemelu-clean-admin .admin-guide-card,
.vemelu-clean-admin .admin-user-pro-card,
.vemelu-clean-admin .admin-task-item,
.vemelu-clean-admin .admin-inbox-item {
  box-shadow: 0 14px 38px rgba(2, 6, 23, .12);
}
.vemelu-clean-admin .admin-overview-hero,
.vemelu-clean-admin .admin-task-hero,
.vemelu-clean-admin .admin-guide-hero {
  padding: clamp(1rem, 2vw, 1.35rem);
}
.vemelu-clean-admin .admin-overview-hero-main,
.vemelu-clean-admin .admin-overview-panel-head,
.vemelu-clean-admin .admin-guide-card-head,
.vemelu-clean-admin .admin-crm-connector-head {
  gap: .85rem;
}
.vemelu-clean-admin .admin-overview-panel-head h3,
.vemelu-clean-admin .admin-guide-card strong,
.vemelu-clean-admin .admin-task-item h3,
.vemelu-clean-admin .admin-inbox-item h3,
.vemelu-clean-admin .admin-user-pro-card h4 {
  letter-spacing: -.01em;
}
.vemelu-clean-admin .admin-overview-panel-head p,
.vemelu-clean-admin .admin-guide-card small,
.vemelu-clean-admin .admin-task-item p,
.vemelu-clean-admin .admin-inbox-item p,
.vemelu-clean-admin .admin-user-pro-card p,
.vemelu-clean-admin .notice p {
  line-height: 1.5;
}
.vemelu-clean-admin .admin-overview-kpi,
.vemelu-clean-admin .admin-overview-row-item,
.vemelu-clean-admin .admin-overview-action,
.vemelu-clean-admin .admin-quick-card,
.vemelu-clean-admin .admin-guide-overview-strip article {
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.vemelu-clean-admin .admin-overview-kpi.is-clickable:hover,
.vemelu-clean-admin .admin-overview-row-item.is-clickable:hover,
.vemelu-clean-admin .admin-overview-action:hover,
.vemelu-clean-admin .admin-quick-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(2, 6, 23, .18);
}
.vemelu-clean-admin .portal-empty-mini,
.vemelu-clean-admin .admin-empty,
.vemelu-clean-admin .empty-state {
  border: 1px dashed rgba(148, 163, 184, .24);
  border-radius: var(--vemelu-admin-radius-md);
  background: rgba(15, 23, 42, .28);
  color: rgba(226, 232, 240, .72);
  padding: .9rem 1rem;
  line-height: 1.45;
}
.vemelu-clean-admin input,
.vemelu-clean-admin select,
.vemelu-clean-admin textarea,
.vemelu-clean-admin .admin-search {
  border-radius: 16px;
}
.vemelu-clean-admin textarea {
  min-height: 7.5rem;
  line-height: 1.5;
}
.admin-final-polish-panel {
  display: grid;
  gap: .9rem;
  background: linear-gradient(145deg, rgba(20, 83, 45, .26), rgba(15, 23, 42, .58));
  border-color: rgba(74, 222, 128, .22) !important;
}
.admin-final-polish-head {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
}
.admin-final-polish-head h3 {
  margin: .1rem 0 .25rem;
}
.admin-final-polish-head p {
  margin: 0;
  color: rgba(226, 232, 240, .74);
  line-height: 1.5;
}
.admin-final-polish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .7rem;
}
.admin-final-polish-grid article {
  border: 1px solid rgba(148, 163, 184, .15);
  border-radius: 18px;
  background: rgba(2, 6, 23, .20);
  padding: .85rem .95rem;
}
.admin-final-polish-grid strong,
.admin-final-polish-grid span {
  display: block;
}
.admin-final-polish-grid strong {
  color: var(--text, #e5eef7);
  font-weight: 900;
}
.admin-final-polish-grid span {
  margin-top: .25rem;
  color: rgba(226, 232, 240, .70);
  line-height: 1.45;
  font-size: .9rem;
}
@media (max-width: 860px) {
  .vemelu-clean-admin .admin-hero-actions-step30 .btn,
  .vemelu-clean-admin .admin-hero-actions .btn {
    flex: 1 1 auto;
  }
  .vemelu-clean-admin .admin-tabs {
    border-radius: 24px;
  }
}
@media (max-width: 620px) {
  .vemelu-clean-admin .admin-hero-actions-step30,
  .vemelu-clean-admin .admin-hero-actions,
  .vemelu-clean-admin .admin-overview-hero-actions,
  .vemelu-clean-admin .admin-task-hero-actions {
    width: 100%;
    justify-content: stretch;
  }
  .vemelu-clean-admin .admin-hero-actions-step30 .btn,
  .vemelu-clean-admin .admin-hero-actions .btn,
  .vemelu-clean-admin .admin-overview-hero-actions .btn,
  .vemelu-clean-admin .admin-task-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .admin-final-polish-head {
    flex-direction: column;
  }
}


/* Phase 22T Step 30 Fix 1 – Admin-HowTo Layout, Rollenfilter und Textüberlauf-Fix */
.vemelu-clean-admin .admin-guide-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: start;
}
.vemelu-clean-admin .admin-guide-card,
.vemelu-clean-admin .admin-guide-card *,
.vemelu-clean-admin .admin-guide-meta-grid > div,
.vemelu-clean-admin .admin-guide-step-block,
.vemelu-clean-admin .admin-guide-dont {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.vemelu-clean-admin .admin-guide-card strong,
.vemelu-clean-admin .admin-guide-card small,
.vemelu-clean-admin .admin-guide-card li,
.vemelu-clean-admin .admin-guide-meta-grid strong,
.vemelu-clean-admin .admin-guide-overview-strip span,
.vemelu-clean-admin .admin-guide-overview-strip strong {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.vemelu-clean-admin .admin-guide-meta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vemelu-clean-admin .admin-guide-meta-grid > div {
  overflow: hidden;
}
.vemelu-clean-admin .admin-guide-role-row {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  align-items: center;
  padding: .62rem .7rem;
  border-radius: 15px;
  background: rgba(14, 165, 233, .08);
  border: 1px solid rgba(56, 189, 248, .16);
}
.vemelu-clean-admin .admin-guide-role-row > span {
  color: rgba(186, 230, 253, .72);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-right: .25rem;
}
.vemelu-clean-admin .admin-guide-role-row > strong {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  padding: .25rem .52rem;
  border-radius: 999px;
  font-size: .72rem;
  line-height: 1.1;
  color: #dbeafe;
  background: rgba(59, 130, 246, .16);
  border: 1px solid rgba(96, 165, 250, .20);
}
.vemelu-clean-admin .admin-guide-toolbar-card .admin-task-toolbar select {
  min-width: min(100%, 190px);
}
@media (max-width: 900px) {
  .vemelu-clean-admin .admin-guide-grid { grid-template-columns: 1fr; }
  .vemelu-clean-admin .admin-guide-meta-grid { grid-template-columns: 1fr; }
}


/* =====================================================================
   Phase 22T Step 31 Fix 1 – Login Center + Dashboard Cleanup
   ===================================================================== */
body.vemelu-admin-subdomain-login,
body.vemelu-admin-subdomain-auth {
  min-height: 100svh !important;
  height: 100svh !important;
  overflow: hidden !important;
}
body.vemelu-admin-subdomain-login .admin-step12-local-banner,
body.vemelu-admin-subdomain-auth .admin-step12-local-banner {
  display: none !important;
}
body.vemelu-admin-subdomain-login main[data-page-root],
body.vemelu-admin-subdomain-auth main[data-page-root] {
  min-height: 100svh !important;
  height: 100svh !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
}
body.vemelu-admin-subdomain-login .auth-section,
body.vemelu-admin-subdomain-auth .auth-section {
  min-height: 100% !important;
  height: 100% !important;
  width: 100% !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(16px, 3vh, 28px) clamp(16px, 3vw, 28px) !important;
  box-sizing: border-box !important;
}
body.vemelu-admin-subdomain-login .auth-shell,
body.vemelu-admin-subdomain-auth .auth-shell {
  min-height: auto !important;
  height: auto !important;
  width: min(100%, 420px) !important;
  display: grid !important;
  place-items: center !important;
  grid-template-columns: minmax(0, 1fr) !important;
  padding: 0 !important;
  margin: 0 auto !important;
  transform: none !important;
}
body.vemelu-admin-subdomain-login .auth-card,
body.vemelu-admin-subdomain-auth .auth-card {
  width: min(100%, 390px) !important;
  max-height: calc(100svh - 36px) !important;
  overflow: visible !important;
  margin: 0 auto !important;
  padding: clamp(18px, 2.6vh, 28px) !important;
  border-radius: 24px !important;
}
body.vemelu-admin-subdomain-login .auth-card-head,
body.vemelu-admin-subdomain-auth .auth-card-head {
  margin-bottom: 16px !important;
}
body.vemelu-admin-subdomain-login .auth-card .field + .field,
body.vemelu-admin-subdomain-auth .auth-card .field + .field {
  margin-top: 12px !important;
}
body.vemelu-admin-subdomain-login .auth-card .form-submit,
body.vemelu-admin-subdomain-auth .auth-card .form-submit {
  margin-top: 14px !important;
}
body.vemelu-admin-subdomain-login .admin-subdomain-local-note,
body.vemelu-admin-subdomain-auth .admin-subdomain-local-note {
  margin-top: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
@media (max-height: 720px) {
  body.vemelu-admin-subdomain-login .auth-card,
  body.vemelu-admin-subdomain-auth .auth-card {
    width: min(100%, 370px) !important;
    padding: 18px !important;
  }
  body.vemelu-admin-subdomain-login .auth-card-head img,
  body.vemelu-admin-subdomain-auth .auth-card-head img {
    width: 42px !important;
    height: 42px !important;
  }
}

.admin-dashboard-clean-summary {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
  border-color: rgba(34, 197, 94, .24) !important;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, .12), transparent 34%),
    linear-gradient(145deg, rgba(8, 47, 73, .78), rgba(2, 6, 23, .82)) !important;
}
.admin-dashboard-clean-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.admin-dashboard-clean-head h3 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}
.admin-dashboard-clean-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted, #9bc0cf);
}
.admin-dashboard-clean-status-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.admin-dashboard-clean-status {
  min-width: 0;
  padding: 12px 13px;
  border-radius: 16px;
  border: 1px solid rgba(142, 200, 218, .16);
  background: rgba(2, 6, 23, .28);
  color: var(--text, #f8fafc);
  text-align: left;
  cursor: pointer;
}
.admin-dashboard-clean-status small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted, #9bc0cf);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .68rem;
}
.admin-dashboard-clean-status strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-dashboard-clean-status.tone-green { border-color: rgba(34, 197, 94, .28); background: rgba(34, 197, 94, .07); }
.admin-dashboard-clean-status.tone-yellow,
.admin-dashboard-clean-status.tone-orange { border-color: rgba(251, 191, 36, .28); background: rgba(251, 191, 36, .06); }
.admin-dashboard-clean-status.tone-blue,
.admin-dashboard-clean-status.tone-cyan { border-color: rgba(56, 189, 248, .25); background: rgba(56, 189, 248, .06); }
.admin-dashboard-clean-status.tone-purple { border-color: rgba(168, 85, 247, .25); background: rgba(168, 85, 247, .06); }
.admin-dashboard-clean-actions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.admin-dashboard-clean-action {
  min-width: 0;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(142, 200, 218, .16);
  background: rgba(2, 6, 23, .24);
  color: var(--text, #f8fafc);
  text-align: left;
  cursor: pointer;
}
.admin-dashboard-clean-action span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #86efac;
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .18);
}
.admin-dashboard-clean-action strong { font-size: .98rem; line-height: 1.18; }
.admin-dashboard-clean-action small { color: var(--muted, #9bc0cf); line-height: 1.35; }
.admin-dashboard-clean-status:hover,
.admin-dashboard-clean-action:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, .36);
}
@media (max-width: 1180px) {
  .admin-dashboard-clean-status-grid,
  .admin-dashboard-clean-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .admin-dashboard-clean-head { flex-direction: column; }
  .admin-dashboard-clean-status-grid,
  .admin-dashboard-clean-actions { grid-template-columns: 1fr; }
}

/* Phase 22T Step 32 – Admin Functions Completion */
.admin-guide-access-manager {
  overflow: hidden;
}
.admin-guide-access-form {
  display: grid;
  gap: 1rem;
}
.admin-guide-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .9rem;
}
.admin-guide-access-grid fieldset {
  border: 1px solid color-mix(in srgb, var(--border, #334155) 78%, transparent);
  border-radius: 18px;
  padding: 1rem;
  min-width: 0;
  background: color-mix(in srgb, var(--card, #0f172a) 92%, transparent);
}
.admin-guide-access-grid legend {
  padding: 0 .4rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.admin-guide-access-grid label {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem 0;
  min-width: 0;
}
.admin-guide-access-grid label span {
  overflow-wrap: anywhere;
}
.admin-profile-action-status {
  border-radius: 16px;
  padding: .8rem .95rem;
  border: 1px solid color-mix(in srgb, var(--border, #334155) 80%, transparent);
  background: color-mix(in srgb, var(--card, #0f172a) 92%, transparent);
}
.admin-profile-action-status strong { display: block; margin-bottom: .25rem; }
.admin-profile-action-status small { display: block; line-height: 1.35; overflow-wrap: anywhere; }
.admin-profile-action-status.tone-success { border-color: color-mix(in srgb, #22c55e 45%, var(--border, #334155)); }
.admin-profile-action-status.tone-error { border-color: color-mix(in srgb, #ef4444 45%, var(--border, #334155)); }
.admin-profile-action-status.tone-info { border-color: color-mix(in srgb, #38bdf8 45%, var(--border, #334155)); }
@media (max-width: 720px) {
  .admin-guide-access-grid { grid-template-columns: 1fr; }
}


/* Phase 22T Step 32 Fix 1 – großes HowTo & einfacher Rechte-Manager */
.admin-guide-scope-strip article strong {
  font-size: 1.08rem;
}
.admin-guide-milestone-card {
  overflow: hidden;
}
.admin-guide-milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .85rem;
}
.admin-guide-milestone-grid article {
  border: 1px solid color-mix(in srgb, var(--border, #334155) 78%, transparent);
  border-radius: 18px;
  padding: .95rem;
  background: color-mix(in srgb, var(--card, #0f172a) 91%, transparent);
  min-width: 0;
}
.admin-guide-milestone-grid strong,
.admin-guide-milestone-grid span {
  display: block;
  overflow-wrap: anywhere;
}
.admin-guide-milestone-grid strong {
  font-weight: 900;
  margin-bottom: .35rem;
}
.admin-guide-milestone-grid span {
  color: var(--muted, #94a3b8);
  line-height: 1.45;
}
.admin-guide-access-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-guide-access-head h3 {
  margin: .25rem 0 .35rem;
}
.admin-guide-access-head p {
  margin: 0;
  color: var(--muted, #94a3b8);
  line-height: 1.5;
  max-width: 860px;
}
.admin-guide-access-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--primary, #f97316) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary, #f97316) 24%, var(--border, #334155));
}
.admin-guide-access-step strong,
.admin-guide-access-step span {
  overflow-wrap: anywhere;
}
.admin-guide-access-step strong { font-weight: 900; }
.admin-guide-access-step span { color: var(--muted, #94a3b8); font-size: .92rem; }
.admin-guide-access-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .85rem;
}
.admin-guide-access-role-card {
  border: 1px solid color-mix(in srgb, var(--border, #334155) 80%, transparent);
  border-radius: 18px;
  padding: .95rem;
  background: color-mix(in srgb, var(--card, #0f172a) 92%, transparent);
  text-align: left;
  cursor: pointer;
  min-width: 0;
}
.admin-guide-access-role-card:hover,
.admin-guide-access-role-card.is-active {
  border-color: color-mix(in srgb, var(--primary, #f97316) 55%, var(--border, #334155));
  background: color-mix(in srgb, var(--primary, #f97316) 12%, var(--card, #0f172a));
}
.admin-guide-access-role-card strong,
.admin-guide-access-role-card span,
.admin-guide-access-role-card small {
  display: block;
  overflow-wrap: anywhere;
}
.admin-guide-access-role-card strong { font-weight: 900; margin-bottom: .25rem; }
.admin-guide-access-role-card span { color: var(--primary, #f97316); font-weight: 800; margin-bottom: .35rem; }
.admin-guide-access-role-card small { color: var(--muted, #94a3b8); line-height: 1.35; }
.admin-guide-access-template-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.admin-guide-access-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .75rem;
}
.admin-guide-access-category-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  border: 1px solid color-mix(in srgb, var(--border, #334155) 78%, transparent);
  border-radius: 18px;
  padding: .85rem;
  background: color-mix(in srgb, var(--card, #0f172a) 92%, transparent);
  min-width: 0;
}
.admin-guide-access-category-card.is-checked {
  border-color: color-mix(in srgb, #22c55e 45%, var(--border, #334155));
  background: color-mix(in srgb, #22c55e 8%, var(--card, #0f172a));
}
.admin-guide-access-category-card input { margin-top: .2rem; flex: 0 0 auto; }
.admin-guide-access-category-card span,
.admin-guide-access-category-card strong,
.admin-guide-access-category-card small {
  display: block;
  overflow-wrap: anywhere;
}
.admin-guide-access-category-card strong { font-weight: 850; margin-bottom: .2rem; }
.admin-guide-access-category-card small { color: var(--muted, #94a3b8); line-height: 1.35; }
.admin-guide-access-reason {
  display: grid;
  gap: .4rem;
}
.admin-guide-access-summary {
  margin-top: 1rem;
  display: grid;
  gap: .7rem;
}
.admin-guide-access-summary > div strong,
.admin-guide-access-summary > div span {
  display: block;
  overflow-wrap: anywhere;
}
.admin-guide-access-summary > div span { color: var(--muted, #94a3b8); }
.admin-guide-access-summary table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 .45rem;
}
.admin-guide-access-summary th,
.admin-guide-access-summary td {
  text-align: left;
  vertical-align: top;
  padding: .75rem;
  background: color-mix(in srgb, var(--card, #0f172a) 91%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--border, #334155) 75%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border, #334155) 75%, transparent);
}
.admin-guide-access-summary th:first-child,
.admin-guide-access-summary td:first-child { border-left: 1px solid color-mix(in srgb, var(--border, #334155) 75%, transparent); border-radius: 14px 0 0 14px; }
.admin-guide-access-summary th:last-child,
.admin-guide-access-summary td:last-child { border-right: 1px solid color-mix(in srgb, var(--border, #334155) 75%, transparent); border-radius: 0 14px 14px 0; }
.admin-guide-access-summary tr.is-active th,
.admin-guide-access-summary tr.is-active td { border-color: color-mix(in srgb, var(--primary, #f97316) 45%, var(--border, #334155)); }
.admin-guide-access-summary td span {
  display: inline-flex;
  margin: 0 .35rem .35rem 0;
  padding: .22rem .48rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary, #f97316) 9%, transparent);
  color: var(--muted, #94a3b8);
  font-size: .82rem;
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  .admin-guide-access-head,
  .admin-guide-access-step { flex-direction: column; align-items: stretch; }
  .admin-guide-access-summary { overflow-x: auto; }
  .admin-guide-access-summary table { min-width: 680px; }
}

/* Phase 22T Step 32 Fix 2 – eigener Rollen-&-Rechte-Tab */
.admin-rights-page {
  gap: 1rem;
}
.admin-rights-hero .admin-overview-hero-actions {
  flex-wrap: wrap;
}
.admin-rights-switch-card {
  padding: .85rem;
}
.admin-rights-switch-tabs {
  margin: 0;
  gap: .55rem;
  flex-wrap: wrap;
}
.admin-rights-switch-tabs button {
  min-width: 0;
  white-space: normal;
}
.admin-rights-summary-grid .admin-stat-card strong {
  overflow-wrap: anywhere;
}
.admin-rights-explain-card,
.admin-rights-matrix-card,
.admin-rights-check-card {
  overflow: hidden;
}
.admin-rights-workflow-grid,
.admin-rights-matrix-grid,
.admin-rights-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
}
.admin-rights-workflow-grid article,
.admin-rights-role-matrix-card,
.admin-rights-checklist article {
  border: 1px solid color-mix(in srgb, var(--border, #334155) 78%, transparent);
  border-radius: 18px;
  padding: .95rem;
  background: color-mix(in srgb, var(--card, #0f172a) 92%, transparent);
  min-width: 0;
}
.admin-rights-workflow-grid b {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary, #f97316) 16%, transparent);
  color: var(--primary, #f97316);
  margin-bottom: .65rem;
}
.admin-rights-workflow-grid strong,
.admin-rights-workflow-grid span,
.admin-rights-role-matrix-card strong,
.admin-rights-role-matrix-card small,
.admin-rights-role-matrix-card li,
.admin-rights-checklist strong,
.admin-rights-checklist span {
  display: block;
  overflow-wrap: anywhere;
}
.admin-rights-workflow-grid strong,
.admin-rights-role-matrix-card strong,
.admin-rights-checklist strong {
  font-weight: 900;
  margin-bottom: .35rem;
}
.admin-rights-workflow-grid span,
.admin-rights-role-matrix-card small,
.admin-rights-checklist span {
  color: var(--muted, #94a3b8);
  line-height: 1.45;
}
.admin-rights-role-matrix-card.is-current {
  border-color: color-mix(in srgb, var(--primary, #f97316) 55%, var(--border, #334155));
  background: color-mix(in srgb, var(--primary, #f97316) 10%, var(--card, #0f172a));
}
.admin-rights-role-matrix-card ul {
  margin: .75rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted, #94a3b8);
}
.admin-rights-role-matrix-card li + li {
  margin-top: .32rem;
}
.admin-rights-info {
  align-items: flex-start;
}
@media (max-width: 760px) {
  .admin-rights-workflow-grid,
  .admin-rights-matrix-grid,
  .admin-rights-checklist {
    grid-template-columns: 1fr;
  }
  .admin-rights-hero .admin-overview-hero-actions .btn {
    width: 100%;
  }
}


/* Phase 22T Step 32 Fix 3 – Handbuch mit Workbench/Rechte-Switch */
.admin-guide-hero-switch {
  align-items: flex-start;
}
.admin-guide-mode-actions {
  align-items: flex-start;
  gap: .65rem;
}
.admin-guide-mode-toggle {
  display: inline-flex !important;
  width: auto !important;
  min-width: 290px;
}
.admin-guide-mode-toggle button {
  font-weight: 900 !important;
  min-width: 132px;
}
.admin-guide-page .admin-rights-switch-card {
  padding: .85rem;
}
.admin-guide-page .admin-rights-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.admin-guide-page .admin-rights-info {
  margin-top: .1rem;
}
@media (max-width: 780px) {
  .admin-guide-mode-actions,
  .admin-guide-mode-toggle {
    width: 100% !important;
  }
  .admin-guide-mode-toggle {
    min-width: 0;
    display: grid !important;
    grid-template-columns: 1fr;
  }
  .admin-guide-mode-toggle button {
    width: 100%;
  }
}


/* Phase 22T Step 32 Fix 4 – Header oben auf Status/Aktualisieren/Abmelden reduzieren */
.admin-hero-actions-minimal {
  align-items: flex-start;
  justify-content: flex-end;
  gap: .65rem;
  max-width: 560px;
}
.admin-hero-actions-minimal .admin-role-badge {
  margin-right: .15rem;
}
.admin-hero-actions-minimal .btn {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .admin-hero-actions-minimal {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Phase 22T Step 33 Fix 13 - echte Avatar-Anzeige in Nutzeruebersicht */
.admin-user-avatar-pro.has-image,
.admin-user-profile-avatar.has-image,
.admin-user-media-preview .has-image {
  overflow: hidden;
  padding: 0;
}
.admin-user-avatar-pro.has-image img,
.admin-user-profile-avatar.has-image img,
.admin-user-media-preview .has-image img,
[data-admin-user-row-avatar].has-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}
[data-admin-user-row-avatar].has-image {
  color: transparent;
}

/* Phase 22T Step 34 – Admin Settings Polish */
.admin-hero-step34-settings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}
.admin-hero-step34-settings .admin-preferences-card {
  grid-column: 1 / -1;
}
.admin-preferences-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  padding: .82rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.1rem;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.admin-preferences-title {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .84rem;
  font-weight: 850;
  letter-spacing: .02em;
  color: rgba(237, 255, 248, .92);
  margin-right: .1rem;
}
.admin-preferences-card label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  color: rgba(226, 247, 242, .78);
  font-size: .78rem;
  font-weight: 760;
}
.admin-preferences-card select {
  min-width: 118px;
  border-radius: .86rem;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(2, 13, 19, .62);
  color: var(--text);
  padding: .58rem .82rem;
  font: inherit;
  outline: none;
}
.admin-preferences-card select:focus-visible {
  border-color: rgba(51, 227, 168, .64);
  box-shadow: 0 0 0 3px rgba(51, 227, 168, .16);
}
.admin-mfa-gate {
  position: relative;
}
.admin-mfa-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
}
.admin-mfa-close:hover,
.admin-mfa-close:focus-visible {
  background: rgba(255,255,255,.11);
  border-color: rgba(51, 227, 168, .45);
  outline: none;
}
.admin-mfa-cancel-hint,
.admin-passkey-cancel-hint {
  margin: .75rem 0 0;
  color: rgba(211, 232, 227, .74);
  font-size: .88rem;
  line-height: 1.5;
}
.admin-passkey-cancel-hint {
  padding: .72rem .86rem;
  border-radius: .9rem;
  border: 1px dashed rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
}
html[data-theme="light"] .admin-preferences-card {
  background: rgba(255,255,255,.84);
  border-color: rgba(14, 116, 82, .14);
  box-shadow: 0 12px 28px rgba(33,77,84,.08);
}
html[data-theme="light"] .admin-preferences-title { color: #073126; }
html[data-theme="light"] .admin-preferences-card label { color: #31555f; }
html[data-theme="light"] .admin-preferences-card select {
  background: rgba(255,255,255,.96);
  border-color: rgba(14, 116, 82, .18);
  color: #073126;
}
html[data-theme="light"] .admin-mfa-close {
  background: rgba(255,255,255,.92);
  border-color: rgba(14, 116, 82, .15);
  color: #073126;
}
html[data-theme="light"] .admin-mfa-cancel-hint,
html[data-theme="light"] .admin-passkey-cancel-hint {
  color: #31555f;
}
html[data-theme="light"] .admin-passkey-cancel-hint {
  background: rgba(244, 248, 247, .88);
  border-color: rgba(14, 116, 82, .14);
}
@media (max-width: 760px) {
  .admin-hero-step34-settings {
    grid-template-columns: 1fr;
  }
  .admin-preferences-card,
  .admin-preferences-card label,
  .admin-preferences-card select {
    width: 100%;
  }
  .admin-preferences-card label {
    justify-content: space-between;
  }
}

/* =====================================================================
   Vemelu Phase 22T Step 34 Fix 2 – Theme/MFA UX Cleanup
   ===================================================================== */
html[data-theme="light"] body.vemelu-admin-subdomain,
html[data-theme="light"] body.vemelu-admin-subdomain-login,
html[data-theme="light"] body.vemelu-admin-subdomain-auth {
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 197, 94, 0.12), transparent 32%),
    radial-gradient(circle at 84% 100%, rgba(14, 165, 233, 0.10), transparent 34%),
    linear-gradient(145deg, #f7fbf9 0%, #eef8f4 52%, #e8f4fb 100%) !important;
  color: #073126 !important;
}

html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard {
  color: #073126 !important;
}

html[data-theme="light"] body.vemelu-admin-subdomain .admin-hero {
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(236, 253, 245, .94)) !important;
  border-color: rgba(14, 116, 82, .14) !important;
  box-shadow: 0 24px 80px rgba(15, 118, 110, .10) !important;
  color: #073126 !important;
}

html[data-theme="light"] body.vemelu-admin-subdomain .admin-hero .h1,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-hero .lead,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-hero .eyebrow {
  color: #073126 !important;
  opacity: 1 !important;
}

html[data-theme="light"] body.vemelu-admin-subdomain .admin-hero .lead { color: #31555f !important; }
html[data-theme="light"] body.vemelu-admin-subdomain .admin-hero .eyebrow { color: #0f9f6e !important; }

html[data-theme="light"] body.vemelu-admin-subdomain .admin-tabs {
  background: rgba(255,255,255,.82) !important;
  border-color: rgba(14, 116, 82, .13) !important;
  box-shadow: 0 18px 45px rgba(33, 77, 84, .08) !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-tab {
  color: #47636b !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-tab.is-active {
  background: linear-gradient(135deg, #dcfce7, #fef9c3) !important;
  color: #073126 !important;
  box-shadow: 0 10px 24px rgba(15, 118, 110, .12) !important;
}

html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel,
html[data-theme="light"] body.vemelu-admin-subdomain .card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-stat-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-kpi,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-user-pro-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-security-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-card {
  background-color: rgba(255,255,255,.86) !important;
  border-color: rgba(14, 116, 82, .12) !important;
  color: #073126 !important;
}

html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .h1,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .h2,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel h1,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel h2,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel h3,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel h4,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel strong {
  color: #073126 !important;
}

html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel p,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel small,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel span,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-security-notice p {
  color: #31555f;
}

html[data-theme="light"] body.vemelu-admin-subdomain .admin-security-notice {
  background: rgba(220, 252, 231, .76) !important;
  border-color: rgba(22, 163, 74, .22) !important;
  color: #073126 !important;
}

html[data-theme="light"] body.vemelu-admin-subdomain .admin-mfa-gate {
  background:
    radial-gradient(circle at top left, rgba(34,197,94,.12), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(236,253,245,.96)) !important;
  border-color: rgba(14,116,82,.14) !important;
  color: #073126 !important;
}

.admin-mfa-footer {
  gap: 1rem !important;
}
.admin-mfa-footer .btn {
  min-width: 8.5rem;
  justify-content: center;
  white-space: nowrap;
}
.admin-mfa-footer span {
  min-width: min(100%, 280px);
}
.admin-mfa-deferred-panel {
  display: grid;
  gap: 1rem;
  align-items: start;
}
.admin-mfa-deferred-panel .btn {
  width: fit-content;
  min-width: 13rem;
}
body.is-admin-light-theme.vemelu-admin-subdomain {
  color-scheme: light;
}

/* =====================================================================
   Vemelu Phase 22T Step 34 Fix 3 – Full Light Dashboard + Admin i18n polish
   ===================================================================== */
html[data-theme="light"] body.vemelu-admin-subdomain {
  --text: #073126;
  --muted: #4b6972;
  --card: rgba(255,255,255,.92);
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-summary {
  background:
    radial-gradient(circle at top left, rgba(34,197,94,.13), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(236,253,245,.94)) !important;
  border-color: rgba(14,116,82,.14) !important;
  box-shadow: 0 18px 50px rgba(33,77,84,.09) !important;
  color: #073126 !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-head h3,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-action strong,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-status strong,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-kpi strong,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-action strong,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-panel strong,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-panel h3,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-table strong {
  color: #073126 !important;
  opacity: 1 !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-head p,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-action small,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-status small,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-kpi span,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-action small,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-panel p,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-table small,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-runtime-chip small,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-runtime-chip strong {
  color: #4b6972 !important;
  opacity: 1 !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-status,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-action,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-kpi,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-row-item,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-action,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-runtime-chip,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-quick-action,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-quick-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-guide-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-task-item,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-inbox-item,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-quality-item {
  background: rgba(255,255,255,.88) !important;
  border-color: rgba(14,116,82,.14) !important;
  color: #073126 !important;
  box-shadow: 0 12px 30px rgba(33,77,84,.07) !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-status.tone-green,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-kpi.tone-green,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-row-item.tone-green { background: rgba(220,252,231,.82) !important; border-color: rgba(34,197,94,.22) !important; }
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-status.tone-yellow,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-status.tone-orange,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-kpi.tone-yellow,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-kpi.tone-orange,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-row-item.tone-yellow,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-row-item.tone-orange { background: rgba(254,243,199,.82) !important; border-color: rgba(245,158,11,.24) !important; }
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-status.tone-blue,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-status.tone-cyan,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-kpi.tone-blue,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-kpi.tone-cyan,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-row-item.tone-blue,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-row-item.tone-cyan { background: rgba(224,242,254,.82) !important; border-color: rgba(14,165,233,.22) !important; }
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-status.tone-purple,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-kpi.tone-purple { background: rgba(243,232,255,.82) !important; border-color: rgba(168,85,247,.22) !important; }
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-attention,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-security-warning,
html[data-theme="light"] body.vemelu-admin-subdomain .notice,
html[data-theme="light"] body.vemelu-admin-subdomain .portal-empty-mini,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-empty,
html[data-theme="light"] body.vemelu-admin-subdomain .empty-state {
  background: rgba(255,255,255,.90) !important;
  border-color: rgba(14,116,82,.14) !important;
  color: #073126 !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-attention span,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-attention p,
html[data-theme="light"] body.vemelu-admin-subdomain .portal-empty-mini,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-empty,
html[data-theme="light"] body.vemelu-admin-subdomain .empty-state {
  color: #4b6972 !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-attention strong,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-security-warning strong,
html[data-theme="light"] body.vemelu-admin-subdomain .notice strong {
  color: #073126 !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-table th,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-table td {
  color: #073126 !important;
  border-color: rgba(14,116,82,.11) !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-link {
  color: #047857 !important;
  background: rgba(220,252,231,.72) !important;
  border-color: rgba(34,197,94,.20) !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-action span,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-kpi-icon,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-overview-action-icon,
html[data-theme="light"] body.vemelu-admin-subdomain .card-icon {
  background: rgba(220,252,231,.92) !important;
  border-color: rgba(34,197,94,.18) !important;
  color: #047857 !important;
}


/* =====================================================================
   Vemelu Phase 22T Step 34 Fix 4 – real admin stylesheet load + hard light
   Ursache: admin-subdomain.css war auf admin.html nicht geladen und Browser
   konnte alte Assets wegen gleicher Query-Version weiterverwenden.
   ===================================================================== */
html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] body.vemelu-clean-admin,
html[data-theme="light"] body.vemelu-admin-subdomain,
body.is-admin-light-theme,
body.vemelu-admin-subdomain.is-admin-light-theme,
body.vemelu-clean-admin.is-admin-light-theme {
  color-scheme: light !important;
  background: radial-gradient(circle at 8% 0%, rgba(34,197,94,.13), transparent 32%), linear-gradient(180deg, #f3faf7 0%, #eef7f4 48%, #f8fbfa 100%) !important;
  color: #062f28 !important;
}
html[data-theme="light"] body.vemelu-clean-admin::before,
html[data-theme="light"] body.vemelu-admin-subdomain::before,
body.is-admin-light-theme::before { opacity: .16 !important; }
html[data-theme="light"] body.vemelu-clean-admin .admin-shell,
html[data-theme="light"] body.vemelu-clean-admin .admin-hero,
html[data-theme="light"] body.vemelu-clean-admin .admin-panel,
html[data-theme="light"] body.vemelu-clean-admin [data-admin-panel],
html[data-theme="light"] body.vemelu-clean-admin .admin-dashboard-clean-summary,
html[data-theme="light"] body.vemelu-clean-admin .admin-dashboard-card,
html[data-theme="light"] body.vemelu-clean-admin .admin-dashboard-clean-status,
html[data-theme="light"] body.vemelu-clean-admin .admin-dashboard-clean-action,
html[data-theme="light"] body.vemelu-clean-admin .admin-overview-kpi,
html[data-theme="light"] body.vemelu-clean-admin .admin-overview-action,
html[data-theme="light"] body.vemelu-clean-admin .admin-overview-panel,
html[data-theme="light"] body.vemelu-clean-admin .admin-overview-row-item,
html[data-theme="light"] body.vemelu-clean-admin .admin-quick-card,
html[data-theme="light"] body.vemelu-clean-admin .admin-guide-card,
html[data-theme="light"] body.vemelu-clean-admin .admin-inbox-card,
html[data-theme="light"] body.vemelu-clean-admin .admin-task-card,
html[data-theme="light"] body.vemelu-clean-admin .admin-quality-card,
html[data-theme="light"] body.vemelu-clean-admin .admin-card,
html[data-theme="light"] body.vemelu-clean-admin .portal-card,
html[data-theme="light"] body.vemelu-clean-admin .card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-summary,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-status,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-dashboard-clean-action,
body.is-admin-light-theme .admin-dashboard-clean-summary,
body.is-admin-light-theme .admin-dashboard-clean-status,
body.is-admin-light-theme .admin-dashboard-clean-action,
body.is-admin-light-theme .admin-overview-kpi,
body.is-admin-light-theme .admin-overview-action,
body.is-admin-light-theme .admin-overview-panel,
body.is-admin-light-theme .admin-card,
body.is-admin-light-theme .portal-card,
body.is-admin-light-theme .card {
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(241,252,248,.94)) !important;
  border-color: rgba(14,116,82,.15) !important;
  box-shadow: 0 16px 45px rgba(13,74,67,.08) !important;
  color: #062f28 !important;
  opacity: 1 !important;
}
html[data-theme="light"] body.vemelu-clean-admin .admin-tabbar,
html[data-theme="light"] body.vemelu-clean-admin .admin-settings-bar,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-tabbar,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-settings-bar,
body.is-admin-light-theme .admin-tabbar,
body.is-admin-light-theme .admin-settings-bar {
  background: rgba(255,255,255,.92) !important;
  border-color: rgba(14,116,82,.14) !important;
  color: #062f28 !important;
  box-shadow: 0 14px 35px rgba(13,74,67,.07) !important;
}
html[data-theme="light"] body.vemelu-clean-admin .admin-dashboard-clean-summary *,
html[data-theme="light"] body.vemelu-clean-admin .admin-dashboard-clean-status *,
html[data-theme="light"] body.vemelu-clean-admin .admin-dashboard-clean-action *,
html[data-theme="light"] body.vemelu-clean-admin .admin-overview-kpi *,
html[data-theme="light"] body.vemelu-clean-admin .admin-overview-action *,
html[data-theme="light"] body.vemelu-clean-admin .admin-overview-panel *,
html[data-theme="light"] body.vemelu-clean-admin .admin-card *,
html[data-theme="light"] body.vemelu-clean-admin .portal-card *,
body.is-admin-light-theme .admin-dashboard-clean-summary *,
body.is-admin-light-theme .admin-dashboard-clean-status *,
body.is-admin-light-theme .admin-dashboard-clean-action *,
body.is-admin-light-theme .admin-overview-kpi *,
body.is-admin-light-theme .admin-overview-action *,
body.is-admin-light-theme .admin-overview-panel *,
body.is-admin-light-theme .admin-card *,
body.is-admin-light-theme .portal-card * {
  color: inherit !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
html[data-theme="light"] body.vemelu-clean-admin .muted,
html[data-theme="light"] body.vemelu-clean-admin small,
html[data-theme="light"] body.vemelu-clean-admin .admin-dashboard-clean-head p,
html[data-theme="light"] body.vemelu-clean-admin .admin-dashboard-clean-action small,
html[data-theme="light"] body.vemelu-clean-admin .admin-dashboard-clean-status small,
body.is-admin-light-theme .muted,
body.is-admin-light-theme small,
body.is-admin-light-theme .admin-dashboard-clean-head p,
body.is-admin-light-theme .admin-dashboard-clean-action small,
body.is-admin-light-theme .admin-dashboard-clean-status small {
  color: #4c6971 !important;
}
html[data-theme="light"] body.vemelu-clean-admin .btn:not(.primary):not(.danger),
html[data-theme="light"] body.vemelu-admin-subdomain .btn:not(.primary):not(.danger),
body.is-admin-light-theme .btn:not(.primary):not(.danger) {
  background: rgba(255,255,255,.92) !important;
  color: #064e3b !important;
  border-color: rgba(16,185,129,.28) !important;
}
html[data-theme="light"] body.vemelu-clean-admin .btn.primary,
html[data-theme="light"] body.vemelu-admin-subdomain .btn.primary,
body.is-admin-light-theme .btn.primary { color: #04170f !important; }
html[data-theme="light"] body.vemelu-clean-admin .admin-mfa-gate,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-mfa-gate,
body.is-admin-light-theme .admin-mfa-gate {
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(236,253,245,.96)) !important;
  color: #062f28 !important;
  border-color: rgba(14,116,82,.16) !important;
}
html[data-theme="light"] body.vemelu-clean-admin input,
html[data-theme="light"] body.vemelu-clean-admin select,
html[data-theme="light"] body.vemelu-clean-admin textarea,
body.is-admin-light-theme input,
body.is-admin-light-theme select,
body.is-admin-light-theme textarea {
  background: #ffffff !important;
  color: #062f28 !important;
  border-color: rgba(14,116,82,.20) !important;
}


/* =====================================================================
   Vemelu Phase 22T Step 34 Fix 5 – top-right preferences + hard light sweep
   ===================================================================== */
body.vemelu-admin-subdomain .admin-hero-step34-settings {
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: start !important;
  gap: 1rem !important;
}
body.vemelu-admin-subdomain .admin-hero-actions-with-preferences {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: .55rem !important;
  min-width: min(100%, 720px) !important;
}
body.vemelu-admin-subdomain .admin-hero-actions-with-preferences .admin-preferences-card {
  order: -10 !important;
  width: auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: .5rem !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.vemelu-admin-subdomain .admin-hero-actions-with-preferences .admin-preferences-title { display: none !important; }
body.vemelu-admin-subdomain .admin-hero-actions-with-preferences .admin-preferences-card label {
  display: inline-flex !important;
  align-items: center !important;
  gap: .35rem !important;
  margin: 0 !important;
  white-space: nowrap !important;
  font-size: .78rem !important;
  color: rgba(226,232,240,.78) !important;
}
body.vemelu-admin-subdomain .admin-hero-actions-with-preferences .admin-preferences-card select {
  min-width: 96px !important;
  height: 38px !important;
  border-radius: 999px !important;
  padding: .45rem 2.15rem .45rem .85rem !important;
}
body.vemelu-admin-subdomain .admin-hero > .admin-preferences-card:not(.admin-preferences-card-top) { display:none !important; }

html[data-theme="light"] body.vemelu-admin-subdomain .admin-hero-actions-with-preferences .admin-preferences-card label,
body.vemelu-admin-subdomain.is-admin-light-theme .admin-hero-actions-with-preferences .admin-preferences-card label { color: #31555f !important; }
html[data-theme="light"] body.vemelu-admin-subdomain .admin-hero-actions-with-preferences .admin-preferences-card select,
body.vemelu-admin-subdomain.is-admin-light-theme .admin-hero-actions-with-preferences .admin-preferences-card select {
  background: rgba(255,255,255,.98) !important;
  color: #063a32 !important;
  border-color: rgba(14,116,82,.24) !important;
  box-shadow: 0 10px 24px rgba(13,74,67,.08) !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-hero-actions-with-preferences .admin-role-badge,
body.vemelu-admin-subdomain.is-admin-light-theme .admin-hero-actions-with-preferences .admin-role-badge {
  background: rgba(254,249,195,.92) !important;
  color: #713f12 !important;
  border-color: rgba(234,179,8,.34) !important;
}

html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .vemelu-fix5-light-surface,
body.vemelu-admin-subdomain.is-admin-light-theme .admin-panel .vemelu-fix5-light-surface,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel :is(article, section, aside, form, table, thead, tbody, tr, th, td, details, summary, .card, .portal-card, [class*="card"], [class*="panel"], [class*="chip"], [class*="tile"], [class*="status"], [class*="summary"], [class*="row"], [class*="item"], [class*="list"], [class*="strip"], [class*="center"], [class*="workflow"], [class*="matrix"], [class*="rule"]) {
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,253,248,.94)) !important;
  background-color: rgba(255,255,255,.96) !important;
  background-image: linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,253,248,.94)) !important;
  border-color: rgba(14,116,82,.15) !important;
  color: #073126 !important;
  box-shadow: 0 10px 28px rgba(13,74,67,.06) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel :is(.admin-table, table, thead, tbody, tr, th, td, .admin-audit-card-detailed, .admin-audit-summary-grid article, .admin-overview-runtime-chip, .admin-dashboard-clean-action, .admin-dashboard-clean-status, .admin-dashboard-clean-summary, .admin-guide-card, .admin-guide-overview-strip article, .admin-support-ticket-card, .admin-ticket-card, .admin-ticket-board, .admin-user-row, .admin-user-list, .admin-delete-mode-hint, .admin-delete-code-card) {
  background: #ffffff !important;
  background-image: none !important;
  color: #073126 !important;
  border-color: rgba(14,116,82,.14) !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel :is(.admin-kpi, .admin-overview-kpi, .admin-metric-card, .admin-dashboard-clean-status, .admin-dashboard-clean-action, .admin-guide-category-strip button, .admin-filter-chip, .pill, .badge) {
  background: rgba(236,253,245,.96) !important;
  background-image: none !important;
  color: #064e3b !important;
  border-color: rgba(34,197,94,.18) !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel :is(.card-icon, [class*="icon"]):not(svg):not(path) {
  background: rgba(220,252,231,.95) !important;
  color: #047857 !important;
  border-color: rgba(34,197,94,.20) !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel * {
  opacity: 1 !important;
  text-shadow: none !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel :is(p, small, span, label, li, td, th, strong, h1, h2, h3, h4, h5, h6, button, a) {
  color: inherit;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel :is(.muted, small, .eyebrow, [class*="muted"], [class*="meta"], [class*="subtitle"]) {
  color: #496873 !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel a,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel button:not(.btn-danger):not(.btn-danger-soft) {
  color: #065f46 !important;
}
@media (max-width: 980px) {
  body.vemelu-admin-subdomain .admin-hero-step34-settings { grid-template-columns: 1fr !important; }
  body.vemelu-admin-subdomain .admin-hero-actions-with-preferences { justify-content: flex-start !important; min-width: 0 !important; }
  body.vemelu-admin-subdomain .admin-hero-actions-with-preferences .admin-preferences-card { width: 100% !important; justify-content: flex-start !important; }
}


/* =====================================================================
   Vemelu Phase 22T Step 34 Fix 6 – last CSS marker
   Runtime injects final light CSS after every stylesheet so support-board CSS cannot override it.
   ===================================================================== */
body.vemelu-admin-subdomain[data-vemelu-step34-fix6="22t-step34-fix6-final-light-real-i18n"] { --vemelu-admin-fix6: 1; }


/* Vemelu Phase 22T Step 34 Fix 7 – persistent light cleanup */
html[data-theme="light"] body.vemelu-admin-subdomain .vemelu-fix7-force-light-surface,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .admin-dashboard-clean-action,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .admin-dashboard-clean-status,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .admin-support-ticket-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .admin-ticket-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .admin-audit-card-detailed,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .admin-security-passkey-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .admin-guide-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .admin-task-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .admin-inbox-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-panel .admin-quality-card{
  background:#fff!important;
  background-image:linear-gradient(145deg,#ffffff,#f3fffb)!important;
  color:#06372f!important;
  border-color:rgba(15,118,110,.16)!important;
  box-shadow:0 12px 32px rgba(13,74,67,.06)!important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .vemelu-fix7-force-light-surface *{
  color:#06372f!important;
  opacity:1!important;
  text-shadow:none!important;
}


/* =====================================================================
   Vemelu Phase 22T Step 34 Fix 8 - final real light surfaces
   ===================================================================== */
html[data-theme="light"] body.vemelu-admin-subdomain,
body.vemelu-admin-subdomain.is-admin-light-theme {
  background: radial-gradient(circle at top left, rgba(42, 245, 152, .12), transparent 28%), #f1fff9 !important;
  color: #05342d !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain :where(.admin-hero, .admin-trusted-device, .admin-tabbar, .admin-panel, .admin-page-shell, .admin-section, .admin-dashboard-clean, .admin-content, [data-admin-panel]) {
  color: #05342d !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain [data-vemelu-fix8-light="surface"] {
  background: linear-gradient(145deg, #ffffff, #f3fffb) !important;
  background-image: linear-gradient(145deg, #ffffff, #f3fffb) !important;
  color: #05342d !important;
  border-color: rgba(15, 118, 110, .18) !important;
  box-shadow: 0 12px 28px rgba(13, 74, 67, .06) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain [data-vemelu-fix8-light="surface"] :where(p,span,small,strong,b,label,li,td,th,h1,h2,h3,h4,h5,h6,dt,dd,summary,div,a):not(.btn):not(button):not([class*="badge"]):not([class*="pill"]):not([class*="chip"]):not([class*="count"]) {
  color: #05342d !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain [data-vemelu-fix8-light="muted"] {
  color: #43666e !important;
  opacity: 1 !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain :where(input,select,textarea) {
  background: #ffffff !important;
  color: #05342d !important;
  border-color: rgba(15,118,110,.24) !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-hero-actions-with-preferences .admin-preferences-card,
html[data-theme="light"] body.vemelu-admin-subdomain .admin-preferences-card-top {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain .admin-hero-actions-with-preferences :where(label,span) {
  color: #05342d !important;
}


/* =====================================================================
   Vemelu Phase 22T Step 34 Fix 9 – Light color cleanup only
   Ziel: keine dunklen Restkarten im Hellmodus und keine weißen Textstreifen.
   ===================================================================== */
html[data-theme="light"] body.vemelu-admin-subdomain :is(span,small,strong,b,i,em,label,a,p,h1,h2,h3,h4,h5,h6)[data-vemelu-fix8-light="surface"],
html[data-theme="light"] body.vemelu-admin-subdomain :is(span,small,strong,b,i,em,label,a,p,h1,h2,h3,h4,h5,h6).vemelu-fix7-force-light-surface,
html[data-theme="light"] body.vemelu-admin-subdomain :is(span,small,strong,b,i,em,label,a,p,h1,h2,h3,h4,h5,h6).vemelu-fix5-light-surface {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain [data-vemelu-fix9-light-surface="true"] {
  background: linear-gradient(145deg, #ffffff 0%, #f4fffb 100%) !important;
  background-color: #ffffff !important;
  background-image: linear-gradient(145deg, #ffffff 0%, #f4fffb 100%) !important;
  color: #05342d !important;
  border-color: rgba(15,118,110,.18) !important;
  box-shadow: 0 12px 30px rgba(13,74,67,.07) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain [data-vemelu-fix9-light-surface="true"] :is(span,small,strong,b,i,em,label,a,p,h1,h2,h3,h4,h5,h6,li,td,th) {
  color: #05342d !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain [data-vemelu-fix9-light-surface="true"] :is(.muted,small,[class*="muted"],[class*="hint"],[class*="meta"],[class*="subtitle"]) {
  color: #43656d !important;
}

/* =====================================================================
   Vemelu Phase 22T Step 34 Fix 10 – Light button cards cleanup
   Ursache: dunkle Restkarten waren echte <button>-Karten und wurden in Fix 9 übersprungen.
   ===================================================================== */
html[data-theme="light"] body.vemelu-admin-subdomain :is(
  .admin-user-segments button,
  .admin-support-workflow-tabs button,
  .admin-subtabs button,
  .admin-dashboard-clean-status,
  .admin-dashboard-clean-action,
  .admin-overview-kpi,
  .admin-overview-action,
  .admin-overview-row-item,
  .admin-request-card,
  .admin-ticket-card,
  .admin-ticket-card-pro,
  .admin-support-clean-note,
  .admin-support-topline,
  .admin-ops-chip,
  .admin-pwa-status,
  .admin-release-stage,
  .admin-health-check
) {
  background: linear-gradient(145deg, #ffffff 0%, #f4fffb 100%) !important;
  background-color: #ffffff !important;
  background-image: linear-gradient(145deg, #ffffff 0%, #f4fffb 100%) !important;
  color: #05342d !important;
  border-color: rgba(15,118,110,.18) !important;
  box-shadow: 0 12px 30px rgba(13,74,67,.07) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain :is(
  .admin-user-segments button,
  .admin-support-workflow-tabs button,
  .admin-subtabs button,
  .admin-dashboard-clean-status,
  .admin-dashboard-clean-action,
  .admin-overview-kpi,
  .admin-overview-action,
  .admin-overview-row-item,
  .admin-request-card,
  .admin-ticket-card,
  .admin-ticket-card-pro,
  .admin-support-clean-note,
  .admin-support-topline,
  .admin-ops-chip,
  .admin-pwa-status,
  .admin-release-stage,
  .admin-health-check
) :is(span,small,strong,b,i,em,label,a,p,h1,h2,h3,h4,h5,h6,li) {
  color: #05342d !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain :is(
  .admin-user-segments button,
  .admin-support-workflow-tabs button,
  .admin-subtabs button,
  .admin-dashboard-clean-status,
  .admin-dashboard-clean-action,
  .admin-overview-kpi,
  .admin-overview-action,
  .admin-overview-row-item,
  .admin-request-card,
  .admin-ticket-card,
  .admin-ticket-card-pro,
  .admin-support-clean-note,
  .admin-support-topline
) :is(small,[class*="muted"],[class*="hint"],[class*="meta"],[class*="subtitle"]) {
  color: #43656d !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain :is(.admin-user-segments button.is-active,.admin-support-workflow-tabs button.is-active,.admin-subtabs button.is-active) {
  background: linear-gradient(145deg, #ecfdf5 0%, #ffffff 100%) !important;
  background-image: linear-gradient(145deg, #ecfdf5 0%, #ffffff 100%) !important;
  border-color: rgba(34,197,94,.42) !important;
  box-shadow: inset 4px 0 0 rgba(34,197,94,.92), 0 12px 30px rgba(13,74,67,.07) !important;
}
html[data-theme="light"] body.vemelu-admin-subdomain :is(.admin-user-segments button b,.admin-support-workflow-tabs button b,.admin-subtabs button b) {
  background: rgba(220,252,231,.95) !important;
  color: #047857 !important;
  border-color: rgba(34,197,94,.22) !important;
}
