/* TV-Monitor: alle Inhalte passen in die verfügbare Bildschirmhöhe. */
body:has(#ssb-clear[data-tv="true"]:not([hidden])){overflow:hidden}
#ssb-clear[data-tv="true"]{--tv-bg:light-dark(#f3f4f6,#111214);--tv-panel:light-dark(#fff,#1d1e21);--tv-ink:light-dark(#1d1d1f,#f5f5f7);--tv-muted:light-dark(#68686d,#a7a7ad);--tv-line:light-dark(#e5e5e9,#333438);--tv-red:light-dark(#d93643,#ff626a);--tv-yellow:light-dark(#bd8900,#f5c24b);--tv-green:light-dark(#20835b,#5ac995);height:100dvh;height:100vh;height:100dvh;width:100%;border-radius:0;background:var(--tv-bg);color:var(--tv-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}
#ssb-clear[data-tv="true"] .p-shell,#ssb-clear[data-tv="true"] .p-main,#ssb-clear[data-tv="true"] .p-content,#ssb-clear[data-tv="true"] #cl-view{display:block;height:100%;width:100%;margin:0;padding:0;min-width:0;min-height:0}
#ssb-clear[data-tv="true"] :is(.p-side,.p-top,.p-foot,#cl-editor-home,#cl-sync-status,#cl-notice){display:none!important}
#ssb-clear .tv-screen{width:100%;height:100%;display:grid;grid-template-rows:8% 15% minmax(0,53fr) 20% 4%;background:var(--tv-bg);font-size:clamp(12px,1.15vw,25px);line-height:1.3;letter-spacing:-.015em}
#ssb-clear .tv-header{display:flex;justify-content:space-between;align-items:center;gap:1vw;padding:.6vh 2vw;min-height:0}
#ssb-clear .tv-brand{display:flex;align-items:center;gap:.9vw;white-space:nowrap}
#ssb-clear .tv-logo{background:#e30613;color:#fff;border-radius:.35vw;padding:.6vw .45vw;font-weight:750;font-size:1.25em;letter-spacing:-.05em}
#ssb-clear .tv-brand small{opacity:.4;margin:0 .35vw}
#ssb-clear .tv-brand b{font-weight:600}
#ssb-clear .tv-header-right{display:flex;align-items:center;gap:.6vw;font-size:.85em;min-width:0}
#ssb-clear .tv-person{color:var(--tv-muted);white-space:nowrap;max-width:30vw;overflow:hidden;text-overflow:ellipsis}
#ssb-clear .tv-header time{font-variant-numeric:tabular-nums;margin:0 .7vw;white-space:nowrap}
#ssb-clear .tv-control{display:inline-flex;align-items:center;justify-content:center;background:transparent;color:var(--tv-ink);border:0;padding:.45vw;border-radius:.4vw;min-width:1.8vw;min-height:1.8vw}
#ssb-clear .tv-control:hover{background:var(--tv-line)}
#ssb-clear .tv-control svg{width:1.1em;height:1.1em}
#ssb-clear .tv-back{border:1px solid var(--tv-line);padding:.4vw .8vw}
#ssb-clear .tv-situation{display:flex;align-items:center;justify-content:space-between;gap:2vw;margin:0 2vw 1.3vh;padding:1.1vh 1.6vw;background:var(--tv-panel);border-radius:.8vw;min-height:0;overflow:hidden}
#ssb-clear .tv-situation>div:first-child{min-width:0}
#ssb-clear .tv-overline{display:flex;align-items:center;gap:.5vw;text-transform:uppercase;letter-spacing:.11em;font-size:.75em;color:var(--tv-muted);margin-bottom:.5vh}
#ssb-clear .tv-signal{height:.5vw;width:.5vw;min-width:6px;min-height:6px;border-radius:50%;background:var(--tv-green)}
#ssb-clear .tv-situation.red .tv-signal{background:var(--tv-red)}
#ssb-clear .tv-situation.yellow .tv-signal{background:var(--tv-yellow)}
#ssb-clear .tv-situation h1{font-size:clamp(24px,2.7vw,60px);font-weight:600;line-height:1.06;letter-spacing:-.045em;margin:0}
#ssb-clear .tv-situation p{font-size:.9em;color:var(--tv-muted);margin:.5vh 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ssb-clear .tv-situation-meta{display:grid;gap:.4vh;text-align:right;color:var(--tv-muted);font-size:.9em;white-space:nowrap}
#ssb-clear .tv-situation-meta b{color:var(--tv-ink);font-weight:500}
#ssb-clear .tv-workspace{display:grid;grid-template-columns:27% minmax(0,1fr);gap:1.2vw;margin:0 2vw;min-height:0}
#ssb-clear .tv-panel{background:var(--tv-panel);border-radius:.8vw;min-width:0;min-height:0;overflow:hidden}
#ssb-clear .tv-screen h2{font-size:1.05em;font-weight:600;letter-spacing:-.02em;line-height:1.3;margin:0}
#ssb-clear .tv-progress{display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:1.3vh 1.4vw}
#ssb-clear .tv-chart-area{min-height:0;display:flex;justify-content:center;align-items:center;padding:.8vh 1vw}
#ssb-clear .tv-donut{width:min(17vw,27vh);height:min(17vw,27vh);border-radius:50%;display:grid;place-items:center;flex:none}
#ssb-clear .tv-donut-center{width:77%;height:77%;border-radius:50%;background:var(--tv-panel);display:flex;flex-direction:column;align-items:center;justify-content:center}
#ssb-clear .tv-donut-center strong{font-size:clamp(26px,2.8vw,62px);font-weight:500;letter-spacing:-.06em;font-variant-numeric:tabular-nums}
#ssb-clear .tv-donut-center strong span{color:var(--tv-muted)}
#ssb-clear .tv-donut-center small{font-size:.85em;color:var(--tv-muted)}
#ssb-clear .tv-legend{display:grid;gap:.65vh;padding:.4vh .2vw .6vh}
#ssb-clear .tv-legend>div{display:flex;align-items:center;gap:.6vw;font-size:.9em}
#ssb-clear .tv-legend b{margin-left:auto;font-size:1.15em;font-weight:500;font-variant-numeric:tabular-nums}
#ssb-clear .tv-dot{width:.5vw;height:.5vw;min-width:5px;min-height:5px;display:inline-block;border-radius:50%;flex:none}
#ssb-clear .tv-dot.open{background:var(--tv-red)}
#ssb-clear .tv-dot.doing{background:var(--tv-yellow)}
#ssb-clear .tv-dot.done{background:var(--tv-green)}
#ssb-clear .tv-task-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;padding:1.3vh 1.4vw .6vh}
#ssb-clear .tv-task-heading{display:flex;justify-content:space-between;align-items:center;gap:1vw;padding-bottom:1vh}
#ssb-clear .tv-task-heading>span{color:var(--tv-muted);font-size:.8em;white-space:nowrap}
#ssb-clear .tv-columns,#ssb-clear .tv-task{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) 10vw;gap:1vw;align-items:center}
#ssb-clear .tv-columns{color:var(--tv-muted);font-size:.75em;padding:.5vh 0;border-bottom:1px solid var(--tv-line)}
#ssb-clear .tv-columns>span:last-child{text-align:right}
#ssb-clear .tv-task-list{display:grid;grid-template-rows:repeat(8,minmax(0,1fr));min-height:0}
#ssb-clear .tv-task{border-bottom:1px solid var(--tv-line);font-size:.88em;padding:.2vh 0;min-height:0}
#ssb-clear .tv-task-title{min-width:0;line-height:1.22}
#ssb-clear .tv-task-title small{display:block;color:var(--tv-muted);font-size:.78em;line-height:1.1;margin-bottom:.2vh}
#ssb-clear .tv-owner{min-width:0;font-size:.95em;line-height:1.2}
#ssb-clear .tv-owner>span{display:block}
#ssb-clear .tv-owner small{display:block;font-size:.86em;color:var(--tv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:.15vh}
#ssb-clear .tv-task-status{display:flex;align-items:center;justify-content:flex-end;gap:.5vw;font-size:.88em;white-space:nowrap}
#ssb-clear .tv-pagination{display:flex;justify-content:space-between;align-items:center;gap:1vw;padding-top:.45vh;color:var(--tv-muted);font-size:.7em;min-height:1.3em}
#ssb-clear .tv-pagination>div{display:flex;align-items:center;gap:.4vw;white-space:nowrap}
#ssb-clear .tv-pagination .tv-control{padding:0;min-height:1em;min-width:1em}
#ssb-clear .tv-normal{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2vw}
#ssb-clear .tv-normal>svg{width:4vw;height:4vw;color:var(--tv-green);stroke-width:1.3;margin-bottom:1.5vh}
#ssb-clear .tv-normal h2{font-size:1.9em;font-weight:500;letter-spacing:-.04em}
#ssb-clear .tv-normal p{font-size:1em;color:var(--tv-muted);margin-top:1vh}
#ssb-clear .tv-no-tasks{grid-row:1/-1;display:grid;place-items:center;color:var(--tv-muted);font-size:.9em;text-align:center}
#ssb-clear .tv-capacities{display:flex;flex-direction:column;min-height:0;margin:1.3vh 2vw .5vh}
#ssb-clear .tv-capacity-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:.7vh}
#ssb-clear .tv-capacity-label h2{font-size:.9em;color:var(--tv-muted);font-weight:400}
#ssb-clear .tv-capacity-label>span{font-size:.75em;color:var(--tv-muted)}
#ssb-clear .tv-capacity-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2vw;min-height:0;flex:1}
#ssb-clear .tv-capacity-card{padding:1vh 1.4vw}
#ssb-clear .tv-capacity-heading{display:flex;align-items:center;justify-content:space-between;gap:1vw}
#ssb-clear .tv-capacity-heading h3{display:flex;align-items:center;gap:.6vw;font-size:.95em;font-weight:500;margin:0}
#ssb-clear .tv-capacity-heading svg{width:1.2em;height:1.2em;color:var(--tv-muted);stroke-width:1.4}
#ssb-clear .tv-capacity-heading small{font-size:.7em;color:var(--tv-muted)}
#ssb-clear .tv-capacity-values{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1vw;margin-top:.6vh;color:var(--tv-muted)}
#ssb-clear .tv-capacity-values b{display:block;font-size:1.5em;font-weight:400;line-height:1.1}
#ssb-clear .tv-capacity-values span{display:block;font-size:.75em;margin-top:.2vh}
#ssb-clear .tv-footer{display:flex;justify-content:space-between;align-items:center;gap:1vw;padding:0 2vw;font-size:.7em;color:var(--tv-muted);min-height:0}
#ssb-clear .tv-sync.error{color:var(--tv-red)}
@media(max-width:760px){#ssb-clear .tv-person{display:none}#ssb-clear .tv-screen{font-size:clamp(9px,1.4vw,12px)}#ssb-clear .tv-task-status{font-size:.8em}#ssb-clear .tv-task-title small{display:none}#ssb-clear .tv-control{min-height:24px;min-width:24px}}
/* Lesbarkeit auf dem TV: klare Schrift, größere Aufgaben und feste Rückmeldungsflächen. */
#ssb-clear[data-tv="true"]{--tv-bg:light-dark(#f0f4f8,#101c29);--tv-panel:light-dark(#fff,#1a2d40);--tv-ink:light-dark(#132536,#f7fbff);--tv-muted:light-dark(#3e5264,#d0dce8);--tv-line:light-dark(#cbd5df,#486077);--tv-red:light-dark(#a71930,#ff98a3);--tv-yellow:light-dark(#775400,#ffda78);--tv-green:light-dark(#14643f,#83e6b1)}
#ssb-clear .tv-screen{grid-template-rows:12% 17% minmax(0,54fr) 13% 4%;font-family:Arial,"Segoe UI",sans-serif;font-size:clamp(16px,1.3vw,30px);letter-spacing:0;line-height:1.3}
#ssb-clear .tv-header{display:grid;grid-template-columns:1fr auto 1fr;gap:1.5vw;padding:.7vh 2vw;min-width:0}
#ssb-clear .tv-heading{display:flex;flex-direction:column;gap:.45vh;min-width:0}
#ssb-clear .tv-heading b{font-size:1.25em;font-weight:600}
#ssb-clear .tv-heading>span{font-size:1em;color:var(--tv-muted)}
#ssb-clear .tv-clock{display:flex;align-items:center;justify-content:center;min-width:0}
#ssb-clear .tv-clock time{font-size:clamp(40px,4.4vw,104px);line-height:1;font-weight:600;letter-spacing:.015em;font-variant-numeric:tabular-nums;font-family:Arial,"Segoe UI",sans-serif;margin:0;white-space:nowrap}
#ssb-clear .tv-header-right{justify-self:end;display:flex;align-items:center;gap:1.5vw;min-width:0;font-size:1em}
#ssb-clear .tv-tactical{border-left:2px solid var(--tv-line);padding-left:1.5vw;display:grid;gap:.6vh;min-width:0}
#ssb-clear .tv-tactical small{font-size:.8em;color:var(--tv-muted);white-space:nowrap}
#ssb-clear .tv-tactical time{font-size:1.2em;font-family:Arial,"Segoe UI",sans-serif;font-style:normal;line-height:1.1;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.04em;margin:0;white-space:nowrap}
#ssb-clear .tv-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.3vw;max-width:7vw}
#ssb-clear .tv-controls .tv-control{min-width:1.8em;min-height:1.8em;padding:.3vw}
#ssb-clear .tv-controls .tv-back{min-width:3em;font-size:.8em}
#ssb-clear .tv-situation{padding:1vh 1.6vw;gap:2vw;border-left:.35vw solid var(--tv-green)}
#ssb-clear .tv-situation.red{border-left-color:var(--tv-red)}
#ssb-clear .tv-situation.yellow{border-left-color:var(--tv-yellow);background:color-mix(in srgb,var(--tv-yellow) 8%,var(--tv-panel))}
#ssb-clear .tv-situation h1{font-size:clamp(26px,2.9vw,66px);letter-spacing:0;font-weight:600;line-height:1.05}
#ssb-clear .tv-overline{font-size:.8em;letter-spacing:.04em;font-weight:500;margin-bottom:.4vh}
#ssb-clear .tv-situation p{font-size:.9em;line-height:1.25;margin-top:.6vh}
#ssb-clear .tv-tension{color:var(--tv-yellow);font-size:.9em;margin-top:.6vh;line-height:1.25;overflow-wrap:anywhere}
#ssb-clear .tv-tension b{font-weight:600}
#ssb-clear .tv-timers{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:1vh 1.7vw;max-width:53%;flex-shrink:0}
#ssb-clear .tv-incident-timer{display:grid;gap:.4vh;min-width:8vw}
#ssb-clear .tv-incident-timer small{font-size:.75em;color:var(--tv-muted);line-height:1.1}
#ssb-clear .tv-incident-timer time{color:var(--tv-red);font-size:clamp(23px,2.35vw,56px);font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}
#ssb-clear .tv-workspace{grid-template-columns:27% minmax(0,1fr)}
#ssb-clear .tv-progress{grid-template-rows:auto minmax(0,1fr);padding:1.6vh 1.4vw}
#ssb-clear .tv-screen h2{font-size:1.12em;font-weight:600;letter-spacing:0}
#ssb-clear .tv-chart-area{padding:1vh 0}
#ssb-clear .tv-donut{width:min(20vw,40vh);height:min(20vw,40vh)}
#ssb-clear .tv-donut-center strong{font-size:clamp(34px,3.5vw,80px);font-weight:600;letter-spacing:0;line-height:1.1}
#ssb-clear .tv-donut-center small{font-size:1em;margin-top:.6vh}
#ssb-clear .tv-task-panel{padding:1.5vh 1.4vw .7vh}
#ssb-clear .tv-task-heading{padding-bottom:1vh}
#ssb-clear .tv-task-heading>span{font-size:.85em}
#ssb-clear .tv-columns,#ssb-clear .tv-task{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) 10vw;gap:1vw}
#ssb-clear .tv-columns{font-size:.8em;padding:.6vh 0;font-weight:500}
#ssb-clear .tv-task-list{grid-template-rows:repeat(3,minmax(0,1fr))}
#ssb-clear .tv-task{grid-template-rows:auto auto;align-content:center;row-gap:.65vh;padding:.7vh 0;font-size:1em}
#ssb-clear .tv-task-title{line-height:1.2;font-weight:500}
#ssb-clear .tv-task-title small{font-size:.8em;color:var(--tv-muted);font-weight:500;margin-bottom:.4vh}
#ssb-clear .tv-owner{font-size:.88em;line-height:1.2}
#ssb-clear .tv-owner>span{font-weight:500}
#ssb-clear .tv-owner small{font-size:.9em;white-space:normal;overflow-wrap:anywhere;line-height:1.15;margin-top:.3vh}
#ssb-clear .tv-task-status{font-size:.85em;font-weight:500;gap:.5vw;line-height:1.2}
#ssb-clear .tv-feedback{grid-column:1/-1;display:flex;align-items:baseline;gap:.5em;padding:.55vh .65vw;border-left:3px solid currentColor;border-radius:0 .3vw .3vw 0;font-size:.94em;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
#ssb-clear .tv-feedback.open{color:var(--tv-red);background:color-mix(in srgb,var(--tv-red) 6%,var(--tv-panel))}
#ssb-clear .tv-feedback.doing{color:var(--tv-yellow);background:color-mix(in srgb,var(--tv-yellow) 6%,var(--tv-panel))}
#ssb-clear .tv-feedback.done{color:var(--tv-green);background:color-mix(in srgb,var(--tv-green) 6%,var(--tv-panel))}
#ssb-clear .tv-feedback b{font-weight:600;flex-shrink:0}
#ssb-clear .tv-feedback>span{min-width:0;font-weight:500}
#ssb-clear .tv-pagination{font-size:.8em;padding-top:.55vh;line-height:1.2}
#ssb-clear .tv-pagination .tv-control{min-width:1.5em;min-height:1.5em}
#ssb-clear .tv-normal h2{font-size:2em;font-weight:600;letter-spacing:0}
#ssb-clear .tv-normal.yellow>svg{color:var(--tv-yellow)}
#ssb-clear .tv-normal.yellow h2{color:var(--tv-yellow)}
#ssb-clear .tv-capacities{margin:.8vh 2vw .3vh}
#ssb-clear .tv-capacity-label{margin-bottom:.45vh}
#ssb-clear .tv-capacity-label h2{font-size:.9em;color:var(--tv-ink)}
#ssb-clear .tv-capacity-label>span{font-size:.75em}
#ssb-clear .tv-capacity-card{padding:.65vh 1.4vw}
#ssb-clear .tv-capacity-heading h3{font-size:.9em;line-height:1.1}
#ssb-clear .tv-capacity-heading small{font-size:.75em}
#ssb-clear .tv-capacity-values{margin-top:.3vh}
#ssb-clear .tv-capacity-values b{font-size:1em;line-height:1}
#ssb-clear .tv-capacity-values span{font-size:.75em;margin-top:0;line-height:1.1}
#ssb-clear .tv-footer{font-size:.8em;line-height:1.2}
@media(max-width:1100px){#ssb-clear .tv-heading>span{display:none}#ssb-clear .tv-heading b{font-size:1em}#ssb-clear .tv-tactical time{font-size:.9em}#ssb-clear .tv-tactical small{font-size:.65em}#ssb-clear .tv-header-right{gap:.7vw}#ssb-clear .tv-controls{max-width:9vw}#ssb-clear .tv-timers{max-width:48%}#ssb-clear .tv-task-status{font-size:.78em}#ssb-clear .tv-capacity-heading small{font-size:.65em}}
/* Jede gleichzeitig aktive Sonderlage hat eine eigene Monitorfläche. */
#ssb-clear .tv-split-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(var(--tv-splits),minmax(0,1fr));gap:1.2vw;min-height:0;min-width:0}
#ssb-clear .tv-split-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;padding:1.2vh 1.3vw}
#ssb-clear .tv-split-header{display:flex;align-items:center;justify-content:space-between;gap:1vw;padding-bottom:1vh;border-bottom:1px solid var(--tv-line);min-height:0}
#ssb-clear .tv-split-name{min-width:0;flex:1}
#ssb-clear .tv-split-name h2{font-size:1.05em;line-height:1.15;margin-bottom:.8vh;overflow-wrap:anywhere}
#ssb-clear .tv-split-name .tv-incident-timer{min-width:0}
#ssb-clear .tv-split-name .tv-incident-timer time{font-size:1.6em}
#ssb-clear .tv-split-chart{flex:none}
#ssb-clear .tv-split-chart .tv-donut{width:min(7vw,12vh);height:min(7vw,12vh)}
#ssb-clear .tv-split-chart .tv-donut-center strong{font-size:1.1em;line-height:1.1;white-space:nowrap}
#ssb-clear .tv-split-chart .tv-donut-center small{font-size:.65em;margin-top:.3vh}
#ssb-clear .tv-split-tasks{display:grid;grid-template-rows:repeat(var(--tv-task-slots,2),minmax(0,1fr));min-height:0}
#ssb-clear .tv-split-task{display:flex;flex-direction:column;justify-content:center;gap:1vh;border-bottom:1px solid var(--tv-line);padding:1vh 0;min-height:0}
#ssb-clear .tv-split-task h3{font-size:1em;line-height:1.25;font-weight:600;margin:0;overflow-wrap:anywhere}
#ssb-clear .tv-split-owner{display:flex;align-items:flex-start;justify-content:space-between;gap:.9vw;font-size:.85em;line-height:1.2}
#ssb-clear .tv-split-owner>div{min-width:0}
#ssb-clear .tv-split-owner b{display:block;font-weight:500}
#ssb-clear .tv-split-owner>div>span{display:block;color:var(--tv-muted);margin-top:.35vh;overflow-wrap:anywhere}
#ssb-clear .tv-split-owner .tv-task-status{font-size:1em;flex:none;padding-top:.1vh}
#ssb-clear .tv-split-task .tv-feedback{font-size:.95em;line-height:1.3;display:block;padding:.8vh .7vw}
#ssb-clear .tv-split-task .tv-feedback b{margin-right:.4em}
#ssb-clear .tv-split-footer{display:flex;justify-content:space-between;gap:.7vw;color:var(--tv-muted);font-size:.7em;padding-top:.7vh;line-height:1.25}
#ssb-clear .gong-dialog{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:30px;max-width:min(460px,90vw);box-shadow:0 18px 70px rgb(0 0 0 / .3);text-align:center}
#ssb-clear .gong-dialog::backdrop{background:rgb(0 0 0 / .5)}
#ssb-clear .gong-dialog h2{font:600 28px/1.2 Arial,"Segoe UI",sans-serif;margin:0 0 12px;color:var(--ink)}
#ssb-clear .gong-dialog p{font:400 18px/1.4 Arial,"Segoe UI",sans-serif;margin:8px 0;color:var(--muted)}
#ssb-clear .gong-dialog .gong-activate{margin-top:18px;padding:14px 22px;border-radius:8px;background:var(--ink);color:var(--panel);font:600 18px/1.3 Arial,"Segoe UI",sans-serif;border:0;min-height:48px}
#ssb-clear .gong-dialog .gong-error{color:var(--red)}

/* Große Diagramme, kompakte Aufgaben und Ortszeit nebeneinander. */
#ssb-clear[data-tv="true"]{--tv-red:light-dark(#d00020,#ff3548)}
#ssb-clear .tv-header{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:1vw}
#ssb-clear .tv-clock{gap:1.2vw}
#ssb-clear .tv-clock time{font-size:clamp(24px,3.6vw,100px);letter-spacing:0;font-weight:600;line-height:1}
#ssb-clear .tv-clock-divider{height:4vw;max-height:100px;border-left:2px solid var(--tv-line)}
#ssb-clear .tv-workspace{grid-template-columns:46% minmax(0,1fr)}
#ssb-clear .tv-donut{width:min(34vw,43vh);height:min(34vw,43vh)}
#ssb-clear .tv-task-panel{font-size:.82em;padding:1vh 1vw .6vh}
#ssb-clear .tv-columns,#ssb-clear .tv-task{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 7vw;gap:.6vw}
#ssb-clear .tv-task{row-gap:.5vh;padding:.5vh 0}
#ssb-clear .tv-feedback{font-size:.92em}
#ssb-clear .tv-split-panel{grid-template-rows:minmax(0,1.8fr) minmax(0,1fr) auto}
#ssb-clear .tv-split-header{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:.5vh;padding-bottom:.5vh}
#ssb-clear .tv-split-name{display:flex;justify-content:space-between;align-items:center;gap:1vw}
#ssb-clear .tv-split-name h2{font-size:1em;margin:0}
#ssb-clear .tv-split-name .tv-incident-timer{flex:none;text-align:right}
#ssb-clear .tv-split-name .tv-incident-timer time{font-size:1.3em}
#ssb-clear .tv-split-chart{display:grid;place-items:center;min-height:0;height:100%}
#ssb-clear .tv-split-chart .tv-donut{width:min(22vw,25vh);height:min(22vw,25vh)}
#ssb-clear .tv-split-chart .tv-donut-center strong{font-size:clamp(24px,2.6vw,65px)}
#ssb-clear .tv-split-chart .tv-donut-center small{font-size:.8em}
#ssb-clear .tv-split-task{font-size:.8em;gap:.5vh;padding:.5vh 0}
#ssb-clear .tv-split-task .tv-feedback{padding:.45vh .5vw}
#ssb-clear .gong-dialog .gong-preview{margin:12px 8px 0 0;padding:14px 18px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);font:600 18px/1.3 Arial,sans-serif}

/* Abstände, Laufzeiten und Kapazitäten für die Monitoransicht. */
#ssb-clear .tv-split-chart{padding-bottom:1.3vh;box-sizing:border-box}
#ssb-clear .tv-split-chart .tv-donut{width:min(22vw,23vh);height:min(22vw,23vh)}
#ssb-clear .tv-chart-area{padding-bottom:2vh}
#ssb-clear .tv-timers-single,#ssb-clear .tv-timers-tense{justify-content:center;flex:1;max-width:50%;text-align:center}
#ssb-clear .tv-timers-single .tv-incident-timer time{font-size:clamp(32px,4.3vw,104px)}
#ssb-clear .tv-timers-tense .tv-incident-timer time{color:var(--tv-yellow);font-size:clamp(32px,4.3vw,104px)}
#ssb-clear .tv-timers-tense .tv-incident-timer small{color:var(--tv-yellow)}
#ssb-clear .tv-controls{max-width:none;flex-wrap:nowrap;gap:.4vw}
#ssb-clear .tv-current-weather{display:flex;flex-direction:column;align-items:center;gap:.3vh;margin-right:.6vw;color:var(--tv-ink);white-space:nowrap;font-size:.75em}
#ssb-clear .tv-current-weather svg{width:1.8em;height:1.8em}
#ssb-clear .tv-capacity-values{display:flex}#ssb-clear .tv-capacity-values>div{flex:1;min-width:0}
#ssb-clear .tv-capacity-values .capacity-free{color:var(--tv-green)}
#ssb-clear .tv-capacity-values .capacity-busy{color:var(--tv-red)}

/* Laufende Einsätze und Belegungsverläufe im regulären Betrieb. */
#ssb-clear .tv-screen{grid-template-rows:12% 17% minmax(0,50fr) 17% 4%}
#ssb-clear .tv-capacity-values{margin-top:.8vh;align-items:center}
#ssb-clear .tv-capacity-values b{font-size:clamp(38px,4.5vw,108px);font-weight:800;line-height:1}
#ssb-clear .tv-capacity-values span{font-size:.85em;font-weight:600;margin-top:.4vh}
#ssb-clear .tv-operations{grid-column:1/-1;display:grid;grid-template-columns:30% minmax(0,1fr);gap:1.2vw;min-height:0}
#ssb-clear .tv-live-call{padding:1.3vh 1.2vw;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#ssb-clear .tv-live-call header small{display:block;color:var(--tv-muted);font-size:.7em;margin-top:.4vh}
#ssb-clear .tv-live-call-content{display:flex;flex-direction:column;justify-content:center;min-height:0;gap:.5vh}
#ssb-clear .tv-call-label{color:var(--tv-muted);font-size:.75em}
#ssb-clear .tv-live-call-content>strong{font-size:2.1em;line-height:1.1;margin-bottom:1vh}
#ssb-clear .tv-live-call h3{font-size:1.1em;line-height:1.15;margin:0;overflow-wrap:anywhere}
#ssb-clear .tv-live-duration{margin-top:1.5vh;display:grid;gap:.5vh}
#ssb-clear .tv-live-duration small{font-size:.75em;color:var(--tv-muted)}
#ssb-clear .tv-live-duration time{font-size:1.6em;font-weight:700;font-variant-numeric:tabular-nums}
#ssb-clear .tv-live-call footer{font-size:.65em;color:var(--tv-muted)}
#ssb-clear .tv-history-grid{display:grid;grid-template-columns:1fr 1fr;gap:1vw;min-height:0}
#ssb-clear .tv-history-grid.has-infield{grid-template-rows:1fr 1fr}
#ssb-clear .tv-history-grid.has-infield>.tv-history-chart:last-child{grid-column:1/-1}
#ssb-clear .tv-history-chart{padding:1vh 1vw;display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0}
#ssb-clear .tv-history-chart header{display:flex;justify-content:space-between;gap:.6vw;align-items:baseline;flex-wrap:wrap}
#ssb-clear .tv-history-chart h2{font-size:.85em}
#ssb-clear .tv-history-chart header small{font-size:.62em;color:var(--tv-muted)}
#ssb-clear .tv-history-chart svg{display:block;width:100%;height:100%;min-height:0;overflow:visible}
#ssb-clear .tv-chart-grid line{stroke:var(--tv-line);stroke-width:1;vector-effect:non-scaling-stroke}
#ssb-clear .tv-chart-grid text{fill:var(--tv-muted);font:16px Arial,sans-serif}
#ssb-clear .tv-history-line{fill:none;stroke:light-dark(#0066cc,#71baff);stroke-width:3;vector-effect:non-scaling-stroke;stroke-linejoin:round}
#ssb-clear .tv-history-dots{fill:light-dark(#0066cc,#71baff)}

/* Vorheriges Layout mit ruhigen Diagrammlinien und luftigen Kennzahlen. */
#ssb-clear .tv-history-line{stroke:light-dark(#377dc8,#80b4ed);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#ssb-clear .tv-history-dots{display:none}
#ssb-clear .tv-chart-grid line{stroke-width:.7;opacity:.55}
#ssb-clear .tv-capacity-values{margin-top:.7vh;gap:2vw;align-items:baseline}
#ssb-clear .tv-capacity-values>div{display:block;min-width:0;flex:1}
#ssb-clear .tv-capacity-values b{font-size:clamp(32px,3.2vw,76px);font-weight:700;line-height:1.12;letter-spacing:.015em;font-stretch:normal;font-variant-numeric:tabular-nums}
#ssb-clear .tv-capacity-values span{display:block;margin-top:.5vh;font-size:.8em;line-height:1.25;font-weight:500}
