/* ══════════════════════════════════════════════════════════════
   OnAirPlan – Studio
   Passt sich dem Bildschirm an: alle Größen hängen an der Grundschrift,
   die mit der Fensterbreite mitwächst (kleine 1280er-Monitore bis große 4K-Schirme).
   Zusätzlich lassen sich Laufliste und Zusatzleisten ein-/ausblenden.
   ══════════════════════════════════════════════════════════════ */

/* Grundschrift skaliert mit der Fensterbreite (ca. 13 px bei 1024 px bis 20 px bei 2560 px) */
html { font-size: clamp(13px, 0.5vw + 7.5px, 20px); }

:root {
    --st-scale: 1.25;
    --bg: #0b0d11;
    --panel: #14171d;
    --panel-2: #1c2028;
    --line: #2a2f3a;
    --text: #eceef2;
    --muted: #8a93a3;
    --accent: #e63946;
    --ok: #22c55e;
    --warn: #f59e0b;
    --hot: #ef4444;
    --anmod: #3b82f6;
    --text-c: #a78bfa;
    --abmod: #0ea5e9;
    --take: #f59e0b;
    --contact: #10b981;
    --note: #64748b;
    color-scheme: dark;
}
:root[data-theme="light"] {
    --bg: #eceae4;
    --panel: #ffffff;
    --panel-2: #f3f2ee;
    --line: #d9d6ce;
    --text: #15171c;
    --muted: #666d7a;
    --anmod: #2563eb;
    --text-c: #7c3aed;
    --abmod: #0284c7;
    --take: #d97706;
    --contact: #059669;
    --note: #64748b;
    color-scheme: light;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
.st-hidden { display: none !important; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}
a { color: inherit; }

.st { height: 100vh; display: flex; flex-direction: column; }

/* ── Kopfzeile ── */
.st-top {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: .45rem .9rem;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    min-height: 3.8rem;
}
.st-btn {
    background: var(--panel-2);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .4rem .75rem;
    font: inherit;
    font-size: .9rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.st-btn:hover { border-color: var(--muted); }
.st-show { display: flex; gap: .5rem; align-items: center; min-width: 0; }
.st-show select, .st-show input {
    background: var(--panel-2);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .45rem .6rem;
    font: inherit;
    font-size: 1rem;
    max-width: 28rem;
    min-width: 0;
}
.st-show select { font-weight: 700; }

.st-countdown {
    margin-left: auto;
    display: flex;
    align-items: baseline;
    gap: .6rem;
    padding: .25rem .9rem;
    border-radius: 8px;
    min-width: 0;
}
.st-cd-time { font-size: 1.9rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.st-cd-what { font-size: .95rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22rem; }
.st-countdown.warm { background: color-mix(in srgb, var(--warn) 18%, transparent); }
.st-countdown.warm .st-cd-time { color: var(--warn); }
.st-countdown.hot { background: color-mix(in srgb, var(--hot) 22%, transparent); animation: st-blink 1s steps(2) infinite; }
.st-countdown.hot .st-cd-time { color: var(--hot); }
@keyframes st-blink { 50% { background: transparent; } }

.st-clock {
    font-size: 2.4rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
    padding: 0 .4rem;
}
.st-tools { display: flex; align-items: center; gap: .6rem; }
.st-font { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.st-font button {
    background: var(--panel-2);
    color: var(--muted);
    border: none;
    border-right: 1px solid var(--line);
    padding: .4rem .55rem;
    font-weight: 700;
    cursor: pointer;
    min-width: 2rem;
}
.st-font button:last-child { border-right: none; }
.st-font button.active { background: var(--accent); color: #fff; }
.st-net { font-size: .8rem; color: var(--ok); white-space: nowrap; }
.st-net.off { color: var(--hot); font-weight: 700; }

/* ── Im Dienst ── */
.st-duty {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem 1rem;
    background: var(--panel-2);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    white-space: nowrap;
    font-size: .85rem;
}
.st-duty.empty { display: none; }
.st-duty-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.st-duty-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .15rem .6rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--c);
    border-radius: 999px;
    background: var(--panel);
}
.st-duty-pill small { color: var(--muted); }
.st-duty-pill a { text-decoration: none; color: var(--muted); }
.st-duty-pill a:hover { color: var(--text); }

/* ── Hauptbereich ── */
.st-main {
    flex: 1;
    display: grid;
    grid-template-columns: clamp(15rem, 24vw, 28rem) minmax(0, 1fr);
    min-height: 0;
}
.st.no-rundown .st-main { grid-template-columns: minmax(0, 1fr); }
.st.no-rundown .st-side { display: none; }

/* Laufliste */
.st-rundown {
    background: var(--panel);
    border-right: 1px solid var(--line);
    overflow-y: auto;
    padding-bottom: 2rem;
}
.st-rd-head { padding: .8rem 1rem .6rem; border-bottom: 1px solid var(--line); }
.st-rd-title { font-size: 1.15rem; font-weight: 800; }
.st-rd-sub { font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.st-rd-hour {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    padding: .55rem 1rem .3rem;
    font-weight: 800;
    font-size: .95rem;
    position: sticky;
    top: var(--st-rd-top, 0px);          /* unter der festen Werkzeugleiste */
    background: var(--panel);
    z-index: 1;
}
.st-rd-hour small { color: var(--muted); font-weight: 400; font-size: .75rem; }
.st-rd-hour.cur span { color: var(--accent); }
.st-rd-untimed {
    padding: .4rem 1rem .1rem;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
}
.st-rd-none { padding: .2rem 1rem; color: var(--muted); }
.st-rd-item {
    display: grid;
    grid-template-columns: 3.2rem 1.6rem minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1rem;
    cursor: pointer;
    border-left: 4px solid transparent;
    font-size: .95rem;
}
.st-rd-item:hover { background: var(--panel-2); }
.st-rd-item.sel { background: var(--panel-2); border-left-color: var(--accent); }
.st-rd-item.now .st-rd-time { color: var(--accent); font-weight: 800; }
.st-rd-item.done { opacity: .45; }
.st-rd-item.done .st-rd-icon { color: var(--ok); font-weight: 800; }
.st-rd-item.ph .st-rd-name { color: var(--muted); }
.st-rd-time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; }
.st-rd-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-rd-warn { font-size: .78rem; color: var(--warn); }
.st-rd-dur { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .82rem; }
.st-changed { color: var(--warn); font-size: .7rem; }
.st-nowline {
    position: relative;
    height: 0;
    border-top: 2px solid var(--accent);
    margin: .2rem 0;
}
.st-nowline span {
    position: absolute;
    right: .6rem;
    top: -.7rem;
    background: var(--accent);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .05rem .4rem;
    border-radius: 999px;
}

/* Lesefenster */
.st-reader { overflow-y: auto; padding: 0 clamp(.8rem, 2.2vw, 3rem) 5rem; scroll-behavior: smooth; }
.st-rh {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 0 .8rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.2rem;
}
.st-rh-left { flex: 1; min-width: 0; }
.st-rh-meta { display: flex; gap: .8rem; align-items: baseline; font-size: .9rem; color: var(--muted); }
.st-rh-time { font-size: 1.3rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.st-rh-time.muted { font-size: .9rem; color: var(--muted); font-weight: 400; }
.st-rh-label { border: 1px solid var(--line); border-radius: 4px; padding: 0 .4rem; font-size: .78rem; }
.st-rh-pos { margin-left: auto; font-size: .78rem; }
.st-rh-title { margin: .15rem 0 0; font-size: calc(1.7rem * var(--st-scale) / 1.25); line-height: 1.2; }
.st-rh-actions { display: flex; gap: .4rem; }
.st-rh-actions .st-btn { font-size: 1.05rem; padding: .55rem .9rem; }
.st-done.is-done { background: var(--ok); color: #fff; border-color: var(--ok); }

.st-sw {
    display: flex;
    align-items: baseline;
    gap: .3rem;
    padding: .35rem .8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    font-variant-numeric: tabular-nums;
}
.st-sw-time { font-size: 1.6rem; font-weight: 800; }
.st-sw-total { color: var(--muted); }
.st-sw.running { border-color: var(--ok); }
.st-sw.running .st-sw-time { color: var(--ok); }
.st-sw.over .st-sw-time { color: var(--hot); }

.st-banner {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .6rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--warn);
    background: color-mix(in srgb, var(--warn) 15%, transparent);
    color: var(--warn);
    border-radius: 8px;
    font-weight: 600;
}
.st-banner .st-btn { margin-left: auto; }

/* Bausteine */
.st-body { max-width: 72rem; }
.st-b { margin-bottom: 1.4rem; border-left: 5px solid var(--c, var(--line)); padding: .2rem 0 .2rem 1.2rem; }
.st-b-anmod { --c: var(--anmod); }
.st-b-beitrag { --c: var(--text-c); }
.st-b-abmod { --c: var(--abmod); }
.st-b-take { --c: var(--take); }
.st-b-contact { --c: var(--contact); }
.st-b-note { --c: var(--note); }
.st-b-label {
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--c);
    margin-bottom: .3rem;
}
.st-b .st-b-text {
    font-size: calc(1.35rem * var(--st-scale));
    line-height: 1.55;
    white-space: normal;
    border: none;
    padding: 0;
}
.st-b .st-b-text.st-small, .st-small { font-size: calc(1.05rem * var(--st-scale)); }
.st-b-note { opacity: .85; }
.st-b-note .st-b-text { color: var(--muted); }

.st-b-take {
    background: color-mix(in srgb, var(--take) 10%, transparent);
    border-radius: 0 8px 8px 0;
    padding: .7rem 1rem .8rem 1.2rem;
}
.st-b-take.not-ready { border-left-style: dashed; }
.st-take-head { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; }
.st-take-head .st-b-label { margin: 0; }
.st-take-name { font-size: calc(1.1rem * var(--st-scale)); font-weight: 700; }
.st-take-dur { font-size: calc(1.4rem * var(--st-scale)); font-weight: 800; font-variant-numeric: tabular-nums; margin-left: auto; }
.st-take-warn { color: var(--hot); font-weight: 800; }
.st-cue { font-size: calc(1rem * var(--st-scale)); margin-top: .35rem; color: var(--muted); }
.st-cue span {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-right: .4rem;
}
.st-outcue { color: var(--text); font-size: calc(1.25rem * var(--st-scale)); font-weight: 700; }
.st-outcue span { color: var(--take); }

.st-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; font-size: calc(1.15rem * var(--st-scale)); }
.st-contact span { color: var(--muted); }
.st-phone { font-weight: 800; text-decoration: none; color: var(--contact); }
.st-when { color: var(--warn) !important; }

.st-sec { margin: 1.4rem 0; border: 1px solid var(--line); border-radius: 10px; }
.st-sec-head {
    padding: .5rem 1rem;
    font-weight: 800;
    font-size: calc(1.1rem * var(--st-scale));
    cursor: pointer;
    user-select: none;
    background: var(--panel);
    border-radius: 10px 10px 0 0;
}
.st-sec.closed .st-sec-head { border-radius: 10px; }
.st-sec.closed .st-sec-body { display: none; }
.st-sec-body { padding: 1rem 1rem .2rem; }

.st-placeholder, .st-notext {
    font-size: 1.3rem;
    color: var(--muted);
    padding: 2rem;
    border: 2px dashed var(--line);
    border-radius: 10px;
    text-align: center;
}
.st-item-note { margin-bottom: 1.4rem; }
.st-empty { color: var(--muted); padding: 2rem; text-align: center; }

/* ── Tastenhilfe ── */
.st-keys {
    display: flex;
    gap: 1.4rem;
    padding: .35rem 1rem;
    background: var(--panel);
    border-top: 1px solid var(--line);
    font-size: .75rem;
    color: var(--muted);
    flex-wrap: wrap;            /* umbrechen statt waagerechter Scrollleiste */
    row-gap: .2rem;
    flex-shrink: 0;
}
.st-keys > span { white-space: nowrap; }
.st-whoami { margin-left: auto; }
.st-keys kbd {
    display: inline-block;
    border: 1px solid var(--line);
    border-bottom-width: 2px;
    border-radius: 4px;
    padding: 0 .35rem;
    margin-right: .25rem;
    font-family: inherit;
    font-size: .7rem;
    color: var(--text);
    background: var(--panel-2);
}

/* ── Hinweis-Toast ── */
.st-toast {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    background: var(--panel-2);
    border: 1px solid var(--line);
    color: var(--text);
    padding: .6rem 1.1rem;
    border-radius: 8px;
    transition: .2s;
    pointer-events: none;
    z-index: 50;
}
.st-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.st-toast.success { border-color: var(--ok); }
.st-toast.warn { border-color: var(--warn); }

/* ── Anpassung an kleine Bildschirme ─────────────────────────── */

/* Schmal (z.B. 1280×1024, 1366×768): Details in der Kopfzeile kürzen */
@media (max-width: 1400px) {
    .st-top { gap: .7rem; }
    .st-cd-what { max-width: 12rem; }
    .st-date-input { display: none; }
    .st-rh-pos { display: none; }
}
@media (max-width: 1150px) {
    .st-cd-what { display: none; }
    .st-font button { min-width: 1.6rem; padding: .35rem .35rem; }
    .st-rh { flex-wrap: wrap; gap: .6rem; }
    .st-rh-left { flex-basis: 100%; }
    .st-rh-actions { margin-left: auto; }
}

/* Niedrig (z.B. 768 oder 900 px Höhe): Platz fürs Lesen gewinnen */
@media (max-height: 860px) {
    .st-keys { padding: .2rem .8rem; font-size: .7rem; gap: .25rem 1rem; }
    .st-top { min-height: 3rem; padding-top: .3rem; padding-bottom: .3rem; }
    .st-clock { font-size: 2rem; }
    .st-cd-time { font-size: 1.6rem; }
    .st-rh { padding: .5rem 0 .5rem; margin-bottom: .8rem; }
    .st-rh-title { font-size: calc(1.4rem * var(--st-scale) / 1.25); }
    .st-duty { padding-top: .2rem; padding-bottom: .2rem; }
}

/* Sehr schmal / Tablet hochkant: Laufliste oben, Lesefenster darunter */
@media (max-width: 900px) {
    .st-main { grid-template-columns: 1fr; grid-template-rows: minmax(0, 30vh) minmax(0, 1fr); }
    .st.no-rundown .st-main { grid-template-rows: minmax(0, 1fr); }
    .st-rundown { border-right: none; border-bottom: 1px solid var(--line); }
    .st-keys { display: none; }
    .st-top { flex-wrap: wrap; }
    .st-countdown { margin-left: 0; order: 5; }
    .st-back { display: none; }
}

.st-top .st-btn.active { border-color: var(--accent); }

/* ── Im Dienst (linke Spalte) ── */
.st-rd-duties:empty { display: none; }
.st-rd-duties {
    border-bottom: 1px solid var(--line);
    padding: .4rem .8rem .5rem;
    background: var(--panel-2);
}
.st-duty-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
    padding: .1rem 0 .25rem;
}
.st-duty-row {
    border-left: 3px solid var(--c);
    padding: .15rem 0 .15rem .5rem;
    margin: .2rem 0;
    font-size: .82rem;
    line-height: 1.3;
}
.st-duty-type { font-weight: 700; }
.st-duty-type small { color: var(--muted); font-weight: 400; margin-left: .3rem; }
.st-duty-who { color: var(--muted); display: flex; flex-wrap: wrap; gap: 0 .6rem; }
.st-duty-who a { color: var(--text); text-decoration: none; white-space: nowrap; }
.st-duty-who a:hover { color: var(--accent); }


/* ── Uhr: dezent oben links, Countdown bleibt prägnant in der Kopfzeile ── */
.st-rd-clock {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    padding: .5rem 1rem .3rem;
    letter-spacing: .02em;
}
.st-clock-mini {
    display: none;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
    font-size: 1rem;
}
.st.no-rundown .st-clock-mini { display: block; }
.st-countdown { margin-left: auto; }
.st-cd-time { font-size: 2.4rem; }

/* ── Umstellen im Studio ── */
.st-rd-tools { display: flex; flex-wrap: wrap; gap: .35rem; padding: .4rem .8rem; border-bottom: 1px solid var(--line); }
.st-rd-tools .st-btn { font-size: .8rem; padding: .3rem .55rem; }
.st-rd-tools.on { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.st-btn.active { border-color: var(--accent); color: var(--accent); }
.st-edit-hint { font-size: .72rem; color: var(--muted); padding: .35rem 1rem; border-bottom: 1px solid var(--line); line-height: 1.4; }
.st-rd-item.editable { cursor: grab; }
.st-rd-item.editable { grid-template-columns: 3.2rem 1.6rem minmax(0, 1fr) auto auto auto; }
.st-rd-item.dragging { opacity: .4; }
/* Umstellen: Ablegen auf ein Element bzw. einen Titel = dahinter einplanen (Linie unten) */
.st-rd-item.st-drop { background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: inset 0 -4px 0 var(--accent); }
.st-rd-hour.st-drop, .st-rd-untimed.st-drop { background: color-mix(in srgb, var(--accent) 15%, transparent); }
.st-rd-edit { display: inline-flex; gap: .15rem; }
.st-rd-edit button {
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 4px;
    font-size: .75rem;
    padding: .05rem .3rem;
    cursor: pointer;
}
.st-rd-item.gone .st-rd-name { text-decoration: line-through; color: var(--muted); }
.st-rd-item.gone { opacity: .55; }
.st-gone-banner {
    margin-bottom: 1rem;
    padding: .5rem 1rem;
    border: 1px dashed var(--muted);
    border-radius: 8px;
    color: var(--muted);
    font-weight: 700;
}

/* ── Fokus-Modus: nur der Text ── */
.st.solo .st-top, .st.solo .st-rundown, .st.solo .st-keys { display: none; }
.st.solo .st-main { grid-template-columns: minmax(0, 1fr) !important; }
.st.solo .st-reader { padding-top: 2.5rem; }
.st.solo .st-rh { position: static; border-bottom: none; }
.st.solo .st-rh-actions, .st.solo .st-rh-pos, .st.solo .st-sw { opacity: .35; }
.st.solo .st-rh-actions:hover, .st.solo .st-sw:hover { opacity: 1; }
.st.solo .st-body { margin: 0 auto; }
.st-solo-bar {
    display: none;
    position: fixed;
    top: .6rem;
    right: .9rem;
    z-index: 30;
    align-items: center;
    gap: .8rem;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
    font-size: 1rem;
}
.st-solo-bar.open { display: flex; }
.st-solo-bar .st-btn { padding: .2rem .5rem; opacity: .6; }
.st-solo-cd.warm { color: var(--warn); font-weight: 700; }
.st-solo-cd.hot { color: var(--hot); font-weight: 800; }

/* ── Dialog ── */
.st-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 60;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.st-modal.open { display: flex; }
.st-modal-box {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
}
.st-modal-box h2 { margin: 0 0 .9rem; font-size: 1.2rem; }
.st-modal-box label { display: flex; flex-direction: column; gap: .25rem; font-size: .8rem; color: var(--muted); margin-bottom: .7rem; flex: 1; }
.st-modal-box label small { font-size: .72rem; }
.st-modal-box input, .st-modal-box select, .st-modal-box textarea {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .5rem .6rem;
    font: inherit;
    font-size: .95rem;
}
.st-row { display: flex; gap: .7rem; }
.st-modal-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .4rem; }
.st-primary { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Live-Hinweise & Verlauf */
.st-live { font-size: .78rem; padding: .45rem 1rem; color: var(--muted); border-bottom: 1px solid var(--line); line-height: 1.4; }
.st-live-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.st-log { display: flex; flex-direction: column; gap: .2rem; max-height: 60vh; overflow-y: auto; margin-bottom: .6rem; }
.st-log-row { display: grid; grid-template-columns: 3rem 1.4rem 8rem minmax(0, 1fr) auto; gap: .45rem; align-items: center;
    font-size: .85rem; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.st-log-row.undone { opacity: .5; }
.st-log-row.undone .st-log-what { text-decoration: line-through; }
.st-log-time { font-variant-numeric: tabular-nums; color: var(--muted); }
.st-log-who { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-log-row .st-btn { padding: .15rem .45rem; }

/* ── Schriftart (ohne externe Fonts) ── */
:root { --st-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.st-reader { font-family: var(--st-family); }
.st-fam-menu {
    display: none;
    position: fixed;
    z-index: 70;
    width: 270px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.st-fam-menu.open { display: block; }
.st-fam-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .3rem .5rem .4rem; }
.st-fam-menu button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: none;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text);
    padding: .45rem .6rem;
    cursor: pointer;
    text-align: left;
}
.st-fam-menu button span { font-size: 1rem; font-weight: 700; }
.st-fam-menu button small { color: var(--muted); font-size: .85rem; }
.st-fam-menu button:hover { background: var(--panel-2); }
.st-fam-menu button.active { border-color: var(--accent); }

/* Größen-Leiste im Fokus: dezent, beim Überfahren deutlich */
.st-solo-bar .st-font { opacity: .45; transition: opacity .15s; }
.st-solo-bar .st-fam-wrap .st-btn { opacity: .45; }
.st-solo-bar:hover .st-font, .st-solo-bar:hover .st-btn { opacity: 1; }
.st-font-solo button { padding: .2rem .4rem; min-width: 1.7rem; font-size: .75rem; }

/* ── Uhr ganz rechts, rechtsbündig ── */
.st-clockbox {
    margin-left: .6rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .6rem;
    cursor: pointer;
    user-select: none;
    color: var(--text);
    flex-shrink: 0;
}
.st-digital {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}
.st-analog { width: 3.4rem; height: 3.4rem; display: block; }
.st-clockbox.mode-analog .st-analog { width: 3.8rem; height: 3.8rem; }

/* Ziffern mit fester Breite – springen nicht */
.dg { display: inline-block; width: .62em; text-align: center; font-variant-numeric: tabular-nums; }
.dg-sep { display: inline-block; width: .3em; text-align: center; }

.st-countdown { margin-left: auto; }
.st-countdown.later { background: none; }
.st-cd-later { font-size: .95rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-cd-later small { opacity: .8; }

@media (max-height: 860px) { .st-digital { font-size: 1.8rem; } .st-analog { width: 2.8rem; height: 2.8rem; } }
@media (max-width: 1150px) { .st-digital { font-size: 1.7rem; } .st-cd-later small { display: none; } }

/* ── Linke Spalte: Uhr + Datum oben, darunter die Laufliste ── */
.st-side {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--panel);
    border-right: 1px solid var(--line);
}
.st-side .st-rundown { flex: 1; min-height: 0; border-right: none; }
.st-side .st-clockbox {
    margin: 0;
    justify-content: flex-start;
    padding: .6rem 1rem .5rem;
    border-bottom: 1px solid var(--line);
    gap: .8rem;
}
.st-clock-txt { display: flex; flex-direction: column; align-items: flex-start; }
.st-side .st-digital { font-size: 2rem; text-align: left; color: var(--text); }
.st-date { font-size: .82rem; color: var(--muted); margin-top: .15rem; white-space: nowrap; }
.st-clockbox.mode-analog .st-date { font-size: .95rem; }

/* Kopfzeile: Platzhalter, Mini-Uhr nur bei ausgeblendeter Laufliste */
.st-spacer { flex: 1; }
.st-clock-mini { display: none; color: var(--muted); font-size: 1.05rem; font-weight: 600; }
.st.no-rundown .st-clock-mini { display: block; }

/* ── Countdown bis Stundenende: ganz rechts ── */
.st-hourcd {
    display: flex;
    align-items: baseline;
    gap: .55rem;
    padding: .2rem .8rem;
    border-radius: 8px;
    flex-shrink: 0;
}
.st-hc-label { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.st-hc-time { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.st-hourcd.warm { background: color-mix(in srgb, var(--warn) 18%, transparent); }
.st-hourcd.warm .st-hc-time { color: var(--warn); }
.st-hourcd.hot { background: color-mix(in srgb, var(--hot) 22%, transparent); animation: st-blink 1s steps(2) infinite; }
.st-hourcd.hot .st-hc-time { color: var(--hot); }
.st-solo-cd small { opacity: .7; }

@media (max-height: 860px) { .st-hc-time { font-size: 1.9rem; } .st-side .st-digital { font-size: 1.6rem; } }
@media (max-width: 1150px) { .st-hc-label { display: none; } }
@media (max-width: 900px) {
    .st-side { border-right: none; border-bottom: 1px solid var(--line); }
    .st-hourcd { order: 10; }
}

/* ── Uhr links: kompakt in einer Zeile, bündig mit der Laufliste ── */
.st-side .st-clockbox {
    padding: .45rem 1rem .4rem;
    gap: .6rem;
    align-items: center;
}
.st-clock-txt {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 .7rem;
    min-width: 0;
}
.st-side .st-digital { font-size: 1.9rem; line-height: 1.05; }
.st-date { margin-top: 0; font-size: .85rem; }
.st-clockbox.mode-analog .st-date { font-size: .9rem; }
.st-side .st-analog,
.st-side .st-clockbox.mode-analog .st-analog { width: 2.6rem; height: 2.6rem; flex-shrink: 0; }
/* Erste Ziffer bündig an den linken Rand */
.st-digital .dg:first-child { text-align: left; width: .58em; }

/* „Nur analog“: Uhr wieder in voller Größe, Datum proportional größer */
.st-side .st-clockbox.mode-analog .st-analog { width: 3.8rem; height: 3.8rem; }
.st-side .st-clockbox.mode-analog .st-date {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}
.st-side .st-clockbox.mode-analog { gap: .9rem; }

/* ── Sendungskopf farbig abgesetzt ── */
.st-rd-head {
    position: relative;
    padding: .7rem 1rem .6rem;
    border-bottom: none;
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 16%, var(--panel)) 0%, var(--panel) 85%);
    border-left: 5px solid var(--accent);
}
.st-rd-head.is-live {
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 28%, var(--panel)) 0%, color-mix(in srgb, var(--accent) 6%, var(--panel)) 100%);
}
.st-rd-title { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: 1.25rem; }
.st-live-pill {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    border-radius: 999px;
    padding: .1rem .5rem;
    animation: st-pulse 2s ease-in-out infinite;
}
@keyframes st-pulse { 50% { opacity: .55; } }
.st-mine { color: var(--warn); font-size: 1rem; }
.st-rd-sub { color: var(--text); opacity: .7; }

/* ── Schmale Buttons zur vorherigen / nächsten Sendung ── */
.st-shownav {
    display: flex;
    align-items: center;
    gap: .45rem;
    width: 100%;
    background: var(--panel-2);
    border: none;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font: inherit;
    font-size: .78rem;
    padding: .35rem 1rem;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.st-shownav.next { border-bottom: none; border-top: 1px solid var(--line); margin-top: .8rem; padding: .55rem 1rem; }
.st-shownav:hover { color: var(--text); background: color-mix(in srgb, var(--accent) 10%, var(--panel-2)); }
.st-shownav span { font-size: .7rem; }

/* ── Sendungskopf: schlicht, heller Hintergrund in der Sendungsfarbe (aus der Tagesvorlage) ── */
.st-rd-head,
.st-rd-head.is-live {
    background: color-mix(in srgb, var(--show, var(--muted)) 16%, var(--panel));
    border-left: none;
    border-bottom: 1px solid color-mix(in srgb, var(--show, var(--muted)) 30%, var(--panel));
}
:root[data-theme="dark"] .st-rd-head,
:root[data-theme="dark"] .st-rd-head.is-live {
    background: color-mix(in srgb, var(--show, var(--muted)) 22%, var(--panel));
}

/* „Eingeloggt als“ rechtsbündig in der Tastenleiste */
.st-whoami { margin-left: auto; color: var(--muted); padding-left: 1rem; }
.st-whoami b { color: var(--text); font-weight: 600; }

/* ── „Dringend!“ ── */
.st-urgent {
    margin: .4rem .5rem .6rem;
    border: 2px solid var(--hot);
    border-radius: 8px;
    background: color-mix(in srgb, var(--hot) 8%, var(--panel));
    overflow: hidden;
}
.st-urgent.flash { animation: st-urgent-flash .6s ease-in-out 5; }
@keyframes st-urgent-flash { 50% { background: color-mix(in srgb, var(--hot) 30%, var(--panel)); } }
.st-urgent-head {
    padding: .35rem .7rem;
    background: var(--hot);
    color: #fff;
    font-weight: 800;
    letter-spacing: .04em;
    font-size: .85rem;
}
.st-urgent-head small { background: rgba(255,255,255,.25); border-radius: 999px; padding: 0 .45rem; margin-left: .3rem; }
.st-urgent .st-rd-item { padding-left: .7rem; }
.st-urgent-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem;
    font-size: .72rem;
    color: var(--muted);
    padding: 0 .7rem .5rem 4.6rem;
    border-bottom: 1px solid color-mix(in srgb, var(--hot) 25%, var(--panel));
}
.st-urgent-act { margin-left: auto; display: inline-flex; gap: .25rem; }
.st-urgent-act button, .st-pool-act button, .st-pool-act select {
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 5px;
    font: inherit;
    font-size: .75rem;
    padding: .15rem .45rem;
    cursor: pointer;
}
.st-urgent-act button:hover, .st-pool-act button:hover { border-color: var(--accent); }

/* ── Pool-Fach ── */
.st-pool {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(26rem, 92vw);
    background: var(--panel);
    border-left: 1px solid var(--line);
    box-shadow: -10px 0 30px rgba(0,0,0,.3);
    z-index: 40;
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform .2s ease;
}
.st-pool.open { transform: none; }
.st-pool-head { display: flex; align-items: center; justify-content: space-between; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.st-pool-tabs { display: flex; gap: .3rem; }
.st-pool-tabs button {
    background: none;
    border: 1px solid transparent;
    color: var(--muted);
    border-radius: 6px;
    padding: .3rem .6rem;
    font: inherit;
    cursor: pointer;
}
.st-pool-tabs button.active { border-color: var(--accent); color: var(--text); }
#st-pool-q {
    margin: .6rem .8rem;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .45rem .6rem;
    font: inherit;
}
.st-pool-list { flex: 1; overflow-y: auto; padding: 0 .8rem 1rem; }
.st-pool-item { border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; margin-bottom: .45rem; background: var(--bg); }
.st-pool-title { font-weight: 700; font-size: .92rem; }
.st-pool-meta { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .75rem; color: var(--muted); margin: .2rem 0 .35rem; }
.st-pool-warn { color: var(--warn); }
.st-pool-item audio { width: 100%; height: 30px; margin-bottom: .35rem; }
.st-pool-act { display: flex; flex-wrap: wrap; gap: .3rem; }
.st-pill { border-radius: 999px; padding: 0 .45rem; border: 1px solid var(--line); }
.st-pill-sendebereit { color: var(--ok); border-color: var(--ok); }
.st-pill-in_arbeit { color: var(--warn); border-color: var(--warn); }
.st-pool-theme {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--line);
    border-left: 4px solid var(--c);
    border-radius: 8px;
    padding: .5rem .7rem;
    margin-bottom: .4rem;
    font: inherit;
    cursor: pointer;
}
.st-pool-theme small { color: var(--muted); }
.st-pool-back { background: none; border: none; color: var(--muted); cursor: pointer; font: inherit; font-size: .8rem; padding: .2rem 0; }
.st-pool-themehead { font-weight: 800; padding: .3rem 0 .4rem; border-bottom: 3px solid var(--c); margin-bottom: .5rem; }
.st-pool-sec { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: .6rem 0 .3rem; }

/* ── Interview / Gast ───────────────────────────────────────── */
:root { --interview: #ec4899; --iv-must: #ef4444; --iv-imp: #f59e0b; --iv-opt: #94a3b8; }
.st-b-interview { --c: var(--interview); }
.st-iv-guest { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-bottom: .2rem; }
.st-iv-name { font-size: calc(1.5rem * var(--st-scale)); }
.st-iv-role { font-size: calc(1.1rem * var(--st-scale)); color: var(--muted); }
.st-iv-reach { margin-top: .35rem; font-size: calc(.95rem * var(--st-scale)); color: var(--muted); }

.st-iv-bio { margin: .7rem 0; border: 1px solid var(--line); border-radius: 8px; }
.st-iv-bio-head {
    padding: .4rem .8rem;
    font-weight: 700;
    font-size: calc(.95rem * var(--st-scale));
    color: var(--muted);
    cursor: pointer;
    user-select: none;
}
.st-iv-bio.open .st-iv-bio-head { border-bottom: 1px solid var(--line); }
.st-iv-bio .st-b-text { padding: .6rem .8rem; }

.st-iv-qhead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem 1rem;
    margin: .9rem 0 .5rem;
    font-size: calc(.95rem * var(--st-scale));
    color: var(--muted);
}
.st-iv-mustopen { color: var(--iv-must); font-weight: 800; }
.st-iv-alldone { color: var(--ok); font-weight: 700; }
.st-iv-qtools { margin-left: auto; display: flex; gap: .4rem; }
.st-btn-sm { font-size: .8rem; padding: .25rem .6rem; }

.st-iv-qs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.st-iv-q {
    --p: var(--iv-imp);
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .55rem .8rem;
    border: 1px solid var(--line);
    border-left: 5px solid var(--p);
    border-radius: 0 8px 8px 0;
    background: var(--panel-2);
    cursor: pointer;
    user-select: none;
    transition: opacity .15s;
}
.st-iv-q.p1 { --p: var(--iv-must); }
.st-iv-q.p3 { --p: var(--iv-opt); }
.st-iv-q:hover { border-color: var(--p); }
.st-iv-check {
    flex-shrink: 0;
    width: 1.5em;
    height: 1.5em;
    margin-top: .15em;
    border: 2px solid var(--p);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: calc(.95rem * var(--st-scale));
    color: #fff;
}
.st-iv-prio {
    flex-shrink: 0;
    margin-top: .3em;
    min-width: 4.8rem;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--p);
}
.st-iv-qmain { flex: 1; min-width: 0; }
.st-iv-qtext { font-size: calc(1.3rem * var(--st-scale)); font-weight: 700; line-height: 1.4; }
.st-iv-qnote { margin-top: .2rem; font-size: calc(1rem * var(--st-scale)); color: var(--muted); }
.st-iv-q.asked { opacity: .45; }
.st-iv-q.asked .st-iv-check { background: var(--ok); border-color: var(--ok); }
.st-iv-q.asked .st-iv-qtext { text-decoration: line-through; font-weight: 500; }

/* Übernommener Beitrag: Urheber unter dem Titel */
.st-origin { margin-top: .25rem; font-size: calc(.95rem * var(--st-scale)); color: var(--muted); }
.st-origin strong { color: var(--text); font-weight: 600; }
.st-origin a { color: var(--accent); text-decoration: none; }

/* ── Moderationstext umschreiben ──────────────────────────── */
.st-unlock { position: relative; }
.st-unlock.on {
    background: color-mix(in srgb, var(--warn, #f59e0b) 22%, transparent);
    border-color: var(--warn, #f59e0b);
    color: var(--text);
}
.st-unlock[data-status]::after {
    content: attr(data-status);
    position: absolute;
    top: calc(100% + .3rem);
    right: 0;
    white-space: nowrap;
    font-size: .72rem;
    color: var(--ok);
}
.st-unlock.bad[data-status]::after { color: var(--danger, #ef4444); }

.st-editable {
    outline: 2px dashed color-mix(in srgb, var(--warn, #f59e0b) 70%, transparent);
    outline-offset: 6px;
    border-radius: 4px;
    cursor: text;
    min-height: 1.6em;
    caret-color: var(--warn, #f59e0b);
}
.st-editable:focus { outline-style: solid; }

.st-own {
    margin-left: .4rem;
    padding: .05rem .45rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--warn, #f59e0b) 18%, transparent);
    color: var(--warn, #f59e0b);
    font-size: .72rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}
.st-own-hint {
    margin: .2rem 0 .5rem;
    font-size: calc(.9rem * var(--st-scale));
    color: var(--warn, #f59e0b);
}
.st-orig { margin-top: .6rem; font-size: calc(.9rem * var(--st-scale)); color: var(--muted); }
.st-orig summary { cursor: pointer; user-select: none; }
.st-orig .st-b-text { margin: .4rem 0 .5rem; opacity: .85; }
.st-unapproved {
    background: color-mix(in srgb, #ef4444 16%, transparent);
    border-color: #ef4444;
    color: var(--text);
}
.st-other summary { color: var(--warn); }

/* ── Mein Spickzettel ── */
.st-spick-add, #st-spick-q {
    margin: .6rem .8rem 0;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .45rem .6rem;
    font: inherit;
}
#st-spick-q { margin-bottom: .6rem; }
.st-spick-add:focus { border-color: var(--accent); outline: none; }
.st-spick-item { border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; margin-bottom: .45rem; background: var(--bg); }
.st-spick-item.used { opacity: .55; }
.st-spick-body { white-space: pre-wrap; font-size: 1rem; line-height: 1.4; margin-bottom: .3rem; }
.st-spick-why { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: .3rem; }
.st-spick-why span { font-size: .72rem; font-weight: 700; color: var(--ok); border: 1px solid var(--ok); border-radius: 999px; padding: 0 .45rem; }
.st-spick-meta { display: flex; flex-wrap: wrap; gap: .2rem .6rem; font-size: .74rem; color: var(--muted); margin-bottom: .35rem; }
.st-spick-meta .warn { color: var(--warn); }

.st-spick-addrow { display: flex; gap: .4rem; margin: .6rem .8rem 0; }
.st-spick-addrow .st-spick-add { margin: 0; flex: 1; min-width: 0; }
.st-spick-addrow .st-btn { white-space: nowrap; font-weight: 700; }
.st-spick-item { cursor: grab; }
.st-spick-item:active { cursor: grabbing; }
.st-spick-item.dragging { opacity: .45; }
.st-spick-item button, .st-spick-item input { cursor: pointer; }
.st-rundown.st-spick-target { outline: 2px dashed var(--accent); outline-offset: -4px; }
.st-rundown.st-spick-target .st-rd-hour.st-drop,
.st-rundown.st-spick-target .st-rd-untimed.st-drop { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.st-rundown.st-spick-target .st-rd-item.st-drop { box-shadow: 0 -3px 0 var(--accent); }

/* ── Musik (mAirList-Playlist) ── */
.st-music .st-pool-head strong { font-size: .95rem; }
.st-music .st-pool-list { padding-top: .6rem; }
.st-music-item { border: 1px solid var(--line); border-radius: 8px; padding: .45rem .6rem; margin-bottom: .4rem; background: var(--bg); }
.st-music-item.done { opacity: .5; }
.st-music-item.now { border-color: var(--ok); box-shadow: 0 0 0 1px var(--ok) inset; }
.st-music-main { display: flex; gap: .5rem; align-items: baseline; }
.st-music-mark { width: 1rem; color: var(--ok); flex-shrink: 0; }
.st-music-who { flex: 1; font-size: .98rem; line-height: 1.3; }
.st-music-item.now .st-music-who { font-weight: 700; }
.st-music-who small { color: var(--muted); }
.st-music-dur { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.st-music-item.now .st-music-dur { color: var(--ok); font-weight: 700; }
.st-music-type { font-size: .72rem; color: var(--muted); margin: .1rem 0 0 1.5rem; text-transform: uppercase; letter-spacing: .05em; }
.st-music-item .st-pool-act { margin: .35rem 0 0 1.5rem; }
.st-music-foot { font-size: .72rem; color: var(--muted); text-align: center; padding: .4rem 0; }
.st-music-time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .8rem; min-width: 2.6rem; }

/* ── Titel-Infos ── */
.st-ti-btn.has { border-color: var(--accent); }
.st-ti-btn.ok { border-color: var(--ok); color: var(--ok); }
.st-modal-box.st-ti { width: min(760px, 100%); }
.st-modal-box.st-ti h2 small { color: var(--muted); font-weight: 400; }
.st-ti-meta { margin: -.4rem 0 .8rem; }
.st-ti-badge { font-size: .75rem; border: 1px solid var(--line); border-radius: 999px; padding: .1rem .55rem; color: var(--muted); }
.st-ti-badge.ok { color: var(--ok); border-color: var(--ok); }
.st-ti-badge.warn { color: var(--warn); border-color: var(--warn); }
.st-ti-body h3 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 1rem 0 .35rem; }
.st-ti-body h3:first-child { margin-top: 0; }
.st-ti-line { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 .35rem; font-size: calc(1.02rem * var(--st-scale, 1)); line-height: 1.45; }
.st-ti-line span { flex: 1; }
.st-ti-line button { opacity: .35; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 5px; font-size: .72rem; padding: .05rem .3rem; cursor: pointer; flex-shrink: 0; }
.st-ti-line:hover button { opacity: 1; }
.st-ti-line button:disabled { color: var(--ok); opacity: 1; }
.st-ti-src { margin-top: .8rem; font-size: .78rem; color: var(--muted); }
.st-ti-src a { display: block; color: var(--muted); margin: .2rem 0 0 .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-ti-wait { animation: st-ti-pulse 1.6s ease-in-out infinite; }
@keyframes st-ti-pulse { 50% { opacity: .45; } }

/* ── Titel-Infos im Musikfach (statt Fenster) ── */
.st-pool.st-music { width: min(30rem, 94vw); }
.st-spin {
    display: inline-block; width: .8em; height: .8em; vertical-align: -.1em;
    border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%;
    animation: st-spin .8s linear infinite;
}
@keyframes st-spin { to { transform: rotate(360deg); } }
.st-ti-btn.busy { color: var(--muted); cursor: default; }
.st-ti-btn.fresh { border-color: var(--ok); color: var(--ok); font-weight: 700; }
.st-music-item.open { border-color: var(--accent); }
.st-ti-panel { margin: .5rem 0 0 1.5rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.st-ti-hint { font-size: .7rem; color: var(--muted); margin: .3rem 0 .2rem; }
.st-ti-h {
    font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
    margin: .6rem 0 .2rem; cursor: pointer; user-select: none;
}
.st-ti-lines .st-ti-h:first-child { margin-top: 0; }
.st-ti-l {
    display: flex; gap: .45rem; align-items: flex-start; padding: .2rem .3rem; border-radius: 5px;
    font-size: .92rem; line-height: 1.4; cursor: pointer; user-select: none;
}
.st-ti-l:hover { background: var(--panel-2); }
.st-ti-l.on { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.st-ti-box { color: var(--muted); flex-shrink: 0; }
.st-ti-l.on .st-ti-box { color: var(--accent); }
.st-ti-actions { margin-top: .55rem; }
.st-ti-actions .st-primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.st-ti-more button { font-size: .7rem; opacity: .85; }
.st-ti-panel .st-ti-src { margin-top: .5rem; font-size: .7rem; color: var(--muted); }
.st-ti-panel .st-ti-src a { display: inline; margin: 0; color: var(--muted); }
.st-ti-edit { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: .5rem; font: inherit; font-size: .85rem; }
.st-pool-act button.st-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.st-music-item .st-ti-panel .st-pool-act { margin-left: 0; }
.st-note-edit input, .st-note-edit textarea {
    width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line);
    border-radius: 6px; padding: .5rem .6rem; font: inherit; margin-top: .4rem;
}
.st-note-edit input { font-weight: 700; }
.st-note-edit textarea { font-size: calc(1rem * var(--st-scale, 1)); line-height: 1.45; }
#st-spick-back { margin-right: .4rem; }

/* ── Musikfach: Suche & Vorhören ── */
.st-music-search { display: flex; gap: .4rem; margin: .6rem .8rem 0; }
.st-music-search input {
    flex: 1; min-width: 0; background: var(--bg); color: var(--text); border: 1px solid var(--line);
    border-radius: 6px; padding: .45rem .6rem; font: inherit;
}
.st-music-search input:focus { border-color: var(--accent); outline: none; }
.st-music #st-music-scroll { padding-top: .6rem; }
.st-music-sec { display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: .2rem 0 .4rem; }
.st-music-sec .st-btn { padding: .1rem .45rem; font-size: .75rem; }
.st-music-player { display: none; border-top: 1px solid var(--line); padding: .6rem .8rem .8rem; background: var(--panel-2); }
.st-music-player.open { display: block; }
.st-player-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 700; margin-bottom: .4rem; }
.st-player-head .st-btn { padding: .1rem .45rem; }
.st-music-player audio { width: 100%; height: 34px; }
.st-mk-bar { position: relative; height: 14px; margin: .35rem 10px 0; border-radius: 3px; background: var(--line); }
.st-mk { position: absolute; top: -2px; width: 4px; height: 18px; margin-left: -2px; border-radius: 2px; cursor: pointer; background: var(--muted); }
.st-mk.ramp { background: var(--ok); }
.st-mk.hook { background: var(--accent); }
.st-mk.outro { background: var(--warn); }
.st-mk-legend { font-size: .7rem; color: var(--muted); margin-top: .3rem; }
.st-mk-bar { cursor: pointer; }
.st-mk-head { position: absolute; top: -3px; width: 2px; height: 20px; margin-left: -1px; background: var(--text); left: 0; pointer-events: none; }
#st-slot { min-width: 16rem; max-width: 26rem; }
#st-today { font-weight: 700; }

/* Interpreten-Info unter der Titel-Info */
.st-ti-art { margin-top: .6rem; border-top: 1px dashed var(--line); padding-top: .45rem; font-size: .85rem; }
.st-ti-art summary { cursor: pointer; color: var(--muted); font-size: .8rem; }
.st-ti-art[open] summary { margin-bottom: .3rem; }
.st-ti-art-body { max-height: 40vh; overflow-y: auto; }
.st-ti-art-l { padding: .1rem 0; line-height: 1.4; }
.st-ti-art-none { color: var(--muted); font-size: .8rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.st-ti-art-none button { font: inherit; }
/* Vorhören: eigene Bedienleiste (ohne Download/Geschwindigkeit) */
.st-ctl { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.st-ctl .st-pp { min-width: 2.6rem; }
.st-time { margin-left: auto; font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--muted); }

/* ══ Wetter ══════════════════════════════════════════════════ */
.st-wx-mini { display: flex; align-items: center; gap: .35rem; cursor: pointer; padding: .2rem .55rem; border-radius: 999px;
              border: 1px solid transparent; white-space: nowrap; font-size: .95rem; color: var(--text); }
.st-wx-mini:hover, .st-wx-mini.active { border-color: var(--line); background: var(--panel-2); }
.st-wx-mini b { font-variant-numeric: tabular-nums; }
.st-wx-mini .st-wx-loc { color: var(--muted); font-size: .85rem; }
.st-wx-mini.stale { opacity: .6; }
.st-wx-dot { font-size: .85rem; }
.st-wx-mini.lvl1 .st-wx-dot { color: #eab308; }
.st-wx-mini.lvl2 .st-wx-dot { color: #f97316; }
.st-wx-mini.lvl3 .st-wx-dot { color: #ef4444; }
.st-wx-mini.lvl4 .st-wx-dot { color: #c026d3; }
@media (max-width: 1100px) { .st-wx-mini .st-wx-loc { display: none; } }

/* Warnleiste unter der Kopfzeile (Farben nach DWD-Warnstufe) */
.st-wx-alert { display: none; }
.st-wx-alert.open { display: flex; align-items: center; gap: .6rem; padding: .35rem .9rem; font-size: .88rem; line-height: 1.35; }
.st-wx-alert .st-wx-al-txt { flex: 1; cursor: pointer; min-width: 0; }
.st-wx-alert .st-btn { padding: .1rem .5rem; background: transparent; border-color: currentColor; color: inherit; }
.st-wx-alert.lvl1 { background: #fde047; color: #1f1a00; }
.st-wx-alert.lvl2 { background: #fb923c; color: #1f0d00; }
.st-wx-alert.lvl3 { background: #dc2626; color: #fff; }
.st-wx-alert.lvl4 { background: #86198f; color: #fff; }

/* Wetterfach */
.st-wx-meta { font-weight: 400; color: var(--muted); font-size: .78rem; margin-left: .4rem; }
.st-wx-stale { color: var(--warn); }
.st-weather .st-pool-list { padding: .6rem .7rem; display: flex; flex-direction: column; gap: .6rem; }
.st-wx-foot { padding: .6rem .8rem; border-top: 1px solid var(--line); margin: 0; }
.st-wx-card { border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem; background: var(--panel-2); }
.st-wx-card.sel { border-color: var(--accent); }
.st-wx-head { display: flex; align-items: center; gap: .45rem; cursor: pointer; }
.st-wx-head strong { font-size: 1rem; }
.st-wx-check { color: var(--muted); }
.st-wx-card.sel .st-wx-check { color: var(--accent); }
.st-wx-main { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
              border: 1px solid var(--line); border-radius: 999px; padding: 0 .4rem; }
.st-wx-now { margin-left: auto; font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.st-wx-line { font-size: .8rem; color: var(--muted); margin: .2rem 0 .45rem; line-height: 1.4; }
.st-wx-parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; }
.st-wx-part { display: flex; flex-direction: column; align-items: center; gap: .05rem; background: var(--panel);
              border-radius: 8px; padding: .3rem .2rem; font-size: .9rem; }
.st-wx-part small { font-size: .68rem; color: var(--muted); text-align: center; line-height: 1.15; }
.st-wx-part .st-wx-pop { color: var(--abmod); }
.st-wx-days { display: flex; gap: .8rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-top: .45rem; }
.st-wx-err { font-size: .75rem; color: var(--warn); }
.st-wx-warn { border-radius: 10px; padding: .5rem .7rem; font-size: .85rem; line-height: 1.4; }
.st-wx-warn summary { cursor: pointer; display: flex; flex-direction: column; gap: .1rem; }
.st-wx-warn summary small { font-weight: 400; opacity: .85; }
.st-wx-warn p { margin: .45rem 0 0; }
.st-wx-warn .st-wx-instr { font-style: italic; }
.st-wx-warn .st-pool-act { margin: .5rem 0 0; }
.st-wx-warn.lvl1 { background: color-mix(in srgb, #fde047 30%, var(--panel)); border: 1px solid #eab308; }
.st-wx-warn.lvl2 { background: color-mix(in srgb, #fb923c 30%, var(--panel)); border: 1px solid #f97316; }
.st-wx-warn.lvl3 { background: color-mix(in srgb, #dc2626 30%, var(--panel)); border: 1px solid #dc2626; }
.st-wx-warn.lvl4 { background: color-mix(in srgb, #86198f 35%, var(--panel)); border: 1px solid #c026d3; }
/* Wetter-Element in der Laufliste */
.st-b-wx { --c: #0284c7; }
.st-wx-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .3rem 0 .8rem; }
.st-wx-chip { font: inherit; font-size: .82rem; padding: .2rem .6rem; border-radius: 999px; border: 1px solid var(--line);
              background: transparent; color: var(--muted); cursor: pointer; }
.st-wx-chip.on { border-color: #0284c7; color: var(--text); background: color-mix(in srgb, #0284c7 18%, transparent); }
.st-wx-extra { margin-top: .6rem; }
.st-wx-item-act { margin: .9rem 0 0; }
.st-wx-item-act small { opacity: .7; margin-left: .2rem; }
/* Vertonen einzelner Bausteine */
.st-b-tts { float: right; font: inherit; font-size: .8rem; line-height: 1; padding: .2rem .45rem; border-radius: 6px; cursor: pointer;
            background: transparent; border: 1px solid var(--line); color: var(--muted); letter-spacing: 0; text-transform: none; }
.st-b-tts:hover { border-color: var(--accent); color: var(--text); }
/* Vertonen: Aktion links unter dem Text/Abschnitt (wie beim Wetter) */
.st-tts-act { margin: .7rem 0 0; justify-content: flex-start; }
.st-tts-all { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px dashed var(--line); }
/* Nachrichtenblock im Studio */
.st-nb-head { font-size: .9rem; color: var(--muted); margin-bottom: .8rem; }
.st-nb-head b { color: var(--text); }
.st-nb-ok { color: var(--ok); } .st-nb-draft { color: var(--warn); }
.st-b-nb { --c: #1e40af; }
.st-b-nb-intro .st-b-text { font-weight: 600; }
.st-nb-s { float: right; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .75; }
.st-nb-tts { font-size: .8rem; color: var(--ok); display: flex; gap: .5rem; align-items: center; margin-top: .4rem; }
.st-nb-tts audio { height: 28px; max-width: 260px; }

/* ── Musikplanung aus mAirList (studio-mairlist.js) ─────────── */
.st-ml-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: .35rem .8rem; border-bottom: 1px solid var(--line); font-size: .8rem; }
.st-ml-bar .st-btn { font-size: .8rem; padding: .3rem .55rem; }
.st-ml-bar.on { background: color-mix(in srgb, var(--muted) 8%, transparent); }
.st-ml-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.st-ml-seg button { background: transparent; border: 0; color: var(--muted); font: inherit; font-size: .75rem; padding: .28rem .5rem; cursor: pointer; }
.st-ml-seg button + button { border-left: 1px solid var(--line); }
.st-ml-seg button.active { background: var(--panel-2); color: var(--text, inherit); font-weight: 700; }
.st-ml-state { color: var(--muted); font-size: .75rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 8rem; }
.st-ml-err { color: var(--warn); }

.st-ml-row {
    display: grid;
    grid-template-columns: 3.2rem 1.6rem minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .4rem;
    padding: .22rem 1rem;
    border-left: 4px solid transparent;
    font-size: .85rem;
    color: var(--muted);
    cursor: default;
}
.st-ml-row .st-rd-name { font-style: italic; }
.st-ml-row .st-rd-icon { opacity: .75; }
.st-ml-row.fix { color: inherit; border-left-color: color-mix(in srgb, var(--muted) 45%, transparent); }
.st-ml-row.fix .st-rd-name { font-style: normal; font-weight: 600; }
.st-ml-row.drop { opacity: .5; }
.st-ml-row.drop .st-rd-name { text-decoration: line-through; }
.st-ml-flag { font-size: .72rem; color: var(--muted); }
.st-ml-ramp { font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .72rem; }
.st-ml-cmt { font-style: normal; font-size: .7rem; }

.st-ml-badge { font-size: .68rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 .4rem; }
.st-ml-badge.over { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 50%, transparent); }

.st-ml-rest-head {
    padding: .4rem 1rem .15rem;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
}
.st-ml-rest-head:hover { color: inherit; }
.st-ml-rest-head small { text-transform: none; letter-spacing: 0; margin-left: .3rem; }

/* ── Feste Werkzeugleiste über der Laufliste ───────────────── */
.st-rundown { scroll-padding-top: calc(var(--st-rd-top, 0px) + 2.4rem); }
.st-rd-sticky {
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--panel);
    box-shadow: 0 1px 0 var(--line), 0 4px 8px -6px rgba(0, 0, 0, .35);
    container-type: inline-size;
}
.st-rd-sticky .st-rd-tools { padding: .3rem .6rem; gap: .3rem; border-bottom: 0; }
.st-rd-sticky .st-ml-bar { padding: .25rem .6rem; border-bottom: 0; border-top: 1px solid var(--line); }
.st-rd-sticky .st-edit-hint { padding: .25rem .8rem; border-bottom: 0; }
/* Schmale Spalte (kleine Monitore): nur Symbole, Beschriftung steht im Tooltip */
@container (max-width: 430px) {
    .st-rd-sticky .st-lbl { display: none; }
    .st-rd-sticky .st-edit-hint { display: none; }
    .st-rd-sticky .st-ml-state { flex-basis: 100%; }
}

/* Musikplanung: Abgleich mit der Live-Playlist */
.st-ml-row.live .st-rd-name { font-style: normal; }
.st-ml-row.done { opacity: .4; }
.st-ml-row.playing {
    color: inherit;
    border-left-color: var(--accent);
    /* Abspielposition: gefüllter Teil wächst von links nach rechts (--p = 0…1, jede Sekunde gesetzt) */
    background: linear-gradient(to right,
        color-mix(in srgb, var(--accent) 26%, transparent) 0,
        color-mix(in srgb, var(--accent) 26%, transparent) calc(var(--p, 0) * 100%),
        color-mix(in srgb, var(--accent) 6%, transparent) calc(var(--p, 0) * 100%));
}
.st-ml-row.playing .st-rd-dur { color: var(--accent); font-weight: 700; }
.st-ml-row.playing .st-rd-time, .st-ml-row.playing .st-rd-icon { color: var(--accent); font-weight: 800; opacity: 1; }
.st-ml-badge.live { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.st-ml-live { color: var(--ok); }

/* Von mAirList übersprungene Titel (Backtiming/Fixzeit) */
.st-music-item.skipped { opacity: .45; }
.st-music-item.skipped .st-music-who { text-decoration: line-through; }
.st-music-item.skipped .st-music-mark { color: var(--muted); }

/* Wetter: Abschnitte mit Überschrift, Modus-Umschalter, Auswahl der Formulierung */
.st-wx-sec + .st-wx-sec { margin-top: .75em; }
.st-wx-sec-h { font-weight: 800; font-size: .78em; letter-spacing: .02em; margin-bottom: .15em; }
.st-wx-sec-warn .st-wx-sec-h { color: #dc2626; }
.st-wx-modes { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: .1rem 0 .5rem; }
.st-wx-modes button { font: inherit; font-size: .8rem; padding: .22rem .7rem; border: none; background: transparent; color: var(--muted); cursor: pointer; }
.st-wx-modes button + button { border-left: 1px solid var(--line); }
.st-wx-modes button.on { background: color-mix(in srgb, #0284c7 20%, transparent); color: var(--text); font-weight: 600; }
.st-wx-spk { font-size: .75rem; opacity: .75; margin-left: .35rem; }
.st-wx-pick { display: flex; flex-direction: column; gap: .5rem; max-height: 65vh; overflow: auto; margin: .6rem 0; }
.st-wx-pick-opt { display: flex; gap: .7rem; text-align: left; font: inherit; font-size: .92rem; line-height: 1.45; color: var(--text);
    background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; cursor: pointer; }
.st-wx-pick-opt:hover { border-color: #0284c7; }
.st-wx-pick-opt.on { border-color: #0284c7; background: color-mix(in srgb, #0284c7 10%, transparent); }
.st-wx-pick-n { font-weight: 800; opacity: .6; min-width: 1.2rem; }
.st-nb-wxsec .st-wx-sec-h { font-size: .8em; }

/* ── Verkehr ─────────────────────────────────────────────────── */
.st-tr-mini { display: flex; align-items: center; gap: .3rem; cursor: pointer; padding: .2rem .55rem; border-radius: 999px;
    border: 1px solid transparent; white-space: nowrap; }
.st-tr-mini:hover, .st-tr-mini.active { border-color: var(--line); background: var(--panel-2); }
.st-tr-mini b { font-variant-numeric: tabular-nums; }
.st-tr-mini.hot b { color: #ef4444; }
.st-tr-mini.stale { opacity: .6; }
.st-tr-row { display: flex; gap: .55rem; align-items: flex-start; padding: .45rem .55rem; border: 1px solid var(--line);
    border-left: 4px solid var(--line); border-radius: 8px; font-size: .9rem; line-height: 1.35; }
.st-tr-row.k-unfall, .st-tr-row.k-sperrung { border-left-color: #ef4444; }
.st-tr-row.k-stau { border-left-color: #f97316; }
.st-tr-row.k-gefahr, .st-tr-row.k-wetter, .st-tr-row.k-einschraenkung { border-left-color: #eab308; }
.st-tr-row.k-baustelle { border-left-color: #64748b; }
.st-tr-ico { font-size: 1.05rem; line-height: 1.2; }
.st-tr-txt { flex: 1; min-width: 0; }
.st-tr-dir { color: var(--muted); }
.st-tr-ev { color: var(--muted); font-size: .8rem; margin-top: .1rem; }
.st-tr-src { font-size: .65rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 .25rem; }
.st-tr-foot { font-size: .72rem; color: var(--muted); text-align: right; }
.st-tr-picks { display: flex; flex-direction: column; gap: .2rem; margin: .2rem 0 .8rem; }
.st-tr-pick { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted); cursor: pointer; }
.st-tr-pick.on { color: var(--text); }
.st-tr-pick small { opacity: .75; }
.st-tr-aihint { font-size: .78rem; color: var(--muted); margin-top: .4rem; }
/* Verkehrs-Element: Auswahl als Akkordeon, damit der Text ohne Scrollen sichtbar bleibt */
.st-tr-acc { margin: .1rem 0 .7rem; border: 1px solid var(--line); border-radius: 8px; padding: .3rem .6rem; }
.st-tr-acc > summary { cursor: pointer; font-size: .82rem; color: var(--muted); list-style: none; display: flex; gap: .4rem; align-items: center; }
.st-tr-acc > summary::-webkit-details-marker { display: none; }
.st-tr-acc > summary::before { content: "▸"; transition: transform .15s; }
.st-tr-acc[open] > summary::before { transform: rotate(90deg); }
.st-tr-acc > summary b { color: var(--text); }
.st-tr-acc .st-tr-picks { margin: .45rem 0 .2rem; max-height: 40vh; overflow: auto; }
/* Verkehrsfach: Quelle + Ignorieren */
.st-tr-side { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.st-tr-ign { background: none; border: 1px solid transparent; border-radius: 5px; cursor: pointer; font-size: .8rem; padding: 0 .2rem;
    opacity: .35; color: var(--text); }
.st-tr-row:hover .st-tr-ign, .st-tr-ign:focus { opacity: 1; border-color: var(--line); }
.st-tr-ignored { margin-top: .6rem; font-size: .82rem; }
.st-tr-ignored > summary { cursor: pointer; color: var(--muted); margin-bottom: .4rem; }
.st-tr-ignored .st-tr-row { margin-bottom: .35rem; }
.st-tr-ignored .st-tr-ign { opacity: 1; }

/* Taste N: Nachrichtenblock einfügen */
.st-nbp-list { display: flex; flex-direction: column; gap: .45rem; max-height: 65vh; overflow: auto; margin: .6rem 0; }
.st-nbp-h { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: .4rem; }
.st-nbp-row { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; }
.st-nbp-row.here { opacity: .75; }
.st-nbp-main { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: .15rem; }
.st-nbp-main small { color: var(--muted); font-size: .78rem; }
.st-nbp-act { display: flex; gap: .4rem; align-items: center; }
.st-nbp-act select, .st-nbp-act input { font: inherit; font-size: .85rem; padding: .25rem .4rem; border: 1px solid var(--line);
    border-radius: 6px; background: var(--panel); color: var(--text); }
.st-nbp-act input { width: 3.4rem; }
.st-nbp-new { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--line); font-size: .85rem; }
.st-nbp-new small { flex-basis: 100%; color: var(--muted); font-size: .75rem; }

/* ── Kopfleiste: nie überlappen ─────────────────────────────── */
.st-top { overflow: hidden; }
.st-top > * { flex-shrink: 0; }
.st-top > .st-spacer { flex-shrink: 1; min-width: 0; }
.st-show { flex-shrink: 1; min-width: 16rem; }
#st-slot { min-width: 0; width: 100%; max-width: 26rem; text-overflow: ellipsis; }
.st-tools { flex-wrap: nowrap; }
/* Stufe 1: Beschriftungen der Werkzeug-Knöpfe weg (Symbole bleiben, Tooltips erklären) */
.st-top.fit1 .st-tools .st-lbl { display: none; }
.st-top.fit1 { gap: .7rem; }
.st-top.fit1 .st-tools { gap: .35rem; }
/* Stufe 2: Ortsname beim Wetter, „bis 22:00“ und Uhr klein weg, Sendungsauswahl schmaler */
.st-top.fit2 .st-wx-mini .st-wx-loc, .st-top.fit2 .st-hc-label, .st-top.fit2 .st-clock-mini { display: none; }
.st-top.fit2 #st-slot { max-width: 18rem; }
.st-top.fit2 .st-show { min-width: 11rem; }
/* Stufe 3: Schriftgrößen-Leiste kompakter */
.st-top.fit3 .st-font button { min-width: 1.5rem; padding: .3rem .3rem; }
.st-top.fit3 #st-slot { max-width: 14rem; }
.st-top.fit3 .st-back { display: none; }

/* Stau-Regler im Verkehrsfach */
.st-tr-km { display: flex; align-items: center; gap: .6rem; padding: .45rem .8rem; border-bottom: 1px solid var(--line);
    font-size: .82rem; color: var(--muted); }
.st-tr-km input[type=range] { flex: 1; min-width: 0; accent-color: #f97316; }
.st-tr-km b { min-width: 4.5em; text-align: right; color: var(--text, inherit); }
.st-tr-row.off { opacity: .45; }
.st-tr-shorthead { font-size: .74rem; color: var(--muted); margin: .6rem 0 .1rem; text-transform: uppercase; letter-spacing: .03em; }
.st-tr-mini small { font-weight: 400; opacity: .8; }

/* ── Schlanke Scrollleisten (dünne Linie, ohne Pfeile, Spur unsichtbar) ──
   Chrome/Edge/Safari: ::-webkit-scrollbar · Firefox: scrollbar-width/-color.
   Beides nicht mischen – sonst ignoriert Chrome die feinen Einstellungen. */
:root { --sc-thumb: color-mix(in srgb, var(--muted) 45%, transparent);
        --sc-thumb-hover: color-mix(in srgb, var(--muted) 85%, transparent); }

@supports selector(::-webkit-scrollbar) {
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
    ::-webkit-scrollbar-thumb { background: var(--sc-thumb); border-radius: 6px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--sc-thumb-hover); }
    ::-webkit-scrollbar-button { display: none; height: 0; width: 0; }
}
@supports not selector(::-webkit-scrollbar) {
    * { scrollbar-width: thin; scrollbar-color: var(--sc-thumb) transparent; }
}

/* Abgriffspunkt (Studio) – welche mAirList-Playlist gezeigt wird */
.st-src {
    background: var(--panel-2);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .45rem .6rem;
    font: inherit;
    font-size: .92rem;
    max-width: 12rem;
    min-width: 0;
    margin-left: .4rem;
    cursor: pointer;
}
.st-src-tag { font-weight: 400; color: var(--muted); font-size: .8em; }
@media (max-width: 900px) { .st-src { max-width: 8rem; font-size: .85rem; } }

/* ── „Aktuelles & Konzerte“ zum Interpreten (api.js) ── */
.oap-live { margin-top: .7rem; border: 1px solid var(--border, var(--line)); border-radius: 8px; padding: .45rem .7rem;
    background: color-mix(in srgb, #0ea5e9 6%, transparent); }
.oap-live > summary { cursor: pointer; font-weight: 600; font-size: .88rem; }
.oap-live-body { margin-top: .4rem; font-size: .88rem; line-height: 1.45; }
.oap-live-h { font-weight: 800; font-size: .75rem; letter-spacing: .03em; text-transform: uppercase;
    color: var(--text-muted, var(--muted)); margin: .6rem 0 .15rem; }
.oap-live-h:first-child { margin-top: .1rem; }
.oap-live-l { margin: .1rem 0; }
.oap-live-meta, .oap-live-hint { font-size: .75rem; color: var(--text-muted, var(--muted)); margin-top: .5rem; }
.oap-live-err { font-size: .8rem; color: var(--danger, #dc2626); margin-bottom: .3rem; }
.oap-live-src { font-size: .75rem; margin-top: .3rem; }
.oap-live-src summary { cursor: pointer; color: var(--text-muted, var(--muted)); }
.oap-live-src a { display: block; margin: .15rem 0 0 .8rem; color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oap-live-act { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
.oap-live-act button { font: inherit; font-size: .8rem; padding: .25rem .6rem; border-radius: 6px; cursor: pointer;
    border: 1px solid var(--border, var(--line)); background: transparent; color: inherit; }
.oap-live-act button:hover { border-color: var(--primary, var(--accent)); }
.oap-live-spin { display: inline-block; width: .8em; height: .8em; border: 2px solid currentColor; border-right-color: transparent;
    border-radius: 50%; animation: oap-live-spin .8s linear infinite; vertical-align: -.1em; }
@keyframes oap-live-spin { to { transform: rotate(360deg); } }

/* Wetterfach & Formulierungs-Auswahl: Karten nie stauchen, sonst ist unten nichts mehr erreichbar */
.st-pool-list { min-height: 0; overscroll-behavior: contain; }
.st-weather .st-pool-list > *, .st-wx-pick > * { flex-shrink: 0; }

/* Musikfach: Stundenbeginn/-ende als schmale Trennlinie statt als Karte */
.st-music-marker { display: flex; align-items: center; gap: .6rem; margin: .5rem 0 .6rem; font-size: .75rem;
    color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.st-music-marker::after { content: ""; flex: 1; border-top: 1px dashed var(--line); }
.st-music-marker span { font-variant-numeric: tabular-nums; min-width: 2.6rem; }
.st-music-marker.done { opacity: .5; }

/* Notiz-Kachel (z.B. Musik-Moderation): der Text IST der Inhalt – normal dunkel statt blass */
.st-b-note.st-note-main { opacity: 1; }
.st-b-note.st-note-main .st-b-text { color: var(--text); }

/* Nachrichten-Teaser im Studio */
.st-b-teaser { border-left: 3px solid #f5a623; }
.st-tz-b { background: none; border: 1px solid currentColor; border-radius: 6px; color: inherit; cursor: pointer; padding: 0 .4rem; font: inherit; opacity: .8; }

/* Aufnahmefenster und Fassungen im Studio: Variablen und Knöpfe der App nachbilden */
.rec-ov, .st-modal-box .tts { --surface: var(--panel); --surface-2: var(--panel-2); --border: var(--line); --text-muted: var(--muted);
    --primary: var(--accent); --danger: var(--hot); --warning: var(--warn); --success: #22c55e;
    --warning-bg: color-mix(in srgb, var(--warn) 18%, transparent); --shadow-md: 0 12px 36px rgba(0,0,0,.45); }
.rec-ov .btn { font: inherit; font-size: .85rem; padding: .3rem .7rem; border-radius: 8px; cursor: pointer;
    border: 1px solid var(--line); background: transparent; color: var(--text); }
.rec-ov .btn:hover:not(:disabled) { border-color: var(--muted); }
.rec-ov .btn:disabled { opacity: .5; cursor: default; }
.rec-ov .btn-xs { font-size: .78rem; padding: .2rem .5rem; }
.rec-ov select, .rec-ov input { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; }
.tts-air-f { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; margin-top: .5rem; padding: .5rem;
    border-radius: 8px; background: var(--panel-2); font-size: .85rem; }
.tts-air-f label { display: flex; flex-direction: column; gap: .2rem; }
.tts-air-f input { min-width: 16rem; }
.tts-air-f .tts-meta { flex-basis: 100%; margin: 0; }


/* ── Umstellen: prägnanter Button rechts oben in der Laufliste ── */
.st-ml-bar .st-edit-main, .st-edit-main {
    order: 5; margin-left: auto; font-weight: 700; white-space: nowrap;
    border-color: var(--accent); color: var(--accent); padding: .3rem .75rem;
}
.st-edit-main:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.st-edit-main.active { background: var(--accent); color: #fff; }
.st-ml-bar-only { justify-content: flex-end; }
@container (max-width: 430px) {
    .st-rd-sticky .st-ml-state { order: 6; }
}

/* ── An Musiktitel gebundene Elemente ── */
.st-ml-row.st-ml-target { cursor: copy; }
.st-ml-row.st-ml-target:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.st-ml-row.st-drop { background: color-mix(in srgb, var(--accent) 12%, transparent); box-shadow: inset 0 -4px 0 var(--accent); color: var(--text, inherit); }
.st-anc { font-size: .75em; opacity: .85; }
.st-anc.off { opacity: .4; }
.st-anc.moved { color: var(--warn); opacity: 1; font-weight: 700; }
.st-rh-anc { font-size: .8rem; color: var(--muted); }
.st-plan-act { margin: 1.2rem 0 .4rem; }
.st-plan-act button { font-size: .95rem; padding: .45rem .9rem; font-weight: 600; }

/* 📻 Takes des Beitrags aus mAirList */
.st-mlt { padding: .55rem .75rem; }
.st-mlt-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.st-mlt-body { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.st-mlt-muted { opacity: .65; font-size: .85em; }
.st-mlt-chip {
    border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit;
    padding: .15rem .6rem; font-size: .82em; cursor: pointer; opacity: .85;
}
.st-mlt-chip:hover { opacity: 1; }
.st-mlt-btn { padding: .2rem .55rem; font-size: .82em; }
.st-mlt-form:empty { display: none; }
.st-mlt-form { margin-top: .5rem; }
.st-mlt-f { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; font-size: .9em; }
.st-mlt-f label { display: inline-flex; align-items: center; gap: .35rem; }
.st-mlt-player { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.st-mlt-player audio { flex: 1; min-width: 220px; }

/* „Nachrichtenblock einfügen“: Stunde : Minute in allen Zeilen bündig */
.st-nbp-act select { width: 9rem; font-variant-numeric: tabular-nums; }
.st-nbp-act label { display: inline-flex; align-items: center; gap: .25rem; font-weight: 700; line-height: 1; }
.st-nbp-act input { font-variant-numeric: tabular-nums; text-align: center; }
/* Die allgemeine Modal-Regel (.st-modal-box label: Spalte, Abstand unten) stellte den „:“ über das Feld */
.st-modal-box .st-nbp-act label { flex-direction: row; flex: none; margin: 0; font-size: 1rem; color: var(--text); }
.st-modal-box .st-nbp-act select, .st-modal-box .st-nbp-act input { padding: .35rem .45rem; font-size: .9rem; height: 2.1rem; box-sizing: border-box; }
.st-modal-box .st-nbp-act input { width: 3.4rem; }
.st-modal-box .st-nbp-act .st-primary { height: 2.1rem; }

/* Einzelbeiträge aus dem Seitenfach in die Laufliste ziehen */
.st-pool-item[draggable="true"] { cursor: grab; }
.st-pool-item[draggable="true"] :is(button, select, input, audio) { cursor: auto; }
.st-pool-item.dragging { opacity: .5; }
.st-rundown.st-pool-target { outline: 2px dashed var(--accent); outline-offset: -4px; }

/* Teaser (Moderation) und Nachrichten (Sprecher) deutlich getrennt */
.st-b-teaser { background: color-mix(in srgb, #f5a623 9%, var(--panel)); }
.st-tz-who { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #b7791f; margin-bottom: .2rem; }
.st-nb-switch { display: flex; align-items: center; gap: .6rem; margin: .7rem 0 .5rem; font-size: .8rem; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase; color: var(--accent, #e63946); }
.st-nb-switch::before, .st-nb-switch::after { content: ""; flex: 1; height: 2px; background: currentColor; opacity: .55; }
.st-nb-switch small { text-transform: none; font-weight: 600; letter-spacing: 0; opacity: .8; }

/* Takes von unterwegs */
.st-field-btn { position: relative; }
.stf-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: var(--muted); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; }
.stf-badge.urgent { background: #e63946; }
.stf-badge[hidden], .stf-badge:empty { display: none; }   /* leerer Zähler: kein grauer Punkt (display:grid würde „hidden“ überstimmen) */
.stf-q { width: 100%; font: inherit; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); margin-bottom: .7rem; }
.stf-list { display: flex; flex-direction: column; gap: .6rem; max-height: 65vh; overflow-y: auto; }
.stf-row { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; background: var(--panel); }
.stf-row.urgent { border-left: 4px solid #e63946; }
.stf-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.stf-meta { color: var(--muted); font-size: .8rem; }
.stf-flag { background: #e63946; color: #fff; font-size: .7rem; font-weight: 800; padding: .05rem .45rem; border-radius: 999px; }
.stf-file { color: var(--muted); font-size: .78rem; margin-top: .15rem; word-break: break-all; }
.stf-note { font-size: .85rem; margin-top: .3rem; padding: .3rem .5rem; border-radius: 6px; background: var(--panel-2, rgba(127,127,127,.12)); white-space: pre-wrap; }
.stf-act { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .45rem; }
.stf-act audio { flex: 1 1 260px; height: 34px; }
.stf-status { font-size: .8rem; margin-top: .35rem; }
.stf-ok { color: #2f9e5b; }

.stf-air-f { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; margin-top: .5rem; padding: .5rem .6rem; border-radius: 8px;
    background: var(--panel-2, rgba(127,127,127,.12)); }
.stf-air-f label { display: flex; flex-direction: column; gap: .2rem; font-size: .75rem; color: var(--muted); flex: 1 1 200px; margin: 0; }
.stf-air-f select, .stf-air-f input { font: inherit; font-size: .88rem; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--text); }
.stf-air-msg { flex-basis: 100%; margin: .2rem 0 0; font-size: .8rem; color: var(--muted); }
.stf-air-msg:empty { display: none; }

/* Einfügen in die Live-Playlist: Ziel, Befehlselement, Stelle (gemeinsam für alle Dialoge) */
.oap-ins { display: contents; }
.oap-ins label { display: flex; flex-direction: column; gap: .2rem; font-size: .75rem; color: var(--muted); }
.oap-ins .oap-ins-pl { flex: 1 1 320px; }
.oap-ins .oap-ins-cl { flex-direction: row; align-items: center; gap: .4rem; font-size: .85rem; color: var(--text); align-self: center; }
.oap-ins select { font: inherit; font-size: .88rem; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 6px;
    background: var(--panel); color: var(--text); font-variant-numeric: tabular-nums; max-width: 100%; }
.oap-ins-h { flex-basis: 100%; margin: 0; font-size: .78rem; color: var(--muted); }
.oap-ins-h:empty { display: none; }

/* ── ⏳ Vorgemerkte Einschübe (Stunden, die mAirList noch nicht geladen hat) ── */
.st-aq-row { display: grid; grid-template-columns: 3.4rem 1.6rem 1fr auto auto; gap: .4rem; align-items: center;
    margin: 0 0 1px 1.4rem; padding: .28rem .5rem; font-size: .86rem; border: 1px dashed var(--accent);
    border-radius: 6px; background: color-mix(in srgb, var(--accent) 7%, transparent); cursor: pointer; }
.st-aq-row small { color: var(--muted); }
.st-aq-row .st-aq-st { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.st-aq-row.ready { border-style: solid; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.st-aq-row.ready .st-aq-st { color: var(--accent); font-weight: 600; }
.st-aq-row.missing, .st-aq-row.missed, .st-aq-row.offline { border-color: #d98b00; background: color-mix(in srgb, #d98b00 12%, transparent); }
.st-aq-row.gone { opacity: .55; }
.st-aq-badge { cursor: pointer; padding: 0 .25rem; border-radius: 4px; border: 1px dashed var(--accent); font-size: .72rem; }
.st-aq-badge.ready { border-style: solid; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.st-aq-badge.missing, .st-aq-badge.missed, .st-aq-badge.offline { border-color: #d98b00; }
.st-aq-btn.ready { background: var(--accent); border-color: var(--accent); color: #fff; animation: st-aq-pulse 2s ease-in-out infinite; }
.st-aq-btn.bad:not(.ready) { border-color: #d98b00; }
@keyframes st-aq-pulse { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); } }
@media (prefers-reduced-motion: reduce) { .st-aq-btn.ready { animation: none; } }
.st-aq-banner { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: .35rem 0 .2rem; padding: .5rem .7rem;
    border-radius: 8px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--bg, transparent)); font-size: .9rem; }
.st-aq-banner > span { flex: 1 1 16rem; }
.st-aq-act { margin-top: .35rem; align-items: center; }
.st-aq-cmdf { display: inline-flex; flex-wrap: wrap; gap: .3rem; }
.st-aq-cmdf select { max-width: 24rem; }
.st-aq-modal h4 { margin: 1rem 0 .4rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.st-aq-line { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .6rem; border: 1px solid var(--border, rgba(127,127,127,.25));
    border-radius: 8px; margin-bottom: .4rem; }
.st-aq-line.ready { border-color: var(--accent); }
.st-aq-line.missing, .st-aq-line.missed, .st-aq-line.offline { border-color: #d98b00; }
.st-aq-line.done { opacity: .65; }
.st-aq-line input[type=checkbox] { margin-top: .2rem; width: 1.1rem; height: 1.1rem; }
.st-aq-body { flex: 1; min-width: 0; }
.st-aq-body small { color: var(--muted); }
.st-aq-meta { font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.st-aq-err { font-size: .8rem; color: #d98b00; margin-top: .2rem; }
.st-aq-fix { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.st-aq-fix select { max-width: 100%; }
.st-aq-foot { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .8rem; }
.st-aq-foot small { color: var(--muted); flex: 1 1 14rem; }

/* OnAirWerk-Sitzung (Support/Einrichtung): kleines Schild unten links statt Leiste – das Studio-Layout bleibt unverändert */
.support-banner { position: fixed; left: .6rem; bottom: .6rem; z-index: 3000; display: flex; align-items: center; gap: .6rem;
    background: #c1121f; color: #fff; border-radius: 8px; padding: .35rem .5rem .35rem .75rem; font: 600 .8rem system-ui, sans-serif;
    box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.support-banner button { background: #fff; color: #c1121f; border: 0; border-radius: 6px; padding: .15rem .6rem; font-weight: 700; cursor: pointer; }

/* Bahn im Verkehrsfach */
.st-tr-row.k-bahn { border-left-color: #3b82f6; }
.st-tr-row.k-bahn.hot { border-left-color: #ef4444; }

/* ── Teile mehrteiliger Beiträge ── */
.st-part-badge {
    display: inline-block; font-size: .7rem; font-weight: 800; padding: 0 .35rem; margin-left: .25rem;
    border-radius: 4px; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); vertical-align: 1px;
}
.st-part-badge.gone { background: color-mix(in srgb, var(--warn) 25%, transparent); color: var(--warn); }
.st-rh-part { font-weight: 800; color: var(--accent); font-size: 1rem; margin-top: .15rem; letter-spacing: .02em; }
.st-part-pick { font-size: .78rem; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 4px; padding: .05rem .3rem; }
.st-part-info { font-size: .85rem; color: var(--muted); padding: .35rem .6rem; border-left: 3px solid var(--accent); margin-bottom: .6rem; }
.st-part-sep {
    margin: 1.2rem 0 .5rem; padding: .35rem .6rem; font-weight: 800; font-size: .85rem; letter-spacing: .03em;
    text-transform: uppercase; color: var(--accent); border-left: 5px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.st-b-teaser { --c: var(--accent); border-left: 3px dashed var(--accent); }
.st-b-teaser .st-b-text { font-style: italic; }
.st-pool-part { font-size: .8rem; max-width: 100%; margin-right: .3rem; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 4px; }

/* ── ✂ Beitrag im Studio teilen ── */
.st-split {
    display: flex; align-items: center; gap: .5rem; margin: .5rem 0; padding: .3rem .2rem; cursor: grab;
    color: var(--accent); font-weight: 700; font-size: .85rem; user-select: none;
}
.st-split:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: 6px; }
.st-split-line { flex: 1; border-top: 2px dashed var(--accent); }
.st-split-txt { white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; }
.st-split-hint {
    display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .9rem; margin-bottom: .6rem;
    padding: .45rem .7rem; border: 1px dashed var(--accent); border-radius: 6px; background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.st-split-hint .st-btn { margin-left: auto; }
.st-split-dragging .st-rd-item { outline: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: -2px; }
.st-rd-item.st-split-over { background: color-mix(in srgb, var(--accent) 25%, transparent); box-shadow: inset 0 -3px 0 var(--accent); }
.st-split-sum { margin: 0 0 .8rem; color: var(--muted); }
.st-split-places { display: flex; flex-direction: column; gap: .35rem; margin: .6rem 0 .2rem; }
.st-split-ph { font-weight: 700; font-size: .85rem; margin-bottom: .1rem; }
.st-split-opt { display: flex !important; flex-direction: row !important; align-items: center; gap: .45rem; font-weight: 400 !important; cursor: pointer; }
.st-split-opt select { width: auto !important; display: inline-block; }
.st-btn.on { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Lange drücken = verschieben ── */
.st-rd-item.st-lp-press { position: relative; }
.st-rd-item.st-lp-press::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent);
    animation: st-lp-fill 1.5s linear forwards;
}
@keyframes st-lp-fill { to { width: 100%; } }
.st-rd-item.st-lp-ready { background: color-mix(in srgb, var(--accent) 22%, var(--panel-2)); box-shadow: inset 4px 0 0 var(--accent); cursor: grabbing; }
.st-lp-dragging .st-rd-item, .st-lp-dragging .st-rd-hour, .st-lp-dragging .st-rd-untimed { outline: 1px dashed color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: -2px; }
.st-lp-dragging .st-drop { background: color-mix(in srgb, var(--accent) 25%, transparent); }

/* ── Einzelmeldungen (Taste N → 🗒 Einzelmeldungen, Element „Meldung“) – 4.123.0 ── */
.st-nbp-tabs { margin: .2rem 0 .4rem; }
.st-dkp-q { width: 100%; box-sizing: border-box; font: inherit; font-size: .9rem; padding: .4rem .6rem; border: 1px solid var(--line);
    border-radius: 8px; background: var(--panel-2); color: var(--text); }
.st-dk-row { align-items: flex-start; }
.st-dk-prev { font-size: .85rem; color: var(--text); opacity: .85; line-height: 1.4; cursor: pointer; margin-top: .2rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-dk-prev.open { display: block; -webkit-line-clamp: unset; }
.st-dk-warn { font-size: .78rem; color: var(--warn); display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.st-dk-oas { display: flex; flex-wrap: wrap; gap: .3rem; }
.st-dk-oa { display: inline-flex; align-items: center; gap: .25rem; font-size: .78rem; padding: .1rem .45rem; border-radius: 999px;
    border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.st-dk-oa small { opacity: .8; font-size: .9em; }
.st-dk-oa.done { border-color: color-mix(in srgb, var(--ok) 55%, transparent); color: var(--ok); }
.st-dk-oa.plan { border-color: color-mix(in srgb, var(--warn) 50%, transparent); color: var(--warn); }
.st-dk-oa.next { border-style: dashed; }
.st-dk-oa.none { border: none; padding-left: 0; }
.st-dk-oaline { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin: .2rem 0 .7rem; }
.st-dk-oah { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.st-dk-hint { font-size: .78rem; color: var(--muted); margin-top: .6rem; }

/* O-Töne in Meldungen (4.124) */
.st-nb-ot { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin: .5rem 0 .7rem;
    padding: .5rem .8rem; border-left: 5px solid var(--take); background: var(--panel-2); border-radius: 6px;
    font-size: calc(1.05rem * var(--st-scale)); }
.st-nb-ot audio { height: 32px; }
/* Sprecherplatz: Rubrik live (4.132) */
.st-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.st-modal-head h3 { margin: 0; }
.st-sprecher-menu { display: flex; flex-direction: column; gap: .5rem; }
.st-sprecher-menu .st-btn { font-size: 1.15rem; padding: .7rem 1rem; text-align: left; }
.st-muted { color: var(--muted); }

/* 4.135: Rubrik live direkt im Element (Wetter, Verkehr, Blitzer) */
.sl-bar { margin: 0 0 1rem; padding: .6rem .8rem; border: 1px solid var(--border, #333); border-left: 4px solid #be123c; border-radius: 10px; background: rgba(190, 18, 60, .06); }
.sl-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.sl-row + .sl-row { margin-top: .45rem; }
.sl-sub { font-size: .85rem; }
.sl-tag { font-weight: 700; }
.sl-btns { margin-left: auto; display: flex; gap: .4rem; }
.sl-run { font-weight: 700; color: #be123c; }
.sl-muted { opacity: .7; }
.sl-sink.ok { color: #16a34a; }
.sl-sink.bad { color: #dc2626; font-weight: 700; }
.sl-space { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; }
.sl-hint { opacity: .75; font-style: italic; }
.sl-xs { padding: .1rem .45rem !important; font-size: .8rem !important; }
.sl-sub .sl-xs:last-child { margin-left: auto; }
.st-rd-item.sl-on { box-shadow: inset 4px 0 0 #be123c; }
.st-rd-item.sl-on::after { content: "● live"; color: #be123c; font-size: .75rem; font-weight: 700; margin-left: .4rem; }
.sl-bz-h { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.sl-bz-plan { border-left: 4px solid #2563eb; }
.sl-bz-meta { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; font-size: .82rem; opacity: .85; margin-top: .3rem; }
.sl-bz-left { font-weight: 700; }
.sl-bz-read.soon .sl-bz-left { background: #facc15; color: #111; padding: 0 .45rem; border-radius: 999px; }
.sl-bz-add { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .6rem 0; }
.sl-bz-add input { flex: 1 1 18rem; font: inherit; padding: .45rem .6rem; border-radius: 8px; }
.sl-vm { display: flex; align-items: center; gap: .6rem; margin: .3rem 0; }
.sl-vm-btn.played { opacity: .5; }
.sl-pick-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .35rem 0; border-bottom: 1px solid var(--border, #333); }
.slbp-week { display: flex; flex-direction: column; gap: .3rem; max-height: 12rem; overflow: auto; }
.slbp-day { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.slbp-day > b { min-width: 4.5rem; }
.slbp-day.today > b { color: #b45309; }
.slbp-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .3rem .1rem .6rem; border: 1px solid var(--border, #444); border-radius: 999px; font-size: .88rem; }
.slbp-chip small { opacity: .7; }
.slbp-chip button { border: 0; background: none; cursor: pointer; opacity: .7; }
