#live-globe[hidden]{display:none!important}
body.globe-active #workspace{display:block!important;position:relative;overflow:hidden}
body.globe-active #workspace>:not(#live-globe){display:none!important}
#live-globe{position:absolute;inset:0;overflow:hidden;background:#04111b;color:#dceef7;isolation:isolate}
#globe-canvas{position:absolute;inset:0;touch-action:none}
#globe-canvas .cesium-viewer-bottom{bottom:4px;left:8px;right:8px;max-width:calc(100% - 16px)}
#globe-canvas .cesium-credit-textContainer{background:#03111be6;color:#b6d3df;border-radius:4px;padding:2px 5px;font-size:10px}
#globe-canvas .cesium-credit-textContainer a{color:#a8dfff}
.globe-toolbar,.globe-selected,.globe-status{position:absolute;z-index:2;background:#071a27ed;border:1px solid #31576a;box-shadow:0 8px 25px #0004;border-radius:12px;backdrop-filter:blur(12px)}
.globe-toolbar{top:14px;left:14px;right:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px}
.globe-heading strong,.globe-heading span{display:block}.globe-heading strong{font-size:16px}.globe-heading span{color:#8bb2c5;font-size:11px;margin-top:3px}
.globe-heading strong:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#5ddebd;box-shadow:0 0 12px #5ddebd80;margin-right:8px}
.globe-buttons{display:flex;gap:6px}.globe-buttons button,#globe-selected button{min-height:44px;padding:8px 12px;border-radius:8px;border:1px solid #385f72;background:#0c293a;color:#def2ff;font-size:13px;cursor:pointer}
.globe-buttons button[aria-pressed=true]{background:#26566d;border-color:#78c9ed}
.globe-status{left:14px;bottom:36px;max-width:min(490px,calc(100% - 28px));padding:10px 13px;pointer-events:none}
.globe-status strong,.globe-status span{display:block}.globe-status strong{font-size:12px;font-weight:600}.globe-status span{font-size:11px;color:#8bb2c5;margin-top:4px;line-height:1.45}
.globe-status[data-state=UNAVAILABLE] strong,.globe-status[data-state='STALE FEED'] strong{color:#ffd4a8}
#globe-layer-note{color:#afd2e2}.globe-selected{right:14px;top:96px;width:290px;max-width:calc(100% - 28px);padding:15px}
.globe-selected[hidden]{display:none!important}.globe-selected header{display:flex;justify-content:space-between;align-items:center;gap:10px}.globe-selected h3{margin:0;font-size:20px}.globe-selected p{font-size:12px;color:#8eb3c5;margin:7px 0;overflow-wrap:anywhere}
.globe-selected dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.globe-selected dt{font-size:10px;letter-spacing:1px;color:#86aabd;text-transform:uppercase}.globe-selected dd{margin:4px 0 0;font-size:15px}
.globe-selected .globe-card-actions{display:flex;gap:8px}.globe-selected .globe-card-actions button{flex:1}
#globe-selection-close{font-size:20px!important;min-width:44px;padding:4px!important}
.globe-zoom{position:absolute;right:14px;bottom:92px;display:grid;gap:6px;z-index:2}.globe-zoom button{width:44px;height:44px;font-size:24px;border:1px solid #477387;border-radius:8px;background:#071b29e8;color:#dff4ff}
#globe-retry[hidden]{display:none!important}
@media(max-width:600px){.globe-toolbar{top:10px;left:10px;right:10px;padding:9px;align-items:flex-start;flex-wrap:wrap;gap:8px}.globe-heading{flex:1;min-width:160px}.globe-buttons{width:100%;display:grid;grid-template-columns:repeat(4,1fr)}.globe-buttons button{padding:6px;font-size:11px}.globe-heading strong{font-size:15px}.globe-selected{top:125px;right:10px;width:270px;padding:12px}.globe-status{left:10px;bottom:35px;max-width:calc(100% - 74px);padding:9px 10px}.globe-status span{font-size:10px}.globe-zoom{right:10px;bottom:48px}}

/* Readable telemetry and a clear close-view action on touch screens. */
#globe-model-note{font-size:10px;color:#8cabbc}
.globe-selected .globe-model-caption{font-size:10px;line-height:1.4;color:#829dac;border-top:1px solid #29495b;padding-top:9px;margin:4px 0 12px}
#globe-focus{background:#16465c!important;border-color:#4e9cba!important;color:#e4f8ff!important}
.globe-toolbar{background:linear-gradient(120deg,#071b29f5,#0b2432ec)}
.globe-heading strong:before{box-shadow:0 0 8px #5ddebd60}
.globe-buttons button,#globe-selected button,.globe-zoom button{transition:background .15s,border-color .15s}
@media(prefers-reduced-motion:reduce){.globe-buttons button,#globe-selected button,.globe-zoom button{transition:none}}

/* In-globe controls keep the current camera, aircraft and feed alive. */
.globe-layers-panel[hidden]{display:none!important}
.globe-layers-panel{position:absolute;z-index:4;top:94px;right:14px;width:340px;max-width:calc(100% - 28px);max-height:calc(100% - 145px);overflow:auto;box-sizing:border-box;padding:16px;border:1px solid #47748a;border-radius:14px;background:#081e2bf5;box-shadow:0 12px 36px #0007;backdrop-filter:blur(16px)}
.globe-layers-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.globe-layers-panel h3{margin:0;font-size:18px}
.globe-layers-panel button{min-height:44px;min-width:44px;border:1px solid #426a7e;border-radius:8px;background:#102f40;color:#e3f4fc;font:inherit;font-size:14px;cursor:pointer;padding:8px}
#globe-layers-close{font-size:23px;padding:2px;background:transparent}
.globe-basemaps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.globe-basemaps [aria-checked=true]{background:#27677f;border-color:#8cddf4;box-shadow:inset 0 0 0 1px #8cddf4}
.globe-layer-switches{display:grid;gap:3px;margin:14px 0}
.globe-layer-switches label{display:flex;gap:10px;align-items:center;min-height:44px;font-size:14px;cursor:pointer}
.globe-layer-switches input{width:20px;height:20px;accent-color:#77d7f4}
.globe-ground-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#globe-ground-view{background:#1c526c;border-color:#62aac4}
.globe-layers-panel p{color:#abc6d4;font-size:13px;line-height:1.45;margin:12px 0 0}
.globe-layers-panel .globe-layer-hint{font-size:12px;color:#8eacbc;border-top:1px solid #34576a;padding-top:12px}
#globe-selected .globe-path-note{color:#9de7ff;font-size:12px;line-height:1.45;margin:8px 0}
#globe-layers-toggle[aria-expanded=true]{background:#26566d;border-color:#78c9ed}
@media(max-width:600px){
 .globe-buttons{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
 .globe-buttons button{font-size:12px;min-height:44px;padding:5px 2px}
 .globe-layers-panel{top:128px;left:10px;right:10px;width:auto;max-width:none;max-height:calc(100% - 169px);padding:12px}
}

.globe-airport-panel[hidden]{display:none!important}
.globe-surface-detail[hidden],#globe-airport-board[hidden],#globe-surface-retry[hidden]{display:none!important}
.globe-surface-detail{position:absolute;z-index:3;right:14px;bottom:150px;width:260px;max-width:calc(100% - 28px);box-sizing:border-box;padding:15px;border:1px solid #578294;border-radius:12px;background:#092430f5;box-shadow:0 8px 25px #0005}
.globe-surface-detail strong{display:block;padding-right:32px;font-size:17px;color:#f2dc9d}.globe-surface-detail p{font-size:13px;line-height:1.6;color:#d6e7ee}.globe-surface-detail small{font-size:10px;color:#a8c4d0;line-height:1.5}.globe-surface-detail button{float:right;width:36px;height:36px;border:0;background:transparent;color:#fff;font-size:24px;cursor:pointer}
.globe-airport-info{border-top:1px solid #315369;padding:10px 0;color:#bdd8e5;font-size:12px;line-height:1.5}.globe-airport-info summary{cursor:pointer;min-height:30px;align-content:center;font-size:13px;color:#e0edf4}.globe-airport-info p{margin:6px 0}.globe-airport-info a{color:#91d8ef}.globe-airport-info small{color:#91adbc}.globe-board-row{display:grid;gap:3px;padding:10px 0;border-bottom:1px solid #2c4a5c}.globe-board-row strong{color:#e1f1f7}.globe-board-row span{font-size:12px;color:#c0d5df}
#globe-surface-status,#globe-board-availability{font-size:12px;line-height:1.5;color:#a9c8d6;margin:8px 0}#globe-surface-status{color:#d4ddba}#globe-airport-ramp{background:#225871;border-color:#6cbbd4}
.globe-airport-panel{position:absolute;z-index:3;top:96px;left:14px;width:330px;max-width:calc(100% - 28px);max-height:calc(100% - 285px);overflow:auto;background:#081e2bf5;border:1px solid #47748a;border-radius:12px;padding:15px;box-shadow:0 12px 36px #0007;backdrop-filter:blur(16px)}
.globe-airport-panel header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.globe-airport-panel h3,.globe-airport-panel h4{margin:0;font-size:17px}.globe-airport-panel h4{margin-top:14px;line-height:1.4}
.globe-airport-panel label{display:block;font-size:14px;color:#bed8e4;margin-bottom:7px}.globe-airport-panel button{min-height:44px;padding:8px 10px;color:#def2ff;background:#103245;border:1px solid #426a7e;border-radius:7px;font-size:14px}.globe-airport-panel input{min-width:0;width:100%;background:#061521;color:#eefaff;border:1px solid #426a7e;border-radius:7px;padding:10px;font-size:16px}
.globe-airport-search{display:grid;grid-template-columns:1fr auto;gap:6px}#globe-airport-close{font-size:22px;background:transparent;min-width:44px}
#globe-airport-results{display:grid;gap:5px;margin-top:7px}.globe-airport-actions{display:flex;gap:6px;margin:10px 0}.globe-airport-filters{display:grid;grid-template-columns:1fr 1fr;gap:5px}.globe-airport-filters [aria-pressed=true]{background:#246783;border-color:#78c9ed}
#globe-airport-coverage,.globe-airport-disclaimer{color:#a5c5d4;font-size:12px;line-height:1.5}#globe-airport-flights{display:grid;gap:5px}.globe-airport-flight{text-align:left}.globe-airport-flight strong,.globe-airport-flight span{display:block}.globe-airport-flight span{margin-top:4px;color:#a8c8d8;font-size:12px;line-height:1.45}.globe-basemaps{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){.globe-buttons{grid-template-columns:repeat(6,minmax(0,1fr))}.globe-airport-panel{top:128px;left:10px;right:10px;width:auto;max-width:none;max-height:calc(100% - 320px);padding:12px}.globe-selected{top:128px}.globe-buttons button{font-size:11px}.globe-airport-panel:has(~*){z-index:3}}
.globe-airport-panel{box-sizing:border-box;width:355px;max-height:calc(100% - 220px)}.globe-airport-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.globe-airport-filters button{font-size:12px;padding:7px 3px}.globe-airport-actions button{flex:1;font-size:12px;padding:7px}.globe-airport-panel input{box-sizing:border-box}.globe-airport-info #globe-board-content{max-height:300px;overflow:auto}
@media(max-width:600px){.globe-airport-panel{top:132px;width:auto;max-height:calc(100% - 280px)}.globe-surface-detail{right:10px;bottom:175px;width:260px}}

/* Selected actions occupy their own scrollable area, above passive map status. */
.globe-selected{z-index:3;box-sizing:border-box;max-height:calc(100% - 158px);overflow:auto;overscroll-behavior:contain}
.globe-card-primary{position:sticky;bottom:-15px;background:#071a27;padding:10px 0 0;z-index:1}
#live-globe:has(#globe-selected:not([hidden])) .globe-status{max-width:calc(100% - 350px)}
#live-globe:has(#globe-selected:not([hidden])) .globe-status :is(#globe-motion-note,#globe-layer-note,#globe-model-note){display:none}
@media(max-width:600px){
 .globe-selected{top:calc(var(--globe-toolbar-bottom,122px) + 76px);left:10px;right:10px;width:auto;max-width:none;max-height:calc(100% - var(--globe-toolbar-bottom,122px) - 132px)}
 .globe-card-primary{bottom:-12px}
 #live-globe:has(#globe-selected:not([hidden])) .globe-status{top:calc(var(--globe-toolbar-bottom,122px) + 6px);bottom:auto;left:10px;right:10px;max-width:none;max-height:58px;box-sizing:border-box;padding:6px 10px;overflow:hidden}
 #live-globe:has(#globe-selected:not([hidden])) .globe-status strong{font-size:12px}
 #live-globe:has(#globe-selected:not([hidden])) .globe-status #globe-feed{font-size:11px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #live-globe:has(#globe-selected:not([hidden])) .globe-zoom{display:none}
 .globe-selected dl{margin:10px 0;gap:8px}
}

/* Compact live follow controls leave the orbit canvas open. */
#globe-follow{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:#235b70!important;border-color:#86d7ed!important;font-weight:600}
#globe-follow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
#globe-follow[aria-pressed=true]{background:#153c50!important}
.globe-follow-bar[hidden]{display:none!important}
.globe-follow-bar{position:absolute;z-index:3;top:calc(var(--globe-toolbar-bottom,80px) + 10px);left:14px;display:flex;align-items:center;gap:8px;max-width:calc(100% - 28px);padding:5px;border:1px solid #6bacbf;border-radius:12px;background:#09212fed;box-shadow:0 6px 20px #0004}
.globe-follow-bar button{min-height:44px;padding:8px 12px;border-radius:8px;color:#def2ff;border-color:#467388;background:#123648}
#globe-follow-details{min-width:0;text-align:left;background:transparent;border:0}
#globe-follow-details strong,#globe-follow-details small{display:block}
#globe-follow-details strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#globe-follow-details small{font-size:11px;color:#9fc3d3;margin-top:2px}
@media(max-width:600px){.globe-follow-bar{left:10px;max-width:calc(100% - 20px)}}
