/* Instrument overlay: no texture assets or simulated sensor values. */
.cat-deck{position:absolute;inset:0;z-index:12;color:#e7f5f5;pointer-events:none;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(#020b145c,transparent 24%,transparent 66%,#03101bdb)}
.cat-deck [hidden]{display:none!important}.deck-hud{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.deck-header{position:absolute;left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));top:max(15px,env(safe-area-inset-top));display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.deck-identity{min-width:0;text-shadow:0 2px 5px #000}.deck-eyebrow{display:block;font:600 9px ui-monospace,monospace;letter-spacing:2px;color:#8db5c1}.deck-identity strong{display:block;font-size:23px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deck-identity small{display:block;font:10px ui-monospace,monospace;color:#9cf0d6;margin-top:4px}
.deck-tools{display:flex;gap:5px;pointer-events:auto}.cat-deck button,.cat-deck select{background:#081e2bd9;border:1px solid #557680;color:#e6f2f4;border-radius:7px;min-height:42px;min-width:42px;padding:6px 12px;font:600 12px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;touch-action:manipulation}.cat-deck button:hover,.cat-deck button:focus-visible{background:#244856;border-color:#a9eee4;outline:2px solid #86d5e5;outline-offset:2px}.deck-tools button:last-child{background:#133849}.deck-tools button:first-child,.deck-tools button:nth-child(2){font-size:20px}
.deck-footer{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);width:min(820px,calc(100% - 32px));pointer-events:auto;background:#051823ed;border:1px solid #3f606e;border-radius:12px;padding:10px 15px;box-sizing:border-box;box-shadow:0 8px 30px #0005;backdrop-filter:blur(10px)}
.deck-readouts{display:grid;grid-template-columns:repeat(4,1fr);margin:0 0 8px;gap:12px}.deck-readouts>div{border-right:1px solid #39515c}.deck-readouts>div:last-child{border:0}.deck-readouts dt{font:9px ui-monospace,monospace;color:#8baab9;letter-spacing:.8px}.deck-readouts dd{margin:4px 0 0;font:500 21px ui-monospace,SFMono-Regular,Consolas,monospace;color:#e7f5ef;font-variant-numeric:tabular-nums}
.deck-navigation{display:flex;align-items:center;gap:6px;margin:4px 0}.deck-navigation button{min-height:32px;min-width:32px;padding:4px 9px;font-size:11px}.deck-navigation button:first-child,.deck-navigation button:nth-child(3){font-size:20px}.deck-position,.deck-clock{font:10px ui-monospace,monospace;color:#afcbd3;margin-left:auto}.deck-clock{white-space:nowrap}
.deck-transport{display:flex;gap:10px;align-items:center;border-top:1px solid #2c4654;padding-top:7px;margin-top:5px}.deck-transport button{min-height:36px;white-space:nowrap;min-width:82px;background:#194153}.deck-transport input[type=range]{width:100%;min-width:30px;accent-color:#81d7e4;min-height:32px}.deck-transport select{min-height:36px;max-width:68px;padding:5px}.deck-feed-note{color:#94b7c6;font-size:10px}.deck-basis{display:block;margin-top:7px;font-size:9px;letter-spacing:.2px;color:#a6bdc4}
.deck-notice{position:absolute;top:145px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 36px);box-sizing:border-box;background:#422f16ed;border:1px solid #b99155;padding:10px 16px;border-radius:8px;font-size:12px;text-align:center;color:#ffdcaa}
.deck-info{position:absolute;z-index:2;top:72px;right:18px;width:345px;max-width:calc(100% - 36px);max-height:calc(100% - 105px);overflow:auto;pointer-events:auto;border:1px solid #5e8795;border-radius:12px;background:#071b29f7;padding:18px;box-sizing:border-box}.deck-info h3{margin:0 38px 12px 0;font-size:17px}.deck-info button{position:absolute;right:8px;top:8px;font-size:22px}.deck-info p{font-size:12px;line-height:1.6;color:#b5ceda;margin:10px 0}.deck-sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
#live-globe.deck-expanded{position:fixed;top:var(--deck-top,0);left:0;right:0;bottom:auto;height:var(--deck-height,100dvh);width:100%;z-index:2147483001}
#live-globe.flight-deck-active>.globe-toolbar,#live-globe.flight-deck-active>.globe-selected,#live-globe.flight-deck-active>.globe-status,#live-globe.flight-deck-active>.globe-zoom,#live-globe.flight-deck-active>.globe-layers-panel,#live-globe.flight-deck-active>.globe-airport-panel,#live-globe.flight-deck-active>.globe-surface-detail{display:none!important}
#cesium-replay-surface.flight-deck-active #cesium-replay-topbar,#cesium-replay-surface.flight-deck-active .cesium-hud,#cesium-replay-surface.flight-deck-active #cesium-controls,#cesium-replay-surface.flight-deck-active #cesium-playback-note{display:none!important}
#cesium-replay-surface.flight-deck-active.replay-expanded{grid-template-rows:minmax(0,1fr)}
body.flight-deck-open{overflow:hidden!important}body.flight-deck-open .cat-wx-panel,body.flight-deck-open .cat-wx-timeline,body.flight-deck-open .cat-wx-badge{display:none!important}
#globe-flight-deck,#cat-summary-deck{width:100%;min-height:44px;margin-top:10px;background:#194b61!important;border:1px solid #5dacc4!important;color:#e9faff;border-radius:8px;font-weight:600}#cesium-flight-deck{border-color:#5dacc4;color:#c9f5ff}
#cesium-flight-deck:disabled,#cat-summary-deck:disabled{opacity:.45;cursor:default}
@media(min-width:761px){#cesium-replay-surface #cesium-controls{grid-template-columns:auto minmax(90px,1fr) auto auto auto auto}}
@media(max-width:760px){#cesium-replay-surface #cesium-flight-deck{grid-column:1/-1}.deck-header{top:max(12px,env(safe-area-inset-top));left:12px;right:12px;gap:5px}.deck-identity strong{font-size:20px}.deck-eyebrow{font-size:8px;letter-spacing:1.3px}.deck-identity small{font-size:9px}.deck-tools{gap:4px}.cat-deck .deck-tools button{padding:5px 9px;min-width:37px;min-height:40px}.deck-footer{width:calc(100% - 18px);padding:10px;bottom:max(26px,env(safe-area-inset-bottom))}.deck-readouts{gap:7px}.deck-readouts dt{font-size:8px;letter-spacing:0}.deck-readouts dd{font-size:18px}.deck-navigation{gap:4px}.deck-position{font-size:8px;max-width:100px}.deck-clock{font-size:9px}.deck-basis{font-size:8px}.deck-info{right:10px;max-width:calc(100% - 20px)}}
@media(max-height:500px) and (orientation:landscape){.deck-header{top:7px}.deck-identity strong{font-size:17px}.deck-eyebrow{display:none}.deck-identity small{font-size:9px}.deck-footer{bottom:19px;padding:6px 10px;width:min(700px,calc(100% - 160px));display:grid;grid-template-columns:1fr 1fr;gap:3px 10px}.deck-readouts{margin:0;gap:7px;grid-column:1}.deck-readouts dd{font-size:16px;margin-top:2px}.deck-readouts dt{font-size:7px}.deck-navigation{grid-column:2;margin:0}.deck-position{display:none}.deck-transport{grid-column:1/-1;margin:0;padding:0;border:0}.deck-transport button{min-height:28px;padding:3px 8px;font-size:10px}.deck-transport select{min-height:28px}.deck-transport input[type=range]{min-height:24px}.deck-basis{margin:0;font-size:8px;grid-column:1/-1}.deck-notice{top:116px}}

.flight-deck-active .cesium-viewer-bottom{z-index:13}.flight-deck-active .cesium-credit-lightbox-overlay{z-index:14}.flight-deck-active .cesium-credit-textContainer{background:#061621e8!important;color:#b9d6df!important}.flight-deck-active .cesium-credit-textContainer a{color:#b9d6df!important}

/* The cabinet stays above attribution and safe-area chrome; its contents leave the tab order. */
.deck-dock{position:absolute;bottom:calc(52px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(820px,calc(100% - 24px));pointer-events:auto;display:flex;flex-direction:column;align-items:center;max-height:calc(100% - 185px)}
.deck-drawer-bar{display:flex;gap:8px;padding:5px;background:#061923f2;border:1px solid #507382;border-radius:13px;box-shadow:0 5px 18px #0006;flex:none}
.cat-deck .deck-drawer-bar button{min-height:44px;padding:8px 16px;background:transparent;border-color:transparent;font-size:12px}.cat-deck .deck-drawer-bar button:hover{background:#244856}.cat-deck .deck-drawer-handle{touch-action:pan-x}
.deck-dock.is-open .deck-drawer-bar{border-radius:13px 13px 0 0;border-bottom:0;align-self:stretch;justify-content:space-between}
.deck-dock .deck-footer{position:relative;left:auto;bottom:auto;transform:none;width:100%;max-height:min(52dvh,480px);min-height:0;overflow-y:auto;overscroll-behavior:contain;display:block;border-radius:0 0 13px 13px;padding:12px;box-shadow:0 10px 26px #0005;animation:deck-drawer-in .18s ease-out}
.deck-weather{margin-top:10px;padding-top:10px;border-top:1px solid #38505b}.deck-weather h3{margin:0 0 8px;font-size:13px}.deck-weather-switches{display:flex;gap:8px}.deck-weather-switches button{flex:1;min-height:44px}.deck-weather-switches button[aria-pressed=true]{color:#adf9e4;background:#15453f;border-color:#70c8b2}.deck-weather-status{color:#b9dfeb;font-size:11px;line-height:1.5;margin:9px 0}.deck-weather-explanation,.deck-weather-source{display:block;font-size:10px;line-height:1.5;color:#9eb9c6;margin:7px 0}.deck-weather-reports{font-size:11px}.deck-weather-reports details{padding:7px 0;border-bottom:1px solid #304956}.deck-weather-reports summary{cursor:pointer;color:#ffd5a4;min-height:24px}.deck-weather-reports pre{white-space:pre-wrap;font:10px/1.5 ui-monospace,monospace;color:#c6d8df}.deck-weather-badge{font:9px ui-monospace,monospace;letter-spacing:.5px;color:#c5e9f0;background:#082633e8;padding:6px 10px;border-radius:6px;margin-bottom:7px;text-align:center}
@keyframes deck-drawer-in{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){.deck-dock .deck-footer{animation:none}}
@media(max-height:500px) and (orientation:landscape){.deck-dock{bottom:34px;max-height:calc(100% - 100px);width:min(700px,calc(100% - 100px))}.deck-dock .deck-footer{max-height:45dvh}.deck-weather-badge{position:absolute;bottom:100%;margin-bottom:4px}.deck-dock .deck-readouts{display:grid;grid-template-columns:repeat(4,1fr)}}

.deck-weather-icon{display:inline-block;width:18px;height:18px;margin-right:7px;vertical-align:middle;fill:none;stroke:#9edfff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
