:root{font-family:Inter,Arial,sans-serif;color:#183d50;background:#f4f8fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header,main{max-width:1180px;margin:auto}header{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d9e6ec}.brand{font-size:29px;font-weight:800;color:#183d50;text-decoration:none;letter-spacing:-1px}.brand span{font-size:17px;color:#567183;font-weight:400;letter-spacing:0}.pill{font-size:12px;border:1px solid #b8dfe9;border-radius:30px;padding:9px 14px;color:#007b9e}.intro{display:flex;align-items:center;justify-content:space-between;padding:46px 0 30px}.eyebrow{font-size:10px;letter-spacing:2px;color:#007d9e;font-weight:700}h1{font-size:36px;letter-spacing:-1.2px;margin:14px 0}p{color:#526e7d;font-size:14px;line-height:1.6}button,select{font:inherit;font-size:12px;background:#edf6fa;color:#19485b;border:1px solid #c5dce5;border-radius:7px;padding:11px 14px;cursor:pointer}button:hover{background:#dceff5}#fullscreen,#save{background:#009fca;color:#ffffff;border:0;font-weight:700}.layout{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.panel{background:#ffffff;border:1px solid #dce7ec;border-radius:12px;padding:22px}.section-title{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;gap:12px}.section-title>span+span{font-size:11px;color:#587281;font-weight:400}#stage{height:430px;display:flex;align-items:center;justify-content:center;background:radial-gradient(#d9e8ef 1px,transparent 1px);background-size:12px 12px;margin:15px 0}#screen{position:relative;width:192px;height:192px;flex-shrink:0;background:#ffffff;overflow:hidden;transform:scale(2);transform-origin:center;color:#183d50}#content{position:absolute;inset:0}.slide{position:absolute;inset:0;background:#ffffff}.slide img,.slide video{width:192px;height:192px;display:block}.widget{height:100%;padding:16px 13px;background:radial-gradient(at 90% 10%,#e8f8fd,#ffffff 80%);display:flex;flex-direction:column;justify-content:center}.widget small{font-size:9px;color:#009fca;text-transform:uppercase;letter-spacing:1px}.widget h2{font-size:17px;margin:8px 0}.widget .big{font-size:43px;letter-spacing:-2px;font-weight:700;margin:8px 0}.widget p{font-size:10px;margin:4px 0;color:#456a7c}.widget .bus{font-size:11px;padding:6px 0;border-bottom:1px solid #d9e8ef;display:flex;justify-content:space-between;gap:4px}.widget .bus span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.widget .bus b{white-space:nowrap}#ticker{position:absolute;bottom:0;height:24px;line-height:24px;background:#009fca;color:#ffffff;width:192px;overflow:hidden;font-size:11px;font-weight:bold;z-index:4}#ticker span{display:inline-block;white-space:nowrap;will-change:transform}.transport{display:flex;gap:8px;justify-content:center}.now{font-size:12px;color:#507487;margin-top:24px;display:flex;align-items:center;gap:8px}.dot{width:7px;height:7px;background:#009fca;border-radius:50%}aside{display:grid;gap:20px;align-content:start}ol{list-style:none;padding:0;max-height:245px;overflow:auto}li.queue-item{display:flex;gap:12px;padding:13px 8px;border-bottom:1px solid #d9e8ef;font-size:13px;align-items:center}.queue-item.active{color:#009fca;background:#e4f5fb;border-radius:7px}.queue-item span:first-child{color:#66838f;font-size:10px}.muted{font-size:12px;color:#567180}.info{background:#e7f6fb}.info h2{font-size:24px;margin:13px 0}.info a,a{color:#009fca;font-size:12px}.settings{margin-top:24px}textarea{width:100%;height:280px;resize:vertical;background:#f4f8fa;color:#234f63;border:1px solid #c8dfe8;border-radius:7px;padding:15px;font:12px/1.6 monospace}footer{padding:28px 0;display:flex;justify-content:space-between;font-size:11px;color:#5d7886}details{margin-bottom:24px;font-size:12px}#events{max-height:120px;overflow:auto}#events li{padding:4px;color:#4e7182}#stage:fullscreen{margin:0;width:100vw;height:100vh;background:black}body.player-only{background:black}body.player-only header,body.player-only .intro,body.player-only aside,body.player-only .settings,body.player-only footer,body.player-only details,body.player-only .section-title,body.player-only .transport,body.player-only .now{display:none}body.player-only main,body.player-only .layout,body.player-only .preview{margin:0;padding:0;border:0;display:block;background:black}body.player-only #stage{margin:0;width:192px;height:192px;background:black}body.player-only #screen{transform:none}body.player-only #stage:fullscreen{width:100vw;height:100vh}@media(max-width:900px){header,main{margin:0 20px}.layout{grid-template-columns:1fr}.intro{gap:20px}h1{font-size:28px}}@media(max-width:480px){#stage{height:240px}#screen{transform:scale(1)}.intro{display:block}footer{gap:12px}.transport{flex-wrap:wrap}}

/* Institutional identity: original supplied logo, framed without modifying the asset. */
:root{--city-blue:#009fca;--city-rainbow:linear-gradient(90deg,#f2c52d,#ea9237,#bd3456,#74457e,#225c92,#009e68)}
header{position:relative;height:112px;margin:0 auto;padding:0 8px}
header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--city-rainbow)}
.brand{display:flex;align-items:center;gap:24px;letter-spacing:0}
.city-logo{position:relative;display:block;width:150px;height:83px;overflow:hidden;background:white;flex-shrink:0}
.city-logo img{position:absolute;display:block!important;width:175.2%!important;height:auto!important;max-width:none;left:-34.6%;top:-51.9%}
.brand .brand-label{font-size:10px;line-height:1.8;letter-spacing:1.4px;color:#547382;border-left:1px solid #d9e6ec;padding-left:24px}
.brand-label b{font-size:13px;letter-spacing:0;font-weight:600;color:#183d50}
#fullscreen,#save{background:#007fa4;color:white}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #e9a62f;outline-offset:3px}
.queue-item.active{color:#007a9d}.info a,a{color:#007b9f}.info{position:relative;overflow:hidden}.info:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--city-rainbow)}
.screen-brand{position:absolute;top:0;left:0;width:192px;height:36px;background:#fff;z-index:3;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e0edf2}
.screen-brand:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--city-rainbow)}
.screen-brand .city-logo{width:58px;height:32px}
.widget{padding:40px 12px 26px;justify-content:center;background:linear-gradient(135deg,#fff 40%,#e8f7fc)}
.widget>small:first-child{display:none}.widget small{color:#007896;font-size:8px;letter-spacing:.3px}.widget h2{font-size:16px;margin:3px 0 5px}.widget .big{font-size:36px;margin:3px 0;color:#009fca}.widget p{font-size:9px;margin:3px 0}.widget .bus{font-size:11px;padding:5px 0}
@media(min-width:901px) and (max-width:1220px){header,main{margin-left:24px;margin-right:24px}}
@media(max-width:480px){header{height:96px}.brand{gap:10px}.brand .city-logo{width:110px;height:61px}.brand .brand-label{display:none}.pill{font-size:10px;padding:8px}}

.uploads{margin-top:24px}.uploads form{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.file-picker{display:flex;flex:1;flex-direction:column;gap:12px;padding:20px;border:1px dashed #90bdcf;border-radius:8px;background:#f4fafc;font-size:13px}.file-picker input{max-width:100%;font:inherit}.uploads button{background:#007fa4;color:white}.uploads button:disabled{opacity:.6;cursor:wait}progress{width:100%;height:12px;margin-top:20px;accent-color:#009fca}#upload-results{font-size:13px;padding-left:20px;overflow-wrap:anywhere}#upload-results li{padding:5px 0}body.player-only .uploads{display:none}

.screen-brand{justify-content:space-between;padding:0 5px 2px;gap:3px}
.header-info{width:57px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;line-height:1.1;color:#007fa4}
.header-info time,.header-info strong{font-size:16px;font-weight:700;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.header-info span{display:block;max-width:100%;font-size:6px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#456a7c}
.header-weather[data-stale="true"] strong{color:#8b651b}

#queue{max-height:430px}.queue-item{flex-direction:column;align-items:stretch!important;gap:8px!important}.program-name{font-size:12px!important;overflow-wrap:anywhere;color:inherit!important}.program-actions{display:flex;gap:5px;align-items:center}.program-actions button{padding:6px 9px;font-size:11px}.program-actions input{width:58px;padding:5px;border:1px solid #c5dce5;border-radius:5px;color:#19485b;background:white;font:inherit;font-size:12px}.program-actions span{font-size:11px}.program-actions button:disabled{opacity:.35;cursor:default}#program-status{font-size:12px}#removed-items{padding-left:12px;font-size:12px;overflow-wrap:anywhere}#removed-items li{margin:10px 0}#removed-items button{padding:5px 8px;margin:5px}#removed-section{margin:12px 0}.layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}@media(max-width:900px){.layout{grid-template-columns:minmax(0,1fr)}}

.departure-board{position:absolute;inset:36px 0 24px;padding:5px 7px 3px;background:#112e3e;color:#fff;font-family:Arial,sans-serif;display:flex;flex-direction:column}
.board-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.board-heading b{font-size:11px;letter-spacing:1px;color:#f4cf65}.board-heading span{font-size:7px;color:#c4e5f2}
.departure-table{width:100%;table-layout:fixed;border-collapse:collapse}.departure-table th{text-align:left;font-size:6px;color:#9dc5d5;height:12px;border-bottom:1px solid #3f6373}.departure-table th:first-child{width:40px}.departure-table td{padding:3px 0;border-bottom:1px solid #315062;height:26px;vertical-align:middle}.departure-table td:first-child{font-size:11px;font-weight:700;color:#f4cf65;font-variant-numeric:tabular-nums}
.board-destination,.board-company{width:100%;overflow:hidden;white-space:nowrap;line-height:11px}.board-destination span,.board-company span{display:inline-block;min-width:100%}.board-destination{font-size:9px;color:#fff}.board-company{font-size:7px;color:#a5d6e8;line-height:9px}.board-footer{font-size:6px;color:#a5d6e8;margin-top:auto;text-align:right;padding-top:2px}.departure-table td.board-empty{font-size:10px;font-weight:400;color:#fff;height:65px;line-height:1.5}
.timetable-admin{margin-top:24px}.timetable-scroll{overflow:auto;max-height:330px}.timetable-admin table{border-collapse:collapse;width:100%;font-size:12px}.timetable-admin th{text-align:left;background:#e7f6fb;position:sticky;top:0}.timetable-admin td,.timetable-admin th{padding:10px;border-bottom:1px solid #dce7ec}.timetable-admin td:first-child{font-variant-numeric:tabular-nums;font-weight:bold;white-space:nowrap}body.player-only .timetable-admin{display:none}

.header-weather-reading{display:flex;align-items:center;justify-content:center;gap:3px;width:100%}.weather-icon{display:inline-flex;flex:none;width:20px;height:20px;font-style:normal}.weather-icon svg{display:block;width:100%;height:100%}.header-weather-reading strong{font-size:15px}.weather-reading{display:flex;align-items:center;gap:9px}.weather-reading .weather-icon{width:32px;height:32px}

.board-days{width:100%;overflow:hidden;white-space:nowrap;font-size:7px;line-height:9px;color:#f4cf65}.board-days span{display:inline-block;min-width:100%}.departure-board{padding:4px 7px 2px}.board-heading{margin-bottom:2px}.departure-table th{height:10px}.departure-table td{padding:1px 0;height:31px}.board-footer{font-size:6px;line-height:7px;padding-top:2px}.timetable-admin td:nth-child(4){min-width:170px;line-height:1.5}
.departure-board .board-heading{line-height:13px;flex-shrink:0}.departure-board .board-destination{line-height:10px}.departure-board .board-company,.departure-board .board-days{line-height:8px}.departure-board .departure-table td{height:29px}.departure-board .board-footer{flex-shrink:0}

body.player-only .admin-only,body.player-only #cloud-account{display:none!important}

/* Keep all three header columns within the physical 192px canvas. */
.screen-brand{display:grid;grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);gap:3px;padding:0 5px 2px}
.screen-brand .header-info{width:100%;min-width:0;overflow:hidden}
.header-weather-reading{min-width:0;gap:2px}
.header-weather-reading strong{font-size:14px;white-space:nowrap}
body.player-only{overflow:hidden}
body.player-only main{max-width:none}
body.player-only #stage:fullscreen{width:100vw!important;height:100vh!important}
