.flight-workspace { min-width:0; }
.flight-toolbar { display:flex; align-items:end; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
.flight-toolbar label { flex:1 1 180px; min-width:0; }
.flight-toolbar label>span { display:block; color:#607d92; font-size:11px; margin-bottom:6px; }
.flight-toolbar select,.flight-toolbar input { width:100%; min-width:0; height:40px; border:1px solid #dbe7f0; border-radius:10px; background:#fff; padding:0 12px; color:#294c65; font:inherit; }
.flight-layout { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:16px; align-items:start; }
.flight-map-wrap { position:relative; border:1px solid #dce8f0; border-radius:17px; overflow:hidden; background:#eaf2f5; }
.flight-map { height:570px; width:100%; z-index:0; background:#eaf2f5; }
.console-app .flight-map svg { width:auto; height:auto; }
.flight-map .leaflet-control-attribution { font-size:9px; padding:3px 6px; background:#fffffff0; color:#526b7a; }
.flight-map .leaflet-control-attribution a { color:#236b96; text-decoration:underline; }
.flight-map .leaflet-control-zoom a { color:#42657d; }
.flight-map .leaflet-tooltip { border:1px solid #d6e5ef; box-shadow:0 3px 12px #18384d10; color:#34566d; font:11px system-ui; }
.flight-map-buttons { display:flex; flex-wrap:wrap; gap:7px; padding:12px; background:white; border-top:1px solid #e5edf3; }
.flight-map-buttons .console-button { flex:1 1 auto; padding:8px 10px; min-height:35px; }
.flight-legend { position:absolute; left:13px; bottom:70px; z-index:500; display:flex; flex-wrap:wrap; gap:10px; padding:7px 10px; border-radius:8px; background:#fffffff0; color:#4f6b7f; font-size:10px; pointer-events:none; box-shadow:0 3px 13px #224f6b10; }
.flight-legend span { display:flex; align-items:center; gap:5px; }
.flight-legend i { width:16px; height:2px; background:#329ddf; display:block; }
.flight-legend i.track { background:#329184; }
.flight-legend i.replay { background:#b78637; }
.flight-sidebar { display:flex; flex-direction:column; gap:14px; min-width:0; }
.flight-card { background:#fff; border:1px solid #e1eaf1; border-radius:15px; padding:19px; min-width:0; }
.flight-card h2 { font-size:15px; font-weight:550; margin:0 0 6px; overflow-wrap:anywhere; }
.flight-card .flight-kicker { display:block; font-size:9px; color:#88a0b3; letter-spacing:1.2px; margin-bottom:8px; }
.flight-card p { font-size:12px; color:#71899b; margin:8px 0 12px; }
.flight-card dl { display:grid; grid-template-columns:1fr 1fr; gap:15px 10px; margin:18px 0; }
.flight-card dt { font-size:10px; color:#8198aa; margin-bottom:5px; }
.flight-card dd { font-size:13px; color:#345770; margin:0; overflow-wrap:anywhere; }
.flight-card .flight-coordinates { font-variant-numeric:tabular-nums; color:#48718c; font-size:11px; overflow-wrap:anywhere; display:block; margin:10px 0; }
.flight-card .console-button { width:100%; margin-top:7px; }
.flight-card .flight-muted { font-size:11px; color:#8097a9; }
.flight-card .flight-status { display:inline-flex; align-items:center; gap:6px; font-size:11px; color:#71899b; margin:5px 0; }
.flight-status:before { content:''; height:6px; width:6px; background:#9bafbc; border-radius:50%; }
.flight-status[data-status=online] { color:#318573; }
.flight-status[data-status=online]:before { background:#4ba68f; }
.flight-status[data-status=stale] { color:#a77d3e; }
.flight-status[data-status=stale]:before { background:#c4a26a; }
.flight-replay { padding:17px 20px; background:#fff; border:1px solid #e1eaf1; border-radius:15px; margin-top:16px; }
.flight-replay-head { display:flex; align-items:center; gap:12px; justify-content:space-between; margin-bottom:12px; flex-wrap:wrap; }
.flight-replay h2 { font-size:14px; font-weight:550; margin:0; }
.flight-replay select { min-width:0; max-width:100%; flex:1 1 180px; border:1px solid #dfe9f0; border-radius:8px; height:35px; background:white; padding:0 9px; color:#4d6e84; }
.flight-playline { display:flex; align-items:center; gap:12px; }
.flight-playline input[type=range] { min-width:0; flex:1; accent-color:#329ddf; }
.flight-playline output { color:#607f95; min-width:45px; font-size:11px; text-align:right; font-variant-numeric:tabular-nums; }
.flight-replay-meta { display:flex; flex-wrap:wrap; align-items:center; gap:12px; justify-content:space-between; font-size:11px; color:#7b93a5; margin-top:10px; }
.flight-replay-meta .console-text-button { margin-left:auto; }
.flight-note { padding:10px 13px; margin:0 0 13px; border:1px solid #d7eaf6; color:#4e809f; background:#f0f8fe; border-radius:9px; font-size:12px; overflow-wrap:anywhere; }
.flight-note.is-error { color:#a1684a; border-color:#ebddce; background:#fff9f4; }
.flight-note:empty { display:none; }
.flight-editbar { padding:14px; background:#f5fbff; border:1px solid #d4e8f6; border-radius:12px; margin-bottom:14px; }
.flight-editbar p { margin:0 0 12px; font-size:12px; color:#587d96; }
.flight-edit-actions { display:flex; gap:8px; flex-wrap:wrap; }
.flight-edit-actions .console-button { min-height:33px; padding:7px 11px; }
.flight-dock-symbol { display:grid; place-items:center; width:28px; height:28px; border:2px solid white; border-radius:8px; background:#fff; color:#5886a2; box-shadow:0 2px 10px #1e466b35; font-size:16px; }
.flight-plane-symbol { display:grid; place-items:center; width:32px; height:32px; border:2px solid white; border-radius:50%; background:#329ddf; box-shadow:0 2px 12px #2074a755; }
.flight-plane-symbol svg { width:21px!important; height:21px!important; color:#fff; }
.flight-plane-symbol.stale { background:#8d9fae; }
.flight-plane-symbol.replay { background:#b78637; }
.flight-waypoint { display:grid; place-items:center; width:21px; height:21px; border-radius:50%; border:2px solid white; color:white; background:#329ddf; font-size:10px; box-shadow:0 1px 7px #215c872c; font-weight:600; }
.flight-waypoint.editing { background:#146fa8; width:25px; height:25px; cursor:grab; }
.flight-search-list { max-height:145px; overflow-y:auto; margin-top:8px; }
.flight-search-list button { display:flex; width:100%; background:white; border:0; border-bottom:1px solid #edf3f7; padding:10px 0; color:#52758d; text-align:left; font-size:12px; justify-content:space-between; gap:8px; }
.flight-search-list button.is-selected { color:#188fd5; }
.flight-search-list small { font-size:10px; color:#8ba0af; flex-shrink:0; }
.flight-file { display:none; }
.flight-tile-error { position:absolute; top:12px; left:55px; right:12px; z-index:450; background:#fffffff2; border:1px solid #e1eaf1; border-radius:8px; padding:8px 10px; color:#738b9d; font-size:11px; }
.flight-tile-error button { border:0; background:none; color:#268fcf; padding:0 3px; font:inherit; }
@media(max-width:1180px) { .flight-layout { grid-template-columns:minmax(0,1fr) 235px; } .flight-sidebar .flight-card { padding:16px; } }
@media(max-width:980px) { .flight-layout { grid-template-columns:1fr; } .flight-sidebar { display:grid; grid-template-columns:1fr 1fr; } .flight-map { height:480px; } }
@media(max-width:560px) { .flight-toolbar { gap:10px; } .flight-toolbar label { flex-basis:100%; } .flight-map { height:380px; } .flight-sidebar { display:flex; } .flight-map-buttons { gap:6px; padding:10px; } .flight-map-buttons .console-button { font-size:11px!important; padding:8px; } .flight-legend { bottom:108px; font-size:9px; left:10px; gap:8px; } .flight-replay { padding:15px 13px; } .flight-playline { gap:8px; } .flight-replay-meta { gap:8px; } .flight-replay-head select { flex-basis:100%; } .flight-card dl { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:350px) { .flight-card dl { grid-template-columns:1fr 1fr; } .flight-map { height:340px; } .flight-legend { bottom:145px; } }
