@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/quicksand-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/quicksand-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Farben wie selsebil.tv: Nachtblau, Selsebil-Blau, helles Eisblau als Text, Rot nur fuer Auflegen/Verpasst. */
:root {
  --bg: #030d1a;
  --surface: #071525;
  --surface-2: #0b1d33;
  --text: #deedf8;
  --text-dim: rgba(222, 237, 248, 0.62);
  --text-faint: rgba(222, 237, 248, 0.38);
  --blue: #0099d6;
  --blue-deep: #0073af;
  --blue-soft: rgba(0, 153, 214, 0.14);
  --line: rgba(222, 237, 248, 0.08);
  --line-blue: rgba(0, 153, 214, 0.28);
  --danger: #e5484d;
  --danger-soft: rgba(229, 72, 77, 0.14);
  --radius: 14px;
  --radius-sm: 9px;
  --font-brand: 'VAG', 'Quicksand', system-ui, sans-serif;
  --font-ui: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; color: var(--text-dim); font-size: 14px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- Marke */
.brand { display: flex; align-items: center; gap: 10px; }
.brand > div { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-brand); font-size: 17px; letter-spacing: 0.01em; }
.brand-sub { font-size: 12px; color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; }
.brand-lg .brand-name { font-size: 22px; }

/* ---------- Buttons & Felder */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; background: var(--surface-2); color: var(--text); transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--blue); color: var(--bg); }
.btn-primary:hover { background: #22acea; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text-dim); }
.btn-ghost:hover { border-color: var(--line-blue); color: var(--text); }
.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(229, 72, 77, .3); }
.btn-accept { background: var(--blue); color: var(--bg); font-size: 16px; padding: 14px 28px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; padding: 13px; font-size: 15px; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: transparent; border: 1px solid var(--line); color: var(--text-dim); }
.icon-btn:hover { color: var(--text); border-color: var(--line-blue); }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-dim); }
.field input, .field select, textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; font-size: 15px; font-weight: 500; color: var(--text); }
.field input:focus, .field select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.form-error { margin: 0; color: var(--danger); font-size: 13px; font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.sub-h { margin: 6px 0 0; font-family: var(--font-brand); font-size: 15px; font-weight: 400; color: var(--text); }

/* ---------- Login */
.login { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.login-title { margin: 12px 0 0; font-family: var(--font-brand); font-weight: 400; font-size: 28px; }
.login-lead { margin: -8px 0 6px; color: var(--text-dim); font-size: 14px; text-wrap: pretty; }

/* ---------- Grundgeruest */
.shell { display: flex; min-height: 100dvh; }
.rail { position: sticky; top: 0; height: 100dvh; width: 232px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; padding: 22px 16px; border-right: 1px solid var(--line); background: var(--bg); }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 0; background: transparent; color: var(--text-dim); font-weight: 600; font-size: 14.5px; text-align: left; }
.nav-item:hover { color: var(--text); background: var(--surface); }
.nav-item[aria-current="page"] { color: var(--text); background: var(--blue-soft); }
.nav-item[aria-current="page"] svg { color: var(--blue); }
.nav-badge { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--blue); color: var(--bg); font-size: 12px; font-weight: 700; text-align: center; }
.rail-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.me { display: flex; align-items: center; gap: 10px; }
.me > div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.me-name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-role { font-size: 12px; color: var(--text-faint); }

.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--blue); font-family: var(--font-brand); font-size: 14px; flex-shrink: 0; border: 1px solid var(--line-blue); }
.avatar-lg { width: 52px; height: 52px; font-size: 20px; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 28px; background: rgba(3, 13, 26, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-title { display: flex; flex-direction: column; gap: 4px; }
.topbar h1 { margin: 0; font-family: var(--font-brand); font-weight: 400; font-size: 24px; }
.health { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12.5px; color: var(--text-dim); }
.health span:not(.dot) { margin-right: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); display: inline-block; }
.dot.ok { background: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.dot.bad { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }

.mode { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.mode button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--text-dim); font-weight: 700; font-size: 13.5px; }
.mode button[aria-checked="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-blue); }
.mdot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.mdot.ready { background: var(--blue); }
.mdot.pause { background: transparent; box-shadow: inset 0 0 0 2px var(--text-dim); }
.mdot.offline { background: var(--text-faint); }
.mode button[data-mode="ready"][aria-checked="true"] { background: var(--blue); color: var(--bg); box-shadow: none; }
.mode button[data-mode="ready"][aria-checked="true"] .mdot { background: var(--bg); }

.view { padding: 24px 28px 48px; display: flex; flex-direction: column; gap: 20px; }

/* ---------- Kennzahlen */
.strip { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px 28px; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; min-width: 64px; }
.stat-v { font-family: var(--font-brand); font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-l { font-size: 12.5px; color: var(--text-dim); font-weight: 600; }
.stat-sep { width: 1px; background: var(--line); }
.danger-t { color: var(--danger); }

/* ---------- Panels */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.col-queue, .col-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.panel-flush { padding: 6px 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.panel-head h2 { margin: 0; font-family: var(--font-brand); font-weight: 400; font-size: 17px; }
.hint { font-size: 12.5px; color: var(--text-faint); font-weight: 600; }
.empty { padding: 26px 8px; text-align: center; }
.empty-t { margin: 0; font-weight: 700; font-size: 15px; }
.empty-s { margin: 4px auto 0; color: var(--text-dim); font-size: 13.5px; max-width: 360px; text-wrap: pretty; }
.empty-inline { margin: 0; color: var(--text-faint); font-size: 13.5px; padding: 4px 0; }
.empty-inline:only-child, .panel-flush .empty-inline { padding: 18px 20px; }

/* ---------- Warteschlange (Kernstueck) */
.queue { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.q-item { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 14px 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; animation: enter .35s ease both; }
.q-item:first-child { border-color: var(--line-blue); }
.q-pos { font-family: var(--font-brand); font-size: 22px; color: var(--blue); text-align: center; }
.q-who { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.q-name { font-weight: 700; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--text-dim); }
.q-meta .tag { color: var(--blue); font-weight: 700; }
.q-act { display: flex; align-items: center; gap: 8px; }
.q-wait { font-family: var(--font-brand); font-size: 18px; font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; }
.q-bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--blue); transition: width 1s linear; border-radius: 0 3px 3px 0; }
.q-item.long .q-bar { background: var(--danger); }
.q-item.long .q-wait { color: var(--danger); }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-t { font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-s { font-size: 12.5px; color: var(--text-dim); }
.row-r { font-variant-numeric: tabular-nums; font-size: 13.5px; color: var(--text-dim); }
.linkish { background: none; border: 0; padding: 0; text-align: left; color: inherit; }
.linkish:hover .row-t, .linkish:hover .q-name { color: var(--blue); }

/* ---------- Mein Gespraech */
.call[data-state="live"] { border-color: var(--line-blue); box-shadow: 0 0 0 1px var(--line-blue), 0 18px 40px -20px rgba(0, 153, 214, .45); }
.call-idle { padding: 4px 0; }
.call-idle .empty-s { margin: 4px 0 0; }
.caller { display: flex; align-items: center; gap: 14px; }
.caller-id { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.name-input { width: 100%; background: transparent; border: 0; border-bottom: 1px dashed var(--line-blue); padding: 2px 0; font-family: var(--font-brand); font-size: 20px; color: var(--text); }
.name-input::placeholder { color: var(--text-faint); }
.name-input:focus { outline: none; border-bottom-color: var(--blue); }
.controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ctl { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text-dim); font-size: 12.5px; font-weight: 700; }
.ctl:hover { color: var(--text); border-color: var(--line-blue); }
.ctl[aria-pressed="true"] { background: var(--blue-soft); color: var(--blue); border-color: var(--line-blue); }
.ctl-danger { background: var(--danger); color: var(--text); border-color: var(--danger); }
.ctl-danger:hover { background: #f05a5f; color: var(--text); border-color: #f05a5f; }

.notes-box { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.note-form { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.note { padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.note-b { margin: 0; white-space: pre-wrap; font-size: 14px; text-wrap: pretty; }
.note-m { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--text-faint); }
.note-del { background: none; border: 0; color: var(--text-faint); font-size: 12px; font-weight: 700; padding: 0; }
.note-del:hover { color: var(--danger); }

.team { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.team li { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.team .t-name { flex: 1; font-weight: 600; font-size: 14px; }
.badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-dim); white-space: nowrap; }
.badge.ready { background: var(--blue-soft); color: var(--blue); }
.badge.busy { background: var(--blue); color: var(--bg); }
.badge.ringing { background: var(--blue); color: var(--bg); animation: blink 1s infinite; }
.badge.warn { background: var(--danger-soft); color: var(--danger); }
@keyframes blink { 50% { opacity: .55; } }

/* ---------- Verlauf */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.search { flex: 1; min-width: 220px; max-width: 460px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-faint); }
.search:focus-within { border-color: var(--blue); }
.search input { flex: 1; border: 0; background: transparent; padding: 11px 0; outline: none; color: var(--text); }
.chips { display: inline-flex; gap: 6px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text-dim); font-weight: 700; font-size: 13px; }
.chip[aria-checked="true"] { background: var(--blue-soft); color: var(--blue); border-color: var(--line-blue); }
.history { list-style: none; margin: 0; padding: 0; }
.h-row { display: grid; grid-template-columns: 12px minmax(0, 1.6fr) minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 12px 20px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; }
.history li:first-child .h-row { border-top: 0; }
.h-row:hover { background: var(--surface-2); }
.h-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.h-dot.missed { background: var(--danger); }
.h-dot.talking { box-shadow: 0 0 0 3px var(--blue-soft); }
.h-dot.waiting { background: transparent; box-shadow: inset 0 0 0 2px var(--blue); }

/* ---------- Audio */
.audio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.tracks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.track { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.play { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.play:disabled { opacity: .35; cursor: default; }
.play svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.track .row-main { gap: 1px; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px; border-radius: 12px; border: 1.5px dashed var(--line-blue); text-align: center; cursor: pointer; color: var(--text-dim); transition: background .15s, border-color .15s; }
.drop:hover, .drop.over { background: var(--blue-soft); border-color: var(--blue); }
.drop svg { color: var(--blue); width: 24px; height: 24px; }
.drop-t { font-weight: 700; color: var(--text); }
.drop-s { font-size: 12.5px; max-width: 360px; text-wrap: pretty; }
.drop.busy { pointer-events: none; opacity: .7; }
.users { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.users .row { flex-wrap: wrap; }

/* ---------- Drawer */
.drawer-wrap { position: fixed; inset: 0; z-index: 30; }
.drawer-bg { position: absolute; inset: 0; background: rgba(3, 13, 26, .6); backdrop-filter: blur(2px); }
.drawer { position: absolute; top: 0; right: 0; height: 100%; width: min(460px, 100%); background: var(--surface); border-left: 1px solid var(--line); display: flex; flex-direction: column; animation: slide .22s ease both; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mini-calls { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mini-calls li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.mini-calls li:first-child { border-top: 0; }
.mini-calls .grow { flex: 1; color: var(--text-dim); }

/* ---------- Klingeln */
.ring { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(3, 13, 26, .78); backdrop-filter: blur(6px); }
.ring-card { position: relative; width: 100%; max-width: 380px; padding: 36px 26px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-blue); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ring-pulse { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); margin-bottom: 14px; animation: pulse 1.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 153, 214, .55); } 100% { box-shadow: 0 0 0 26px rgba(0, 153, 214, 0); } }
.ring-k { margin: 0; color: var(--blue); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; }
.ring-who { margin: 0; font-family: var(--font-brand); font-size: 26px; }
.ring-num { margin: 0; }
.ring-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 13.5px; color: var(--text-dim); text-align: left; width: 100%; }
.ring-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; width: 100%; margin-top: 20px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; max-width: calc(100% - 32px); padding: 11px 18px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-blue); font-weight: 600; font-size: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .4); }
.toast.error { border-color: rgba(229, 72, 77, .5); color: #ffb3b5; }

/* ---------- Responsiv */
@media (max-width: 1100px) {
  .live-grid { grid-template-columns: 1fr; }
  .col-side { order: -1; }
  .audio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shell { flex-direction: column; }
  .rail { position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: auto; width: 100%; z-index: 20; flex-direction: row; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid var(--line); background: rgba(3, 13, 26, .96); backdrop-filter: blur(10px); }
  .rail .brand, .rail-foot { display: none; }
  .nav { flex-direction: row; flex: 1; justify-content: space-around; }
  .nav-item { flex-direction: column; gap: 2px; padding: 6px 8px; font-size: 11.5px; position: relative; }
  .nav-badge { position: absolute; top: 0; right: 4px; margin: 0; min-width: 18px; padding: 0 5px; font-size: 11px; }
  .main { padding-bottom: 76px; }
  .topbar { padding: 14px 16px; }
  .topbar h1 { font-size: 21px; }
  .mode { width: 100%; }
  .mode button { flex: 1; justify-content: center; padding: 9px 6px; }
  .view { padding: 16px 14px 32px; gap: 14px; }
  .strip { gap: 10px 18px; padding: 14px 16px; }
  .stat-v { font-size: 22px; }
  .stat-sep { display: none; }
  .panel { padding: 16px; }
  .q-item { grid-template-columns: 26px minmax(0, 1fr); gap: 4px 12px; }
  .q-act { grid-column: 1 / -1; justify-content: space-between; padding-top: 6px; }
  .h-row { grid-template-columns: 10px minmax(0, 1fr) auto; padding: 12px 16px; }
  .h-row .h-agent { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Yayin (On Air): Rot ist hier bewusst die Signalfarbe wie das Studiolicht. */
.dot.warn { background: #d9a43a; box-shadow: 0 0 0 3px rgba(217, 164, 58, .16); }
.onair-lamp { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.onair-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 16px; border-radius: var(--radius); background: var(--danger-soft); border: 1px solid rgba(229, 72, 77, .4); color: var(--danger); }
.onair-bar .onair-lamp { animation: air 1.4s ease-in-out infinite; }
.onair-t { font-family: var(--font-brand); font-weight: 700; letter-spacing: .08em; }
.onair-who { color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onair-off { background: var(--danger); color: var(--bg); border-color: var(--danger); font-weight: 700; }
.onair-btn { width: 100%; justify-content: center; gap: 10px; padding: 14px; margin: 4px 0 12px; border: 1px solid var(--line-blue); background: var(--surface-2); color: var(--text-dim); font-weight: 700; }
.onair-btn:hover { color: var(--text); border-color: rgba(229, 72, 77, .5); }
.onair-btn.is-on { background: var(--danger); border-color: var(--danger); color: var(--bg); }
.onair-btn.is-on .onair-lamp { animation: air 1.4s ease-in-out infinite; }
.call-onair { border-color: rgba(229, 72, 77, .5); }
.row-onair .row-t { color: var(--danger); }
.tag-air { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--danger); margin-left: 6px; }
.avatar-miss { background: var(--danger-soft); color: var(--danger); }
@keyframes air { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .onair-lamp { animation: none !important; } }

/* Yayin (OBS) Einstellungen */
.lead-s { margin: 0 0 14px; color: var(--text-dim); line-height: 1.6; }
.copy-row { display: flex; gap: 8px; margin-bottom: 16px; }
.copy-row input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-blue); background: var(--surface-2); font-size: 13px; }
.steps { margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--text-dim); line-height: 1.6; }
.steps b { color: var(--text); }
.radio-list { display: flex; flex-direction: column; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.radio-card input { margin-top: 4px; accent-color: var(--blue); }
.radio-card .row-s { display: block; }
.ok-t { color: var(--blue); }
