.live-panel{overflow:hidden;margin-bottom:22px}.live-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px}.live-heading h2{margin:0 0 6px;font-size:20px}.live-heading p{margin:0;color:#69818b;font-size:13px}.live-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.live-clock{font-size:25px;font-weight:750;font-variant-numeric:tabular-nums;color:#163c49}.live-window{display:flex;align-items:center;gap:25px;padding:16px 24px;background:#edf5f6;border-block:1px solid #dde9ed;flex-wrap:wrap}.live-window small{display:block;color:#627c87;font-size:11px;letter-spacing:.8px;text-transform:uppercase;margin-bottom:4px}.live-window b{font-size:15px;font-variant-numeric:tabular-nums}.live-window .live-now{margin-left:auto;text-align:right}.live-map{height:370px;background:#e5eef1;isolation:isolate;z-index:0}.live-map .leaflet-container{font-family:inherit}.live-map .leaflet-popup-content{line-height:1.6}.live-map .leaflet-control-attribution{font-size:10px}.live-map .leaflet-control-zoom a{color:#173d49}.live-map-note{padding:12px 24px;font-size:12px;color:#617a87;line-height:1.6;border-bottom:1px solid #e5ecef}.live-feed{padding:14px 24px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px}.live-dot{width:8px;height:8px;border-radius:50%;background:#0b8a8c;display:inline-block}.live-feed[data-state=error] .live-dot{background:#c27619}.live-feed[data-state=error]{background:#fff7e8;color:#805916}.live-feed small{margin-left:auto}.live-nearby{display:flex;gap:8px;align-items:center;font-size:13px}.live-nearby input{width:auto}.live-legend{display:flex;gap:20px;flex-wrap:wrap;padding:0 24px 16px;font-size:12px;color:#617a87}.live-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#07878e;margin-right:6px}.live-legend .nearby-key{background:#7b8992}.live-aircraft-icon{background:none;border:0}.live-aircraft-icon svg{width:28px;height:28px;filter:drop-shadow(0 1px 2px #fff);overflow:visible}.live-airport-icon{background:#153d49;color:white;border:2px solid white;border-radius:20px;font:700 11px system-ui;text-align:center;line-height:25px;box-shadow:0 2px 7px #193b4d44}.live-table th{white-space:nowrap}.live-table td{font-variant-numeric:tabular-nums}.live-table td:first-child{position:relative;padding-left:28px}.live-table td p{font-size:12px;color:#71838b;margin:4px 0}.live-table td b{white-space:nowrap}.live-table .live-observed{color:#087a81}.live-table .live-cancelled{color:#c82020}.live-filter{min-width:230px}.live-empty{padding:40px 24px;text-align:center;color:#617782}.live-empty b{display:block;color:#193947;margin-bottom:8px}.live-scope{padding:14px 24px;font-size:12px;color:#647c88;border-top:1px solid #e6edf0}.live-match{font-size:11px;padding:4px 8px;background:#e7f4f4;border-radius:6px;display:inline-block}.live-map-failed{padding:14px 24px;background:#fff7e8;color:#805916;font-size:13px}.live-map-failed[hidden]{display:none}@media(max-width:760px){.live-heading{align-items:flex-start;flex-direction:column;padding:18px}.live-window{gap:16px;padding:14px 18px}.live-window .live-now{margin-left:0;text-align:left}.live-map{height:310px}.live-clock{font-size:21px}.live-filter{min-width:0;width:100%}.live-feed small{margin-left:0}.live-controls{width:100%}}

/* Night airspace palette is scoped to the map, preserving the rest of Flight Desk. */
.live-map-frame{position:relative;background:#102e51}
.live-map{height:410px;background:#102e51}
.live-map .leaflet-tile-pane{filter:none}
.live-map .maplibregl-canvas{outline:none}
.live-map .leaflet-maplibre-gl{pointer-events:none}
.live-map-compass{position:absolute;top:18px;right:20px;z-index:1;pointer-events:none;color:#b3d5df;text-align:center;font:700 11px system-ui;letter-spacing:2px;text-shadow:0 1px 4px #000}
.live-map-compass span{display:block;font:30px system-ui;color:#ecfaff;line-height:30px}
.live-map-range{position:absolute;left:18px;bottom:22px;z-index:1;pointer-events:none;border-left:2px solid #63d4dd;padding:7px 10px;background:#0d2438dd;color:#dbf7ff;font:700 10px system-ui;letter-spacing:1.5px;border-radius:0 5px 5px 0}
.live-map-range span{display:block;font-size:10px;color:#9fc3d0;letter-spacing:.3px;font-weight:400;margin-top:5px}
.live-map .leaflet-bar{border:1px solid #446174;box-shadow:0 4px 14px #0006}
.live-map .leaflet-control-zoom a{background:#122b3d;color:#d8f5ff;border-color:#345064}
.live-map .leaflet-control-zoom a:hover{background:#24485c}
.live-map .leaflet-control-attribution{background:#0b1d2de8;color:#b8cbd4}
.live-map .leaflet-control-attribution a{color:#93dbea}
.live-map .leaflet-popup-content-wrapper,.live-map .leaflet-popup-tip{background:#102d41;color:#e4f6fc}
.live-map .leaflet-popup-content-wrapper{border:1px solid #3d6477;border-radius:10px}
.live-map a.leaflet-popup-close-button{color:#c2dce5}
.live-aircraft-icon svg{filter:drop-shadow(0 0 4px #071724);stroke-linejoin:round}
.live-airport-icon{background:#123548;color:#d8ffff;border-color:#58e7d5;box-shadow:0 0 0 5px #5be8d51c,0 0 20px #5be8d54d}
.live-legend i{background:#35c7b5;box-shadow:0 0 0 2px #d7f5ee}
.live-legend .nearby-key{background:#d6a54c;box-shadow:0 0 0 2px #fcf0d9}
.live-refresh-controls{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:0 24px 18px;border-bottom:1px solid #e5ecef}
.live-refresh-controls label{display:flex;align-items:center;gap:7px;font-size:12px;color:#3e5b69}
.live-refresh-controls input{width:auto}
.live-refresh-controls small{flex-basis:100%;font-size:11px;color:#708592;line-height:1.5}
.live-refresh-controls button{font-size:12px;padding:8px 13px}
.live-refresh-controls button:disabled{opacity:.5;cursor:default}
@media(max-width:760px){.live-map{height:340px}.live-map-range{left:12px;font-size:9px}.live-refresh-controls{padding:0 18px 16px}}

.live-map .live-flight-label{background:#0b302eea;border:1px solid #4cdcc3;border-radius:4px;color:#baffed;font:700 11px system-ui;padding:3px 6px;box-shadow:0 2px 6px #0005;letter-spacing:.3px;line-height:1.3;pointer-events:none}
.live-map .live-flight-label-unlisted{background:#4d1829ed;border-color:#ff526b;color:#fff0f3}
.live-map .live-flight-label:before{display:none}

.live-legend .unlisted-key{background:#ef3f59;box-shadow:0 0 0 2px #ffe0e5}
.live-unlisted{margin:16px 24px 22px;padding:16px 18px;border:1px solid #f5bdc7;border-left:4px solid #ed405c;border-radius:10px;background:#fff7f8;color:#8a2941;font-size:13px}
.live-unlisted[hidden]{display:none}.live-unlisted p{font-size:12px;line-height:1.5;margin:6px 0 12px;color:#875461}.live-unlisted div{display:flex;gap:8px;flex-wrap:wrap}.live-unlisted span{background:#fff;border:1px solid #f2c9d1;border-radius:6px;padding:6px 9px;font-size:12px}

/* Optional office-TV presentation; normal station pages retain their layout. */
.live-tv-header,.live-tv-board{display:none}
.live-tv-launch{background:#163e56;color:#fff;border-color:#163e56}
body.nags-tv{background:#081c30;color:#e9f4ff;overflow:hidden}
body.nags-tv>aside,body.nags-tv main>:not(#content){display:none!important}
body.nags-tv main{margin:0;padding:18px;width:100%;max-width:none;min-height:0}
body.nags-tv #content{margin:0;padding:0}
body.nags-tv #liveRoot{display:grid;grid-template-columns:minmax(0,1fr) minmax(600px,1fr);grid-template-rows:auto minmax(0,1fr);gap:16px;height:calc(100dvh - 36px)}
.nags-tv .live-tv-header{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:15px 28px;grid-column:1/-1}
.live-tv-brand{display:flex;align-items:center;gap:18px;min-width:0}
.live-tv-brand img{width:108px;background:white;border-radius:10px;padding:10px}
.live-tv-brand small{color:#90bdcc;font-size:10px;letter-spacing:2px;font-weight:700}
.live-tv-brand h1{color:#f0f8ff;font-size:26px;margin:5px 0 0;line-height:1.2}
.live-tv-brand h1 span{margin-left:8px;color:#7be5d6;font-size:18px}
.live-tv-time{text-align:right;font-variant-numeric:tabular-nums}
.live-tv-time strong{display:block;font-size:36px;letter-spacing:1px;line-height:1.2;color:#f1fbff}
.live-tv-time span{display:block;font-size:12px;color:#a9bfce;margin-top:4px}
.live-tv-actions{display:flex;gap:8px;flex-wrap:wrap;max-width:310px;justify-content:flex-end}
.nags-tv button{background:#15354c;border:1px solid #3a5c72;color:#dfedf7;padding:8px 12px;font-size:12px;border-radius:7px;cursor:pointer}
.nags-tv button:hover{background:#244f69}
.nags-tv button:focus-visible{outline:3px solid #68e6d2;outline-offset:3px}
.nags-tv button[aria-pressed=true]{color:#a8ffdf;border-color:#58b6a1;background:#153f40}
.nags-tv button:disabled{opacity:.35;cursor:default}
.live-tv-summary{grid-column:1/-1;display:flex;align-items:center;gap:22px;flex-wrap:wrap;background:#102c43;border:1px solid #24485e;border-radius:10px;padding:11px 17px;color:#acc8d7;font-size:14px}
.live-tv-summary b{color:#edf8ff;font-size:20px;margin-right:4px;font-variant-numeric:tabular-nums}
.live-tv-summary .live-tv-window{color:#e8f3fa;margin-right:auto;font-size:15px}
.live-tv-window small{color:#88adbf;margin-left:6px}
.live-tv-summary .live-tv-review-count,.live-tv-review-count b{color:#ff9ead}
.live-tv-message{grid-column:1/-1;font-size:13px;color:#ffe5a9}
.nags-tv .live-panel{margin:0;border:1px solid #294b63;border-radius:13px;min-width:0;background:#0e293e;box-shadow:0 10px 30px #0002;min-height:0}
.nags-tv .live-panel:nth-of-type(1){display:flex;flex-direction:column}
.nags-tv .live-panel:nth-of-type(1)>.live-heading{padding:14px 18px;flex:none}
.nags-tv .live-heading h2{font-size:18px;color:#f0f8ff;margin:0}
.nags-tv .live-heading p,.nags-tv #liveTV,.nags-tv .live-window,.nags-tv .live-refresh-controls,.nags-tv .live-map-note{display:none}
.nags-tv .live-map-frame{flex:1;min-height:200px}
.nags-tv .live-map{height:100%;min-height:200px}
.nags-tv .live-feed{padding:11px 16px;color:#c5dee9;font-size:12px;gap:7px;flex:none}
.nags-tv .live-feed small{font-size:10px;color:#95b3c5}
.nags-tv .live-feed[data-state=error]{background:#4a3722;color:#ffe1a0}
.nags-tv .live-legend{padding:0 16px 12px;color:#aac5d4;font-size:11px;gap:12px}
.nags-tv .live-legend i{box-shadow:none}
.nags-tv .live-unlisted{flex:none;margin:0 12px 12px;background:#3a1e30;border-color:#733448;color:#ffc5d0;padding:10px 13px;font-size:13px;max-height:145px;overflow:auto}
.nags-tv .live-unlisted p{color:#d5a8b3;font-size:11px;margin:5px 0 8px}
.nags-tv .live-unlisted span{background:#4a2538;border-color:#78374e;color:#ffe3e9;font-size:12px;padding:4px 7px}
.nags-tv .live-map .live-flight-label{font-size:12px}
.nags-tv .live-panel:nth-of-type(2)>.live-heading,.nags-tv #liveRows,.nags-tv #liveScheduleNote{display:none}
.nags-tv .live-tv-board{display:flex;flex-direction:column;height:100%;min-height:0}
.live-tv-board-title{padding:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}
.live-tv-board-title small{font-size:10px;color:#80b2c3;letter-spacing:1.7px;font-weight:700}
.live-tv-board-title h2{margin:5px 0 0;font-size:23px;color:#f0f8ff}
.live-tv-board-title h2 span{color:#8fbdcc;font-size:18px}
.live-tv-board-title p{margin:5px 0 0;font-size:11px;color:#88acbf;max-width:280px;overflow-wrap:anywhere}
.live-tv-paging{display:flex;align-items:center;gap:6px;font-size:12px;color:#c9dfeb;white-space:nowrap}
.live-tv-paging span{min-width:36px;text-align:center;font-variant-numeric:tabular-nums}
.live-tv-columns,.live-tv-flight{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.05fr);gap:10px;padding:0 18px}
.live-tv-columns{padding-block:11px;background:#14364d;border-block:1px solid #2b4b61;color:#8eb7ca;font-size:10px;letter-spacing:.7px;text-transform:uppercase;flex:none}
#liveTVRows{flex:1;min-height:0;overflow:auto}
.live-tv-flight{min-height:112px;padding-block:15px;align-items:center;border-bottom:1px solid #234257;font-variant-numeric:tabular-nums}
.live-tv-flight:nth-child(even){background:#102e44}
.live-tv-airline{position:relative;padding-left:13px;min-width:0}
.live-tv-airline .flight-colour-bar{position:absolute;left:0;top:4px;bottom:4px;transform:none;min-height:35px;height:auto}
.live-tv-airline strong{display:block;font-size:16px;line-height:1.25;color:#edf6fb;overflow-wrap:anywhere}
.live-tv-flight small{display:block;font-size:11px;color:#97b5c6;line-height:1.4;margin-top:5px;overflow-wrap:anywhere}
.live-tv-movement b{display:block;font-size:14px;color:#a8c8d9;overflow-wrap:anywhere}
.live-tv-movement strong{display:block;font-size:24px;letter-spacing:.3px;color:#edf8ff;line-height:1.3}
.live-tv-service .badge{font-size:11px;white-space:normal;line-height:1.3;padding:5px 7px}
.live-tv-service .badge.transit{background:#00ffe9;color:#082e35}
.live-tv-service .badge.oncall{background:#d5fc00;color:#243000}
.live-tv-service .badge.headset{background:#fff;color:#0070c0}
.live-tv-service .badge.technical{background:#ff00ff;color:#310431}
.live-tv-service .badge.cancelled{background:#f00000;color:#fff}
.live-tv-service .live-tv-airborne{color:#6ce3bf}
.live-tv-flight.is-cancelled .live-tv-movement strong{color:#ff8da4}
.live-tv-foot{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;color:#90b5c8;font-size:10px;background:#102c40;flex:none}
.nags-tv .live-empty{color:#9cbccc}.nags-tv .live-empty b{color:#dceef9}
@media(min-width:1800px){.nags-tv .live-tv-brand h1{font-size:34px}.nags-tv .live-tv-time strong{font-size:45px}.nags-tv .live-tv-time span{font-size:15px}.nags-tv .live-tv-airline strong{font-size:20px}.nags-tv .live-tv-movement strong{font-size:30px}.nags-tv .live-tv-movement b{font-size:17px}.nags-tv .live-tv-flight small,.nags-tv .live-tv-service .badge{font-size:13px}.nags-tv .live-tv-columns{font-size:12px}.nags-tv .live-map .live-flight-label{font-size:14px}.nags-tv .live-feed{font-size:14px}}
@media(max-width:1100px){body.nags-tv{overflow:auto}body.nags-tv #liveRoot{height:auto;min-height:calc(100dvh - 36px);grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto}.nags-tv .live-tv-header{grid-template-columns:1fr auto}.live-tv-actions{grid-column:1/-1;max-width:none;justify-content:flex-start}.nags-tv .live-map-frame{height:46vh;flex:none;min-height:280px}.nags-tv .live-panel:nth-of-type(2){min-height:480px}.nags-tv .live-tv-board{height:auto}.live-tv-summary{gap:12px}}
@media(max-width:600px){body.nags-tv main{padding:10px}.nags-tv #liveRoot{gap:10px}.nags-tv .live-tv-header{gap:12px}.live-tv-brand img{width:68px;padding:6px}.live-tv-brand{gap:10px}.live-tv-brand h1{font-size:20px}.live-tv-brand small{font-size:8px;letter-spacing:1px}.live-tv-time strong{font-size:26px}.live-tv-time span{max-width:150px;font-size:10px}.live-tv-summary{font-size:12px}.live-tv-summary .live-tv-window{width:100%;font-size:13px}.live-tv-columns,.live-tv-flight{gap:6px;padding-inline:10px}.live-tv-airline strong{font-size:12px}.live-tv-movement strong{font-size:20px}.live-tv-movement b{font-size:12px}.live-tv-service .badge,.live-tv-flight small{font-size:9px}.live-tv-board-title{padding:14px 10px}.live-tv-board-title h2{font-size:20px}.live-tv-paging{gap:3px}.nags-tv .live-tv-paging button{padding:6px}.live-tv-columns{font-size:8px}}
.weekly-review-days{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.weekly-review-days button{flex:1;min-width:130px;text-align:left}.weekly-review-days small{display:block;font-size:11px;margin-top:6px;white-space:nowrap}.weekly-review-table th{position:sticky;top:0;z-index:1}.weekly-review-table td{vertical-align:top;padding:10px}.weekly-review-table td small{display:block;font-size:11px;max-width:180px;overflow-wrap:anywhere;margin-top:6px}.weekly-review-table input[type=checkbox]{width:auto}.weekly-review-table input[type=time]{min-width:100px}.weekly-review-table input:not([type=checkbox]),.weekly-review-table select{width:100%;min-width:110px}.weekly-review-table td:nth-child(2) select{max-width:220px}
.weekly-review-days button{position:relative;padding-right:26px}.weekly-attention-dot{position:absolute;top:10px;right:10px;width:10px;height:10px;border-radius:50%;background:#ed263e;border:2px solid #fff;box-shadow:0 0 0 3px #ed263e24}.weekly-attention-dot[hidden]{display:none}.weekly-ground-note[hidden]{display:none}
/* Reserve a clear landing area at the end of long review pages. */
.review-top-dock{position:relative;height:66px;margin-top:16px;clear:both}
.review-top-dock[hidden],.nags-tv .review-top-dock{display:none}
.review-back-to-top{position:fixed;right:26px;bottom:26px;z-index:30;display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border:1px solid #658f9c80;border-radius:24px;background:rgba(255,255,255,.66);color:#123c4a;font-weight:650;font-size:13px;box-shadow:0 3px 12px #123c4a12;cursor:pointer}
.review-back-to-top.is-docked{position:absolute;right:0;bottom:10px}
.review-back-to-top:hover{background:rgba(226,246,248,.9)}
.review-back-to-top:focus-visible{outline:3px solid #087f8b;outline-offset:3px}
.review-back-to-top[hidden],.nags-tv .review-back-to-top{display:none}
.update-approval{margin-top:20px;padding:18px;border:1px solid #cadde2;border-radius:12px;background:#f6fafb}
.update-approval h3{margin:0 0 12px}.update-approval>p{margin-bottom:0}
.station-confirmation{padding:12px 16px;border-left:3px solid #087e8b;background:#edf5f7;border-radius:6px;margin-bottom:12px}
.station-confirmation p{margin:0 0 8px}.station-confirmation .checklabel{margin:8px 0}.station-confirmation .flag{margin-top:8px}
.station-confirmation [hidden]{display:none}
.final-approval-table{max-height:56vh;overflow:auto;border:1px solid #dbe5e9;border-radius:8px;margin:16px 0}
.final-approval-table th{position:sticky;top:0;z-index:1;background:#edf4f6}
@media(max-width:600px){.review-back-to-top{right:14px;bottom:18px;padding:10px 15px}.update-approval{padding:14px}.update-approval>button{white-space:normal;width:100%}.final-approval-table{max-height:48vh}}
@media print{.review-top-dock,.review-back-to-top{display:none}.final-approval-table{max-height:none;overflow:visible}}


.detected-arrivals{margin:20px 0;border:2px solid #d92d43;overflow:hidden;background:#fff5f6}.detected-heading{padding:18px 20px;background:#a5152d;color:#fff}.detected-heading h2{margin:0 0 8px;color:#fff}.detected-heading h2 span{display:inline-block;padding:2px 9px;border-radius:16px;background:#fff;color:#a5152d;font-size:16px}.detected-heading p{margin:0;max-width:950px;color:#ffe8ec}.detected-arrivals table{width:100%}.detected-arrivals tbody tr{background:#fff5f6;color:#9b1830;box-shadow:inset 4px 0 #e52c48}.detected-arrivals td{vertical-align:top}.detected-arrivals td p{color:#8a3c4b;margin:6px 0}.detected-arrivals td button{border-color:#d55a70;color:#a5152d;background:#fff}.detected-arrivals th{background:#ffe2e7;color:#91182e}.detected-arrivals td b{color:#a5152d}
.detected-arrivals th,.detected-arrivals td{white-space:normal}.detected-arrivals td:last-child{min-width:150px}.detected-arrivals td button{display:block;white-space:normal;width:100%;margin:4px 0}
.weekly-worksheet-overview{margin:18px 0;padding:16px;border:1px solid #d5e2e7;border-radius:12px;background:#f6fafb}.weekly-sheet-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px}.weekly-sheet-list>div{display:flex;align-items:center;gap:8px}.weekly-sheet-list label{display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap}.weekly-sheet-list button{flex:1;min-width:0;text-align:left}.weekly-sheet-list small{display:block;font-size:11px;white-space:normal;margin-top:5px}.worksheet-error-dot{color:#e1243b;margin-left:7px;text-shadow:0 0 3px #fff}

.weekly-conflict-choices{margin:20px 0;padding:20px;border:1px solid #e4b6bd;border-radius:12px;background:#fff7f8}.weekly-conflict-choices h3{color:#a51d34;margin-top:0}.weekly-conflict-choices article{margin-top:16px;border-top:1px solid #e9c9ce;padding-top:8px}.weekly-conflict-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.weekly-conflict-options>div{background:white;border:1px solid #dec8cc;border-radius:10px;padding:16px}.weekly-conflict-options small{display:block;white-space:normal;margin:8px 0}.weekly-conflict-options button{display:block;margin-top:12px;white-space:normal;color:#fff;background:#087e8b;border-color:#087e8b}.weekly-conflict-options strong{color:#9a1f35}

nav .arrival-attention-badge{display:inline-block;flex:0 0 8px;width:8px;height:8px;margin:0 0 0 auto;padding:0;letter-spacing:0;border-radius:50%;background:#e63956;box-shadow:0 0 0 3px #e6395626}
nav .arrival-attention-badge[hidden]{display:none}
.live-unlisted button{margin-top:12px;border:1px solid #ed9bae;background:transparent;color:inherit;padding:8px 12px;border-radius:8px;font-weight:700}
