#spass-ebene {
  --sp-bg: var(--bg, #fff);
  --sp-ink: var(--ink, #121417);
  --sp-panel: var(--panel, #f3f5f4);
  --sp-muted: var(--muted, #505a56);
  --sp-line: var(--line, #76817b);
  --sp-focus: var(--focus, #1459c7);
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
  color: var(--sp-ink); font: 16px/1.5 system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  #spass-ebene { --sp-bg: var(--bg, #151a18); --sp-ink: var(--ink, #f4f7f5); --sp-panel: var(--panel, #232b27); --sp-muted: var(--muted, #bbc8c0); --sp-line: var(--line, #879b8e); --sp-focus: var(--focus, #9cc5ff); }
}
#spass-ebene:where(:root[data-theme="light"] *) { --sp-bg: var(--bg, #fff); --sp-ink: var(--ink, #121417); --sp-panel: var(--panel, #f3f5f4); --sp-muted: var(--muted, #505a56); --sp-line: var(--line, #76817b); --sp-focus: var(--focus, #1459c7); }
#spass-ebene:where(:root[data-theme="dark"] *) { --sp-bg: var(--bg, #151a18); --sp-ink: var(--ink, #f4f7f5); --sp-panel: var(--panel, #232b27); --sp-muted: var(--muted, #bbc8c0); --sp-line: var(--line, #879b8e); --sp-focus: var(--focus, #9cc5ff); }
#spass-ebene .sp-dialog { box-sizing: border-box; pointer-events: auto; z-index: 89; width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 30px; border: 1px solid var(--sp-line); border-radius: 20px; background: var(--sp-bg); color: var(--sp-ink); box-shadow: 0 24px 100px #0004; }
#spass-ebene .sp-dialog::backdrop { background: #101a18a6; }
#spass-ebene .sp-dialog h2 { font-size: clamp(24px, 4vw, 34px); line-height: 1.15; margin: 8px 0 16px; letter-spacing: -0.04em; }
#spass-ebene .sp-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; color: var(--sp-muted); margin: 0; }
#spass-ebene .sp-text { margin: 0 0 24px; }
#spass-ebene .sp-knopf { min-height: 44px; min-width: 44px; padding: 10px 16px; border: 1px solid var(--sp-line); border-radius: 10px; background: var(--sp-panel); color: var(--sp-ink); font: inherit; font-weight: 650; cursor: pointer; }
#spass-ebene .sp-knopf:hover { border-color: var(--sp-ink); }
#spass-ebene :focus-visible { outline: 3px solid var(--sp-focus); outline-offset: 3px; }
#spass-ebene .sp-auswahl { display: grid; gap: 10px; }
#spass-ebene .sp-ton { border: 1px solid var(--sp-line); border-radius: 12px; margin: 24px 0 16px; padding: 12px 16px; min-width: 0; }
#spass-ebene .sp-ton legend { font-weight: 700; padding: 0 6px; }
#spass-ebene .sp-schalter { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; }
#spass-ebene .sp-schalter input { width: 24px; height: 24px; margin: 10px; accent-color: var(--sp-ink); }
#spass-ebene .sp-pegel { display: block; margin-top: 12px; }
#spass-ebene .sp-pegel output { float: right; }
#spass-ebene .sp-pegel input { display: block; width: 100%; min-height: 44px; margin: 0; accent-color: var(--sp-ink); }
#spass-ebene .sp-hinweis { color: var(--sp-muted); font-size: 14px; }
#spass-ebene .sp-lizenzen summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 650; }
#spass-ebene .sp-lizenzen summary::before { content: '+ '; margin-right: 8px; }
#spass-ebene .sp-lizenzen[open] summary::before { content: '− '; }
#spass-ebene .sp-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 480px) {
  #spass-ebene .sp-dialog { padding: 22px; border-radius: 14px; }
  #spass-ebene .sp-aktionen .sp-knopf { flex: 1 1 auto; }
}
