:root{color-scheme:light;--bg:#f7f8fa;--panel:#fff;--raised:#f1f4f8;--text:#202731;--muted:#667386;--line:#e4e8ee;--accent:#0065e8;--selected:#edf4ff;--played:#dce1e8;--green:#26875f;--red:#b53742;--amber:#9a691b;--blue:#327ca3;--green-bg:#e7f3ed;--red-bg:#fbecef;--amber-bg:#fbf1de;--blue-bg:#e9f3fa;--feature:#45ad83;--trailer:#dca345;--ad:#69a9dd;--rating:#b68bd1;--other:#9ba8b8}
:root[data-theme=dark]{color-scheme:dark;--bg:#13161b;--panel:#1b2027;--raised:#242b34;--text:#e1e6ed;--muted:#a0aab9;--line:#2b333f;--accent:#82b5ff;--selected:#24334a;--played:#485361;--green:#75cfaa;--red:#f39aa3;--amber:#e7c080;--blue:#a2d4ef;--green-bg:#203b30;--red-bg:#40292f;--amber-bg:#3c3325;--blue-bg:#253847}
*{box-sizing:border-box}body{margin:0;font:13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg)}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.login-bar{min-height:51px;background:var(--panel);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:9px 24px;gap:8px 20px}.brand{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:650}.brand svg{width:22px;height:22px;color:var(--accent)}.brand small{font-size:11px;font-weight:400;color:var(--muted);border-left:1px solid var(--line);padding-left:12px;margin-left:5px}.login-form{display:flex;align-items:center;gap:5px}.login-form label{min-width:0}.login-form input{width:126px;height:29px;min-width:0;background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:4px 8px;font-size:11px;color:var(--text)}.login-form input[type=password]{width:96px}.login-button{display:inline-flex;align-items:center;justify-content:center;min-height:29px;border:0;border-radius:4px;background:#0065e8;color:#fff;font-size:11px;padding:4px 11px}.login-error{flex-basis:100%;color:var(--red);font-size:12px}.account{display:flex;gap:12px;align-items:center;font-size:12px}.app-shell{display:grid;grid-template-columns:177px minmax(0,1fr);min-height:calc(100vh - 51px)}.sidebar{background:var(--panel);border-right:1px solid var(--line);padding:23px 10px;display:flex;flex-direction:column}.sidebar-label{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);padding:0 14px;margin-bottom:8px}.nav{display:flex;flex-direction:column;gap:4px}.nav a{display:flex;align-items:center;gap:12px;padding:10px 13px;border-radius:5px;color:var(--muted);font-size:12px}.nav a.active{background:var(--selected);color:var(--accent);font-weight:600}.nav a:hover{background:var(--raised)}.nav svg{width:17px;height:17px;flex-shrink:0}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding:15px 12px 0;color:var(--muted);font-size:11px}.workspace{padding:26px 30px;min-width:0;width:100%;max-width:1600px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.page-heading h1{font-size:21px;font-weight:600;letter-spacing:-.4px;margin:0}.heading-tools{display:flex;align-items:center;gap:17px}.date-stamp{font-size:11px;color:var(--muted)}.theme-switch{display:flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--panel)}.theme-switch button{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--muted);padding:5px 8px;font-size:11px;min-height:30px}.theme-switch svg{width:15px;height:15px}.theme-switch button[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--selected);font-weight:600}.theme-switch button:hover{background:var(--raised)}.page-content{min-width:0}.box{background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:22px;margin-bottom:20px;min-width:0}.box h2{font-size:16px;line-height:1.4;font-weight:600;margin:0 0 20px;overflow-wrap:anywhere}.muted{color:var(--muted);font-size:12px}.err,.spl-err{color:var(--red);font-size:12px;overflow-wrap:anywhere}.ok{color:var(--green);font-size:13px;overflow-wrap:anywhere}.app-footer{display:flex;justify-content:space-between;gap:20px;margin-top:26px;font-size:10px;color:var(--muted)}
.info-columns{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:20px;align-items:start}.live-playlist{padding:0}.playlist-heading{padding:20px 22px 0;display:flex;gap:14px;justify-content:space-between;align-items:flex-start}.playlist-heading>div{min-width:0}.playlist-heading .eyebrow{color:var(--muted);font-size:11px;margin:0 0 7px}.playlist-heading h2{font-size:19px;font-weight:600;letter-spacing:-.3px;margin:0 0 5px}.playlist-heading .muted{margin:0;overflow-wrap:anywhere}.status-badge{font-size:11px;color:var(--green);white-space:nowrap;padding-top:2px}.status-badge:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:5px}.playlist-metrics{padding:20px 22px 17px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.playlist-metrics span{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}.playlist-metrics strong{display:block;font-size:19px;font-weight:500;font-variant-numeric:tabular-nums}.playlist-metrics>div:last-child strong{color:var(--accent)}.show-progress{height:4px;margin:0 22px 18px;background:var(--feature);border-radius:2px;overflow:hidden}.show-progress span{display:block;height:100%;width:0;background:var(--played)}.playlist-list-heading{display:flex;justify-content:space-between;align-items:center;padding:12px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.playlist-list-heading h3{font-size:12px;font-weight:600;margin:0}.playlist-list-heading span{font-size:10px;color:var(--muted)}.playlist-items{padding:0;margin:0;list-style:none;counter-reset:playlist}.playlist-row{counter-increment:playlist;position:relative;padding:10px 22px 10px 48px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}.playlist-row:before{content:counter(playlist,decimal-leading-zero);position:absolute;left:22px;top:12px;font-size:10px;color:var(--muted)}.playlist-row:last-child{border-bottom:0}.playlist-row.phase-current{background:var(--selected);box-shadow:inset 2px 0 var(--accent)}.playlist-meta{grid-column:1/-1;display:flex;align-items:baseline;gap:8px;margin-bottom:2px}.playlist-name{font-size:12px;overflow-wrap:anywhere;min-width:0;order:0}.playlist-kind{font-size:10px;color:var(--muted);order:1;margin-left:auto;white-space:nowrap}.current-label{font-size:10px;color:var(--green);order:2;white-space:nowrap}.phase-current .playlist-name{font-weight:600}.kind-feature{--clip:var(--feature)}.kind-trailer{--clip:var(--trailer)}.kind-ad{--clip:var(--ad)}.kind-rating{--clip:var(--rating)}.kind-other{--clip:var(--other)}.playlist-progress{grid-column:1/-1;height:7px;border-radius:2px;background:var(--clip);overflow:hidden}.playlist-fill{height:100%;width:0;background:var(--played)}.playlist-time{font-size:10px;font-variant-numeric:tabular-nums;color:var(--muted)}.playlist-detail{font-size:10px;color:var(--muted);min-width:0}.playlist-detail summary{cursor:pointer}.playlist-detail[open]{grid-column:1/-1}.playlist-detail>div{padding:6px 0;overflow-wrap:anywhere}.playlist-legend{display:flex;gap:15px;padding:12px 22px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.playlist-legend i{display:inline-block;width:7px;height:7px;background:var(--played);margin-right:5px}.playlist-legend .remaining{background:var(--feature)}.live-playlist>.err{margin:12px 22px;padding:10px;background:var(--red-bg);border-radius:4px}.played-toggle{display:none}.live-playlist [hidden]{display:none}.schedule-box{padding:0}.schedule-box h2{padding:17px 18px;margin:0;border-bottom:1px solid var(--line);font-size:13px}.list{list-style:none;padding:0;margin:0}.list li{border-bottom:1px solid var(--line);padding:12px 0;overflow-wrap:anywhere}.list li:last-child{border:0}.list a:hover{color:var(--accent)}.schedule-box .list li{padding:0}.schedule-row{display:grid;grid-template-columns:42px minmax(0,1fr);gap:4px 10px;padding:17px 18px;font-size:12px}.time{font-variant-numeric:tabular-nums;color:var(--accent);font-size:11px;font-weight:600}.schedule-title{overflow-wrap:anywhere}.end-time{grid-column:2;font-size:10px;color:var(--muted)}.end-time:before{content:'Do '}.kind,.badge{font-size:11px;color:var(--muted)}
.buttons button,.crowd-controls button{padding:16px 20px;border:1px solid var(--line);border-radius:5px;font-size:14px;min-height:48px;font-weight:500}.btn-orange,#btnPause{color:var(--amber);background:var(--amber-bg)}.btn-green,#btnNext{color:var(--green);background:var(--green-bg)}.btn-red{color:var(--red);background:var(--red-bg)}.crowd-controls{display:flex;gap:12px;margin:20px 0}.crowd-controls button{flex:1}.page-projekce .box{max-width:900px}.page-projekce .buttons button{width:100%;text-align:left}.volume-value{font-size:74px;line-height:1;margin:35px 0;font-variant-numeric:tabular-nums;color:var(--accent)}.volume-value strong{font-weight:400}.page-hlasitost .box{max-width:680px;text-align:center;margin:0 auto}.page-hlasitost .page-content form{display:flex;justify-content:center;gap:12px}.light-panel{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.light-btn{display:inline-flex;align-items:center;gap:8px;padding:11px 17px;border:1px solid var(--line);border-radius:5px;min-height:44px;font-size:12px}.light-btn--tma{background:var(--raised);color:var(--text)}.light-btn--svetlo{background:var(--amber-bg);color:var(--amber)}.light-btn--dia{background:var(--blue-bg);color:var(--blue)}.light-status{font-size:12px;color:var(--muted)}.light-status:empty{display:none}.camera-frame{position:relative;width:100%;aspect-ratio:16/9;background:#090a0b;overflow:hidden;border-radius:5px}.camera-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.day-sep{margin-top:24px}.day-title{font-size:12px;font-weight:600;color:var(--accent);padding-bottom:12px;border-bottom:1px solid var(--line)}.ev{padding:16px 0;border-bottom:1px solid var(--line)}.ev-row{display:flex;gap:20px;align-items:flex-start}.ev-time{width:105px;flex:0 0 105px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.ev-main{flex:1;min-width:0}.ev-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ev-title-btn{font:inherit;color:var(--text);text-align:left;border:0;padding:0;background:none;overflow-wrap:anywhere}.spl-pill{border:1px solid var(--line);border-radius:4px;background:var(--raised);color:var(--muted);padding:6px 10px;font-size:10px}.ev-sub{font-size:10px;color:var(--muted);margin-top:6px}.spl-box,.now-box{display:none;background:var(--bg);padding:14px;border-radius:5px;margin-top:12px;font-size:12px;overflow-wrap:anywhere}.spl-box.open,.now-box.open{display:block}.spl-item,.now-line{padding:4px 0}
@media(max-width:1100px){.workspace{padding:22px}.app-shell{grid-template-columns:155px minmax(0,1fr)}.info-columns{grid-template-columns:minmax(0,1fr) 230px}.playlist-heading h2{font-size:17px}.playlist-metrics strong{font-size:17px}.playlist-heading{flex-direction:column;gap:8px}}
@media(max-width:760px){.login-bar{display:grid;grid-template-columns:1fr;padding:7px 12px;gap:9px}.login-form{grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) auto;width:100%}.login-form input,.login-form input[type=password]{width:100%;height:32px;font-size:16px;padding:4px 7px}.login-form input::placeholder{font-size:12px}.login-button{height:32px;font-size:12px;padding:5px 9px}.brand{font-size:14px;gap:8px}.brand svg{width:17px;height:17px}.brand small{margin-left:auto;font-size:10px}.app-shell{display:block}.sidebar{padding:0 7px;border:0;border-bottom:1px solid var(--line)}.sidebar-label,.sidebar-foot{display:none}.nav{flex-direction:row;justify-content:space-between;gap:0}.nav a{font-size:12px;min-height:44px;padding:10px 7px;border-radius:0}.nav a.active{background:transparent;box-shadow:inset 0 -2px var(--accent)}.nav svg{display:none}.workspace{padding:12px}.page-heading{margin-bottom:12px;gap:8px;min-height:40px}.page-heading h1{font-size:18px}.date-stamp{display:none}.heading-tools{gap:0}.theme-switch{padding:2px;gap:1px}.theme-switch button{min-height:38px;padding:5px 6px;font-size:11px;gap:4px}.theme-switch svg{width:15px;height:15px}.info-columns{grid-template-columns:1fr;gap:16px}.box{padding:18px}.live-playlist,.schedule-box{padding:0;margin-bottom:0}.playlist-heading{padding:16px 16px 0;gap:6px}.playlist-heading h2{font-size:18px;line-height:1.4}.playlist-heading .eyebrow,.status-badge{font-size:12px}.playlist-metrics{padding:16px;gap:8px}.playlist-metrics span{font-size:11px}.playlist-metrics strong{font-size:19px}.show-progress{margin:0 16px 16px;height:6px}.playlist-list-heading{padding:12px 16px}.playlist-list-heading h3{font-size:13px}.playlist-list-heading span{font-size:11px}.played-toggle:not([hidden]){display:flex;width:100%;min-height:44px;align-items:center;justify-content:space-between;padding:10px 16px;background:var(--panel);border:0;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);text-align:left}.playlist-items:not(.show-played)>.phase-past{display:none}.playlist-row{padding:12px 14px 12px 36px;gap:5px 8px}.playlist-row:before{left:14px;top:15px;font-size:11px}.playlist-meta{flex-wrap:wrap;align-items:flex-start;gap:5px}.playlist-name{font-size:13px}.playlist-kind{font-size:11px}.current-label{font-size:10px}.playlist-progress{height:9px}.playlist-time{font-size:11px;grid-column:1/-1}.playlist-detail{font-size:10px;grid-column:1/-1}.playlist-detail summary{min-height:24px;display:flex;align-items:center}.playlist-legend{padding:11px 16px;font-size:11px}.schedule-box h2{font-size:14px;padding:14px 16px}.schedule-row{padding:15px 16px;font-size:13px}.time{font-size:12px}.end-time{font-size:11px}.app-footer{font-size:10px;gap:10px;margin-top:20px}.crowd-controls,.page-hlasitost .page-content form{flex-direction:column}.volume-value{font-size:64px}.ev-row{gap:12px}.ev-time{width:74px;flex-basis:74px;font-size:11px}.box h2{font-size:15px}.live-playlist h2{font-size:18px}.ev-sub{font-size:10px}}
@media(max-width:350px){.nav a{font-size:11px;padding:10px 5px}.theme-switch button{padding:5px;font-size:10px}.theme-switch svg{width:14px;height:14px}.playlist-metrics strong{font-size:17px}.page-heading h1{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.playlist-row:before{content:attr(data-number)}.status-badge[data-playing=false]{color:var(--muted)}.phase-past .playlist-name{color:var(--muted)}
.next-show{display:flex;align-items:center;gap:22px;padding:15px 20px;margin-bottom:20px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:6px;background:var(--panel)}.next-show-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);white-space:nowrap}.next-show-label svg{width:17px;height:17px;color:var(--accent)}.next-show-content{display:flex;align-items:baseline;gap:12px;min-width:0}.next-show-time{font-size:15px;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}.next-show-content a{font-size:13px;font-weight:600;overflow-wrap:anywhere}.next-show-content a:hover{text-decoration:underline}.next-show-note{margin-left:auto;font-size:10px;white-space:nowrap;color:var(--muted)}.next-show [hidden]{display:none}@media(max-width:760px){.next-show{display:block;padding:12px 14px;margin-bottom:16px}.next-show-label{margin-bottom:6px}.next-show-note{display:none}.next-show-content{gap:10px}.next-show-time{font-size:16px}}
/* Operational pages use one open surface; separators replace nested cards. */
.page-section{padding:0;margin:0;min-width:0;max-width:1000px}
.section-intro{margin:0 0 22px;color:var(--muted);font-size:12px}
.page-projekce .page-section{max-width:680px}
.page-projekce .buttons button{width:auto;text-align:left}
.page-projekce .crowd-controls{padding-bottom:24px;border-bottom:1px solid var(--line);margin:18px 0 20px}
.page-projekce .crowd-controls button{flex:0 1 auto;min-width:160px}
.page-section .buttons button,.page-section .crowd-controls button{border:0;padding:14px 20px;border-radius:5px}
.page-hlasitost .page-section{max-width:580px;padding:14px 0 28px}
.page-hlasitost .volume-value{margin:24px 0 32px;font-size:80px}
.page-hlasitost .page-content form{justify-content:flex-start}
.page-kalendar .page-section{max-width:900px}
.page-kalendar .day-sep{margin-top:30px}
.page-kalendar .day-title{font-size:13px;padding-bottom:10px}
.page-kalendar .ev{padding:18px 0}
.page-kalendar .ev-title-btn{font-size:14px}
.page-kalendar .spl-pill{background:transparent;border:0;color:var(--accent);min-height:32px}
.page-kalendar .spl-box{border-radius:0;border-left:2px solid var(--line);background:transparent;margin-left:125px;padding:4px 16px}
.page-kamera .camera-panel{max-width:1100px}
.page-kamera .section-intro{margin-bottom:12px}
.page-kamera .light-panel{margin-bottom:24px}
.page-kamera .light-btn{border:0}
.page-kamera .camera-frame{border-radius:3px}
@media(max-width:760px){.page-section{padding:8px 0 0}.section-intro{margin-bottom:18px}.page-hlasitost .page-section{padding:10px 0 24px}.page-hlasitost .page-content form{flex-direction:row;gap:10px}.page-hlasitost .buttons button{flex:1;padding:13px 10px;font-size:13px}.page-projekce .crowd-controls{flex-direction:row;gap:10px}.page-projekce .crowd-controls button{min-width:0;flex:1;padding:14px 10px;font-size:13px}.page-projekce .buttons button{width:100%}.page-kalendar .spl-box{margin-left:0}.page-kalendar .ev-title-btn{font-size:13px}.page-kalendar .day-sep{margin-top:22px}.page-kamera .light-panel{gap:8px}.page-kamera .light-btn{flex:1;justify-content:center;padding:11px 8px}}
/* Center each operational surface within the available workspace. */
.page-section{margin-left:auto;margin-right:auto}
.page-hlasitost .page-section,.page-projekce .page-section{text-align:center}
.page-hlasitost .page-content form{justify-content:center}
.page-projekce .crowd-controls{justify-content:center}
.page-projekce .buttons button{text-align:center}
.page-kamera .section-intro{text-align:center}
.page-kamera .light-panel{justify-content:center}
.page-kalendar .calendar-day{margin:0 0 18px;padding:18px 22px 0;border:1px solid var(--line);border-radius:6px;background:var(--panel)}
.page-kalendar .calendar-day .day-title{margin:0;padding:0 0 14px;text-align:left;color:var(--text);font-size:14px;font-weight:600;border-bottom:1px solid var(--line)}
.page-kalendar .calendar-day .ev:last-child{border-bottom:0}
.page-kalendar .event-not-configured{color:var(--red);font-size:13px;overflow-wrap:anywhere}
.page-kalendar .day-empty{margin:0;padding:16px 0}
@media(max-width:760px){.page-kalendar .calendar-day{padding:15px 14px 0;margin-bottom:14px}.page-kalendar .calendar-day .day-title{font-size:14px}}
