/* Full-screen, map-first presentation. The map remains the page; controls float above it. */
:root{--glass:rgba(20,24,29,.82);--glass-strong:rgba(20,24,29,.94);--line:rgba(255,255,255,.12);--text:#f6f7f8;--muted:#b5bbc1;--soft:#858d95;--accent:#76b9ff;--shadow:0 12px 36px rgba(0,0,0,.24)}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#202428;color:var(--text)}
.app-shell{display:block;position:relative;min-height:0;height:100dvh;overflow:hidden}
.workspace{display:block;position:absolute;inset:0;min-height:0;overflow:hidden}
.left-rail{display:none}
.map-stage{display:block;position:absolute;inset:0;min-width:0;background:#252a2e}
.map-wrap{position:absolute;inset:0;min-height:0;overflow:hidden;background:#252a2e}
.map-canvas-stack{position:absolute;inset:0}
.topbar{position:absolute;z-index:10;top:12px;left:14px;right:14px;height:46px;min-height:46px;display:flex;gap:0;padding:0;background:transparent;border:0;pointer-events:none}
.brand,.top-nav,.top-actions{pointer-events:auto}
.brand{gap:8px;min-width:auto;padding:5px 12px 5px 6px;border:1px solid var(--line);border-radius:15px;background:var(--glass);backdrop-filter:blur(18px);box-shadow:var(--shadow)}
.brand-mark{width:32px;height:32px;border-radius:10px;background:#eef5ff;color:#3977d4;box-shadow:none}
.brand b{font:700 17px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.55px}
.brand small{font:600 8px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:1px;color:#c3c8cd;margin-top:1px}
.top-nav{position:absolute;left:50%;top:2px;transform:translateX(-50%);height:42px;gap:2px;padding:4px;border:1px solid var(--line);border-radius:14px;background:var(--glass);backdrop-filter:blur(18px);box-shadow:var(--shadow)}
.nav-item{height:32px;padding:0 13px;border-radius:10px;color:#c4c8cc;font-size:12px;font-weight:600}
.nav-item span{display:none}
.nav-item:hover,.nav-item.active{background:rgba(255,255,255,.12);color:#fff}
.nav-item.active:after{display:none}
.top-actions{margin-left:auto;gap:8px}
.icon-button,.avatar-button{width:40px;height:40px;border:1px solid var(--line);background:var(--glass);backdrop-filter:blur(18px);box-shadow:var(--shadow);color:#f3f5f7}
.avatar-button{background:var(--glass);font-size:12px}
.map-heading{display:none}
.map-topline{position:absolute;z-index:5;top:68px;left:50%;transform:translateX(-50%);width:min(530px,calc(100vw - 390px));height:48px;flex:initial;padding:0;justify-content:center;pointer-events:none}
.map-tools{width:100%;gap:8px;pointer-events:auto}
.search-box{height:46px;width:auto;flex:1;border:1px solid var(--line);border-radius:15px;background:var(--glass-strong);box-shadow:var(--shadow);backdrop-filter:blur(18px);padding:0 14px;color:#d5d9dd}
.search-box:focus-within{border-color:#ffffff4d;box-shadow:var(--shadow),0 0 0 3px #ffffff14}
.search-icon{font-size:18px;color:#d9dde0}
.search-box input{font-size:13px;color:#f7f8f9}
.search-box input::placeholder{color:#bbc0c5}
.search-box kbd{font:11px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#c5c9ce;background:#ffffff16;border:1px solid #ffffff12;border-radius:6px;padding:4px 6px}
.tool-button{height:40px;padding:0 13px;border-radius:12px;background:var(--glass);border:1px solid var(--line);backdrop-filter:blur(18px);box-shadow:var(--shadow);color:#f2f4f6;font-size:12px}
.tool-button:hover{background:rgba(46,51,57,.94);border-color:#ffffff36}
.tool-button.subtle{height:40px;padding:0 12px;background:var(--glass);border:1px solid var(--line);border-radius:12px}
.filter-count{background:var(--accent);color:#102b49}
.map-toolbar{position:absolute;z-index:5;top:15px;left:220px;right:170px;height:40px;flex:initial;padding:0;gap:10px;background:transparent;border:0;pointer-events:none}
.server-switch,.map-status,.map-toolbar-right{pointer-events:auto}
.server-switch{gap:2px;padding:3px;border:1px solid var(--line);border-radius:12px;background:var(--glass);backdrop-filter:blur(18px);box-shadow:var(--shadow)}
.server-choice{padding:7px 11px;border-radius:9px;font-size:11px;color:#c4c9ce}
.server-choice.active{background:#fff;color:#252a2f;box-shadow:none}
.map-status{gap:8px;font-size:11px;color:#e3e6e9}
.status-pill{padding:7px 10px;border:1px solid var(--line);background:var(--glass);border-radius:11px;color:#edf1f3;font-size:11px;backdrop-filter:blur(18px);box-shadow:var(--shadow)}
.status-pill .live-dot{box-shadow:none}
.map-updated{font:11px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e0e4e7}
.map-toolbar-right{margin-left:auto;gap:7px}
.map-corner-note{z-index:2;top:auto;left:18px;bottom:16px;background:var(--glass);border:1px solid var(--line);border-radius:11px;padding:8px 11px;color:#edf0f2;font-size:10px;backdrop-filter:blur(16px);box-shadow:var(--shadow)}
.corner-signal{background:#ffc76b}
.map-watermark{display:none}
.map-attribution{z-index:3;right:12px;bottom:9px;padding:4px 7px;border-radius:7px;background:rgba(15,18,21,.7);font:10px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e7e9eb}
.map-zoom{right:16px;bottom:70px;border:1px solid var(--line);border-radius:13px;background:var(--glass);box-shadow:var(--shadow);backdrop-filter:blur(18px)}
.map-zoom button{width:42px;height:40px;color:#f3f5f6;font-size:21px;border-color:#ffffff17}
.map-zoom button:last-child{font-size:17px}
.map-scale{right:70px;bottom:20px;font:10px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#edf0f2}
.map-scale span{width:44px;height:6px;border-color:#edf0f2}
.bottom-summary{position:absolute;z-index:5;left:50%;bottom:14px;transform:translateX(-50%);height:48px;min-height:48px;flex:initial;gap:16px;padding:0 15px;border:1px solid var(--line);border-radius:16px;background:var(--glass-strong);backdrop-filter:blur(18px);box-shadow:var(--shadow)}
.summary-item{gap:7px}
.summary-icon{width:25px;height:25px;background:#ffffff12;border-radius:9px;font-size:12px;color:#edf1f4}
.summary-icon.cyan,.summary-icon.violet,.summary-icon.orange,.summary-icon.green{color:#edf1f4}
.summary-item b{font:650 12px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.summary-item small{font-size:9px;color:#bdc3c8}
.summary-spacer,.summary-caption{display:none}
.insight-panel{position:static;display:contents;background:none;border:0;box-shadow:none;overflow:visible;pointer-events:none}
.panel-tabs{position:fixed;z-index:7;left:16px;top:126px;height:42px;display:flex;gap:3px;padding:4px;border:1px solid var(--line);border-radius:13px;background:var(--glass-strong);backdrop-filter:blur(18px);box-shadow:var(--shadow);pointer-events:auto}
.panel-tab{height:32px;padding:0 12px;border-radius:9px;background:transparent;color:#d0d4d8;font-size:11px;font-weight:600}
.panel-tab.active{background:#fff;color:#282d31}
.panel-content{position:fixed;z-index:6;left:16px;top:178px;bottom:72px;width:310px;height:auto;max-height:none;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;background:var(--glass-strong);backdrop-filter:blur(20px);box-shadow:var(--shadow);pointer-events:auto;overflow:hidden}
.section-heading{padding:15px 16px 12px;border-bottom:1px solid #ffffff12}
.section-heading h2{font:650 16px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.3px}
.section-heading p{font-size:11px;color:#b5bdc3}
.traffic-controls{padding:10px 15px;font-size:10px;border-bottom:1px solid #ffffff12}
.flight-list{padding:5px;overflow-y:auto;overscroll-behavior:contain}
.flight-card{margin:4px;padding:11px 12px;border:1px solid transparent;border-radius:12px;background:rgba(255,255,255,.055);transition:background .15s ease,border-color .15s ease}
.flight-card:hover{background:rgba(255,255,255,.11);border-color:#ffffff20}
.flight-card.selected{background:rgba(118,185,255,.13);border-color:rgba(118,185,255,.4)}
.flight-card-head b,.flight-route{color:#f7f8f9}
.flight-card small,.flight-meta{color:#b7bfc5}
.panel-footer{padding:10px 14px;border-top:1px solid #ffffff12;color:#c4cacf}
.airport-row,.atc-row{padding:12px 14px;border-bottom-color:#ffffff12}
.airport-row:hover,.atc-row:hover{background:#ffffff0c}
.airport-code{background:#ffffff12;color:#f0f4f6;border-radius:9px}
.airport-info small,.atc-info small{color:#c0c6cb}
.flight-detail{position:fixed;z-index:8;right:16px;top:68px;bottom:72px;width:350px;height:auto;flex:none;padding:14px;display:block;overflow-y:auto;border:1px solid var(--line);border-radius:17px;background:var(--glass-strong);backdrop-filter:blur(22px);box-shadow:var(--shadow);pointer-events:auto}
.back-link{position:sticky;top:-14px;z-index:2;width:calc(100% + 28px);margin:-14px -14px 12px;padding:13px 15px;border-bottom:1px solid #ffffff12;background:rgba(20,24,29,.96);text-align:left;color:#dbe0e4;font-size:12px}
.detail-hero{border:1px solid #ffffff16;border-radius:13px;background:rgba(255,255,255,.08)}
.detail-hero h2{font:700 22px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.detail-hero p,.detail-list div b{color:#d4dade}
.detail-eyebrow{font:600 10px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#a9d2fa;letter-spacing:.4px}
.route-middle{background:linear-gradient(90deg,#77b8fa88,#77b8fa44)!important}
.route-middle:after{background:#252b31!important;color:#a9d2fa!important}
.progress-track{background:#ffffff28}.progress-track span{background:#86c2ff}
.detail-grid{border-color:#ffffff15;background:#ffffff15}
.detail-stat{background:rgba(255,255,255,.055)}
.detail-stat small,.detail-list div small{color:#b5bec4}
.detail-stat b{font:600 12px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.detail-section h3{font:650 10px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.45px;color:#e7eaed}
.detail-phase{background:#ffffff0d;border-color:#ffffff18;color:#dbe7f2}
.facility-chip{color:#e4edf6;border-color:#ffffff22;background:#ffffff10}
.data-note{color:#aab2b8;font-size:9px}
.map-style-menu{z-index:8;top:66px;right:174px;padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--glass-strong);box-shadow:var(--shadow);backdrop-filter:blur(18px)}
.map-style-menu button{font-size:11px;padding:8px 12px;border-radius:8px;color:#d9dde0}
.map-style-menu button:hover,.map-style-menu button.active{background:#ffffff18;color:white}
.search-results{position:absolute;z-index:9;top:121px;left:50%;transform:translateX(-50%);width:min(530px,calc(100vw - 390px));border:1px solid var(--line);border-radius:14px;background:var(--glass-strong);box-shadow:var(--shadow);backdrop-filter:blur(18px)}
.filter-popover,.layers-popover{z-index:9;top:121px;right:18px;width:290px;border:1px solid var(--line);border-radius:15px;background:var(--glass-strong);box-shadow:var(--shadow);backdrop-filter:blur(18px)}
.filter-popover label,.layers-popover label{color:#d8dde1}
.filter-popover input,.filter-popover select{background:#ffffff12;border-color:#ffffff1c;color:white}
.toast{z-index:30;bottom:78px;border:1px solid var(--line);border-radius:13px;background:var(--glass-strong);color:#f6f7f8;font-size:12px;backdrop-filter:blur(18px)}
.light-mode{--glass:rgba(255,255,255,.82);--glass-strong:rgba(255,255,255,.95);--line:rgba(23,36,47,.14);--text:#1d2730;--muted:#697781;--soft:#8c969e;--shadow:0 12px 36px rgba(30,48,59,.16)}
.light-mode .brand,.light-mode .top-nav,.light-mode .icon-button,.light-mode .avatar-button,.light-mode .server-switch,.light-mode .status-pill,.light-mode .tool-button,.light-mode .tool-button.subtle,.light-mode .map-zoom,.light-mode .bottom-summary,.light-mode .panel-tabs,.light-mode .panel-content,.light-mode .flight-detail,.light-mode .map-style-menu,.light-mode .search-results,.light-mode .filter-popover,.light-mode .layers-popover{color:#1d2730}
.light-mode .brand small,.light-mode .nav-item,.light-mode .panel-tab,.light-mode .tool-button,.light-mode .tool-button.subtle,.light-mode .map-updated,.light-mode .map-status,.light-mode .map-zoom button,.light-mode .panel-footer,.light-mode .section-heading p,.light-mode .traffic-controls,.light-mode .airport-info small,.light-mode .atc-info small,.light-mode .detail-hero p,.light-mode .detail-list div b,.light-mode .detail-stat small,.light-mode .detail-list div small,.light-mode .detail-stat b,.light-mode .data-note,.light-mode .detail-section h3,.light-mode .facility-chip,.light-mode .map-style-menu button{color:#34434e}
.light-mode .nav-item.active,.light-mode .panel-tab.active,.light-mode .server-choice.active{background:#26343f;color:#fff}
.light-mode .search-box input{color:#202a32}.light-mode .search-box input::placeholder{color:#697781}.light-mode .search-box kbd{color:#52616b;background:#1c293011}
.light-mode .map-corner-note{background:var(--glass-strong);color:#34434e}.light-mode .map-attribution{background:#ffffffe0;color:#34434e}
.light-mode .flight-card{background:rgba(30,48,59,.045)}.light-mode .flight-card:hover{background:rgba(30,48,59,.09)}.light-mode .flight-card.selected{background:rgba(67,137,202,.12)}
.light-mode .detail-hero,.light-mode .detail-stat,.light-mode .detail-phase,.light-mode .airport-code,.light-mode .facility-chip{background:rgba(30,48,59,.055)}
.light-mode .back-link{background:rgba(255,255,255,.97);color:#34434e}
@media(max-width:1100px){.map-toolbar{left:190px;right:145px}.map-toolbar-right{gap:5px}.tool-button.subtle{padding-inline:9px}.bottom-summary{gap:10px;padding-inline:12px}.summary-item small{font-size:8px}.panel-content{width:286px}.flight-detail{width:320px}}
@media(max-width:820px){
  .topbar{top:8px;left:8px;right:8px;height:42px;min-height:42px;padding:0}
  .brand{padding:4px 9px 4px 4px;border-radius:13px}.brand-mark{width:30px;height:30px}.brand b{font-size:15px}.brand small{font-size:7px}
  .top-nav{display:none}.top-actions{gap:6px}.icon-button,.avatar-button{width:36px;height:36px}
  .map-topline{top:60px;left:8px;right:8px;transform:none;width:auto;height:42px}
  .map-tools{gap:6px}.search-box{height:42px;padding:0 11px;border-radius:13px}.search-box input,.search-box kbd{display:block;font-size:11px}.search-box kbd{display:none}.filter-toggle{height:42px;width:42px;padding:0;justify-content:center}.filter-toggle span{display:none}
  .map-toolbar{top:111px;left:8px;right:8px;height:36px;gap:6px}.server-switch{padding:2px;border-radius:10px}.server-choice{padding:6px 8px;font-size:10px}.map-status{margin-left:2px}.status-pill{padding:6px 8px;font-size:9px}.map-updated{display:none}.map-toolbar-right{gap:4px}.tool-button.subtle{height:35px;width:36px;justify-content:center;padding:0}.tool-button.subtle span{display:none}.map-toolbar-right #fullButton{display:none}
  .map-wrap{min-height:0}.map-zoom{right:10px;bottom:82px}.map-zoom button{width:36px;height:36px}.map-scale{right:55px;bottom:18px;font-size:9px}.map-attribution{right:7px;bottom:5px;font-size:8px}.map-corner-note{left:8px;bottom:13px;padding:6px 8px;font-size:8px;max-width:calc(100vw - 122px)}
  .bottom-summary{bottom:13px;left:50%;height:42px;min-height:42px;gap:9px;padding:0 10px;border-radius:14px}.summary-icon{width:21px;height:21px}.summary-item{gap:4px}.summary-item b{font-size:10px}.summary-item small{display:none}
  .panel-tabs{position:fixed;left:50%;top:auto;bottom:67px;transform:translateX(-50%);height:40px;padding:3px;border-radius:13px}.panel-tab{height:32px;padding:0 11px;font-size:10px}
  .panel-content{left:8px;right:8px;top:auto;bottom:114px;width:auto;height:min(42vh,350px);max-height:min(42vh,350px);border-radius:16px;transition:transform .24s ease;transform:translateY(calc(100% + 16px))}
  .panel-content:not(.hidden){transform:translateY(0)}
  .flight-detail{left:8px;right:8px;top:auto;bottom:113px;width:auto;height:min(62vh,560px);padding:12px;border-radius:17px}
  .flight-detail.hidden{display:none!important}
  .back-link{top:-12px;width:calc(100% + 24px);margin:-12px -12px 10px}
  .map-style-menu{right:8px;top:153px}.search-results{left:8px;right:8px;top:107px;transform:none;width:auto}.filter-popover,.layers-popover{top:154px;right:8px;width:min(290px,calc(100vw - 16px))}
  .map-empty{top:40%}.toast{bottom:72px}.mobile-dock{display:none}
}
@media(max-width:480px){
  .map-toolbar{top:109px}.map-toolbar-right{gap:3px}.map-toolbar-right #focusButton{display:none}.tool-button.subtle{width:33px}
  .server-choice{padding:6px 6px}.map-status{gap:3px}.status-pill{padding:6px 7px;font-size:8px}
  .bottom-summary{left:8px;right:8px;transform:none;justify-content:center;gap:14px}
  .summary-item:nth-child(n+3){display:none}.map-corner-note{bottom:64px}
  .panel-content{bottom:112px;height:44vh;max-height:44vh}.flight-detail{bottom:112px;height:65vh}
}

/* Keep the current workspace focused on flights and the map. */
.top-nav,#layersButton,#focusButton,#fullButton,.panel-tabs,.mobile-dock,.left-rail,.theme-toggle,.map-corner-note{display:none!important}
.map-toolbar{left:185px;right:154px}
.map-toolbar-right{margin-left:auto}
.panel-content{top:126px;bottom:18px}
.summary-item:not(:first-child){display:none}
.bottom-summary{left:auto;right:370px;bottom:17px;transform:none;height:42px;min-height:42px;padding:0 12px;border-radius:13px}
.flight-detail{right:16px;top:72px;bottom:18px}
@media(max-width:1100px){.map-toolbar{left:150px;right:102px}.bottom-summary{right:330px}.panel-content{width:286px}.flight-detail{width:310px}}
@media(max-width:820px){
  .map-toolbar{top:111px;left:8px;right:8px}
  .panel-content{left:8px;right:8px;top:auto;bottom:14px;height:min(43vh,360px);max-height:min(43vh,360px);transform:translateY(0)}
  .flight-detail{left:8px;right:8px;top:auto;bottom:14px;width:auto;height:min(64vh,560px)}
  .bottom-summary{left:50%;right:auto;bottom:14px;transform:translateX(-50%)}
  .map-zoom{bottom:68px}
}
@media(max-width:480px){.map-toolbar{top:109px}.panel-content{bottom:12px;height:42vh;max-height:42vh}.flight-detail{bottom:12px;height:65vh}.bottom-summary{left:auto;right:10px;transform:none;bottom:14px}.summary-icon{width:19px;height:19px}}

/* Flight view: map canvas with two quiet floating surfaces, matching the supplied layout. */
.topbar,.map-topline,.map-toolbar,.bottom-summary,.map-zoom,.map-scale,.map-watermark,.map-corner-note,.filter-popover,.layers-popover,.map-empty,.mobile-dock,.panel-tabs,#trafficPanel{display:none!important}
.panel-content{position:fixed;z-index:6;left:16px;top:16px;bottom:16px;width:354px;height:auto;max-height:none;display:flex;flex-direction:column;padding:0;background:rgba(22,22,22,.96);border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:0 14px 42px rgba(0,0,0,.34);backdrop-filter:blur(18px);overflow:hidden}
.section-heading,.traffic-controls,.panel-footer{display:none!important}
.flight-list{padding:8px;display:flex;flex-direction:column;gap:8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#575757 transparent}
.flight-card{min-height:104px;margin:0;padding:12px;display:flex;align-items:flex-start;gap:10px;border:1px solid transparent;border-radius:12px;background:rgba(255,255,255,.055);transition:background .16s ease,transform .16s ease}
.flight-card:hover{background:rgba(255,255,255,.1);transform:translateY(-1px)}
.flight-card.selected{border:2px solid transparent;background:linear-gradient(#181818,#181818) padding-box,linear-gradient(105deg,#e45459,#f0a047) border-box}
.airline-badge{width:30px;height:30px;flex:0 0 30px;margin-top:0;border-radius:50%;background:var(--badge-color,#6b91c8);color:#fff;font-size:9px;font-weight:700}
.flight-card-main{flex:1;min-width:0}
.flight-card-head{display:flex;align-items:center;gap:8px;justify-content:space-between}
.flight-card-head b{font:650 13px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f5f5f5}
.flight-card-head span{max-width:130px;color:#b9b9b9;font-size:10px}
.flight-route{display:grid;grid-template-columns:auto minmax(26px,1fr) auto;align-items:end;gap:8px;margin-top:12px;color:#f7f7f7;font:650 21px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.15px}
.route-line{height:1px;margin-bottom:6px;background:linear-gradient(90deg,#f28e45,#e5e5e5 70%);position:relative}
.route-line:after{content:"✈";position:absolute;left:50%;top:-10px;color:#f7f7f7;font-size:14px;text-shadow:0 1px 3px #000}
.flight-meta{margin-top:9px;display:flex;gap:12px;color:#aaa;font-size:9px}
.flight-meta strong{color:#ddd;font-weight:550}
.flight-phase{display:none}
.flight-detail{position:fixed;z-index:7;right:16px;top:16px;bottom:16px;width:354px;height:auto;max-height:none;padding:0 14px 14px;display:block;overflow-y:auto;border:2px solid #8cc7f7;border-radius:17px;background:rgba(22,22,22,.97);box-shadow:0 14px 42px rgba(0,0,0,.36);backdrop-filter:blur(18px);pointer-events:auto}
.back-link{top:0;width:calc(100% + 28px);margin:0 -14px 12px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.1);background:#171717;color:#c9cdd1;font-size:11px}
.detail-hero{padding:14px;border:0;border-radius:0;background:transparent}
.detail-eyebrow{color:#f5a53e;font:700 17px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.25px}
.detail-hero h2{margin:3px 0 2px;color:#f5f5f5;font:650 14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
.detail-hero p{color:#b8b8b8;font-size:11px}
.detail-hero:after{display:none}
.detail-route{margin:18px 0 10px}
.detail-route b{font:650 24px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f5f5f5}
.detail-route span{font-size:10px;color:#b2b2b2}
.route-middle{height:2px;background:linear-gradient(90deg,#e95757,#f1a049)!important}
.route-middle:after{background:#171717!important;color:#f5a43f!important}
.progress-track{height:3px;margin-top:18px;background:#555}.progress-track span{background:linear-gradient(90deg,#e95857,#f4a044)}
.progress-captions{font-size:9px;color:#aaa}
.detail-grid{gap:1px;margin-top:12px;border:0;border-radius:9px;background:rgba(255,255,255,.08)}
.detail-stat{min-height:54px;background:#1c1c1c;padding:10px}
.detail-stat small{font-size:9px;color:#999}.detail-stat b{font:550 12px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f0f0f0}
.detail-section{margin-top:15px}.detail-section h3{color:#aaa;font:600 9px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.45px}
.detail-list div small{color:#969696}.detail-list div b{color:#e7e7e7;font-size:10px}
.detail-phase{margin-top:12px;padding:9px;background:#222;border:1px solid #ffffff10;border-radius:8px;color:#eee}
.facility-chip{color:#e5e5e5;border-color:#ffffff1c;background:#252525}
.data-note{color:#929292;font-size:9px}.flight-detail .tool-button{width:100%;justify-content:center;background:#252525}
.map-attribution{right:9px;bottom:8px;background:rgba(16,16,16,.82);font-size:9px}
@media(max-width:820px){
  .panel-content{left:8px;right:8px;top:auto;bottom:8px;width:auto;height:34vh;max-height:34vh;border-radius:15px}
  .flight-detail{left:8px;right:8px;top:auto;bottom:8px;width:auto;height:60vh;max-height:60vh;border-radius:16px}
  .flight-card{min-height:82px;padding:10px}.flight-route{font-size:18px;margin-top:8px}.flight-meta{margin-top:6px}
  .map-attribution{right:7px;bottom:calc(34vh + 12px);font-size:8px}
}

/* Minimal reference treatment: aircraft and routes carry the map. */
.panel-content:before{content:"FLIGHTS";display:block;flex:none;padding:13px 16px 10px;color:#f2f2f2;font-size:12px;font-weight:650;letter-spacing:.15px;border-bottom:1px solid rgba(255,255,255,.08)}
.flight-list{padding:10px}
.flight-card.selected{background:linear-gradient(#181818,#181818) padding-box,linear-gradient(105deg,#8cc7f7,#8cc7f7) border-box}
.back-link{height:42px;display:flex;align-items:center;justify-content:flex-end;padding:0 14px;color:#ccc;font-size:20px;line-height:1}
.back-link:hover{color:#fff}
.detail-phase,.detail-section h3,.detail-section:nth-of-type(5),.detail-section:nth-of-type(6),.data-note{display:none!important}
.detail-section{margin-top:14px}
.route-middle{background:#f08a47!important}
.route-middle:after{color:#f08a47!important}
@media(max-width:820px){.panel-content:before{padding:10px 13px 8px}.flight-list{padding:8px}}

.route-line:after{content:"✈";color:#fff;font-size:13px}

/* Flight detail: compact summary first, supporting data in quiet expandable rows. */
.flight-detail{padding:0 0 18px;scrollbar-width:thin;scrollbar-color:#464646 transparent;background:#171717;color:#f5f5f5}
.flight-detail>.back-link{position:sticky;top:0;z-index:3;height:38px;min-height:38px;background:rgba(23,23,23,.94);backdrop-filter:blur(14px);border-bottom:1px solid #ffffff10}
#detailBody{min-width:0;padding:0 15px 12px}
.flight-panel-content{min-width:0}
.flight-identity{padding:12px 0 10px;border-bottom:1px solid #ffffff12}
.identity-top{display:flex;align-items:center;gap:8px;min-height:22px;color:#aaa;font-size:10px;min-width:0}
.identity-top>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.detail-airline-logo{position:relative;width:21px;height:21px;flex:0 0 21px;display:inline-grid;place-items:center;overflow:hidden;border-radius:6px;background:#fff;padding:2px}
.detail-airline-logo img{width:17px;height:17px;object-fit:contain}
.detail-airline-logo .logo-fallback{font-size:7px;color:#333}
.server-badge{margin-left:auto;flex:0 0 auto;padding:4px 7px;border:1px solid #ffffff17;border-radius:999px;color:#c6c6c6;background:#ffffff08;font-size:9px}
.identity-main{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.identity-main h2{margin:0;font:700 21px/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.5px;color:#f5f5f5}
.pilot-line{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:5px;color:#b7b7b7;font-size:11px}
.grade-badge{padding:2px 6px;border-radius:999px;color:#b7cbd4;background:#ffffff10;font-size:9px}
.detail-aircraft-icon{width:33px;height:33px;object-fit:contain;opacity:.8;filter:grayscale(1) brightness(1.9)}
.aircraft-description{margin-top:7px;color:#929292;font-size:10px}.aircraft-description span{color:#606060;padding:0 3px}
.flight-statuses{margin:9px 0;gap:5px}
.flight-status{min-height:21px;padding:4px 8px;font-size:9px}
.flight-status.phase-cruise{background:#e5eee8;color:#476755}
.flight-status.phase-motion{background:#e3edf4;color:#426176}
.flight-status.phase-ground{background:#efede4;color:#686047}
.flight-status.phase-unknown{background:#454b4f;color:#d0d5d8}
.flight-status.phase-alert{background:#f2dfdf;color:#793c3c}
.flight-status .status-source{display:none}
.detail-route{margin:12px 0 5px;padding:0 1px}
.detail-route>div{min-width:0}.detail-route b{font-size:15px;color:#f5f5f5}.detail-route span{font-size:9px;color:#929292}
.detail-route .route-middle{margin:0 12px;height:1px;opacity:.85}
.detail-route .route-middle:after{font-size:12px}
.diversion-section{margin:9px 0;padding:10px;border-color:#744848;background:#f3dddd0a}
.flight-progress{margin:12px 0 9px}
.flight-progress .progress-track{height:4px;margin:0;background:#383838}
.flight-progress .progress-track span{background:var(--progress-color,#89c49d)}
.progress-captions{font-size:8px;gap:8px}.progress-captions span:last-child{text-align:right}
.flight-telemetry{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:11px;background:#ffffff10;border:1px solid #ffffff10;gap:1px}
.flight-telemetry .detail-stat{min-width:0;min-height:52px;padding:9px 10px;background:#202020}
.flight-telemetry .detail-stat small{font-size:9px;color:#9b9b9b}
.flight-telemetry .detail-stat b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trend-arrow{color:#a8cfb2}
.eta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:8px;border:1px solid #ffffff12;border-radius:9px;overflow:hidden;background:#1d1d1d}
.eta-grid>div{min-width:0;padding:9px 8px;border-right:1px solid #ffffff10}.eta-grid>div:last-child{border:0}
.eta-grid small{display:block;min-height:22px;color:#949494;font-size:8px;line-height:1.3}
.eta-grid b{display:block;margin-top:4px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.eta-clock-toggle{margin-left:3px;padding:2px 4px;border-radius:4px;background:#ffffff12;color:#c5c5c5;font-size:8px}
.detail-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:9px 0 12px}
.detail-action{min-width:0;height:33px;padding:0 5px;border:1px solid #ffffff13;border-radius:8px;background:#222;color:#d9d9d9;font-size:9px;white-space:nowrap;transition:background .16s,border-color .16s}
.detail-action:hover,.detail-action[aria-pressed=true]{background:#2c3331;border-color:#81b89466;color:#e7f1e9}
.filed-route-action{display:flex;align-items:center;justify-content:center;gap:8px}
.filed-route-action>b{padding:3px 7px;border-radius:6px;background:#ffffff12;color:#9fc7d2;font-size:.86em;font-weight:650}

/* Compact airport identity and live conditions for the map sheet. */
.airport-brief{display:flex;align-items:center;gap:10px;min-width:0;min-height:32px;padding:0 2px;color:#d8dcde;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.airport-flag{flex:0 0 auto;font-size:19px;line-height:1}
.airport-brief-code{color:#edf0f1;font-weight:650}
.airport-brief-divider{width:1px;height:18px;flex:0 0 1px;background:#ffffff24}
.airport-brief-time{font-weight:650}.airport-brief-time small{color:#9ca4a7;font-size:9px;font-weight:450}
.airport-brief-date{color:#b9c0c2}
.airport-brief-weather,.airport-brief-wind{display:inline-flex;align-items:center;gap:4px;color:#d8dcde}
.airport-brief-weather svg,.airport-brief-wind svg{width:16px;height:16px;fill:none;stroke:#b8c4c7;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.airport-tabs button{gap:6px}
.airport-tabs button>svg{width:19px;height:19px;flex:0 0 19px;fill:currentColor;stroke:none}
@media(max-width:699px){
 .map-brand{display:none!important}
 .map-search-wrap{left:8px!important;right:8px!important;width:auto!important;max-width:none!important}
 .map-search-controls{gap:6px;width:100%}
 .map-search-controls .map-search{min-width:0;flex:1}
 .map-account-button{flex-basis:34px;width:34px;height:34px}
 .airport-panel-head h2{color:#f0bd55}
 .airport-brief{gap:8px;min-height:29px;padding:0 1px;font-size:11px;overflow-x:auto;scrollbar-width:none}
 .airport-brief::-webkit-scrollbar{display:none}
 .airport-flag{font-size:18px}
 .airport-brief-weather svg,.airport-brief-wind svg{width:15px;height:15px}
 .airport-tabs button>svg{width:19px;height:19px;grid-row:1;align-self:center}
 .airport-tabs button .airport-tab-label{grid-row:2}
}

.flight-accordion{margin:6px 0;border:1px solid #ffffff14;border-radius:9px;background:#1d1d1d;overflow:hidden}
.flight-accordion>summary{min-height:39px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;color:#ededed;font-size:10px;font-weight:600}
.flight-accordion>summary::-webkit-details-marker{display:none}
.flight-accordion>summary:after{content:"⌄";color:#999;font-size:14px;transition:transform .15s}
.flight-accordion[open]>summary:after{transform:rotate(180deg)}
.flight-accordion>summary span{margin-left:auto;color:#979797;font-size:9px;font-weight:450}
.pro-gate-chip{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;max-width:100%;min-height:28px;padding:4px 9px;border:1px solid #67b8ff88;border-radius:8px;background:linear-gradient(110deg,#18364d,#253642);box-shadow:0 0 14px #4daaff22;color:#a9d8ff;font:inherit;font-size:11px;font-weight:650;line-height:1.2;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.pro-gate-chip>span:first-child{flex:0 0 auto;color:#69baff;font-size:13px}.pro-gate-chip .pro-gate-chip-label{min-width:0;color:inherit;font-size:inherit;line-height:inherit;overflow-wrap:anywhere}
.pro-detail-teaser{display:grid;justify-items:start;gap:7px;padding:12px;color:#c5cdd1}.pro-detail-teaser strong{color:#eef2f4;font-size:13px}.pro-detail-teaser p{margin:0;color:#a8b1b6;font-size:11px;line-height:1.45}.pro-detail-teaser button{min-height:32px;padding:6px 11px;border:1px solid #66b7ff88;border-radius:8px;background:#18364d;color:#a9d8ff;font-size:11px;font-weight:700;cursor:pointer}.pro-feature-lock-badge{color:#77c3ff;font-size:9px;font-weight:800;letter-spacing:.08em}
.weather-pro-badge{display:inline-block;margin-left:4px;padding:2px 4px;border:1px solid #78bfff45;border-radius:4px;background:#51adff16;color:#83c8ff;font-size:8px;font-style:normal;font-weight:800;letter-spacing:.06em;vertical-align:1px}
.accordion-content{padding:0 11px 12px;border-top:1px solid #ffffff0c}
.route-airports-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid #ffffff0c}
.route-airports-row>div{min-width:0}.route-airports-row>span{color:#999}
.route-airports-row small,.copy-route-line small,.detail-list small,.pilot-profile-grid small{display:block;color:#929292;font-size:8px}
.route-airports-row b{display:block;max-width:140px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e5e5e5;font-size:9px}
.diverted-airport-row{justify-content:flex-start}
.copy-route-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0}
.copy-route-line>div{min-width:0;flex:1}.copy-route-line code{display:block;margin-top:4px;color:#ddd;font:9px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}
.copy-route-line button{padding:5px 8px;border:1px solid #ffffff18;border-radius:6px;background:#272727;color:#ddd;font-size:8px}
.waypoint-list{display:flex;gap:5px;overflow:auto;padding:2px 0 8px;scrollbar-width:thin}
.waypoint-chip{display:flex;align-items:center;gap:5px;flex:0 0 auto;padding:5px 7px;border-radius:6px;background:#292929;color:#ddd;font-size:8px}
.waypoint-chip b{color:#aaa;font-size:8px}.waypoint-chip small{color:#999;font-size:7px}
.detail-list{gap:10px 8px;padding-top:8px}
.detail-list div b{overflow-wrap:anywhere;color:#ddd;font-size:9px}
.detail-empty{margin:8px 0 0;color:#858585;font-size:8px;line-height:1.5}
.pilot-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:10px;border:1px solid #ffffff10;border-radius:8px;overflow:hidden;background:#ffffff10}
.pilot-profile-grid>div{padding:9px;background:#222}.pilot-profile-grid b{display:block;margin-top:5px;color:#eee;font:600 11px ui-monospace,SFMono-Regular,Menlo,monospace}
.pilot-organization{margin-top:9px;color:#ddd;font-size:9px}
.history-legend{display:flex;gap:14px;padding:10px 0 4px;color:#aaa;font-size:8px}
.history-legend span{display:flex;align-items:center;gap:5px}.history-legend i{width:6px;height:6px;border-radius:50%;background:#8ab9dc}.history-legend .history-speed-dot{background:#dfa171}
.history-chart{display:block;width:100%;height:49px;overflow:visible;border-bottom:1px solid #ffffff10;background:linear-gradient(180deg,#8ab9dc0b,transparent)}
.history-chart path{fill:none;stroke:#8ab9dc;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.history-chart .history-marker{fill:#171717;stroke:#d5e8f5;stroke-width:2;vector-effect:non-scaling-stroke}
.history-chart.speed-chart{background:linear-gradient(180deg,#dfa1710b,transparent)}.history-chart.speed-chart path{stroke:#dfa171}
.history-chart.speed-chart .history-marker{stroke:#f0c9a8}
.history-scrubber{display:flex;align-items:center;gap:8px;margin-top:8px}
.history-scrubber button{width:28px;height:27px;border:1px solid #ffffff14;border-radius:7px;background:#282828;color:#eee;font-size:11px}
.history-scrubber input{min-width:30px;flex:1;accent-color:#91b8d3;height:18px}
.history-scrubber span{min-width:40px;text-align:right;color:#aaa;font:8px ui-monospace,SFMono-Regular,Menlo,monospace}
.nearby-flight{width:100%;display:flex;align-items:center;gap:8px;padding:8px 2px;border-bottom:1px solid #ffffff0c;background:transparent;text-align:left;color:#eee}
.nearby-flight:last-child{border-bottom:0}.nearby-flight>span:nth-child(2){flex:1;min-width:0}
.nearby-flight b,.nearby-separation{font:600 9px ui-monospace,SFMono-Regular,Menlo,monospace}
.nearby-flight small{display:block;margin-top:3px;color:#929292;font:8px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nearby-separation{text-align:right;white-space:nowrap;color:#ddd}.nearby-logo{position:relative;display:inline-grid;place-items:center;flex:0 0 19px;width:19px;height:19px;overflow:hidden;border-radius:5px;background:#fff;padding:2px}.nearby-logo img{width:15px;height:15px;object-fit:contain}.nearby-logo .logo-fallback{font-size:6px;color:#333}
.nearby-flight:hover{background:#ffffff08}
.data-note{display:block!important;margin:10px 0 2px;padding-top:8px;border-top:1px solid #ffffff0c;color:#858585;font-size:8px;line-height:1.5}
.light-mode .flight-detail{background:#fff;color:#1b2930}.light-mode .flight-detail>.back-link{background:#fffffff0;color:#555}
.light-mode .identity-main h2,.light-mode .detail-route b,.light-mode .flight-accordion>summary,.light-mode .detail-list div b{color:#1b2930}
.light-mode .identity-top,.light-mode .pilot-line,.light-mode .aircraft-description,.light-mode .detail-route span{color:#68777d}
.light-mode .flight-telemetry,.light-mode .eta-grid,.light-mode .pilot-profile-grid{background:#dce4e7;border-color:#dce4e7}
.light-mode .flight-telemetry .detail-stat,.light-mode .eta-grid,.light-mode .pilot-profile-grid>div,.light-mode .flight-accordion{background:#f4f7f8}
.light-mode .flight-telemetry .detail-stat b,.light-mode .eta-grid b,.light-mode .pilot-profile-grid b,.light-mode .copy-route-line code{color:#1c2c33}
.light-mode .flight-accordion{border-color:#dce4e7}.light-mode .accordion-content{border-color:#e4eaec}
.light-mode .route-airports-row b,.light-mode .waypoint-chip,.light-mode .detail-action{color:#34454d}
.light-mode .waypoint-chip,.light-mode .detail-action,.light-mode .history-scrubber button,.light-mode .copy-route-line button{background:#eaf0f2;border-color:#dce4e7}
.light-mode .eta-grid>div,.light-mode .route-airports-row,.light-mode .copy-route-line{border-color:#e0e7e9}
.light-mode .nearby-flight{color:#243840;border-color:#e3e9eb}.light-mode .nearby-separation{color:#354b54}.light-mode .nearby-flight:hover{background:#e9f0f2}
@media(max-width:820px){#detailBody{padding:0 13px 12px}.flight-detail{overflow:auto}.flight-detail>.back-link{min-height:36px}}
@media(max-width:480px){#detailBody{padding:0 11px 10px}.flight-telemetry .detail-stat{min-height:49px;padding:8px}.eta-grid>div{padding:8px 6px}.eta-grid small{font-size:7px}.eta-grid b{font-size:9px}.detail-actions{gap:4px}.detail-action{font-size:8px}}

/* Search-first canvas: keep flight information off the map until it is requested. */
.map-brand{position:fixed;z-index:10;top:16px;left:16px;display:flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid rgba(255,255,255,.16);border-radius:15px;background:rgba(22,22,22,.84);box-shadow:0 6px 24px rgba(0,0,0,.22);backdrop-filter:blur(16px);color:#fff;text-decoration:none}
.map-brand>b{font:700 15px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.35px}.map-brand>span{color:#aeb2b6;font:500 10px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.map-brand>img{display:block;width:64px;height:32px;object-fit:contain}
.map-search{position:fixed;z-index:10;top:16px;right:16px;width:min(320px,calc(100vw - 220px));height:46px;display:flex;align-items:center;gap:10px;padding:0 15px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(22,22,22,.88);box-shadow:0 6px 24px rgba(0,0,0,.24);backdrop-filter:blur(16px);color:#f5f5f5}
.map-search .search-icon{font-size:20px;color:#ddd}.map-search input{width:100%;height:100%;border:0;outline:0;background:transparent;color:#fff;font-size:14px}.map-search input::placeholder{color:#b6b6b6}
.search-results{position:fixed;z-index:11;top:70px;right:16px;left:auto;transform:none;width:min(380px,calc(100vw - 32px));border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(20,20,20,.94);box-shadow:0 16px 40px rgba(0,0,0,.34);backdrop-filter:blur(18px)}
#insightPanel{pointer-events:none}.flight-detail{pointer-events:auto}
@media(max-width:480px){.map-brand{top:10px;left:10px;gap:5px;padding:4px 8px;border-radius:13px}.map-brand>b{font-size:13px}.map-brand>span{font-size:9px}.map-brand>img{width:54px;height:27px}.map-search{top:10px;right:10px;width:min(205px,calc(100vw - 174px));height:42px;padding:0 11px}.map-search input{font-size:13px}.search-results{top:58px;right:10px;width:calc(100vw - 20px)}}

@media(min-width:821px){body:has(#flightDetail:not(.hidden)) .map-search-wrap{right:386px}}

/* Flight marks stay small and inline, with the callsign remaining the headline. */
.map-search-wrap{position:fixed;z-index:10;top:16px;right:16px;width:min(365px,calc(100vw - 220px));transition:right .18s ease}
.map-search-controls{display:flex;align-items:center;gap:8px;min-width:0}
.map-search{position:relative;top:auto;right:auto;width:100%;height:46px;padding:0 10px 0 15px}
.map-search-controls .map-search{flex:1;min-width:0}
.map-account-button{flex:0 0 38px;width:38px;height:38px;padding:0;overflow:hidden;background:#18222b;border-color:#ffffff32}
.map-account-button img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.map-account-button #accountAvatarFallback{font-size:15px}
.map-account-button img[hidden]{display:none}
.map-search-wrap .account-popover{top:calc(100% + 8px);right:0}
.map-search input[type=search]{font-size:14px;min-width:0}
.map-search input[type=search]::-webkit-search-cancel-button{filter:invert(1);opacity:.7}
.result-airline-mark,.detail-airline-logo,.aircraft-label-logo{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;overflow:hidden}
.result-airline-mark{width:24px;height:24px;margin-right:1px}
.result-airline-mark img{display:block;width:22px;height:22px;max-width:22px;max-height:22px;object-fit:contain}
.result-airline-mark .logo-fallback{font-size:8px}
.detail-eyebrow{display:flex;align-items:center;gap:8px;font-size:15px!important;line-height:1.2;letter-spacing:0!important}
.detail-airline-logo{width:22px;height:22px;border-radius:5px;background:#fff;padding:2px}
.detail-airline-logo img{display:block;width:18px;height:18px;max-width:18px;max-height:18px;object-fit:contain}
.detail-airline-logo .logo-fallback{font-size:7px;color:#42474b}
.map-search-wrap .search-results{position:absolute;top:54px;right:0;left:auto;width:100%;max-height:min(440px,calc(100dvh - 90px));overflow:auto}
.map-search-wrap .search-result{display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;width:100%;min-width:0;min-height:58px;gap:3px 10px;padding:9px 11px;overflow:hidden}
.map-search-wrap .search-result>.result-airline-mark,.map-search-wrap .search-result>.search-airport-mark{grid-column:1;grid-row:1 / span 2}
.map-search-wrap .search-result>.result-copy{grid-column:2;grid-row:1;min-width:0;overflow:hidden}
.map-search-wrap .search-result>.flight-statuses.compact,.map-search-wrap .search-result>.search-airport-activity{grid-column:2;grid-row:2;justify-self:start;min-width:0;max-width:100%;margin:2px 0 0;overflow:hidden}
.map-search-wrap .search-result>.flight-statuses.compact{justify-content:flex-start;flex:none}
.search-section-label{padding:8px 12px 4px;color:#9ba4aa;font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.search-airport-mark{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ffffff12;color:#aad9f3;font-size:16px}
.search-airport-activity{color:#aeb8be;font-size:10px;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}
.map-search-wrap .result-copy b{font-size:13px;color:#e9ecee}
.map-search-wrap .result-copy small{font-size:11px}
.map-search-wrap .result-copy b,.map-search-wrap .result-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.detail-list div b{overflow-wrap:anywhere;word-break:break-word}
.map-style-trigger{position:fixed;z-index:9;left:16px;bottom:16px;display:flex;align-items:center;gap:8px;height:40px;padding:0 14px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(22,22,22,.84);box-shadow:0 6px 24px rgba(0,0,0,.22);backdrop-filter:blur(16px);color:#f4f4f4;font-size:13px;font-weight:600}
.weather-trigger{position:fixed;z-index:9;left:144px;bottom:16px;display:flex;align-items:center;gap:8px;height:40px;padding:0 14px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(22,22,22,.84);box-shadow:0 6px 24px rgba(0,0,0,.22);backdrop-filter:blur(16px);color:#f4f4f4;font-size:13px;font-weight:600}
.weather-trigger svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.weather-trigger[aria-expanded=true]{border-color:#76b9ff88;color:#a9d5ff}
.weather-menu{position:fixed;z-index:20;left:16px;bottom:66px;width:min(352px,calc(100vw - 32px));max-height:min(72dvh,560px);overflow:auto;padding:16px;border:1px solid rgba(255,255,255,.13);border-radius:17px;background:rgba(25,25,25,.97);box-shadow:0 20px 54px rgba(0,0,0,.4);backdrop-filter:blur(22px);color:#eee;overscroll-behavior:contain}
.weather-menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.weather-menu-head b{display:block;font-size:16px;font-weight:650}.weather-menu-head small{display:block;margin-top:3px;color:#9d9d9d;font-size:12px}
.weather-layer-row{padding:12px 0 10px;border-top:1px solid #ffffff16}.weather-layer-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:0;background:none;color:#eee;text-align:left}.weather-layer-toggle>span:first-child{display:grid;gap:3px}.weather-layer-toggle b{font-size:14px;font-weight:650}.weather-layer-toggle small{color:#9d9d9d;font-size:12px}.weather-layer-toggle[aria-pressed=true] .map-setting-switch{background:#76b9ff}.weather-layer-toggle[aria-pressed=true] .map-setting-switch i{transform:translateX(16px)}
.weather-layer-row.weather-pro-locked .weather-layer-toggle small,.weather-layer-row.weather-pro-locked .weather-opacity,.weather-layer-row.weather-pro-locked .weather-wind-altitude,.weather-layer-row.weather-pro-locked .weather-wind-hint{opacity:.48}
.weather-layer-toggle:disabled,.weather-opacity input:disabled{cursor:not-allowed;opacity:.46}
.weather-opacity{display:block;margin:10px 0 0 1px;color:#b5bbc1;font-size:12px}.weather-opacity>span{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}.weather-opacity output{color:#e9ecee;font-variant-numeric:tabular-nums}.weather-opacity input{display:block;width:100%;height:25px;accent-color:#76b9ff;cursor:pointer;touch-action:pan-y}
.weather-provider-note{margin:8px 0 0;color:#ffb6a9;font-size:12px;line-height:1.4}.weather-provider-note:not([data-status="error"]):not([data-status="loading"]){display:none}
.weather-lightning-note,.weather-wind-note{display:none;margin-top:7px;color:#9da5aa;font-size:11px;line-height:1.4}.weather-lightning-note[data-status="available"],.weather-lightning-note[data-status="error"],.weather-lightning-note[data-status="loading"],.weather-wind-note[data-status="error"],.weather-wind-note[data-status="loading"]{display:block}.weather-lightning-note[data-status="error"],.weather-wind-note[data-status="error"]{color:#ffb6a9}
.weather-menu-footer{display:flex;justify-content:flex-end;margin-top:10px;padding-top:8px;border-top:1px solid #ffffff16}.weather-sources-trigger{padding:6px 10px;border:1px solid #ffffff20;border-radius:8px;background:#ffffff0a;color:#b8d9f7;font-size:12px;font-weight:650}.weather-sources-trigger:hover{background:#ffffff14}.weather-sources-dialog{width:min(440px,calc(100vw - 32px));max-height:min(76dvh,600px);overflow:auto;margin:auto;padding:18px;border:1px solid rgba(255,255,255,.16);border-radius:17px;background:rgba(25,25,25,.98);box-shadow:0 20px 54px rgba(0,0,0,.5);color:#eee;overscroll-behavior:contain}.weather-sources-dialog::backdrop{background:rgba(0,0,0,.58);backdrop-filter:blur(3px)}.weather-sources-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.weather-sources-head h2{margin:0;font-size:18px;font-weight:700}.weather-sources-head p{margin:4px 0 0;color:#9d9d9d;font-size:12px}.weather-sources-dialog .style-close{flex:none}.weather-source-item{padding:12px 0;border-top:1px solid #ffffff16}.weather-source-item>b{font-size:13px;font-weight:700}.weather-source-item p{margin:5px 0 0;color:#b6bdc2;font-size:12px;line-height:1.5}.weather-source-item small{display:block;margin:6px 0 0;color:#9da5aa;font-size:11px;line-height:1.45}.weather-source-item small[data-status="error"]{color:#ffb6a9}.weather-source-item small[data-status="loading"]{color:#b6bdc2}
.weather-trigger:focus-visible,.weather-layer-toggle:focus-visible,.weather-menu .style-close:focus-visible,.weather-sources-trigger:focus-visible,.weather-sources-dialog .style-close:focus-visible{outline:3px solid #76b9ff;outline-offset:2px}
.map-canvas-stack #weatherCanvas{z-index:1;pointer-events:none}.map-canvas-stack #trafficCanvas{z-index:2}
.map-style-trigger svg{width:19px;height:19px;flex:none;fill:currentColor;stroke:none}
.map-style-menu{display:block;position:fixed;z-index:20;left:16px;bottom:66px;top:auto;right:auto;width:min(378px,calc(100vw - 32px));padding:16px;border:1px solid rgba(255,255,255,.13);border-radius:17px;background:rgba(25,25,25,.96);box-shadow:0 20px 54px rgba(0,0,0,.4);backdrop-filter:blur(22px);color:#eee}
.style-menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.style-menu-head b{display:block;font-size:16px;font-weight:650;text-transform:capitalize}
.style-menu-head small{display:block;margin-top:3px;color:#9d9d9d;font-size:11px}
.style-close{width:30px;height:30px;border-radius:50%;background:#ffffff10;color:#eee;font-size:20px}
.map-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.map-setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin-top:14px;padding:12px;border:1px solid #ffffff18;border-radius:11px;background:#ffffff08;color:#eee;text-align:left}
.map-setting-copy{display:grid;gap:3px;min-width:0}.map-setting-copy b{font-size:13px;font-weight:650}.map-setting-copy small{color:#9d9d9d;font-size:11px}
.map-setting-switch{display:flex;align-items:center;width:38px;height:22px;flex:none;padding:3px;border-radius:999px;background:#4b5052;transition:background .16s ease}
.map-setting-switch i{display:block;width:16px;height:16px;border-radius:50%;background:#e9edef;transition:transform .16s ease}
.map-setting-toggle[aria-pressed=true] .map-setting-switch{background:#76b9ff}.map-setting-toggle[aria-pressed=true] .map-setting-switch i{transform:translateX(16px)}
.style-option{min-width:0;padding:0 0 8px;overflow:hidden;border:2px solid transparent;border-radius:9px;background:#2a2a2a;color:#e4e4e4;text-align:left;font-size:11px;font-weight:550}
.style-option:hover{background:#343434}.style-option.active{border-color:#76b9ff;color:#fff}
.style-preview{height:56px;display:block;margin-bottom:7px;border-bottom:1px solid #ffffff14;background-color:#334750;background-image:linear-gradient(28deg,transparent 44%,#75a484 45% 50%,transparent 51%),linear-gradient(95deg,transparent 20%,#819ba1 21% 23%,transparent 24%),linear-gradient(155deg,#5c7882 0 20%,#798f7b 21% 70%,#527783 71%)}
.roadmap-preview{filter:brightness(1.3) saturate(.8)}.grey-preview{filter:grayscale(1) brightness(1.3)}
.light-preview{filter:brightness(1.5) saturate(.85)}
.radar-blue-preview{filter:hue-rotate(160deg) brightness(.85)}.radar-dark-preview{filter:brightness(.53) saturate(.85)}
.aubergine-preview{filter:hue-rotate(250deg) brightness(.76)}
.brightness-control{display:block;margin-top:16px;padding-top:14px;border-top:1px solid #ffffff16}
.brightness-control>span{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:13px}
.brightness-control output{color:#aaa;font-variant-numeric:tabular-nums}
.brightness-control input{display:block;width:100%;height:24px;accent-color:#76b9ff;cursor:pointer}
.style-option:focus-visible,.map-style-trigger:focus-visible,.style-close:focus-visible,.map-setting-toggle:focus-visible{outline:3px solid #76b9ff;outline-offset:2px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.map-canvas-stack #trafficCanvas{touch-action:none;outline:none}
.map-canvas-stack #trafficCanvas:focus-visible{outline:3px solid #f2bd34;outline-offset:-4px}
.flight-card-airline-logo{width:30px;height:30px;flex:0 0 30px;border-radius:7px;background:#fff;padding:3px;overflow:hidden}
.flight-card-airline-logo img{width:24px;height:24px;max-width:24px;max-height:24px;object-fit:contain}
.flight-card-airline-logo .logo-fallback{font-size:8px;color:#333}
.logo-fallback{display:none;position:absolute;inset:0;align-items:center;justify-content:center;border-radius:inherit;background:#111820}
.logo-fallback img{display:block;width:74%;height:74%;object-fit:contain}
.logo-missing .logo-fallback{display:flex}

/* Center the text-only ground tab beside the illustrated airport actions. */
.airport-tabs button[data-airport-tab="ground"] .airport-tab-label{grid-row:1 / span 2;align-self:center}
.logo-missing>img{display:none!important}
.result-airline-mark,.detail-airline-logo,.aircraft-label-logo,.flight-card-airline-logo{isolation:isolate}
.result-airline-mark img,.detail-airline-logo img,.aircraft-label-logo img,.flight-card-airline-logo img{position:relative;z-index:1}
.map-search-wrap .search-result[aria-selected=true]{background:#ffffff18}
.aircraft-label-layer{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;will-change:transform}
.aircraft-label{position:absolute;display:flex;align-items:center;gap:5px;max-width:148px;min-height:22px;padding:3px 7px 3px 4px;border:1px solid rgba(255,255,255,.17);border-radius:7px;background:rgba(20,20,20,.84);color:#f5f5f5;box-shadow:0 2px 8px #0005;white-space:nowrap;font:600 10px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.1px}
.aircraft-label-copy{display:contents}
.aircraft-label.selected{border-color:#eab34e}
.aircraft-label-logo{width:16px;height:16px;border-radius:3px;background:#fff;padding:1px}
.aircraft-label-logo img{width:14px;height:14px;object-fit:contain}
.aircraft-label-logo .logo-fallback{font-size:6px;color:#333}
.map-canvas-stack{transform-origin:0 0;will-change:transform;backface-visibility:hidden;contain:paint}

/* Flight timing and diversion states stay soft and readable over the dark map UI. */
.flight-statuses{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:9px 0 2px}
.flight-statuses.compact{flex:none;justify-content:flex-end;gap:4px;margin:0 0 0 auto}
.flight-status{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:650;line-height:1.15;white-space:nowrap}
.status-on-time{background:#dcefe2;color:#365c40}
.status-minor-delay{background:#f8e7d3;color:#754923}
.status-major-delay,.status-diverted{background:#f3dddd;color:#783c3c}
.status-unreported{background:#ffffff12;color:#c4c8cb;border:1px solid #ffffff18;font-weight:500}
.status-source{color:#9da1a4;font-size:9px}
.detail-destination.destination-dimmed{opacity:.46}
.detail-destination.destination-dimmed b,.planned-destination{color:#929292!important;text-decoration:line-through;text-decoration-thickness:1px}
.diversion-section{margin:0 14px 12px;padding:11px 12px;border:1px solid #eddddd;border-radius:11px;background:rgba(243,221,221,.08)}
.diversion-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
.diversion-heading small{color:#a4a4a4;font-size:9px;letter-spacing:.55px}
.diversion-route{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:9px}
.diversion-route>div{display:grid;gap:3px;min-width:0}
.diversion-route>span{color:#b9b9b9}
.diversion-route small{color:#a3a3a3;font-size:9px}
.diversion-route del,.diversion-route b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.diversion-route del{color:#929292}
.diversion-route b{color:#f2eeee}
.flight-card-main>.flight-statuses{margin:7px 0 0}
.map-search-wrap .search-result>.flight-statuses{max-width:112px;overflow:hidden}
.light-mode .status-unreported{background:#2635410b;color:#55636d;border-color:#26354120}
.light-mode .diversion-route b{color:#3c3030}
.light-mode .diversion-route del{color:#737373}
.light-mode .diversion-section{background:#f3dddd55}
@media(max-width:600px){.flight-status{min-height:20px;padding:3px 7px;font-size:9px}.flight-statuses.compact{max-width:102px}.map-search-wrap .search-result>.flight-statuses{max-width:86px}.diversion-section{margin:0 2px 10px;padding:10px}.diversion-route{gap:6px}}
#baseMapCanvas{will-change:filter}
@media(max-width:600px){.map-search-wrap{top:10px;right:10px;width:min(300px,calc(100vw - 174px))}.map-search{height:42px;padding:0 7px 0 11px}.map-search-controls .map-search{height:42px}.map-account-button{flex-basis:34px;width:34px;height:34px}.map-search input[type=search]{font-size:12px}.map-search .search-icon{font-size:18px}.label-toggle{padding:5px 6px}.map-style-trigger{left:10px;bottom:calc(10px + env(safe-area-inset-bottom));height:38px}.weather-trigger{left:120px;bottom:calc(10px + env(safe-area-inset-bottom));height:38px;padding-inline:12px}.map-style-menu{left:10px;bottom:calc(58px + env(safe-area-inset-bottom));width:min(370px,calc(100vw - 20px));padding:13px}.weather-menu{left:10px;bottom:calc(58px + env(safe-area-inset-bottom));width:min(370px,calc(100vw - 20px));max-height:calc(100dvh - 84px - env(safe-area-inset-bottom));padding:13px}.style-preview{height:48px}.map-search-wrap .search-results{top:50px;right:0;width:min(420px,calc(100vw - 20px));max-height:calc(100dvh - 70px)}}

/* Airport detail surface: activity first, current weather and simulator ATC below. */
#detailBody:has(.airport-panel){padding:0 14px 18px}
.flight-detail:has(.airport-panel){border:1px solid #ffffff1c;border-radius:17px;background:rgba(22,22,22,.97)}
.airport-panel{display:grid;gap:18px;color:#f1f2f2}
.airport-panel-head{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:start;padding:16px 2px 0}
.airport-kicker{color:#aeb7ba;font-size:10px;font-weight:650;letter-spacing:.08em;text-transform:uppercase}
.airport-panel-head h2{margin:6px 0 3px;font-size:20px;line-height:1.16;letter-spacing:-.025em}
.airport-panel-head p{margin:0;color:#aeb5b8;font-size:12px}
.airport-local-time{display:flex;align-items:baseline;gap:8px;padding:0 2px;font-size:17px;font-weight:650;letter-spacing:-.015em}
.airport-local-time span{color:#92999d;font-size:11px;font-weight:450;letter-spacing:0}
.airport-tabs{position:sticky;top:38px;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 -14px;border-bottom:1px solid #ffffff1a;background:rgba(23,23,23,.96);backdrop-filter:blur(16px)}
.airport-tabs button{position:relative;display:flex;width:100%;min-width:0;align-items:center;justify-content:center;gap:0;min-height:48px;padding:8px 3px 4px;border:0;background:transparent;color:#aeb4b7;font-size:11px;font-weight:550;white-space:nowrap;cursor:pointer}.airport-tab-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}.airport-tabs button .airport-tab-count{position:absolute;top:3px;right:6px;display:inline-grid;place-items:center;min-width:14px;width:14px;height:14px;padding:0;border-radius:50%;background:#ffffff12;color:#c3c8ca;font-size:8px;font-variant-numeric:tabular-nums}
.airport-tabs button.active{color:#f5f5f5}.airport-tabs button.active:after{position:absolute;right:7px;bottom:-1px;left:7px;height:2px;border-radius:2px;background:#e9bd63;content:""}
.airport-section{display:grid;gap:9px}.airport-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.airport-section-heading h3{margin:0;color:#f0f1f1;font-size:14px;font-weight:650;letter-spacing:-.01em}.airport-section-heading>span{color:#939a9d;font-size:8px;font-weight:600;letter-spacing:.07em;text-align:right}
.airport-intelligence{display:grid;gap:10px;padding:13px 12px;border:1px solid #ffffff14;border-radius:13px;background:linear-gradient(145deg,#ffffff0b,#ffffff03)}.airport-intelligence>.airport-section-heading{margin-bottom:0}.airport-intel-main{display:grid;gap:3px}.airport-intel-main>b{color:#f2f5f5;font-size:19px;letter-spacing:-.03em}.airport-intel-main>span{color:#9fa9ad;font-size:10px}.airport-intel-main>small{color:#879296;font-size:9px}.airport-intel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.airport-intel-grid>div{display:grid;align-content:start;gap:4px;min-width:0;padding:8px;border:1px solid #ffffff0e;border-radius:9px;background:#00000012}.airport-intel-grid small{color:#939b9f;font-size:8px}.airport-intel-grid b{overflow-wrap:anywhere;color:#e8eded;font-size:10px;font-weight:650}.airport-intel-grid span{color:#858f93;font-size:8px;line-height:1.35}
.airport-activity{display:grid;gap:0}.airport-activity>.airport-section-heading{margin-bottom:5px}
.airport-flight-row{display:grid;grid-template-columns:76px 34px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:77px;padding:10px 4px;border:0;border-bottom:1px solid #ffffff16;border-radius:0;background:transparent;color:#f2f3f3;text-align:left;cursor:pointer;transition:background .15s}
.airport-flight-row:hover,.airport-flight-row:focus-visible{background:#ffffff08;outline:none}.airport-flight-row:focus-visible{box-shadow:inset 2px 0 #e9bd63}
.airport-flight-logo-wrap{display:grid;place-items:center}.airport-flight-logo{position:relative;display:grid;flex:none;width:27px;height:27px;place-items:center;overflow:hidden;border:0;border-radius:6px;background:#fff;padding:3px}
.airport-flight-logo img{width:100%;height:100%;object-fit:contain}.airport-flight-logo .logo-fallback{color:#333;font-size:7px}
.airport-flight-time{display:grid;gap:2px;min-width:0}.airport-flight-time>b{overflow:hidden;color:#f1f3f4;font-size:13px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap}.airport-flight-time>small{overflow:hidden;color:#9da6a9;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.airport-flight-time>small:empty{display:none}
.airport-flight-main{display:grid;min-width:0;gap:3px}.airport-flight-destination,.airport-flight-identity{display:flex;align-items:baseline;gap:7px;min-width:0;overflow:hidden;white-space:nowrap}.airport-flight-destination>b{overflow:hidden;font-size:15px;font-weight:650;letter-spacing:-.02em;text-overflow:ellipsis}.airport-flight-destination>span{flex:none;padding:1px 5px;border:1px solid #ffffff22;border-radius:5px;color:#b9c1c4;font-size:9px}.airport-flight-identity>b{flex:none;max-width:45%;overflow:hidden;font-size:11px;font-weight:650;text-overflow:ellipsis}.airport-flight-identity>span{min-width:0;overflow:hidden;padding:1px 5px;border-radius:4px;background:#ffffff12;color:#cbd1d3;font-size:9px;text-overflow:ellipsis}.airport-flight-route{overflow:hidden;color:#858d91;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.airport-flight-summary{display:flex;align-items:center;justify-content:flex-end;min-width:0;white-space:nowrap}.airport-flight-status{display:grid;justify-items:end;gap:4px;min-width:0}.airport-flight-status>b{max-width:116px;overflow:hidden;color:#d3d8d9;font-size:10px;font-weight:600;text-overflow:ellipsis}.airport-flight-live{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:16px;padding:2px 6px;border-radius:5px;font-size:8px;font-weight:750;letter-spacing:.045em;line-height:1}.airport-flight-live.is-live{background:#f4f5f4;color:#17191a}.airport-flight-live.is-sample{border:1px solid #ffffff2b;color:#abb3b6}.airport-flight-live svg{width:10px;height:10px;fill:currentColor}.airport-atc-indicator{width:6px;height:6px;border-radius:50%;background:#7ac89a;box-shadow:0 0 0 3px #7ac89a20}
.airport-empty,.airport-loading{padding:16px 12px;border:1px solid #ffffff14;border-radius:11px;background:#ffffff05;color:#a5adb0;font-size:11px;line-height:1.5}
.airport-source-note{margin:0;color:#858d91;font-size:9px;line-height:1.45}
.airport-weather-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.airport-weather-card{display:grid;min-height:59px;align-content:center;gap:5px;padding:8px;border:1px solid #ffffff16;border-radius:10px;background:#ffffff08}
.airport-weather-card small{color:#939b9f;font-size:9px}.airport-weather-card b{overflow:hidden;color:#edf0f0;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.airport-weather-card .weather-category{color:#bfc8cb}.airport-weather-card .weather-category.vfr{color:#a9d6b7}.airport-weather-card .weather-category.mvfr{color:#e2cf91}.airport-weather-card .weather-category.ifr,.airport-weather-card .weather-category.lifr{color:#e3a4a4}
.airport-raw-metar,.airport-taf{padding:11px;border:1px solid #ffffff17;border-radius:11px;background:#ffffff06}
.airport-raw-metar>div{display:flex;justify-content:space-between;gap:8px}.airport-raw-metar b,.airport-atis>b{font-size:11px}.airport-raw-metar small{color:#929a9e;font-size:9px}.airport-raw-metar p,.airport-taf p,.airport-atis p{margin:8px 0;color:#d9dddf;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.airport-taf summary{color:#d9dddf;font-size:11px;font-weight:600;cursor:pointer}.airport-taf p{margin-bottom:0}
.airport-atc-list{display:grid;gap:6px}.airport-atc-row{display:flex;align-items:center;gap:11px;padding:10px;border:1px solid #ffffff14;border-radius:10px;background:#ffffff06}.airport-atc-row>div{display:grid;gap:3px}.airport-atc-row b{font-size:11px}.airport-atc-row small{color:#9aa2a6;font-size:9px}.airport-atis{padding:11px;border:1px solid #ffffff17;border-radius:11px;background:#ffffff06}.airport-atis p{margin-bottom:0;color:#aeb5b8}
.light-mode .airport-intelligence{border-color:#26354018;background:linear-gradient(145deg,#ffffff,#f4f7f8)}.light-mode .airport-intel-main>b,.light-mode .airport-intel-grid b{color:#26333a}.light-mode .airport-intel-grid>div{border-color:#26354012;background:#25354005}.light-mode .airport-intel-main>span,.light-mode .airport-intel-main>small,.light-mode .airport-intel-grid small,.light-mode .airport-intel-grid span{color:#68737a}
.light-mode .airport-flight-live.is-live{background:#fff;color:#17191a}.light-mode .airport-flight-live.is-sample{border-color:#252a2c33;color:#5f696f}
@media(max-width:820px){#detailBody:has(.airport-panel){padding:0 12px 18px}.airport-panel-head{padding-top:13px}.airport-tabs{top:36px;margin-inline:-12px}.airport-weather-card{min-height:54px;padding:7px}}
@media(max-width:440px){.airport-flight-row{grid-template-columns:57px 26px minmax(0,1fr) auto;gap:7px;min-height:68px;padding-inline:1px}.airport-flight-time>b{font-size:11px}.airport-flight-time>small{font-size:8px}.airport-flight-logo{width:24px;height:24px}.airport-flight-destination>b{font-size:12px}.airport-flight-identity{gap:4px}.airport-flight-identity>b{max-width:42%;font-size:9px}.airport-flight-identity>span{font-size:8px}.airport-flight-route{font-size:8px}.airport-flight-summary{gap:4px}.airport-flight-status{gap:4px}.airport-flight-status>b{max-width:80px;font-size:8px}.airport-flight-live{font-size:8px}}

.map-route-legend{position:absolute;z-index:4;top:68px;left:14px;display:grid;gap:7px;width:min(285px,calc(100vw - 28px));box-sizing:border-box;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--glass-strong);backdrop-filter:blur(18px);box-shadow:var(--shadow);pointer-events:none}
.map-route-legend>b{color:#f6f7f8;font-size:10px;font-weight:650;letter-spacing:.02em}
.map-route-legend>div{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}

/* Airport pulse redesign: open surfaces, semantic color, and compact movement visuals. */
.airport-intelligence.airport-intel-v2{display:grid;gap:0;margin:1px -4px;padding:0;border:0;border-radius:0;background:transparent}
.intel-topline,.intel-overview,.intel-section-heading,.intel-counts,.intel-wind-row,.intel-weather{display:flex;align-items:center}
.intel-topline,.intel-section-heading{justify-content:space-between;gap:12px}
.intel-topline{padding:0 0 13px}
.intel-topline>div,.intel-level,.intel-section-heading>div,.runway-assignment>div,.intel-weather>div{display:grid;gap:4px;min-width:0}
.intel-kicker,.intel-level>small,.intel-section-heading small,.runway-assignment small,.intel-weather small{color:#8c9aa3;font-size:8px;font-weight:720;letter-spacing:.13em}
.intel-topline h3{margin:0;color:#edf0f1;font-size:16px;font-weight:650;letter-spacing:-.025em}
.intel-source{flex:none;padding:4px 7px;border:1px solid #ffffff20;border-radius:4px;color:#aab3b8;font-size:7px;font-weight:650;letter-spacing:.08em}
.intel-overview{justify-content:space-between;gap:14px;padding:14px 0 17px;border-top:1px solid #ffffff18;border-bottom:1px solid #ffffff18}
.intel-level{flex:1;align-self:stretch;justify-content:center}
.intel-level>strong{color:#f0f2f2;font-size:24px;font-weight:680;line-height:1;letter-spacing:-.05em}
.intel-level>span{max-width:180px;color:#9ca6ab;font-size:9px;line-height:1.35}
.intel-level-meter{display:block;width:min(100%,150px);height:3px;margin-top:5px;overflow:hidden;background:#ffffff18}
.intel-level-meter>b{display:block;width:var(--activity);height:100%;background:#7caecc}
.airport-intel-v2[data-activity="quiet"] .intel-level-meter>b{background:#91ad9d}.airport-intel-v2[data-activity="busy"] .intel-level-meter>b{background:#d1a75d}.airport-intel-v2[data-activity="surge"] .intel-level-meter>b{background:#d78967}
.airport-intel-v2[data-activity="unknown"] .intel-level>strong,.airport-intel-v2[data-activity="unknown"] .intel-counts b{color:#9aa4a9}.airport-intel-v2[data-activity="unknown"] .intel-level-meter>b{background:#77838a}
.intel-counts{gap:0;flex:none}
.intel-counts>div{display:grid;min-width:47px;gap:4px;padding:0 8px;border-left:1px solid #ffffff14;text-align:center}
.intel-counts>div:first-child{border-left:0}
.intel-counts b{color:#e8edef;font-size:15px;font-variant-numeric:tabular-nums;line-height:1}
.intel-counts span{color:#8f9aa0;font-size:8px}
.intel-runway,.intel-traffic{display:grid;gap:11px;padding:15px 0;border-bottom:1px solid #ffffff18}
.intel-section-heading{align-items:end}
.intel-section-heading>div{gap:3px}
.intel-section-heading>div>b{color:#e9edee;font-size:12px;font-weight:650;letter-spacing:-.01em}
.intel-section-heading>span{max-width:46%;color:#929da3;font-size:8px;line-height:1.3;text-align:right}
.runway-assignment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px 0;border-block:1px solid #ffffff0d}
.runway-assignment>div+div{padding-left:12px;border-left:1px solid #ffffff12}
.runway-assignment b{color:#e5eaec;font-size:11px;font-variant-numeric:tabular-nums}
.runway-visuals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.runway-lane{display:grid;gap:6px;min-width:0}
.runway-lane-heading{display:flex;justify-content:space-between;align-items:baseline;gap:6px}
.runway-lane-heading>b{color:#9ca8ae;font-size:9px;font-variant-numeric:tabular-nums;white-space:nowrap}
.runway-lane-heading>b span{color:#73818a;font-weight:450}
.runway-lane-heading>small{overflow:hidden;color:#8d999f;font-size:7px;text-align:right;text-overflow:ellipsis;white-space:nowrap}
.runway-track{position:relative;height:9px;border:1px solid #52616b;border-radius:1px;background:#28343c}
.runway-track:after{position:absolute;top:3px;right:5px;left:5px;height:1px;background:repeating-linear-gradient(90deg,#d4dce0 0 5px,transparent 5px 10px);content:""}
.runway-lane.is-preferred .runway-track{border-color:#78acd0;background:#405d70}
.runway-lane.is-preferred .runway-lane-heading>b{color:#a9d9f3}
.runway-diagram-empty,.traffic-chart-empty{padding:8px 0;color:#9ba5aa;font-size:9px}
.intel-wind-row{gap:8px;padding-top:2px;color:#c4ccd0}
.wind-symbol{flex:none;color:#8fc8e8;font-size:17px;font-style:normal;line-height:1}
.intel-wind-row>b{overflow:hidden;color:#d4dbde;font-size:9px;font-weight:590;text-overflow:ellipsis}
.intel-wind-row>small{margin-left:auto;color:#8e9aa0;font-size:8px;text-align:right;white-space:nowrap}
.traffic-chart{position:relative;height:80px;padding:0 2px}
.traffic-chart-baseline{position:absolute;right:2px;bottom:18px;left:2px;height:1px;background:#ffffff26}
.traffic-chart-columns{position:relative;display:grid;height:100%;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
.traffic-chart-bin{position:relative;display:grid;grid-template-rows:1fr 18px;justify-items:center;min-width:0;height:100%}
.traffic-chart-bars{display:flex;align-items:end;justify-content:center;gap:3px;width:100%;height:58px;padding-bottom:1px}
.traffic-chart-bars i{display:block;width:clamp(5px,17%,11px);min-height:1px;border-radius:2px 2px 0 0;align-self:end;transition:height .2s ease}
.traffic-arrival-bar{background:#69b5e9}.traffic-departure-bar{background:#d5a45d}
.traffic-chart-bin small{align-self:end;overflow:hidden;max-width:100%;color:#929da2;font-size:7px;font-variant-numeric:tabular-nums;white-space:nowrap}
.traffic-chart-legend{display:flex;gap:14px;margin-top:-1px}
.traffic-chart-legend span{display:flex;align-items:center;gap:6px;color:#abb4b8;font-size:8px}
.traffic-chart-legend i{width:12px;height:2px;border-radius:0}
.arrival-key{background:#69b5e9}.departure-key{background:#d5a45d}
.intel-traffic>p{margin:0;color:#879399;font-size:8px;line-height:1.4}
.intel-weather{align-items:flex-start;gap:11px;padding:14px 0 2px}
.intel-weather-rule{width:3px;min-height:31px;flex:none;background:#83939c}
.intel-weather-rule.no-significant-impact-reported{background:#789b87}.intel-weather-rule.caution{background:#c1a160}.intel-weather-rule.elevated{background:#bb716f}
.intel-weather>div>b{color:#e9edee;font-size:10px;font-weight:650}
.intel-weather>div>span{color:#929da2;font-size:8px;line-height:1.35}
.light-mode .airport-intelligence.airport-intel-v2{background:transparent}
.light-mode .intel-kicker,.light-mode .intel-level>small,.light-mode .intel-section-heading small,.light-mode .runway-assignment small,.light-mode .intel-weather small{color:#657985}
.light-mode .intel-topline h3,.light-mode .intel-level>strong,.light-mode .intel-counts b,.light-mode .intel-section-heading>div>b,.light-mode .runway-assignment b,.light-mode .intel-weather>div>b{color:#273740}
.light-mode .intel-source{border-color:#34464e30;color:#52636a}
.light-mode .intel-level>span,.light-mode .intel-counts span,.light-mode .intel-section-heading>span,.light-mode .runway-lane-heading>small,.light-mode .intel-wind-row>small,.light-mode .traffic-chart-bin small,.light-mode .traffic-chart-legend span,.light-mode .intel-traffic>p,.light-mode .intel-weather>div>span{color:#65767d}
.light-mode .intel-overview,.light-mode .intel-runway,.light-mode .intel-traffic{border-color:#34464e25}
.light-mode .intel-counts>div,.light-mode .runway-assignment>div+div{border-color:#34464e20}
.light-mode .runway-track{border-color:#8799a0;background:#d5e0e3}.light-mode .runway-lane.is-preferred .runway-track{border-color:#5283a1;background:#a9c5d3}.light-mode .runway-lane-heading>b{color:#566870}.light-mode .runway-lane-heading>b span{color:#77888e}.light-mode .runway-track:after{background:repeating-linear-gradient(90deg,#f6f8f8 0 5px,transparent 5px 10px)}
.light-mode .traffic-chart-baseline{background:#34464e35}.light-mode .intel-wind-row>b{color:#3e5058}
@media(max-width:440px){.airport-intelligence.airport-intel-v2{margin-inline:-6px}.intel-overview{gap:6px}.intel-counts>div{min-width:41px;padding-inline:5px}.intel-counts b{font-size:14px}.intel-counts span{font-size:7px}.intel-section-heading>span{max-width:44%;font-size:7px}.runway-visuals{gap:11px 9px}.runway-lane-heading>small{font-size:6px}.traffic-chart-columns{gap:1px}}

/* Keep airport identity and tab rhythm balanced at every panel width. */
.airport-panel{gap:14px}
.airport-panel-head{padding-top:14px}
.airport-tabs{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.airport-tabs button{display:grid;grid-template-rows:20px 18px;align-content:center;justify-items:center;row-gap:4px;min-height:62px;padding:6px 4px 7px;font-size:11px;line-height:1.2}
.airport-tabs button .airport-tab-count{position:static;grid-row:1;justify-self:center;align-self:center;width:18px;height:18px;min-width:18px;font-size:9px}
.airport-tabs button .airport-tab-label{grid-row:2;align-self:center;max-width:100%;text-align:center}
.airport-tabs button.active:after{right:8px;left:8px}
@media(max-width:390px){.airport-tabs button{min-height:60px;font-size:9px}.airport-tabs button .airport-tab-count{width:18px;height:18px;min-width:18px;font-size:9px}}
.startup-actions{display:flex;justify-content:center;gap:9px}.startup-continue{background:transparent}.startup-screen.error #startupDetail{display:block!important;min-height:0;margin:10px 0 16px;color:#aeb7ba;font-size:12px;line-height:1.5}
.map-route-legend span{display:inline-flex;align-items:center;gap:6px;color:#e2e7e9;font-size:9px;white-space:normal}
.map-route-legend i{display:block;width:17px;height:0;border-top:2px solid #e6b354}
.map-route-legend .legend-track{height:3px;border:0;background:linear-gradient(90deg,#ffe45e,#00f22e,#00eebd,#078cfb,#0757ff,#7200f4,#d500dd,#ff0808)}
.map-route-legend .legend-estimated{border-top:3px solid #85b8df}
.map-route-legend .legend-taxiway-estimated{border-top:3px solid #54a8ff}
.map-route-toggle{display:inline-flex;align-items:center;gap:6px;padding:3px 5px;border:1px solid #ffffff22;border-radius:7px;background:#ffffff09;color:inherit;font:inherit;cursor:pointer;pointer-events:auto}.map-route-toggle:hover{background:#ffffff18}.map-route-toggle:focus-visible{outline:2px solid #8dcaff;outline-offset:2px}.map-route-toggle b{margin-left:3px;padding:2px 5px;border-radius:5px;background:#ffffff12;font-size:8px;font-weight:650}
.light-mode .map-route-legend{border-color:#24354022;background:#fffffff0}
.light-mode .map-route-legend>b,.light-mode .map-route-legend span{color:#2d3942}
@media(max-width:820px){.map-route-legend{top:61px;left:8px;padding:8px 9px}.map-route-legend>b{font-size:9px}.map-route-legend span{font-size:8px}}
.map-airport-legend{position:absolute;z-index:4;top:141px;left:14px;display:grid;gap:7px;min-width:144px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--glass-strong);backdrop-filter:blur(18px);box-shadow:var(--shadow);pointer-events:none}
.map-airport-legend .legend-gates{width:6px;height:6px;border:0;border-radius:50%;background:#9eabb0}
.map-airport-legend>b{color:#f6f7f8;font-size:10px;font-weight:650}.map-airport-legend>div{display:flex;gap:12px}.map-airport-legend span{display:inline-flex;align-items:center;gap:6px;color:#e2e7e9;font-size:9px}.map-airport-legend i{display:block;width:15px;height:0;border-top:4px solid #aab7c0}.map-airport-legend .legend-taxiway{border-top:2px solid #f4c96a}.map-airport-legend small{color:#aeb7ba;font-size:8px}
.light-mode .map-airport-legend{border-color:#24354022;background:#fffffff0}.light-mode .map-airport-legend>b,.light-mode .map-airport-legend span{color:#2d3942}.light-mode .map-airport-legend small{color:#68737a}
@media(max-width:820px){.map-airport-legend{top:128px;left:8px;padding:8px 9px}.map-airport-legend>b{font-size:9px}.map-airport-legend span{font-size:8px}}

/* Selected flight: compact arrival summary and a strictly vertical details sheet. */
#flightDetail{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-x:none;touch-action:pan-y;max-width:calc(100vw - 16px);border:1px solid rgba(255,255,255,.14);box-shadow:0 14px 42px rgba(0,0,0,.32)}
#detailBody,.flight-panel-content{width:100%;max-width:100%;min-width:0;overflow-x:clip}
.waypoint-list{flex-wrap:wrap;overflow:hidden;white-space:normal}
.flight-identity{padding-top:12px}
.identity-top>b{flex:0 0 auto;color:#f4f5f6;font-size:13px;font-weight:700}
.identity-main{margin-top:7px}
.flight-route-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f2f4f5;font-size:16px;font-weight:650;letter-spacing:-.3px}
.flight-route-title span{color:#9a9fa3;font-size:12px;font-weight:450}
.arrival-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:11px 0 10px;padding:10px 12px;border:1px solid #ffffff12;border-radius:11px;background:#ffffff08}
.arrival-summary-main{display:grid;gap:3px;min-width:0}
.arrival-summary-main small{color:#9ca4a7;font-size:8px;font-weight:700;letter-spacing:.9px}
.arrival-summary-main strong{font-size:16px;line-height:1.2;font-weight:700}
.arrival-time-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:6px 0 7px;padding:9px 1px;border-bottom:1px solid #ffffff12}
.arrival-time-row>div{display:grid;gap:3px;min-width:0}
.arrival-time-row small{color:#9a9fa3;font-size:9px}
.arrival-time-row strong{color:#f3f4f4;font-size:20px;font-variant-numeric:tabular-nums;white-space:nowrap}
.arrival-time-row del{margin-left:5px;color:#85898d;font-size:11px;font-weight:450}
.arrival-time-status{color:#a8d9ba;font-size:10px;font-weight:650}
.arrival-plane-icon{color:#d8b65d;font-size:16px}
.flight-progress{margin:8px 0 2px}
.flight-progress .progress-track{height:4px}
.progress-captions{font-size:9px}
.telemetry-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:6px 0 9px;padding:8px 0;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12}
.telemetry-strip>div{min-width:0;padding:0 7px;border-right:1px solid #ffffff12}
.telemetry-strip>div:first-child{padding-left:0}.telemetry-strip>div:last-child{border:0;padding-right:0}
.telemetry-strip small,.telemetry-strip b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.telemetry-strip small{margin-bottom:4px;color:#94999d;font-size:8px}
.telemetry-strip b{color:#eceeef;font-size:11px;font-variant-numeric:tabular-nums}
.detail-actions{grid-template-columns:minmax(0,1fr) minmax(0,.6fr);margin:5px 0 9px}
.detail-action{height:36px;font-size:10px}
.primary-action{border-color:#ffffff24;background:#2c3432;font-weight:650}
.flight-accordion>summary{min-height:37px;font-size:10px}
.detail-subsection{padding:10px 0;border-bottom:1px solid #ffffff10}
.detail-subsection:last-child{border-bottom:0}
.detail-subsection h4{margin:0 0 8px;color:#aeb4b7;font-size:9px;font-weight:650;letter-spacing:.35px;text-transform:uppercase}
.copy-route-line{flex-wrap:wrap}.copy-route-line button{flex:0 0 auto}
@media(max-width:480px){
 #flightDetail{touch-action:pan-y;overscroll-behavior-x:none}
 .arrival-summary{align-items:flex-start;flex-direction:column;gap:4px}
 .arrival-summary-main strong{font-size:15px}
 .arrival-time-row strong{font-size:19px}
 .telemetry-strip>div{padding-inline:5px}
 .telemetry-strip small{font-size:7px}
 .telemetry-strip b{font-size:10px}
}

/* Airport navigation uses fixed, equal-width slots; counts never shift tab titles. */
.airport-tabs{grid-template-columns:repeat(4,minmax(0,1fr));width:calc(100% + 28px);margin-inline:-14px;align-items:stretch}
.airport-tabs button{box-sizing:border-box}
@media(max-width:820px){.airport-tabs{width:calc(100% + 24px);margin-inline:-12px}}
@media(max-width:390px){.airport-tabs button{gap:0;font-size:9px}.airport-tabs button .airport-tab-count{right:4px;width:13px;height:13px;min-width:13px;font-size:7px}}

/* Follow mode keeps route tags compact and gives the aircraft label a clear position. */
.aircraft-label.following{min-height:20px;gap:4px;padding:2px 6px 2px 3px;border-radius:6px;font-size:9px}
.aircraft-label.following .aircraft-label-logo{width:14px;height:14px}
.aircraft-label.following .aircraft-label-logo img{width:12px;height:12px}

/* Surface the three server tabs without restoring the rest of the hidden toolbar. */
.map-toolbar{display:flex!important;position:absolute;z-index:8;top:70px;left:20px;right:auto;width:max-content;height:auto;min-height:36px;pointer-events:none}
.map-toolbar .server-switch{display:flex;pointer-events:auto;gap:3px;padding:3px;background:rgba(22,22,22,.84);border:1px solid rgba(255,255,255,.15);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.24);backdrop-filter:blur(14px)}
.map-toolbar .server-choice{min-width:70px;padding:7px 11px;border-radius:9px;color:#d0d3d5;font-size:11px}
.map-toolbar .server-choice.active{background:#f0f1f2;color:#232629}
.map-toolbar .map-status,.map-toolbar .map-toolbar-right{display:none!important}
@media(max-width:820px){.map-toolbar{top:108px;left:10px}.map-toolbar .server-choice{min-width:64px;padding:7px 9px;font-size:10px}}
@media(max-width:480px){.map-toolbar{top:106px;left:9px}.map-toolbar .server-choice{min-width:58px;padding:7px 8px}}
.map-loading{position:absolute;z-index:4;top:153px;left:20px;display:flex;align-items:center;gap:10px;max-width:min(330px,calc(100vw - 40px));padding:10px 13px;border:1px solid rgba(255,255,255,.14);border-radius:13px;background:rgba(20,22,24,.86);box-shadow:0 8px 28px rgba(0,0,0,.25);backdrop-filter:blur(14px);color:#f3f4f5;pointer-events:auto}
.map-loading.hidden{display:none!important}.map-loading>span:nth-child(2){display:grid;gap:2px;min-width:0}.map-loading b{font-size:11px;font-weight:650}.map-loading small{overflow:hidden;color:#acb0b4;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.map-loading-spinner{width:15px;height:15px;flex:none;border:2px solid rgba(255,255,255,.24);border-top-color:#fff;border-radius:50%;animation:map-loading-spin .75s linear infinite}.map-loading.error .map-loading-spinner{display:none}.map-loading button{flex:none;padding:5px 8px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#ffffff12;color:#fff;font-size:10px}.map-loading button.hidden{display:none!important}@keyframes map-loading-spin{to{transform:rotate(360deg)}}
@media(max-width:820px){.map-loading{top:151px;left:10px;max-width:calc(100vw - 20px)}}

@media (prefers-reduced-motion:reduce){.map-loading-spinner{animation:none}}
.startup-screen{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;overflow:auto;padding:28px;background:radial-gradient(ellipse at 50% 42%,#1b2a31 0,#11191f 48%,#0c1217 100%);color:#f3f5f6;opacity:1;transition:opacity .28s ease}
.startup-screen.hidden{display:none!important}.startup-screen.ready{opacity:0;pointer-events:none}
.startup-brand{position:absolute;top:max(24px,env(safe-area-inset-top));left:max(26px,env(safe-area-inset-left));display:flex;align-items:center;gap:8px}.startup-brand>b{font-size:17px;letter-spacing:-.5px}.startup-brand>span{color:#858f94;font-size:10px}.startup-brand>img{display:block;width:80px;height:40px;object-fit:contain}
.startup-progress-panel{width:min(390px,100%);padding:35px 0 28px;text-align:center}.startup-spinner{display:block;width:28px;height:28px;margin:0 auto 22px;border:2px solid #ffffff24;border-top-color:#e8bd67;border-radius:50%;animation:startup-spin .8s linear infinite}.startup-kicker{margin:0 0 9px;color:#e8bd67;font-size:9px;font-weight:750;letter-spacing:1.7px}.startup-progress-panel h1{margin:0;color:#f3f5f6;font-size:clamp(22px,4vw,30px);font-weight:650;letter-spacing:-.9px}.startup-progress-panel>p:not(.startup-kicker){min-height:20px;margin:10px 0 22px;color:#9ea8ad;font-size:12px;line-height:1.5}.startup-progress-track{height:4px;overflow:hidden;border-radius:99px;background:#ffffff16}.startup-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d9aa52,#f3d48b);transition:width .32s ease}.startup-progress-panel>small{display:block;margin-top:9px;color:#808b91;font-size:9px}.startup-retry{margin-top:19px;padding:9px 16px;border:1px solid #ffffff26;border-radius:10px;background:#ffffff0d;color:#f3f5f6;font-size:11px}.startup-retry.hidden{display:none!important}.startup-footnote{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:20px;right:20px;color:#657178;font-size:9px;text-align:center}@keyframes startup-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.startup-screen,.startup-progress-track span{transition:none}.startup-spinner{animation:none}}
.startup-screen.error .startup-spinner,.startup-screen.error .startup-kicker,.startup-screen.error #startupDetail,.startup-screen.error .startup-progress-track,.startup-screen.error #startupProgressLabel,.startup-screen.error .startup-footnote{display:none!important}.startup-screen.error .startup-progress-panel{padding:12px 0}.startup-screen.error .startup-progress-panel h1{font-size:clamp(24px,4vw,32px)}
.startup-screen.error #startupDetail{display:block!important;min-height:0;margin:10px 0 16px;color:#aeb7ba;font-size:12px;line-height:1.5}
.app-shell{display:none!important}body.auth-ready .app-shell{display:block!important}
.auth-screen{z-index:2000}.auth-screen .startup-brand{margin-bottom:16px}.auth-panel{width:min(430px,100%);padding:32px 28px 28px;border:1px solid #ffffff16;border-radius:22px;background:linear-gradient(145deg,#171e24f5,#11181ef5);box-shadow:0 28px 90px #0008;backdrop-filter:blur(22px)}.auth-panel .startup-kicker{margin-bottom:12px}.auth-panel h1{font-size:clamp(25px,5vw,34px);letter-spacing:-1px}.auth-panel>#authMessage{min-height:0;margin:11px 0 23px;color:#aeb8bd;font-size:13px}.auth-panel>#authMessage.error,#adminMessage.error{color:#ff9f9a}.auth-primary{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 17px;border:1px solid #ffffff20;border-radius:12px;background:#f5f6f7;color:#182027;font-size:14px;font-weight:650;transition:transform .16s ease,background .16s ease}.auth-primary:hover{background:#fff;transform:translateY(-1px)}.auth-primary:disabled{opacity:.62;cursor:wait;transform:none}.google-g{font-family:Arial,sans-serif;font-size:18px;font-weight:800;background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 25% 50%,#fbbc05 50% 75%,#ea4335 75%);color:transparent;background-clip:text}.auth-spinner{width:15px;height:15px;border:2px solid #17202940;border-top-color:#172029;border-radius:50%;animation:startup-spin .75s linear infinite}.auth-account{display:grid;gap:7px;padding:15px;border:1px solid #ffffff1b;border-radius:12px;background:#ffffff08;text-align:left}.auth-account b{font-size:14px}.auth-account small{color:#aeb8bd;font-size:12px}.auth-account button{justify-self:start;margin-top:5px;padding:0;color:#94cfff}.auth-checkout{margin-top:12px;background:#e8bd67;color:#171b1f;border:0}.auth-checkout:hover{background:#f2cd7f}.auth-admin{margin-top:22px;padding-top:16px;border-top:1px solid #ffffff19;text-align:left}.auth-admin summary{color:#dde5e9;font-size:12px;font-weight:650;cursor:pointer}.auth-admin-tools{display:flex;gap:8px;margin-top:13px}.auth-admin-tools input{min-width:0;flex:1;padding:10px 11px;border:1px solid #ffffff20;border-radius:9px;background:#090f14;color:#f5f6f6}.auth-admin-tools button,.admin-account-controls button{padding:8px 10px;border:1px solid #ffffff20;border-radius:8px;background:#ffffff0b;color:#e8eef1;font-size:11px}.auth-admin>#adminMessage{margin:9px 0;color:#9ca9af;font-size:10px}.admin-account-row{display:grid;gap:10px;padding:12px 0;border-top:1px solid #ffffff14}.admin-account-row>div:first-child{display:grid;gap:3px;min-width:0}.admin-account-row b{overflow:hidden;color:#f1f3f4;font-size:12px;text-overflow:ellipsis}.admin-account-row small{color:#9ca9af;font-size:10px}.admin-account-controls{display:flex;flex-wrap:wrap;gap:6px}.admin-account-controls button{font-size:10px}.auth-screen .startup-footnote{color:#818e95}@media(max-width:520px){.auth-screen{align-content:center;gap:8px;padding:20px 16px calc(26px + env(safe-area-inset-bottom))}.auth-screen .startup-brand{margin:0 auto}.auth-panel{padding:25px 20px 21px;border-radius:18px}.auth-panel h1{font-size:27px}.auth-panel>#authMessage{margin:9px 0 19px;font-size:12px}.auth-primary{min-height:46px;font-size:13px}.auth-screen .startup-footnote{bottom:max(13px,env(safe-area-inset-bottom));font-size:9px}}
@media(max-width:820px){.map-route-legend,.map-airport-legend{top:164px;left:10px;max-width:calc(100% - 20px)}.map-route-legend{z-index:6}}
@media(max-width:480px){.map-route-legend,.map-airport-legend{top:158px;left:9px;max-width:calc(100% - 18px)}}

/* Stack map legends by their actual height so route detail can never overlap airport detail. */
.map-legends{position:absolute;z-index:6;top:128px;left:14px;display:grid;justify-items:start;gap:10px;width:min(360px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 142px);overflow-y:auto;overscroll-behavior:contain;pointer-events:none}
.map-route-legend,.map-airport-legend{position:static;max-width:100%;box-sizing:border-box;pointer-events:none}
.map-route-legend{width:max-content;max-width:100%;gap:7px;padding:9px 12px}
.map-route-legend>b,.map-airport-legend>b{font-size:10px;line-height:1.2}

/* A focused brand intro that resolves into the Google sign-in landing page. */
.landing-screen{isolation:isolate;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 54%,#17262e 0,#10191f 52%,#090e12 100%)}
.landing-intro{position:absolute;inset:0;z-index:1;display:grid;place-items:center;overflow:hidden;pointer-events:none}
.landing-stage-lockup{position:relative;z-index:2;display:flex;align-items:center;gap:clamp(12px,2vw,24px);transform:translateX(0);transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.landing-wordmark{display:flex;align-items:center;color:#f7f8f8;font-size:clamp(36px,6vw,72px);font-weight:750;letter-spacing:-.065em;white-space:pre}
.landing-type{display:inline-block;width:0;overflow:hidden;border-right:2px solid #f4bb54;animation:none}
.landing-infinite-logo{display:block;width:clamp(130px,19vw,238px);height:auto;object-fit:contain;opacity:0;transform:translateX(12px);transition:opacity .65s ease,transform .65s ease}
.landing-plane{position:absolute;z-index:3;left:125vw;top:52%;width:min(58vw,1050px);height:auto;opacity:0;transform:translate3d(0,-50%,0);filter:drop-shadow(0 18px 22px #0005)}
.landing-cloud-trail{position:absolute;z-index:4;inset:-22% 0 -22% auto;left:115%;width:155%;opacity:0;transform:translate3d(0,0,0);background:radial-gradient(ellipse at 28% 42%,#fff 0 10%,#f9fbfbef 20%,transparent 43%),radial-gradient(ellipse at 52% 59%,#f8fbfbeF 0 12%,#eef3f3d9 23%,transparent 44%),radial-gradient(ellipse at 74% 38%,#fff 0 11%,#f4f7f7d9 24%,transparent 45%);filter:blur(9px)}
.landing-content{position:relative;z-index:5;display:flex;flex-direction:column;align-items:center;gap:38px;width:min(420px,100%);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .65s ease,transform .65s ease,visibility .65s}
.landing-brand{display:flex;align-items:center;gap:10px;color:#f7f8f8}.landing-brand>b{font-size:clamp(29px,5vw,38px);letter-spacing:-1.7px}.landing-brand>span{color:#aeb7bc;font-size:17px}.landing-brand>img{width:clamp(110px,17vw,142px);height:auto;object-fit:contain}
.landing-screen .auth-panel{width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
.landing-screen #authMessage{display:none}.landing-screen #authMessage.has-message{display:block;min-height:0;margin:0 0 14px;color:#b9c3c8;font-size:13px;text-align:center}.landing-screen #authMessage.error{color:#ff9f9a}
.landing-screen .auth-primary{min-height:58px;border:0;border-radius:16px;background:linear-gradient(112deg,#e99c39,#ffbd55 54%,#e98a32);box-shadow:0 13px 32px #e79b3b38;color:#141a1e;font-size:17px;font-weight:750;letter-spacing:-.2px;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.landing-screen .auth-primary:hover{background:linear-gradient(112deg,#f1a542,#ffd077 54%,#f29a41);box-shadow:0 17px 38px #e79b3b50;transform:translateY(-2px)}
.landing-screen .google-g{display:none}.landing-screen .auth-spinner{border-color:#18202740;border-top-color:#182027}
.landing-screen.landing-intro-running .landing-type{animation:landing-type-in 1.32s steps(12,end) .12s forwards}
.landing-screen.landing-logo-revealed .landing-stage-lockup{transform:translateX(-3vw)}.landing-screen.landing-logo-revealed .landing-infinite-logo{opacity:1;transform:translateX(0)}
.landing-screen.landing-plane-released .landing-plane{opacity:1;animation:landing-plane-cross 2.35s cubic-bezier(.18,.7,.25,1) forwards}
.landing-screen.landing-plane-released .landing-cloud-trail{opacity:.95;animation:landing-cloud-cross 2.45s cubic-bezier(.2,.65,.25,1) .25s forwards}
.landing-screen.landing-settled .landing-intro{visibility:hidden;opacity:0;transition:opacity .55s ease,visibility .55s}.landing-screen.landing-settled .landing-content{visibility:visible;opacity:1;transform:translateY(0)}
.landing-screen.landing-authenticated .landing-content{display:none}
@keyframes landing-type-in{from{width:0;border-color:#f4bb54}to{width:12ch;border-color:transparent}}
@keyframes landing-plane-cross{0%{left:125vw;transform:translate3d(0,-50%,0) scale(1.02)}100%{left:-65vw;transform:translate3d(0,-50%,0) scale(.88)}}
@keyframes landing-cloud-cross{0%{left:115%;opacity:0}12%{opacity:.95}100%{left:-135%;opacity:0}}
@media(max-width:600px){.landing-content{width:min(330px,100%);gap:30px}.landing-stage-lockup{gap:10px}.landing-wordmark{font-size:clamp(31px,8vw,50px)}.landing-infinite-logo{width:clamp(94px,24vw,150px)}.landing-plane{width:115vw;max-width:none;animation-name:landing-plane-cross-mobile!important}.landing-brand{gap:7px}.landing-brand>b{font-size:30px}.landing-brand>span{font-size:14px}.landing-brand>img{width:106px}.landing-screen .auth-primary{min-height:54px;font-size:16px}}
@keyframes landing-plane-cross-mobile{0%{left:125vw;transform:translate3d(0,-50%,0) scale(1.02)}100%{left:-125vw;transform:translate3d(0,-50%,0) scale(.88)}}
@media(prefers-reduced-motion:reduce){.landing-screen .landing-intro{display:none}.landing-screen .landing-content{visibility:visible;opacity:1;transform:none;transition:none}.landing-stage-lockup,.landing-infinite-logo,.landing-screen .auth-primary{transition:none}}
.landing-screen.subscription-required .landing-intro{display:none}
.landing-screen.subscription-required .landing-content{width:min(500px,100%);gap:22px;opacity:1;visibility:visible;transform:none}
.landing-screen.subscription-required .auth-panel{padding:clamp(20px,5vw,34px);border:1px solid #ffffff16;border-radius:24px;background:linear-gradient(145deg,#171e24f5,#11181ef5);box-shadow:0 28px 90px #0008;backdrop-filter:blur(22px)}
.landing-screen.subscription-required #authMessage{display:block;margin:0 0 16px;font-size:12px}
.subscription-paywall{display:grid;gap:18px;text-align:left}
.subscription-paywall.hidden{display:none!important}
.paywall-price{display:flex;justify-content:space-between;align-items:center;gap:10px}.paywall-price>div{display:grid;gap:2px}.paywall-price b{color:#f7f8f8;font-size:16px}.paywall-price span,.paywall-price small{color:#9faab0;font-size:11px}.paywall-price small{white-space:nowrap}
.landing-screen .paywall-price+.auth-checkout{margin:0}.paywall-unavailable{margin:0;color:#ffcf9b;font-size:11px;line-height:1.5}.paywall-unavailable.hidden{display:none!important}
.landing-screen.subscription-required .auth-account{grid-template-columns:1fr auto;align-items:center;gap:3px 12px;padding:12px 14px}.landing-screen.subscription-required .auth-account b{grid-column:1}.landing-screen.subscription-required .auth-account small{grid-column:1}.landing-screen.subscription-required .auth-account button{grid-column:2;grid-row:1/3;justify-self:end;margin:0}
@media(max-width:600px){.landing-screen.subscription-required{align-content:center;padding:18px 14px calc(18px + env(safe-area-inset-bottom))}.landing-screen.subscription-required .landing-content{width:100%;gap:14px}.landing-screen.subscription-required .landing-brand>b{font-size:26px}.landing-screen.subscription-required .landing-brand>span{font-size:12px}.landing-screen.subscription-required .landing-brand>img{width:92px}.landing-screen.subscription-required .auth-panel{padding:17px;border-radius:20px}.subscription-paywall{gap:14px}.paywall-price b{font-size:15px}.paywall-price span,.paywall-price small{font-size:10px}.landing-screen.subscription-required .auth-primary{min-height:52px;font-size:14px}}
.map-route-legend>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:7px 12px;min-width:0;width:100%}
.map-route-legend>div>*{min-width:0;max-width:100%}
.map-route-legend span{display:inline-flex;align-items:center;gap:6px;font-size:9px;line-height:1.25;white-space:normal}
.map-airport-legend{width:max-content;min-width:0;gap:7px;padding:9px 12px}
.map-airport-legend>div{display:flex;align-items:center;gap:16px}
.map-airport-legend span{gap:6px;font-size:9px;line-height:1.25;white-space:nowrap}
.map-airport-legend small{font-size:8px;line-height:1.3}
@media(max-width:820px){.map-legends{top:180px;left:10px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 192px)}}
@media(max-width:480px){.map-legends{top:178px;left:9px;width:calc(100vw - 18px);max-width:calc(100vw - 18px);max-height:calc(100dvh - 190px)}}

/* Flight detail: calmer hierarchy with fewer competing cards and dividers. */
.flight-detail{background:#171819;color:#f2f3f3}
#detailBody{padding:0 22px 22px}
.flight-panel-content{max-width:760px;margin:0 auto}
.flight-identity{padding:19px 0 16px;border-bottom:1px solid #ffffff10}
.identity-top{gap:10px;min-height:28px;font-size:12px;color:#b8bdc0}
.identity-top>b{font-size:15px;color:#f3f4f4;letter-spacing:-.2px}
.detail-airline-logo{width:27px;height:27px;flex-basis:27px;border-radius:8px}
.detail-airline-logo img{width:21px;height:21px}
.identity-main{margin-top:12px}
.flight-route-title{font-size:23px;letter-spacing:-.65px}
.flight-route-title span{font-size:16px;color:#9ca2a5}
.detail-aircraft-icon{width:30px;height:30px;opacity:.56}
.aircraft-description{margin-top:7px;font-size:12px;color:#a2a7a9}
.arrival-summary{position:relative;min-height:0;gap:8px;margin:10px 0 9px;padding:9px 12px 9px 15px;border:0;border-radius:4px 10px 10px 4px;background:#ffffff08}
.arrival-summary:before{position:absolute;inset:0 auto 0 0;width:3px;border-radius:4px 0 0 4px;background:#a9b3b0;content:""}
.arrival-summary-main{gap:2px}
.arrival-summary-main small{font-size:9px;letter-spacing:1.05px}
.arrival-summary-main strong{font-size:16px;letter-spacing:-.2px}
.arrival-summary.flight-phase-ground:before{background:#8dc5a2}
.arrival-summary.flight-phase-airborne:before{background:#78bfe2}
.arrival-summary.flight-phase-landing:before{background:#e4ad78}
.arrival-summary.flight-phase-diverted:before{background:#de8787}
.arrival-summary.flight-phase-ground{background:#8dc5a20b}
.arrival-summary.flight-phase-airborne{background:#78bfe20b}
.arrival-summary.flight-phase-landing{background:#e4ad780d}
.arrival-summary.flight-phase-diverted{background:#de87870d}
.detail-route{margin:18px 2px 8px}
.detail-route>div:not(.route-middle){display:grid;gap:2px;align-content:start}
.detail-route b{font-size:17px;letter-spacing:.15px}
.detail-route span{margin-top:3px;font-size:11px}
.detail-route .route-time{display:block;margin-top:2px;color:#d5a66f;font-size:10px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.detail-route .route-middle{margin-inline:18px;background:linear-gradient(90deg,#dd9b5e88,#dd9b5e88)}
.detail-route .route-middle:after{top:-10px;background:#171819;color:#e4a16a;font-size:14px}
.flight-progress{margin:15px 0 10px}
.flight-progress .progress-track{height:5px;border-radius:10px;background:#303334}
.flight-progress .progress-track span{border-radius:inherit}
.progress-captions{margin-top:7px;color:#a2a8aa;font-size:10px;line-height:1.4}
.arrival-time-row{margin:13px 0 7px;padding:4px 2px 14px;border-bottom:1px solid #ffffff0d}
.arrival-time-row>div{gap:4px}
.arrival-time-row small{font-size:11px;color:#a1a7aa}
.arrival-time-row strong{font-size:27px;letter-spacing:-.65px}
.arrival-time-row del{font-size:13px}
.arrival-time-status{font-size:12px;font-weight:600}
.arrival-plane-icon{font-size:20px;opacity:.7}
.telemetry-strip{margin:7px 0 13px;padding:11px 0;border:0;border-bottom:1px solid #ffffff10;background:transparent}
.telemetry-strip>div{padding:0 12px;border-color:#ffffff12}
.telemetry-strip>div:first-child{padding-left:0}
.telemetry-strip small{margin-bottom:5px;font-size:10px;color:#9ba2a5}
.telemetry-strip b{font-size:14px;color:#edf0f0}
.detail-actions{gap:9px;margin:15px 0 17px}
.detail-action{height:42px;border-radius:11px;font-size:12px;background:#202223;border-color:#ffffff12}
.detail-action.primary-action{background:#29302e;border-color:#a7c3b135}
.flight-accordion{margin:0;border:0;border-bottom:1px solid #ffffff12;border-radius:0;background:transparent}
.flight-accordion>summary{min-height:48px;padding:0 3px;font-size:13px;font-weight:600}
.flight-accordion>summary:after{margin-left:7px;font-size:17px}
.flight-accordion>summary span{font-size:11px}
.accordion-content{padding:0 4px 15px;border-top:0}
.data-note{margin:13px 0 0;padding:0;border:0;color:#858d90;font-size:10px;line-height:1.55}
/* Keep flight identity and telemetry readable instead of clipping long values. */
#detailBody .identity-top{min-width:0;flex-wrap:wrap}
#detailBody .identity-top>b{max-width:100%;overflow-wrap:anywhere}
#detailBody .identity-top>.identity-airline{min-width:0;max-width:100%;white-space:normal}
#detailBody .flight-route-title{height:auto;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.18}
#detailBody .arrival-summary{flex-wrap:wrap}
#detailBody .arrival-time-row strong{white-space:normal;overflow-wrap:anywhere}
#detailBody .progress-captions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 12px}
#detailBody .progress-captions span{min-width:0;overflow-wrap:anywhere}
#detailBody .aircraft-description b{color:#e7ebec;font-weight:650}
#detailBody .telemetry-strip small,#detailBody .telemetry-strip b{height:auto;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.2}
#detailBody .telemetry-strip b{font-size:clamp(10px,1.3vw,14px)}
.light-mode .flight-detail{background:#fff;color:#1d292e}
.light-mode .flight-identity{border-color:#e7ecee}
.light-mode .identity-top>b,.light-mode .flight-route-title,.light-mode .arrival-time-row strong,.light-mode .telemetry-strip b{color:#1d292e}
.light-mode .flight-route-title span,.light-mode .aircraft-description,.light-mode .arrival-time-row small,.light-mode .telemetry-strip small{color:#68777d}
.light-mode .arrival-summary{background:#f4f7f7}
.light-mode .detail-route .route-middle:after{background:#fff}
.light-mode .detail-route .route-time{color:#9a622d}
.light-mode .telemetry-strip,.light-mode .arrival-time-row,.light-mode .flight-accordion{border-color:#e7ecee}
.light-mode .detail-action{background:#f5f7f7;color:#33464d;border-color:#dfe6e8}
.light-mode .detail-action.primary-action{background:#edf4ef;border-color:#d9e8dd}
@media(max-width:600px){
 #detailBody{padding:0 16px 18px}
 .flight-identity{padding-top:15px}
 .flight-route-title{font-size:20px}
 .arrival-summary{align-items:center;flex-direction:row;gap:8px;padding:8px 11px 8px 14px}
 .arrival-summary-main strong{font-size:15px}
 .arrival-time-row strong{font-size:23px}
 .telemetry-strip>div{padding-inline:8px}
 .telemetry-strip small{font-size:9px}
 .telemetry-strip b{font-size:12px}
}
@media(max-width:390px){
 #detailBody{padding-inline:13px}
 .identity-top{gap:7px;font-size:10px}
 .identity-top>b{font-size:13px}
 .flight-route-title{font-size:18px}
 .arrival-summary{align-items:flex-start;flex-direction:row;gap:5px;padding:8px 10px 8px 13px}
 .telemetry-strip>div{padding-inline:5px}
 .telemetry-strip b{font-size:11px}
}

/* Selected flight: lead with live phase and make measured data easier to scan. */
.flight-detail{width:402px}
.flight-identity{padding:19px 0 15px}
.identity-top>b{font-size:16px}
.aircraft-description{font-size:13px}
.arrival-summary{min-height:70px;align-items:center;margin:14px 0 12px;padding:12px 15px 12px 17px;border:1px solid #ffffff0d;border-radius:10px;background:#ffffff06}
.arrival-summary-main small{font-size:9px;letter-spacing:1.1px}
.arrival-summary-main strong{font-size:20px;line-height:1.18;letter-spacing:-.35px}
.arrival-summary.flight-status-tone-neutral:before{background:#81bddd}
.arrival-summary.flight-status-tone-neutral{background:#81bddd0c}
.arrival-summary.flight-status-tone-unknown:before{background:#88949c}
.arrival-summary.flight-status-tone-unknown{background:#88949c0c}
.arrival-summary.flight-status-tone-on-time:before{background:#71c89b}
.arrival-summary.flight-status-tone-on-time{background:#71c89b0c}
.arrival-summary.flight-status-tone-minor-delay:before{background:#e8a85d}
.arrival-summary.flight-status-tone-minor-delay{background:#e8a85d10}
.arrival-summary.flight-status-tone-major-delay:before{background:#e07878}
.arrival-summary.flight-status-tone-major-delay{background:#e078780e}
.schedule-indicator{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#ffffff0b;color:#aeb8bb;font-size:10px;font-weight:650;white-space:nowrap}
.schedule-indicator.status-on-time{background:#71c89b16;color:#83d4a8}
.schedule-indicator.status-minor-delay{background:#e8a85d18;color:#f0b96f}
.schedule-indicator.status-major-delay{background:#e0787818;color:#ee9292}
.detail-route{margin:22px 3px 10px}
.detail-route b{font-size:20px}
.detail-route span{font-size:11px}
.detail-route .route-time{margin-top:5px;color:#aeb8bb;font-size:11px}
.detail-route .route-time-arrival.flight-status-tone-on-time{color:#83d4a8}
.detail-route .route-time-arrival.flight-status-tone-minor-delay{color:#f0b96f}
.detail-route .route-time-arrival.flight-status-tone-major-delay{color:#ee9292}
.detail-route .route-middle{margin-inline:16px;background:#77818566}
.detail-route .route-middle:after{content:"→";background:#171819;color:#aab2b5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.flight-progress{margin:17px 0 12px}
.flight-progress .progress-track{height:7px}
.progress-captions{font-size:11px}
.telemetry-strip{margin:12px 0 15px;padding:14px 0;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12}
.telemetry-strip>div{padding-inline:10px}
.telemetry-strip small{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:6px;color:#a5adaf;font-size:10px}
.telemetry-strip b{display:flex;align-items:baseline;gap:5px;color:#f1f3f3;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2}
#detailBody .telemetry-strip small{font-size:10px}
#detailBody .telemetry-strip b{font-size:16px}
.telemetry-estimate{flex:none;padding:2px 4px;border-radius:4px;background:#81bddd16;color:#9acdec;font:700 7px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.35px;white-space:nowrap;overflow-wrap:normal}
.telemetry-estimate[hidden]{display:none}
.telemetry-trend{margin-left:auto;color:#9acdec;font-size:14px;font-weight:700;line-height:1}
.telemetry-trend.trend-down{color:#bdc9d0}
.telemetry-trend[aria-label=""]{display:none}
.light-mode .detail-route .route-middle:after{background:#fff}
.light-mode .detail-route .route-time{color:#68777d}
.light-mode .arrival-summary.flight-status-tone-neutral{background:#edf5f8}
.light-mode .arrival-summary.flight-status-tone-on-time{background:#edf7f0}
.light-mode .arrival-summary.flight-status-tone-minor-delay{background:#fbf3e8}
.light-mode .arrival-summary.flight-status-tone-major-delay{background:#fbefef}
.light-mode .schedule-indicator.status-on-time{background:#eaf6ee;color:#297c4d}
.light-mode .schedule-indicator.status-minor-delay{background:#fff2df;color:#9b5a0a}
.light-mode .schedule-indicator.status-major-delay{background:#fdecec;color:#a43535}
.light-mode .telemetry-estimate{background:#eaf3f8;color:#236c8f}
#detailBody .detail-route .route-middle{background:#77818566!important}
#detailBody .detail-route .route-middle:after{content:"→"!important;color:#aab2b5!important;background:#171819!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.light-mode #detailBody .detail-route .route-middle:after{background:#fff!important;color:#748188!important}
@media(max-width:1100px){.flight-detail{width:366px}}
@media(max-width:820px){.flight-detail{width:auto;height:min(74vh,740px);max-height:74vh;bottom:10px}}
@media(max-width:600px){.arrival-summary-main strong{font-size:19px}.detail-route b{font-size:19px}#detailBody .telemetry-strip>div{padding-inline:7px}#detailBody .telemetry-strip small{font-size:9px}#detailBody .telemetry-strip b{font-size:14px}}
@media(max-width:390px){.flight-detail{height:76vh;max-height:76vh}.detail-route{margin-inline:0}.detail-route .route-middle{margin-inline:9px}#detailBody .telemetry-strip>div{padding-inline:4px}#detailBody .telemetry-strip b{font-size:12px}.schedule-indicator{font-size:9px;padding:4px 6px}}

/* Selected flight panel: rebuilt as a contained, responsive information surface. */
.detail-panel-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 18px;background:rgba(22,24,25,.96);backdrop-filter:blur(18px)}
.detail-panel-kicker{color:#899398;font-size:9px;font-weight:750;letter-spacing:1.4px}
.flight-detail>.detail-panel-header #backToTraffic{position:relative;display:block;box-sizing:border-box;flex:0 0 38px;width:38px;min-width:38px;max-width:38px;height:38px;min-height:38px;margin:0;padding:0;border:1px solid #ffffff20;border-radius:50%;background:#ffffff08;color:#e4e9eb;font-size:22px;line-height:1;text-align:center;transition:background .16s ease,border-color .16s ease}
.flight-detail>.detail-panel-header #backToTraffic svg{position:absolute;inset:0;display:block;width:18px;height:18px;margin:auto;overflow:visible;transform:none;pointer-events:none}
.flight-detail>.detail-panel-header .back-link svg path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2.4}
.flight-detail>.detail-panel-header #backToTraffic:hover{background:#ffffff16;border-color:#ffffff38;color:#fff}
.flight-detail:has(.flight-panel-content){display:flex;flex-direction:column;overflow:hidden;padding:0;border:1px solid #ffffff18;border-radius:20px;background:rgba(20,22,24,.975);box-shadow:0 20px 70px #0008;backdrop-filter:blur(26px)}
.flight-detail:has(.flight-panel-content) #detailBody{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 18px 22px;scrollbar-width:thin;scrollbar-color:#41484b transparent}
.flight-detail:has(.flight-panel-content) .flight-panel-content{width:100%;max-width:none;margin:0;overflow:visible}
.flight-identity-card{min-width:0;padding:2px 0 15px;border-bottom:1px solid #ffffff12}
.flight-identity-row{display:flex;align-items:center;gap:12px;min-width:0}
.flight-identity-row .detail-airline-logo{width:42px;height:42px;flex:0 0 42px;border-radius:13px;padding:5px}
.flight-identity-row .detail-airline-logo img{width:32px;height:32px}
.flight-identity-copy{display:grid;min-width:0;gap:3px}
.flight-callsign{min-width:0;color:#f4f6f7;font-size:19px;font-weight:760;letter-spacing:-.45px;line-height:1.18;overflow-wrap:anywhere}
.flight-identity-copy .identity-airline{min-width:0;color:#a5adb1;font-size:12px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.flight-identity-copy .aircraft-description{display:block;min-width:0;margin:1px 0 0;padding:0;color:#889397;font-size:10px;line-height:1.25;overflow-wrap:anywhere}
.flight-identity-copy .aircraft-description b{color:#b7c0c3;font-weight:580}
.flight-detail:has(.flight-panel-content) .arrival-summary{display:flex;align-items:center;min-height:66px;gap:10px;margin:14px 0 12px;padding:11px 13px;border:1px solid #ffffff0e;border-radius:14px;background:#ffffff06}
.flight-detail:has(.flight-panel-content) .arrival-summary:before{width:3px}
.phase-mark{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#81bddd12;color:#a3d7ef;font-size:18px;font-weight:700}
.flight-detail:has(.flight-panel-content) .arrival-summary-main{min-width:0;gap:3px}
.flight-detail:has(.flight-panel-content) .arrival-summary-main small{font-size:8px;letter-spacing:1.1px}
.flight-detail:has(.flight-panel-content) .arrival-summary-main strong{font-size:17px;line-height:1.2;overflow-wrap:anywhere}
.flight-detail:has(.flight-panel-content) .schedule-indicator{max-width:118px;white-space:normal;text-align:center;line-height:1.2}
.flight-route-card{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);align-items:center;min-width:0;gap:8px;margin:0 0 13px;padding:13px 12px;border:1px solid #ffffff0d;border-radius:14px;background:linear-gradient(135deg,#ffffff08,#ffffff03)}
.flight-route-card:has(.route-endpoint:only-child){grid-template-columns:minmax(0,1fr)}
.flight-route-card:has(.route-destination:only-child) .route-destination{justify-self:stretch;text-align:left}
.flight-route-card:has(.route-destination:only-child) .route-destination .route-airport-link{justify-self:start;text-align:left}
.route-endpoint{display:grid;align-content:start;min-width:0;gap:3px}
.route-endpoint b{color:#f2f4f5;font-size:20px;letter-spacing:.1px;line-height:1.1}
.route-endpoint .route-airport-link{display:inline-flex;align-items:center;justify-self:start;gap:5px;min-width:0;max-width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.route-destination .route-airport-link{justify-self:end;text-align:right}
.route-endpoint .route-airport-link b{color:#f2f4f5}
.route-airport-chevron{display:grid;place-items:center;flex:0 0 16px;width:16px;height:18px;color:#9da8ac;font-size:20px;font-weight:500;line-height:1;transform:translateY(-1px);transition:color .15s ease,transform .15s ease}
.route-airport-link:hover b,.route-airport-link:hover .route-airport-chevron{color:#9acdec}
.route-airport-link:hover .route-airport-chevron{transform:translate(2px,-1px)}
.route-airport-link:focus-visible{outline:2px solid #89c9e2;outline-offset:3px;border-radius:3px}
.route-endpoint span{min-width:0;color:#a7afb3;font-size:11px;line-height:1.25;overflow-wrap:anywhere}
.route-endpoint .route-time{display:block;margin-top:4px;color:#bcc4c7;font-size:10px;font-weight:620;line-height:1.25;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}
.route-time-departure [data-flight-time]{font-variant-numeric:tabular-nums}
.route-endpoint .route-time-departure span{font-size:inherit}
.flight-time-separator,.flight-time-prefix{color:#899398}
.route-endpoint .route-time-arrival.flight-status-tone-on-time{color:#83d4a8}
.route-endpoint .route-time-arrival.flight-status-tone-minor-delay{color:#f0b96f}
.route-endpoint .route-time-arrival.flight-status-tone-major-delay{color:#ee9292}
.route-destination{text-align:right}
.route-connector{display:flex;align-items:center;justify-content:center;gap:3px;color:#97a1a5}
.route-connector span{height:1px;flex:1;background:#87929655}
.route-connector i{font-size:16px;font-style:normal;line-height:1}
.flight-detail:has(.flight-panel-content) .flight-progress{margin:4px 0 13px}
.flight-detail:has(.flight-panel-content) .flight-progress .progress-track{height:5px;border-radius:99px;background:#353a3c}
.flight-detail:has(.flight-panel-content) .flight-progress .progress-track span{border-radius:inherit}
.flight-detail:has(.flight-panel-content) .progress-captions{display:flex;justify-content:space-between;gap:10px;margin-top:6px;color:#9da6a9;font-size:10px;line-height:1.25}
.flight-detail:has(.flight-panel-content) .progress-captions span{min-width:0;white-space:nowrap}
.flight-detail:has(.flight-panel-content) .progress-captions span:last-child{text-align:right}
.telemetry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:11px 0 14px;padding:5px 2px;border-radius:15px;background:radial-gradient(ellipse at 50% 0%,#ffffff09,transparent 78%)}
.telemetry-card{position:relative;min-width:0;min-height:66px;padding:10px 11px;border:0;border-radius:0;background:transparent}
.telemetry-card:nth-child(odd){border-right:1px solid #ffffff12}
.telemetry-card:nth-child(-n+2){border-bottom:1px solid #ffffff12}
.telemetry-card-label{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;margin-bottom:6px;color:#a6afb2;font-size:10px;line-height:1.15}
.telemetry-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.telemetry-card-meta{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.telemetry-estimate{display:inline-flex;align-items:center;flex:0 0 auto;padding:2px 4px;border:1px solid #89c9e21f;border-radius:4px;background:#81bddd12;color:#9acdec;font:700 7px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.45px;white-space:nowrap}
.telemetry-estimate[hidden]{display:none}
.telemetry-trend{min-width:12px;color:#9acdec;font-size:13px;font-weight:750;line-height:1;text-align:center}
.telemetry-trend.trend-down{color:#b9c5cb}
.telemetry-trend:empty{display:none}
.telemetry-card-reading{min-width:0;color:#f0f3f4;font-variant-numeric:tabular-nums}
.telemetry-card-reading strong{display:block;min-width:0;font-size:16px;font-weight:730;letter-spacing:-.25px;line-height:1.18;white-space:nowrap}
.flight-detail:has(.flight-panel-content) .detail-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin:4px 0 16px}
.flight-detail:has(.flight-panel-content) .detail-action{min-width:0;min-height:42px;border-radius:12px;font-size:12px}
.flight-detail:has(.flight-panel-content) .flight-accordion{margin:0;border-top:1px solid #ffffff12}
.flight-detail:has(.flight-panel-content) .flight-accordion>summary{min-height:46px;padding:0 2px;font-size:12px}
.flight-detail:has(.flight-panel-content) .data-note{margin:15px 2px 0;color:#7f8a8e;font-size:10px;line-height:1.5}
.light-mode .detail-panel-header{background:rgba(255,255,255,.96)}
.light-mode .flight-detail:has(.flight-panel-content){background:rgba(250,252,252,.98);border-color:#dce4e6}
.light-mode .detail-panel-kicker,.light-mode .flight-detail:has(.flight-panel-content) .progress-captions{color:#68777d}
.light-mode .flight-detail>.detail-panel-header #backToTraffic{color:#27363b;border-color:#25333a20;background:#1c293008}
.light-mode .flight-identity-card,.light-mode .flight-detail:has(.flight-panel-content) .flight-accordion{border-color:#e2e8ea}
.light-mode .flight-callsign,.light-mode .flight-identity-card .aircraft-description b,.light-mode .route-endpoint b,.light-mode .telemetry-card-reading{color:#1c292e}
.light-mode .flight-identity-copy .identity-airline,.light-mode .route-endpoint span,.light-mode .route-endpoint .route-time,.light-mode .telemetry-card-label{color:#5e6b70}
.light-mode .flight-route-card{border-color:#e1e7e9;background:#fff}
.light-mode .telemetry-grid{background:radial-gradient(ellipse at 50% 0%,#dce9ed80,transparent 78%)}
.light-mode .telemetry-card:nth-child(odd){border-right-color:#1a303016}
.light-mode .telemetry-card:nth-child(-n+2){border-bottom-color:#1a303016}
.light-mode .telemetry-card-reading strong{color:#1d2b30}
.light-mode .telemetry-estimate{background:#eaf3f8;color:#236c8f}
@media(min-width:821px){
 .flight-detail:has(.flight-panel-content){top:14px;right:16px;bottom:14px;width:clamp(360px,32vw,440px)}
 body:has(#flightDetail:not(.hidden)) .map-search-wrap{right:calc(clamp(360px,32vw,440px) + 28px);width:min(365px,calc(100vw - 600px))}
}
@media(min-width:821px) and (max-width:1100px){.flight-detail:has(.flight-panel-content){width:clamp(340px,37vw,390px)}body:has(#flightDetail:not(.hidden)) .map-search-wrap{right:calc(clamp(340px,37vw,390px) + 28px);width:min(320px,calc(100vw - 600px))}}
@media(max-width:820px){
 .flight-detail:has(.flight-panel-content){left:8px;right:8px;top:auto;bottom:calc(10px + env(safe-area-inset-bottom));width:auto;height:min(76vh,760px);max-height:76vh;border-radius:19px}
 .flight-detail:has(.flight-panel-content) #detailBody{padding:2px 15px 18px}
 .detail-panel-header{min-height:50px;padding-inline:15px}
 .flight-identity-card{padding-bottom:12px}
 .flight-detail:has(.flight-panel-content) .arrival-summary{margin-top:11px}
 .flight-route-card{padding:11px 10px;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:6px}
 .route-endpoint b{font-size:18px}
 .route-endpoint span,.route-endpoint .route-time{font-size:10px}
 .telemetry-card{min-height:62px;padding:8px 10px}
 .telemetry-card-reading strong{font-size:15px}
}
@media(max-width:390px){
 .flight-detail:has(.flight-panel-content) #detailBody{padding-inline:11px}
 .flight-route-card{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:4px;padding-inline:8px}
 .route-endpoint b{font-size:17px}
 .route-endpoint span,.route-endpoint .route-time{font-size:9px}
 .telemetry-grid{gap:6px}
 .telemetry-card{padding-inline:8px}
 .telemetry-card-reading strong{font-size:14px}
}

/* Official Infinite Flight model photography; subdued to sit naturally in the flight card. */
.flight-identity-card:has(.aircraft-photo){padding-bottom:0;border-bottom:0}
.aircraft-photo{position:relative;isolation:isolate;display:block;min-width:0;height:128px;margin:5px -8px 1px;overflow:hidden;background:transparent;text-decoration:none}
.aircraft-photo:after{position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,#141618 0%,#14161800 18%),linear-gradient(0deg,#141618 0%,#14161800 35%);content:"";pointer-events:none}
.aircraft-photo img{position:absolute;inset:-7% -8%;width:116%;height:116%;object-fit:contain;object-position:center 54%;opacity:0;filter:contrast(1.08) saturate(1.06) brightness(1.04);-webkit-mask-image:radial-gradient(ellipse 94% 91% at 50% 42%,#000 56%,transparent 100%);mask-image:radial-gradient(ellipse 94% 91% at 50% 42%,#000 56%,transparent 100%);transition:opacity .24s ease,transform .35s ease,filter .35s ease}
.aircraft-photo img.aircraft-image-ready{opacity:.98}
.aircraft-photo:hover img{transform:scale(1.025);filter:contrast(1.17) brightness(1.09)}
.aircraft-photo-registration{position:absolute;z-index:2;top:9px;right:13px;color:#fff;text-shadow:0 1px 8px #06132280;font-size:8px;font-weight:750;letter-spacing:.65px}
.aircraft-photo-credit{position:absolute;z-index:2;right:9px;bottom:6px;padding:3px 5px;border-radius:5px;background:#14161880;color:#c6d6e1;font-size:7px;font-weight:620;letter-spacing:.15px;text-shadow:0 1px 8px #06132280;white-space:nowrap}
.light-mode .aircraft-photo:after{background:linear-gradient(180deg,#fafcfc 0%,#fafcfc00 18%),linear-gradient(0deg,#fafcfc 0%,#fafcfc00 35%)}
@media(max-width:820px){.aircraft-photo{height:116px;margin-top:5px}}
@media(max-width:390px){.aircraft-photo{height:104px;margin-inline:-5px}}

/* Optional internal diagnostics; only rendered with ?intelligence-debug=1. */
.intelligence-debug-panel{margin:8px 0;padding:9px;border:1px dashed #e4ad68;border-radius:9px;background:#171717;color:#ddd;font:10px ui-monospace,SFMono-Regular,Menlo,monospace}.intelligence-debug-panel>summary{cursor:pointer;color:#e4ad68;font:650 10px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.intelligence-debug-panel>div{display:grid;gap:4px;margin-top:8px;max-height:440px;overflow:auto;overscroll-behavior:contain;padding-right:3px}.intelligence-debug-panel b{color:#aeb5bb}.intelligence-debug-panel code{display:block;margin:2px 0 6px;padding:5px 6px;border-radius:5px;background:#0f1418;white-space:pre-wrap;overflow-wrap:anywhere;color:#d8e4ed;font-size:9px;line-height:1.4}
.flight-detail:has(.flight-panel-content) .arrival-summary.flight-phase-unknown:before{background:#89949b}
.flight-detail:has(.flight-panel-content) .arrival-summary.flight-phase-unknown{background:#89949b0b}
.flight-detail:has(.flight-panel-content) .arrival-summary.flight-phase-unknown .phase-mark{background:#89949b18;color:#c1c8cc}

/* Keep the live marker with the right-aligned movement status, like an ops board. */
.airport-flight-status .airport-flight-live{min-height:14px;padding:2px 5px;border-radius:4px;font-size:7px;font-weight:800;letter-spacing:.035em;box-shadow:0 1px 2px #0003}
.airport-flight-status .airport-flight-live.is-live{background:#fff;color:#141718}
.airport-flight-status .airport-flight-live svg{width:8px;height:8px;flex:none;fill:currentColor}
.light-mode .airport-flight-status .airport-flight-live.is-live{background:#fff;color:#141718}
@media(max-width:440px){.airport-flight-status .airport-flight-live{min-height:13px;padding:2px 4px;font-size:6.5px}.airport-flight-status .airport-flight-live svg{width:7px;height:7px}}

/* Airport info uses open editorial sections; runway operations stand apart from the traffic overview. */
.airport-intelligence.airport-intel-v2{gap:0;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.intel-topline{padding-bottom:11px}
.intel-topline h3,.runway-panel-heading h3{font-size:17px}
.intel-overview{padding:13px 0 15px}
.intel-counts>div{min-width:54px;padding-inline:10px}
.intel-counts>div:first-child{padding-left:0}
.intel-traffic{padding:14px 0;border-bottom:1px solid #ffffff1a}
.intel-weather{padding:12px 0 1px}
.airport-runway-panel{position:relative;display:grid;gap:11px;margin:3px 0 2px;padding:13px 13px 12px 15px;overflow:hidden;border:0;border-left:2px solid #78bde5;border-radius:0 10px 10px 0;background:linear-gradient(100deg,#78bde512,#78bde504 58%,transparent)}
.runway-panel-heading{display:flex;align-items:end;justify-content:space-between;gap:12px}
.runway-panel-heading>div{display:grid;gap:3px}
.runway-panel-heading h3{margin:0;color:#edf1f2;font-weight:650;letter-spacing:-.03em}
.runway-source{max-width:48%;color:#aab6bc;font-size:8px;line-height:1.35;text-align:right}
.airport-runway-panel .runway-assignment{padding:9px 0;border-block:1px solid #ffffff17}
.airport-runway-panel .runway-assignment>div+div{border-color:#ffffff1b}
.airport-runway-panel .runway-visuals{gap:12px 16px}
.airport-runway-panel .runway-track{height:10px;border-radius:1px;background:#26343c}
.airport-runway-panel .runway-track:after{top:4px;height:1px}
.airport-runway-panel .runway-lane.is-preferred .runway-track{background:#3d6c85;border-color:#89c6e7}
.airport-runway-panel .intel-wind-row{flex-wrap:wrap;gap:5px 9px;padding-top:4px}
.airport-runway-panel .wind-symbol{color:#8ecff3}
.airport-runway-panel .intel-wind-row>b{color:#e5eef2}
.airport-runway-panel .intel-wind-row>small{margin-left:auto}
.airport-atc-indicator{width:7px;height:7px;flex:none;border-radius:1px;background:#a6b4ba;box-shadow:none}
.light-mode .airport-runway-panel{background:linear-gradient(100deg,#4796bd13,#4796bd05 58%,transparent);border-left-color:#438eb2}
.light-mode .runway-panel-heading h3,.light-mode .airport-runway-panel .intel-wind-row>b{color:#293d47}
.light-mode .runway-source{color:#60757f}
.light-mode .airport-runway-panel .runway-assignment{border-color:#34464e24}
.light-mode .airport-runway-panel .runway-assignment>div+div{border-color:#34464e20}
.light-mode .airport-runway-panel .runway-track{background:#d5e0e3}
.light-mode .airport-runway-panel .runway-lane.is-preferred .runway-track{background:#a9c5d3}
.light-mode .airport-atc-indicator{background:#627984}
@media(max-width:440px){.airport-intel-v2 .intel-topline h3,.runway-panel-heading h3{font-size:15px}.airport-intel-v2 .intel-counts>div{min-width:43px;padding-inline:6px}.airport-runway-panel{margin-inline:-3px;padding:12px 9px 11px 12px}.airport-runway-panel .runway-visuals{gap:11px 9px}.airport-runway-panel .runway-lane-heading>small{font-size:6px}.airport-runway-panel .intel-wind-row>small{width:100%;margin-left:26px;text-align:left}}

/* Airport information is organized into small, focused views. */
.airport-info-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0 -2px;padding:3px;border:1px solid #ffffff12;border-radius:10px;background:#ffffff06}
.airport-info-tabs button{min-width:0;min-height:34px;padding:6px 3px;border-radius:7px;background:transparent;color:#aeb7bb;font-size:11px;font-weight:550;white-space:nowrap}
.airport-info-tabs button.active{background:#ffffff16;color:#f5f6f6}
.airport-info-tabs button:focus-visible{outline:2px solid #8ecff3;outline-offset:1px}
.airport-info-overview,.airport-info-page{display:grid;gap:14px;padding:10px 2px 16px}
.airport-overview-heading,.airport-overview-counts{display:flex;align-items:center}
.airport-overview-heading{justify-content:space-between;gap:10px}
.airport-overview-heading>div{display:grid;gap:3px}
.airport-overview-heading small,.airport-info-page header small{color:#929da2;font-size:9px;font-weight:700;letter-spacing:.12em}
.airport-overview-heading strong{color:#f2f4f4;font-size:24px;line-height:1.1;letter-spacing:-.04em}
.airport-overview-heading>span{padding:4px 7px;border:1px solid #ffffff18;border-radius:5px;color:#aeb8bc;font-size:9px;font-weight:650;letter-spacing:.05em;text-transform:uppercase}
.airport-overview-counts{justify-content:space-between;gap:8px;padding:4px 0}
.airport-overview-counts>div{display:grid;gap:2px;min-width:0}
.airport-overview-counts b{font-size:20px;font-variant-numeric:tabular-nums}
.airport-overview-counts span{color:#98a3a8;font-size:10px}
.airport-info-overview>p{margin:0;color:#929da2;font-size:11px;line-height:1.4}
.airport-info-page{gap:13px}
.airport-info-page>header{display:flex;align-items:end;justify-content:space-between;gap:10px}
.airport-info-page>header>div{display:grid;gap:4px;min-width:0}
.airport-info-page>header h3{margin:0;color:#edf1f2;font-size:16px;line-height:1.25;letter-spacing:-.025em}
.airport-info-page>header>span{color:#929da2;font-size:9px;text-align:right}
.airport-info-page .traffic-chart{height:96px}
.airport-info-page .traffic-chart-legend{margin-top:-2px}
.airport-info-page .traffic-chart-legend span{font-size:10px}
.airport-info-page .traffic-chart-legend i{width:10px}
.airport-runway-panel{margin:8px 0 12px;padding:4px 2px 14px;border-left:0;border-radius:0;background:none}
.airport-runway-panel .runway-panel-heading{align-items:center}
.airport-info-details{border-top:1px solid #ffffff14}
.airport-info-details>summary{padding:12px 1px;color:#dce2e4;font-size:12px;font-weight:600;cursor:pointer;list-style-position:inside}
.airport-info-details[open]{display:grid;gap:10px}
.airport-info-details .airport-atis{padding:10px 0;border:0;border-top:1px solid #ffffff12;border-radius:0;background:none}
.airport-info-details .airport-atc-row{padding:8px 0;border:0;border-top:1px solid #ffffff10;border-radius:0;background:none}
.light-mode .airport-info-tabs{border-color:#33475120;background:#34495409}
.light-mode .airport-info-tabs button{color:#5e7078}
.light-mode .airport-info-tabs button.active{background:#ffffff;color:#273a43;box-shadow:0 1px 4px #26394314}
.light-mode .airport-overview-heading strong,.light-mode .airport-info-page>header h3{color:#273740}
.light-mode .airport-overview-heading small,.light-mode .airport-info-page header small,.light-mode .airport-overview-counts span,.light-mode .airport-info-overview>p,.light-mode .airport-info-page>header>span{color:#65767d}
.light-mode .airport-overview-heading>span{border-color:#34464e24;color:#52636a}
.light-mode .airport-info-details{border-color:#34464e24}
.light-mode .airport-info-details>summary{color:#33464f}
.light-mode .airport-info-details .airport-atc-row,.light-mode .airport-info-details .airport-atis{border-color:#34464e20}
@media(max-width:440px){.airport-info-tabs button{font-size:10px}.airport-overview-heading strong{font-size:22px}.airport-overview-counts b{font-size:18px}.airport-info-page .traffic-chart{height:88px}}

/* Phone and tablet map interaction and detail-sheet refinements. */
@media(min-width:700px) and (max-width:820px){
 .flight-detail{left:auto;right:10px;top:158px;bottom:10px;width:min(390px,48vw);height:auto;max-height:none;border-radius:18px}
 .flight-detail:has(.flight-panel-content),.flight-detail:has(.airport-panel){left:auto;right:10px;top:158px;bottom:10px;width:min(390px,48vw);height:auto;max-height:none;border-radius:18px}
 .flight-detail:has(.airport-panel){display:flex;flex-direction:column;overflow:hidden;padding:0}
 #detailBody:has(.airport-panel){flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 12px 16px}
 .flight-detail:has(.flight-panel-content) #detailBody{padding:2px 13px 16px}
}
@media(max-width:699px){
 .flight-detail,.flight-detail:has(.flight-panel-content),.flight-detail:has(.airport-panel){left:7px;right:7px;top:auto;bottom:calc(7px + env(safe-area-inset-bottom));width:auto;height:min(54dvh,520px);max-height:54dvh;border-radius:18px}
 .flight-detail:has(.airport-panel){display:flex;flex-direction:column;overflow:hidden;padding:0}
 .flight-detail:has(.flight-panel-content){overflow:hidden}
 #detailBody:has(.airport-panel){flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 10px 14px}
 .flight-detail:has(.flight-panel-content) #detailBody{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 12px 15px}
 .detail-panel-header{min-height:44px;padding-inline:12px}
 .airport-panel{gap:12px}
 .airport-panel-head{padding-top:10px}
 .airport-tabs{top:0;min-height:44px}
 .airport-tabs button{min-height:44px}
 .map-canvas-stack #trafficCanvas{touch-action:none}
}
@media(max-width:820px) and (max-height:500px){
 .app-shell{min-height:0}
 .topbar{top:5px;height:34px;min-height:34px}
 .brand-mark{width:26px;height:26px}
 .map-topline{top:46px;height:36px}
 .search-box{height:36px}
 .map-toolbar{top:88px;height:31px}
 .map-zoom{bottom:10px}
 .flight-detail,.flight-detail:has(.flight-panel-content),.flight-detail:has(.airport-panel){top:auto;bottom:calc(5px + env(safe-area-inset-bottom));height:min(76dvh,calc(100dvh - 104px));max-height:min(76dvh,calc(100dvh - 104px))}
}
@media(min-width:500px) and (max-width:820px) and (max-height:500px){
 .flight-detail,.flight-detail:has(.flight-panel-content),.flight-detail:has(.airport-panel){left:auto;right:8px;top:126px;bottom:8px;width:min(390px,54vw);height:auto;max-height:none}
}
.admin-grant-tools{display:grid;gap:7px;margin:14px 0;padding:12px;border:1px solid #ffffff15;border-radius:10px;background:#ffffff06}.admin-grant-tools>label{color:#aeb8bd;font-size:10px}.admin-grant-tools>div{display:flex;gap:7px}.admin-grant-tools input{flex:1;min-width:0;padding:9px 10px;border:1px solid #ffffff20;border-radius:8px;background:#090f14;color:#f5f6f6}.admin-grant-tools button{padding:8px 10px;border:1px solid #ffffff20;border-radius:8px;background:#ffffff0b;color:#e8eef1;font-size:10px;white-space:nowrap}@media(max-width:520px){.admin-grant-tools>div{flex-wrap:wrap}.admin-grant-tools input{flex-basis:100%}.admin-grant-tools button{flex:1;min-height:35px}}
.admin-audit-button{margin-top:12px;padding:7px 0;background:none;color:#a9c8de;font-size:10px}.admin-audit-list{max-height:180px;overflow:auto;margin-top:8px;padding:8px 10px;border-radius:8px;background:#050a0e;color:#aeb8bd}.admin-audit-list p{margin:0;padding:7px 0;border-bottom:1px solid #ffffff12;font-size:9px;line-height:1.5}.admin-audit-list p:last-child{border:0}
.account-popover.hidden{display:none!important}
.account-popover{position:absolute;z-index:30;top:calc(100% + 8px);right:14px;width:min(270px,calc(100vw - 24px));display:grid;gap:8px;padding:14px;border:1px solid #ffffff20;border-radius:13px;background:#171e24;box-shadow:0 14px 38px #0008}.account-popover>b{font-size:12px}.account-popover>small{color:#aeb8bd;font-size:10px}.account-popover button{justify-self:start;padding:4px 0}.admin-overlay{position:fixed;inset:0;z-index:1001;display:grid;place-items:center;padding:20px;background:#050a0dc9;backdrop-filter:blur(8px)}.admin-panel-card{width:min(720px,100%);max-height:min(84dvh,850px);overflow:auto;padding:23px;border:1px solid #ffffff1b;border-radius:18px;background:#141a20;box-shadow:0 25px 90px #0008}.admin-panel-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-panel-card>header span{color:#91a0a8;font-size:9px;font-weight:750;letter-spacing:1.7px}.admin-panel-card h2{margin:6px 0 0;font-size:22px}.admin-panel-intro{margin:14px 0;color:#aab4b9;font-size:12px;line-height:1.6}.admin-panel-card #adminMessage{margin:10px 0;color:#aab4b9;font-size:10px}.admin-accounts-list{max-height:44dvh;overflow:auto}.admin-account-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;border-color:#ffffff16}.admin-account-controls{justify-content:flex-end}.admin-panel-card .admin-audit-list{max-height:190px}@media(max-width:600px){.admin-overlay{align-items:end;padding:8px}.admin-panel-card{max-height:calc(100dvh - 18px);padding:18px 14px;border-radius:16px}.admin-accounts-list{max-height:36dvh}.admin-account-row{grid-template-columns:1fr}.admin-account-controls{justify-content:flex-start}.admin-account-controls button{min-height:34px}.account-popover{right:8px}}
.top-actions{position:relative}.account-popover{top:calc(100% + 8px);right:0}

/* Full-page administrator workspace */
.admin-page{position:fixed;inset:0;z-index:1200;overflow:auto;overscroll-behavior:contain;background:#0b1116;color:#f1f5f6;padding:0 0 max(32px,env(safe-area-inset-bottom));font-family:inherit}
.admin-page-header{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;padding:14px clamp(16px,4vw,48px);border-bottom:1px solid #ffffff13;background:#0b1116ed;backdrop-filter:blur(18px)}
.admin-back-button,.admin-page-header button{border:1px solid #ffffff1a;border-radius:10px;background:#ffffff08;color:#dce5e8;padding:10px 13px;font:inherit;font-size:12px;font-weight:600;cursor:pointer;justify-self:start}.admin-page-brand{text-align:center}.admin-page-brand>span,.admin-overline{font-size:9px;font-weight:800;letter-spacing:1.7px;color:#94a4aa}.admin-page-brand h1{margin:3px 0 0;font-size:20px;letter-spacing:-.4px}.admin-page-user{justify-self:end;color:#aebbc0;font-size:12px}
.admin-page-content{width:min(1500px,100%);margin:0 auto;padding:clamp(14px,3vw,34px) clamp(14px,3vw,40px)}.admin-page-message{min-height:18px;margin:0 0 12px;color:#aebbc0;font-size:11px}.admin-page-message.error{color:#ff9388}
.admin-tabs{display:flex;gap:5px;width:max-content;max-width:100%;overflow:auto;padding:4px;margin-bottom:20px;border:1px solid #ffffff13;border-radius:12px;background:#ffffff06}.admin-tabs button{border:0;border-radius:8px;background:transparent;color:#aab7bd;padding:10px 16px;font:inherit;font-size:12px;font-weight:650;white-space:nowrap;cursor:pointer}.admin-tabs button.active{background:#26343a;color:#fff;box-shadow:0 3px 14px #0004}
.admin-view.hidden{display:none}.admin-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.admin-stat-grid article,.admin-section-card{border:1px solid #ffffff14;border-radius:16px;background:linear-gradient(145deg,#151f25,#11191e);box-shadow:0 14px 34px #0002}.admin-stat-grid article{display:grid;gap:11px;min-height:96px;padding:18px}.admin-stat-grid article span{color:#9eacb2;font-size:11px}.admin-stat-grid article b{font-size:25px;letter-spacing:-.7px}.admin-stat-grid article:last-child b{color:#ffc257}
.admin-overview-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.admin-section-card{min-width:0;padding:18px}.admin-section-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.admin-section-card>header span{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#92a3aa}.admin-section-card h2{margin:4px 0 0;font-size:18px;letter-spacing:-.35px}.admin-section-card>header button,.admin-search-row button{border:1px solid #ffffff1a;border-radius:8px;background:#ffffff08;color:#dbe4e7;padding:8px 10px;font:inherit;font-size:11px;font-weight:600;cursor:pointer}.admin-section-card>p{color:#a9b5ba;font-size:12px;line-height:1.65}.admin-data-note{margin:14px 2px;color:#718087;font-size:10px;line-height:1.6}
.admin-compact-list,.admin-event-list,.admin-audit-list{display:grid;gap:0}.admin-latest-row{display:grid;width:100%;gap:4px;text-align:left;padding:11px 2px;border:0;border-top:1px solid #ffffff10;background:transparent;color:#eff4f5;cursor:pointer}.admin-latest-row span{font-size:12px;font-weight:650}.admin-latest-row small,.admin-event-row small{color:#9aa8ae;font-size:10px}.admin-event-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid #ffffff10}.admin-event-row>div{display:grid;gap:4px;min-width:0}.admin-event-row>div b{font-size:11px}.admin-event-amount{color:#cbd5d8;font-size:11px;white-space:nowrap}.admin-event-row.compact{padding:9px 0}.admin-customer-layout{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(0,1.25fr);align-items:start;gap:14px}.admin-customer-list-card{position:sticky;top:82px;max-height:calc(100dvh - 110px);overflow:auto}.admin-search-row{display:flex;gap:8px;margin:10px 0 12px}.admin-search-row input,.admin-grant-tools input{min-width:0;flex:1;border:1px solid #ffffff1d;border-radius:9px;background:#0a1116;color:#edf3f4;padding:10px 12px;font:inherit;font-size:12px;outline:none}.admin-search-row input:focus,.admin-grant-tools input:focus{border-color:#6cbfce;box-shadow:0 0 0 3px #6cbfce20}.admin-accounts-list{display:grid;max-height:calc(100dvh - 255px);overflow:auto}.admin-account-row{display:grid;grid-template-columns:minmax(0,1fr) auto 12px;align-items:center;gap:8px;width:100%;padding:12px 5px;border:0;border-top:1px solid #ffffff10;background:transparent;text-align:left;color:#edf3f4;cursor:pointer}.admin-account-row:hover{background:#ffffff06}.admin-account-identity,.admin-account-state{display:grid;gap:4px;min-width:0}.admin-account-identity b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.admin-account-identity small,.admin-account-state small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#91a0a6;font-size:9px}.admin-account-state{text-align:right}.admin-account-state .admin-status{justify-self:end}.admin-status{display:inline-flex;width:max-content;max-width:100%;border:1px solid #ffffff1a;border-radius:20px;background:#ffffff08;padding:4px 8px;color:#dce5e7;font-size:9px;font-weight:700;text-transform:capitalize}.admin-status.status-active{border-color:#34c99155;color:#76dfb8}.admin-status.status-trialing{border-color:#f6bc5655;color:#ffd282}.admin-status.status-past-due,.admin-status.status-unpaid{border-color:#f18a7755;color:#ffad9e}.admin-row-chevron{color:#6f8087;font-size:21px}.admin-customer-detail{min-height:320px}.admin-detail-empty{display:grid;place-items:center;min-height:270px;text-align:center}.admin-detail-empty>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#25343b;color:#ffc257;font-size:23px}.admin-detail-empty h2{margin-top:12px}.admin-detail-empty p{max-width:320px;color:#9aa9af;font-size:12px;line-height:1.6}.admin-customer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:16px;border-bottom:1px solid #ffffff12}.admin-customer-heading h2{margin:5px 0 2px;font-size:22px}.admin-customer-heading p{margin:0;color:#a4b1b6;font-size:11px}.admin-chip-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.admin-access-chip{padding:5px 8px;border-radius:20px;background:#ffffff0b;color:#c7d2d6;font-size:9px}.admin-customer-actions{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.admin-customer-actions button{border:1px solid #ffffff20;border-radius:8px;background:#ffffff08;color:#dce5e8;padding:8px 10px;font:inherit;font-size:10px;font-weight:600;cursor:pointer}.admin-customer-actions button.danger{border-color:#f07e704d;color:#ffaaa0}.admin-detail-section{margin-top:18px}.admin-detail-section h3{margin:0 0 10px;font-size:13px}.admin-customer-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border:1px solid #ffffff10;border-radius:10px;overflow:hidden;background:#ffffff10}.admin-customer-fact{display:grid;gap:5px;min-width:0;padding:10px;background:#141d22}.admin-customer-fact span{color:#91a1a7;font-size:9px}.admin-customer-fact b{overflow-wrap:anywhere;color:#e6edef;font-size:10px;font-weight:600}.admin-detail-copy{margin:7px 0;color:#a9b6bb;font-size:11px;line-height:1.55}.admin-subscription-card{margin-top:9px;padding:12px;border:1px solid #ffffff12;border-radius:11px;background:#ffffff04}.admin-subscription-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.admin-subscription-top>span{color:#9aa8ad;font-size:9px}.admin-invoice-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:11px 0;border-top:1px solid #ffffff10}.admin-invoice-row>div{display:grid;gap:4px;min-width:0}.admin-invoice-row>div b{font-size:10px}.admin-invoice-row small{color:#91a0a6;font-size:9px}.admin-invoice-row>a{color:#8fc6e5;font-size:10px;text-decoration:none}.admin-audit-entry{display:grid;gap:4px;padding:12px 0;border-top:1px solid #ffffff10}.admin-audit-entry b{font-size:11px;text-transform:capitalize}.admin-audit-entry span,.admin-audit-entry small{color:#9ba9ae;font-size:10px}.admin-grant-tools{display:grid;gap:8px;margin:16px 0 4px;padding:13px;border:1px solid #ffffff12;border-radius:11px;background:#ffffff04}.admin-grant-tools>label{color:#9eacb1;font-size:10px}.admin-grant-tools>div{display:flex;flex-wrap:wrap;gap:7px}.admin-grant-tools button{border:1px solid #ffffff1d;border-radius:8px;background:#ffffff0a;color:#e5ecee;padding:9px 11px;font:inherit;font-size:10px;font-weight:600;white-space:nowrap;cursor:pointer}
@media(max-width:760px){.admin-overview-columns{grid-template-columns:1fr}.admin-customer-layout{grid-template-columns:1fr}.admin-customer-list-card{position:static;max-height:none}.admin-accounts-list{max-height:42dvh}.admin-customer-detail{min-height:220px}.admin-page-header{grid-template-columns:1fr auto;padding:11px 13px}.admin-page-brand{grid-column:1;grid-row:2;text-align:left}.admin-page-user{grid-column:2;grid-row:1;font-size:10px}.admin-back-button{grid-column:1;grid-row:1}.admin-tabs{position:sticky;top:72px;z-index:2;width:100%;box-sizing:border-box;justify-content:space-around}.admin-tabs button{padding:9px 11px}.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.admin-stat-grid article{min-height:77px;padding:13px}.admin-stat-grid article b{font-size:22px}.admin-page-content{padding:13px}.admin-customer-list-card{order:1}.admin-customer-detail{order:2}}
@media(max-width:420px){.admin-stat-grid article span{font-size:10px}.admin-customer-heading{display:grid}.admin-chip-row{justify-content:flex-start}.admin-invoice-row{grid-template-columns:minmax(0,1fr) auto}.admin-invoice-row>a{grid-column:1/-1}.admin-page-brand h1{font-size:18px}.admin-page-user{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

.admin-role-badge{display:inline-flex;align-items:center;width:max-content;border:1px solid #39c98a66;border-radius:999px;background:#143b2d;color:#82edb8;padding:4px 8px;font-size:10px;font-weight:750;letter-spacing:.2px;text-transform:uppercase}
.admin-account-identity .admin-role-badge{margin-top:2px}
.admin-admin-tools{display:flex;align-items:center;gap:9px}.admin-admin-tools>b{color:#8ce8b6;font-size:12px}
.admin-administrator-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px;margin-top:18px}
.admin-administrator-card{display:grid;gap:18px;padding:18px;border:1px solid #37bd8050;border-radius:14px;background:linear-gradient(145deg,#132820,#111b1c)}
.admin-administrator-name{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.admin-administrator-name h3{margin:0;font-size:18px}.admin-administrator-identity p{margin:6px 0 0;color:#aebdc0;font-size:13px;overflow-wrap:anywhere}
.admin-administrator-facts{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;padding-top:14px;border-top:1px solid #ffffff12}.admin-administrator-facts span{color:#93a5a4;font-size:12px}.admin-administrator-facts b{color:#e5f1ec;font-size:12px;font-weight:650}
.admin-admin-view-button{justify-self:start;border:1px solid #ffffff20;border-radius:9px;background:#ffffff09;color:#e9f2ed;padding:9px 12px;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.admin-admin-view-button:hover{background:#ffffff12}
@media(max-width:760px){.admin-administrator-list{grid-template-columns:1fr}.admin-tabs{justify-content:flex-start}.admin-administrator-card{padding:15px}}

/* Compact phone detail sheet: keep the aircraft and route visible while leaving most of the map open. */
.detail-sheet-handle{display:none}
@media(max-width:699px){
 .flight-detail,.flight-detail:has(.flight-panel-content),.flight-detail:has(.airport-panel){left:7px;right:7px;top:auto;bottom:calc(5px + env(safe-area-inset-bottom));width:auto;height:min(31dvh,290px);min-height:202px;max-height:min(31dvh,290px);border-radius:18px;transition:height .28s cubic-bezier(.2,.75,.25,1),max-height .28s cubic-bezier(.2,.75,.25,1);}
 .flight-detail.sheet-expanded,.flight-detail.sheet-expanded:has(.flight-panel-content),.flight-detail.sheet-expanded:has(.airport-panel){height:min(84dvh,calc(100dvh - 72px));max-height:min(84dvh,calc(100dvh - 72px));}
 .detail-panel-header{position:relative;flex:0 0 44px;min-height:44px;padding-inline:12px;}
 .detail-sheet-handle{position:absolute;top:8px;left:50%;display:block;width:48px;height:19px;padding:0;border:0;border-radius:12px;background:transparent;transform:translateX(-50%);touch-action:none;}
 .detail-sheet-handle:before{position:absolute;top:7px;left:50%;width:34px;height:4px;border-radius:99px;background:#b7c0c480;content:"";transform:translateX(-50%);}
 .detail-sheet-handle:focus-visible{outline:2px solid #89c9e2;outline-offset:1px;}
 .flight-detail:has(.flight-panel-content) #detailBody{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 12px 15px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
 .flight-detail:not(.sheet-expanded) .aircraft-photo{display:none!important;}
 .flight-detail:not(.sheet-expanded) .flight-identity-card{padding:0 0 8px;border-bottom:0;}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) .arrival-summary{min-height:54px;margin:7px 0 8px;padding:8px 10px;}
 .flight-detail:not(.sheet-expanded) .flight-route-card{margin-bottom:8px;padding:8px 9px;}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) .flight-progress{margin:3px 0 9px;}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) .telemetry-grid{margin:7px 0 10px;}
 #detailBody:has(.airport-panel){flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 10px 14px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
 .map-legends{top:178px;left:8px;width:min(320px,calc(100vw - 16px));max-width:calc(100vw - 16px);max-height:min(22dvh,190px);gap:5px;}
 .map-route-legend{width:min(320px,calc(100vw - 16px));max-width:100%;gap:5px;padding:7px 9px;}
 .map-route-legend>b{font-size:9px;}
 .map-route-legend>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 9px;overflow:hidden;max-width:100%;padding:0;}
 .map-route-legend>div>*{min-width:0;}
 .map-route-legend span{font-size:8px;white-space:normal;line-height:1.2;}
 .map-airport-legend{width:min(320px,calc(100vw - 16px));max-width:100%;gap:5px;padding:7px 9px;}
 .map-airport-legend small{display:none;}
 .map-canvas-stack.pinching{will-change:transform;backface-visibility:hidden;}
}
@media(max-width:390px){.flight-detail,.flight-detail:has(.flight-panel-content),.flight-detail:has(.airport-panel){height:min(33dvh,275px);max-height:min(33dvh,275px)}.flight-detail.sheet-expanded,.flight-detail.sheet-expanded:has(.flight-panel-content),.flight-detail.sheet-expanded:has(.airport-panel){height:min(84dvh,calc(100dvh - 68px));max-height:min(84dvh,calc(100dvh - 68px))}.map-legends{top:174px;max-height:min(20dvh,165px)}}
@media(max-width:699px) and (max-height:500px){.flight-detail,.flight-detail:has(.flight-panel-content),.flight-detail:has(.airport-panel){min-height:170px;height:min(54dvh,260px);max-height:min(54dvh,260px)}.flight-detail.sheet-expanded,.flight-detail.sheet-expanded:has(.flight-panel-content),.flight-detail.sheet-expanded:has(.airport-panel){height:min(86dvh,calc(100dvh - 56px));max-height:min(86dvh,calc(100dvh - 56px))}.map-legends{max-height:20dvh}}
@media(max-width:699px) and (prefers-reduced-motion:reduce){.flight-detail{transition:none}}

/* Phone-first tracking view: compact controls and a route-first flight card. */
.mobile-server-trigger{display:none}
.mobile-search-close{display:none}
@media(max-width:699px){
 .map-brand{top:9px;left:8px;gap:4px;width:122px;max-width:calc(100vw - 235px);padding:4px 7px;border-radius:13px}
 .map-brand>b{font-size:11px}.map-brand>span{font-size:8px}.map-brand>img{width:45px;height:24px}
 .map-search-wrap{top:9px;right:49px;left:auto;width:calc(100vw - 187px);max-width:270px;min-width:0}
 .map-search-controls{display:flex;align-items:center;gap:5px;width:100%;min-width:0}
 .map-search{flex:1 1 auto;width:auto;min-width:0;height:40px;gap:7px;padding:0 8px 0 10px}
 .map-search .search-icon{font-size:17px}.map-search input[type=search]{font-size:11px}
 .map-search input[type=search]{font-size:16px!important}
 .map-search input[type=search]::placeholder{color:#aeb4b8}
  .mobile-search-close{display:none}
 .map-account-button{flex:0 0 36px;width:36px;height:36px}
 .map-toolbar{z-index:12;top:9px;left:auto;right:8px;width:auto;height:auto;min-height:38px;pointer-events:none}
 .mobile-server-trigger{display:flex;align-items:center;justify-content:center;gap:0;width:34px;min-width:34px;height:38px;padding:0;border:1px solid #ffffff20;border-radius:11px;background:rgba(22,22,22,.92);box-shadow:0 6px 18px #0004;backdrop-filter:blur(14px);color:#e9edef;font-size:14px;pointer-events:auto}
 .mobile-server-trigger>span:first-child{font-size:14px;color:#d0d8db}.mobile-server-trigger b,.mobile-server-chevron{display:none}
 .map-toolbar .server-switch{position:absolute;top:calc(100% + 6px);right:0;left:auto;display:none;min-width:148px;flex-direction:column;gap:3px;padding:5px;border:1px solid #ffffff20;border-radius:12px;background:rgba(20,23,25,.97);box-shadow:0 14px 34px #0008;pointer-events:auto}
 .map-toolbar.mobile-server-open .server-switch{display:flex}
 .map-toolbar .server-choice{width:100%;min-height:37px;padding:0 10px;border-radius:8px;text-align:left;font-size:11px}
 .map-toolbar .server-choice.active{background:#eef1f2;color:#202528}
 .map-toolbar .map-status,.map-toolbar .map-toolbar-right{display:none!important}
 .map-legends,.map-route-legend,.map-airport-legend{display:none!important}
 .map-zoom{right:9px;bottom:calc(15px + env(safe-area-inset-bottom))}
 .map-zoom button{width:34px;height:34px}
 .map-style-trigger{left:9px;bottom:calc(10px + env(safe-area-inset-bottom));height:36px;padding:0 12px;font-size:11px}
 .weather-trigger{left:120px;bottom:calc(10px + env(safe-area-inset-bottom));height:36px;padding:0 11px;font-size:11px}
 body:has(#flightDetail:not(.hidden)) .map-style-trigger,body:has(#flightDetail:not(.hidden)) .weather-trigger{display:none!important}
 .weather-menu{bottom:calc(56px + env(safe-area-inset-bottom));max-height:calc(100dvh - 78px - env(safe-area-inset-bottom));}
 body.mobile-search-open .map-search-wrap{z-index:40;inset:0;width:100%;height:100dvh;max-width:none;padding:calc(env(safe-area-inset-top) + 12px) 12px 12px;background:rgba(16,19,22,.98);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);animation:mobile-search-in .18s cubic-bezier(.22,.74,.2,1) both}
 body.mobile-search-open .map-search-controls{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;width:100%}
 body.mobile-search-open .map-search{height:46px;min-width:0;padding:0 12px;border-radius:14px}
 body.mobile-search-open .map-search input[type=search]{font-size:16px!important}
 body.mobile-search-open .map-account-button{display:none!important}
 body.mobile-search-open .mobile-search-close{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff1e;border-radius:13px;background:#ffffff0b;color:#eef2f4;font-size:26px;line-height:1}
 body.mobile-search-open .map-search-wrap .search-results{position:absolute;top:calc(env(safe-area-inset-top) + 68px);left:12px;right:12px;width:auto;max-height:calc(100dvh - env(safe-area-inset-top) - 82px);border-radius:14px;overflow:auto;overscroll-behavior:contain}
 body.mobile-search-open .map-toolbar,body.mobile-search-open .map-brand,body.mobile-search-open .map-style-trigger,body.mobile-search-open .weather-trigger,body.mobile-search-open .weather-menu,body.mobile-search-open .map-zoom,body.mobile-search-open .map-legends,body.mobile-search-open .map-attribution{pointer-events:none}
 .map-attribution{right:6px;bottom:4px;font-size:7px}
 .flight-detail:has(.flight-panel-content){left:7px;right:7px;top:auto;bottom:calc(5px + env(safe-area-inset-bottom));width:auto;height:min(29dvh,252px);min-height:190px;max-height:min(29dvh,252px);border-radius:18px}
 .flight-detail:has(.airport-panel){left:7px;right:7px;top:auto;bottom:calc(5px + env(safe-area-inset-bottom));width:auto;height:min(52dvh,480px);max-height:min(52dvh,480px);border-radius:18px}
 .flight-detail.sheet-expanded,.flight-detail.sheet-expanded:has(.flight-panel-content){height:min(84dvh,calc(100dvh - 66px));max-height:min(84dvh,calc(100dvh - 66px))}
 .flight-detail.sheet-expanded:has(.airport-panel){height:min(86dvh,calc(100dvh - 58px));max-height:min(86dvh,calc(100dvh - 58px))}
 .flight-detail:has(.flight-panel-content) .detail-panel-header{flex:0 0 38px;min-height:38px;padding-inline:11px}
 .flight-detail:has(.flight-panel-content) .detail-panel-kicker{display:none}
 .flight-detail:has(.flight-panel-content)>.detail-panel-header #backToTraffic{flex-basis:29px;width:29px;min-width:29px;max-width:29px;height:29px;min-height:29px;font-size:17px}
 .flight-detail:has(.flight-panel-content)>.detail-panel-header #backToTraffic svg{width:15px;height:15px}
 .flight-detail:has(.flight-panel-content) #detailBody{padding:0 11px 7px}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) #detailBody{overflow:hidden}
 .flight-detail:not(.sheet-expanded) .flight-identity-card{position:relative;min-height:54px;padding:0;border:0}
 .flight-detail:not(.sheet-expanded) .flight-identity-row{gap:8px;padding-right:158px}
 .flight-detail:not(.sheet-expanded) .flight-identity-row .detail-airline-logo{width:34px;height:34px;flex-basis:34px;border-radius:10px;padding:4px}
 .flight-detail:not(.sheet-expanded) .flight-identity-row .detail-airline-logo img{width:26px;height:26px}
 .flight-detail:not(.sheet-expanded) .flight-identity-copy{gap:1px}
 .flight-detail:not(.sheet-expanded) .flight-callsign{font-size:15px;line-height:1.12;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 .flight-detail:not(.sheet-expanded) .flight-identity-copy .identity-airline{font-size:10px;line-height:1.15;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 .flight-detail:not(.sheet-expanded) .aircraft-description,.flight-detail:not(.sheet-expanded) .aircraft-photo{display:none!important}
 .flight-detail:not(.sheet-expanded) .flight-identity-card:after{display:none}
 .flight-detail:not(.sheet-expanded) .aircraft-photo{position:absolute;top:-4px;right:0;display:block!important;width:150px;height:60px;margin:0;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}
 .flight-detail:not(.sheet-expanded) .aircraft-photo:after{display:none}
 .flight-detail:not(.sheet-expanded) .aircraft-photo img{inset:0;width:100%;height:100%;object-fit:contain;object-position:center 50%;transform:scale(1.14);-webkit-mask-image:none;mask-image:none}
 .flight-detail:not(.sheet-expanded) .aircraft-photo-credit,.flight-detail:not(.sheet-expanded) .aircraft-photo-registration{display:none}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) .arrival-summary,.flight-detail:not(.sheet-expanded) .detail-actions,.flight-detail:not(.sheet-expanded) .flight-accordion,.flight-detail:not(.sheet-expanded) .intelligence-debug-panel,.flight-detail:not(.sheet-expanded) .diversion-section{display:none!important}
 .flight-detail:not(.sheet-expanded) .flight-route-card{grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);gap:4px;margin:3px 0 5px;padding:6px 8px;border-radius:11px}
 .flight-detail:not(.sheet-expanded) .flight-route-card:has(.route-destination:only-child){grid-template-columns:minmax(0,1fr)}
 .flight-detail:not(.sheet-expanded) .route-endpoint{gap:1px}
 .flight-detail:not(.sheet-expanded) .route-endpoint b{font-size:16px;line-height:1}
 .flight-detail:not(.sheet-expanded) .route-endpoint span{font-size:9px;line-height:1.1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 .flight-detail:not(.sheet-expanded) .route-endpoint .route-time{margin-top:1px;font-size:8px;line-height:1.1;white-space:nowrap}
 .flight-detail:not(.sheet-expanded) .route-endpoint .route-time-departure{overflow:hidden;text-overflow:ellipsis}
 .flight-detail:not(.sheet-expanded) .route-endpoint .route-time-departure span{font-size:inherit;color:inherit}
 .flight-detail:not(.sheet-expanded) .departure-time-prefix,.flight-detail:not(.sheet-expanded) .flight-time-prefix{display:none}
 .flight-detail:not(.sheet-expanded) .estimated-departure-prefix{display:inline}
 .flight-detail:not(.sheet-expanded) .route-endpoint .route-airport-link{gap:2px}
 .flight-detail:not(.sheet-expanded) .route-airport-chevron{flex-basis:11px;width:11px;font-size:15px}
 .flight-detail:not(.sheet-expanded) .route-connector{gap:1px}.flight-detail:not(.sheet-expanded) .route-connector i{font-size:13px}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) .flight-progress{margin:1px 0 3px}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) .flight-progress .progress-track{height:4px}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) .progress-captions{gap:6px;margin-top:3px;font-size:8px}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) .telemetry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:2px 0 0;padding:0;background:none}
 .flight-detail:not(.sheet-expanded) .telemetry-card{min-height:0;padding:2px 8px 1px}
 .flight-detail:not(.sheet-expanded) .telemetry-card:nth-child(odd){border-right:1px solid #ffffff12}
 .flight-detail:not(.sheet-expanded) .telemetry-card:nth-child(-n+2){border-bottom:0}
 .flight-detail:not(.sheet-expanded) .telemetry-card:nth-child(n+3){display:none}
 .flight-detail:not(.sheet-expanded) .telemetry-card-label{margin-bottom:1px;font-size:8px}
 .flight-detail:not(.sheet-expanded) .telemetry-card-reading strong{font-size:12px;line-height:1.15}
}
@keyframes mobile-search-in{from{opacity:.78;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:699px) and (prefers-reduced-motion:reduce){body.mobile-search-open .map-search-wrap{animation:none}}
@media(max-width:390px){
 .map-brand{width:112px;max-width:calc(100vw - 235px)}.map-search-wrap{right:49px;width:calc(100vw - 177px)}
 .flight-detail:has(.flight-panel-content){height:min(30dvh,238px);max-height:min(30dvh,238px)}
 .flight-detail:has(.airport-panel){height:min(50dvh,450px);max-height:min(50dvh,450px)}
 .flight-detail.sheet-expanded:has(.flight-panel-content){height:min(84dvh,calc(100dvh - 66px));max-height:min(84dvh,calc(100dvh - 66px))}
 .map-brand{left:8px;width:40px;max-width:40px;height:40px;justify-content:center;padding:3px}
 .map-search-wrap{left:58px;right:49px;width:auto;max-width:none}
}
@media(max-width:699px){.map-brand{width:44px;max-width:44px;height:40px;box-sizing:border-box;justify-content:center;padding:3px;border-radius:12px}.map-brand>b,.map-brand>span{display:none}.map-brand>img{width:38px;height:26px}.map-search-wrap{left:64px;right:51px;width:auto;max-width:none}.map-search-controls{gap:5px}}
@media(max-width:360px){.map-brand{left:6px;width:38px;max-width:38px}.map-brand>img{width:34px;height:24px}.map-search-wrap{left:50px;right:47px}}

/* Airport sheet: compact summary first, with airport sections one swipe/tap away. */
@media(max-width:699px){
 .flight-detail:has(.airport-panel){height:min(26dvh,220px);min-height:176px;max-height:min(26dvh,220px)}
 .flight-detail.sheet-expanded:has(.airport-panel){height:min(86dvh,calc(100dvh - 58px));max-height:min(86dvh,calc(100dvh - 58px))}
 #detailBody:has(.airport-panel){overflow-y:auto;overflow-x:hidden;padding:0 10px 8px}
 .airport-panel{gap:7px}
 .airport-panel-head{grid-template-columns:minmax(0,1fr);align-items:center;padding:1px 1px 0}
 .airport-panel-head h2{margin:2px 0 0;font-size:16px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .airport-panel-head p{display:none}
 .airport-kicker{font-size:8px;letter-spacing:.07em}
 .airport-local-time{gap:6px;padding:0 1px;font-size:13px;line-height:1.2}
 .airport-local-time span{font-size:9px}
 .airport-tabs{position:relative;top:auto;min-height:44px;margin:0 -10px;border-top:1px solid #ffffff12}
 .airport-tabs button{min-height:44px;padding:4px 2px;font-size:10px}
 .flight-detail:not(.sheet-expanded):has(.airport-panel) #detailBody{overflow:hidden}
 .flight-detail:not(.sheet-expanded):has(.airport-panel) .airport-info-tabs,
 .flight-detail:not(.sheet-expanded):has(.airport-panel) .airport-info-overview,
 .flight-detail:not(.sheet-expanded):has(.airport-panel) .airport-info-page,
 .flight-detail:not(.sheet-expanded):has(.airport-panel) .airport-runway-panel,
 .flight-detail:not(.sheet-expanded):has(.airport-panel) .airport-activity{display:none!important}
}
@media(max-width:390px){.flight-detail:has(.airport-panel){height:min(27dvh,210px);min-height:166px;max-height:min(27dvh,210px)}}

/* Keep the key telemetry inside the collapsed flight card on phone screens. */
@media(max-width:699px){
 .flight-detail:has(.flight-panel-content){height:min(36dvh,320px);min-height:min(270px,calc(100dvh - 112px));max-height:min(36dvh,320px)}
 .flight-detail:has(.flight-panel-content) .detail-panel-header{flex:0 0 26px;min-height:26px;padding-inline:10px}
 .flight-detail:has(.flight-panel-content)>.detail-panel-header #backToTraffic{display:none!important}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) #detailBody{overflow-y:auto;overflow-x:hidden;padding-bottom:8px;scrollbar-width:none}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) #detailBody::-webkit-scrollbar{display:none}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) .telemetry-grid{margin-top:5px;margin-bottom:5px;padding-top:2px}
}
@media(max-width:699px) and (max-height:500px){
 .flight-detail:has(.flight-panel-content){height:min(76dvh,330px);min-height:min(230px,calc(100dvh - 112px));max-height:min(76dvh,330px)}
}

/* Let the collapsed mobile flight card end with its last visible detail. */
@media(max-width:699px){
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content){height:auto;min-height:0;max-height:min(38dvh,340px)}
.flight-detail:not(.sheet-expanded):has(.flight-panel-content) #detailBody{flex:0 1 auto;min-height:0}
.flight-detail.sheet-expanded:has(.flight-panel-content){height:min(84dvh,calc(100dvh - 66px));max-height:min(84dvh,calc(100dvh - 66px))}
}

/* Flight share sheet and generated route card preview. */
.share-flight-action{display:flex;align-items:center;justify-content:center;gap:9px}
.share-flight-action svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.flight-share-dialog{width:min(900px,calc(100vw - 40px));max-width:none;max-height:92dvh;padding:26px;border:1px solid #ffffff24;border-radius:28px;background:#2d3436;color:#f4f6f7;box-shadow:0 28px 90px #000a;overflow:auto}
.flight-share-dialog::backdrop{background:#05090dbb;backdrop-filter:blur(8px)}
.flight-share-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}
.flight-share-head>div{min-width:0}.flight-share-head small{color:#b0b9be;font-size:14px;font-weight:500;letter-spacing:0}
.flight-share-head h2{margin:5px 0 0;font-size:28px;line-height:1.2;letter-spacing:-.6px;overflow-wrap:anywhere}
.flight-share-close{width:34px;height:34px;flex:0 0 34px;border:1px solid #ffffff22;border-radius:50%;background:#ffffff0a;color:#eaf0f3;font-size:22px;line-height:1;cursor:pointer}
.flight-share-layout{display:grid;grid-template-columns:minmax(0,1fr) 222px;gap:24px;align-items:start}
.flight-share-tools{padding-top:6px}.flight-share-status{margin:0 0 14px;color:#b0b9be;font-size:14px;line-height:1.5}
.flight-share-radar-option{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:11px;min-height:62px;margin:0 0 15px;padding:10px 12px;border:1px solid #ffffff14;border-radius:15px;background:#202729;cursor:pointer;transition:border-color .15s,background .15s}
.flight-share-radar-option:hover{border-color:#96cfe955;background:#242e31}
.flight-share-radar-option input{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
.flight-share-radar-switch{display:flex;align-items:center;width:36px;height:22px;padding:3px;border:1px solid #ffffff25;border-radius:999px;background:#3c484c;transition:background .18s,border-color .18s}
.flight-share-radar-switch i{width:14px;height:14px;border-radius:50%;background:#d5dcdf;box-shadow:0 1px 3px #0005;transition:transform .18s,background .18s}
.flight-share-radar-option input:checked+.flight-share-radar-switch{border-color:#96cfe9;background:#4a9cbb}
.flight-share-radar-option input:checked+.flight-share-radar-switch i{transform:translateX(14px);background:#fff}
.flight-share-radar-option input:focus-visible+.flight-share-radar-switch{outline:2px solid #7bc7ff;outline-offset:3px}
.flight-share-radar-copy{display:grid;gap:3px;min-width:0}.flight-share-radar-copy b{color:#f0f4f5;font-size:14px;font-weight:650;line-height:1.25}.flight-share-radar-copy small{color:#9da9ae;font-size:11px;line-height:1.35}
.flight-share-preview-wrap{display:grid;place-items:center;min-height:240px;overflow:hidden;border:1px solid #ffffff14;border-radius:20px;background:#22282a}
.flight-share-preview-wrap img{display:block;width:100%;height:auto;object-fit:contain}
.flight-share-preview-wrap img[hidden],.flight-share-loading[hidden]{display:none}
.flight-share-loading{display:grid;justify-items:center;gap:18px;padding:40px 20px;color:#b0b9be;text-align:center;font-size:14px}.flight-share-loading b{font-weight:500}.flight-share-loading span{width:28px;height:28px;border:2px solid #ffffff18;border-top-color:#96cfe9;border-radius:50%;animation:share-image-spin .9s linear infinite}@keyframes share-image-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.flight-share-loading span{animation:none}}
.flight-share-actions{display:grid;grid-template-columns:1fr;gap:10px}
.flight-share-actions button{min-height:50px;padding:12px 16px;border:1px solid #ffffff16;border-radius:14px;background:#1c2022;color:#f4f6f7;font-family:inherit;font-size:15px;font-weight:650;cursor:pointer;transition:background .15s,color .15s}
.flight-share-actions button:hover:not(:disabled){background:#39464c}.flight-share-actions .flight-share-primary{border-color:transparent;background:#96cfe9;color:#17262e}.flight-share-actions .flight-share-primary:hover:not(:disabled){background:#b6e2f5}
.flight-share-actions .flight-share-link{background:transparent;color:#c7d2d7}.flight-share-actions .flight-share-link:first-of-type{margin-top:10px}
.flight-share-actions button:disabled{opacity:.5;cursor:wait}
.flight-share-actions button:focus-visible,.flight-share-close:focus-visible{outline:2px solid #7bc7ff;outline-offset:2px}
@media(max-width:640px){
 .flight-share-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:94dvh;padding:20px 16px calc(18px + env(safe-area-inset-bottom));border-radius:26px 26px 0 0;border-bottom:0}
 .flight-share-head{margin-bottom:18px}.flight-share-head h2{font-size:24px}.flight-share-layout{grid-template-columns:1fr;gap:16px}
 .flight-share-preview-wrap{width:min(100%,42dvh);justify-self:center}.flight-share-tools{padding:0}.flight-share-status{margin-bottom:10px;text-align:center}.flight-share-radar-option{width:min(100%,390px);margin:0 auto 12px}
 .flight-share-actions{grid-template-columns:1fr 1fr;gap:8px}.flight-share-actions button{font-size:14px;min-height:48px}.flight-share-actions .flight-share-link:first-of-type{margin-top:0}
}

/* Give the mobile search and server menu a single, non-overlapping header row. */
@media(max-width:699px){
 body:not(.mobile-search-open) .map-search-wrap{top:9px!important;left:8px!important;right:50px!important;width:auto!important;max-width:none!important}
 .map-search-controls{min-height:40px;align-items:center;gap:6px}
 .map-search-controls .map-search{height:40px;min-height:40px;flex:1 1 auto}
 .map-toolbar{top:9px!important;right:8px!important;left:auto!important;width:34px!important;height:40px!important;min-height:40px!important;padding:0!important;display:flex;align-items:center}
 .mobile-server-trigger{width:34px;height:40px;min-height:40px}
 body.mobile-search-open .map-search-wrap{top:0!important;left:0!important;right:0!important;width:100%!important;height:100dvh!important}
}

/* Keep airport conditions inside narrow desktop detail panes and align tab art. */
@media(min-width:700px){
 .airport-brief{flex-wrap:wrap;overflow:visible;white-space:normal;row-gap:7px;column-gap:11px}
 .airport-brief>span{flex:0 0 auto;white-space:nowrap}
 .airport-tabs button{grid-template-rows:20px 18px;row-gap:3px;min-height:62px;padding:6px 4px}
 .airport-tabs button>svg{grid-row:1;align-self:center;width:20px;height:20px;fill:currentColor;stroke:none}
 .airport-tabs button>svg path{fill:currentColor;stroke:none}
 .airport-tabs button .airport-tab-label{grid-row:2;align-self:center;text-align:center}
}

/* Airline marks sit directly on the dark interface; edge-connected pale logo canvases are made transparent in app.js. */
.result-airline-mark,.detail-airline-logo,.aircraft-label-logo,.flight-card-airline-logo,.nearby-logo,.airport-flight-logo{position:relative;background:transparent!important;padding:0!important;border:0!important;border-radius:0!important;overflow:visible}
.result-airline-mark img,.detail-airline-logo img,.aircraft-label-logo img,.flight-card-airline-logo img,.nearby-logo img,.airport-flight-logo img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.logo-fallback{position:absolute;inset:0;display:none;align-items:center;justify-content:center;border-radius:50%;background:#20292d;color:#c7d5d8;font:700 9px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.01em}
.logo-missing .logo-fallback{display:flex}

/* Keep elapsed flight time and arrival countdown aligned beneath route progress. */
.flight-progress .progress-captions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:4px 12px;margin-top:7px;color:#a2a8aa;font-size:10px;line-height:1.35;font-variant-numeric:tabular-nums}
.flight-progress .progress-caption{display:flex;min-width:0;flex-direction:column;gap:2px;overflow-wrap:anywhere}
.flight-progress .progress-caption b{font-size:inherit;font-weight:620;color:#d1d8da}
.flight-progress .progress-caption small{font-size:.92em;color:#899398}
.flight-progress .progress-caption-arrival{align-items:flex-end;text-align:right}
@media(max-width:390px){.flight-progress .progress-captions{font-size:9px;gap:3px 8px}}

/* Clear, mobile-first subscription controls backed by Stripe Billing. */
.billing-overlay{position:fixed;inset:0;z-index:2005;display:grid;place-items:center;padding:20px;background:#050a0ddd;backdrop-filter:blur(12px)}
.billing-panel-card{width:min(650px,100%);max-height:min(88dvh,900px);overflow:auto;padding:clamp(18px,4vw,28px);border:1px solid #ffffff1a;border-radius:22px;background:linear-gradient(145deg,#171e24,#10171d);box-shadow:0 28px 100px #000a;color:#f3f6f7}
.billing-panel-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid #ffffff16}
.billing-panel-card>header span{color:#91a0a8;font-size:11px;font-weight:750;letter-spacing:1.5px}
.billing-panel-card h2{margin:5px 0 0;font-size:clamp(22px,5vw,29px);letter-spacing:-.7px}
.billing-message{margin:14px 0;color:#aeb9be;font-size:14px;line-height:1.5}
.billing-message.error{color:#ff9f9a}
.billing-status-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;border:1px solid #ffffff14;border-radius:15px;background:#ffffff08}
.billing-status-card b{font-size:18px}
.billing-status-card span{padding:6px 10px;border:1px solid #ffffff17;border-radius:999px;background:#ffffff0b;color:#c8d1d5;font-size:13px;text-transform:capitalize}
.billing-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.billing-fact{min-width:0;padding:13px 14px;border:1px solid #ffffff12;border-radius:13px;background:#0b1218}
.billing-fact span{display:block;margin-bottom:7px;color:#93a0a6;font-size:12px}
.billing-fact b{display:block;font-size:14px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.billing-payment{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:16px;border:1px solid #ffffff13;border-radius:14px;background:#ffffff06}
.billing-panel-card h3{margin:0 0 5px;font-size:15px}
.billing-payment p{margin:0;color:#aeb9be;font-size:14px}
.billing-payment button,.billing-cancel-button{min-height:42px;padding:0 15px;border:1px solid #ffffff22;border-radius:10px;background:#252e32;color:#f4f6f7;font-size:14px;font-weight:650;white-space:nowrap}
.billing-payment button:hover,.billing-cancel-button:hover{background:#303b40}
.billing-payment button:disabled{opacity:.5;cursor:not-allowed}
.billing-invoices{margin-top:19px}
.billing-invoices h3{margin-bottom:10px}
.billing-invoice-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:12px 0;border-top:1px solid #ffffff12;color:#b9c2c6;font-size:13px}
.billing-invoice-row b{color:#f0f3f4;font-size:13px;font-variant-numeric:tabular-nums}
.billing-invoice-row a{color:#96cfff;text-decoration:none;white-space:nowrap}
.billing-invoice-row a:hover{text-decoration:underline}
.billing-panel-card>footer{margin-top:15px;padding-top:14px;border-top:1px solid #ffffff13}
#billingCancelNote{margin:0 0 12px;color:#e7c686;font-size:13px;line-height:1.5}
.billing-cancel-button{border-color:#a6534b66;background:#371e20;color:#ffc6c0}
.billing-cancel-button:hover{background:#4b2527}
.billing-cancel-button:disabled{opacity:.6;cursor:wait}
.billing-panel-card .billing-cancel-button.hidden{display:none}
.account-popover #accountBillingOpen{color:#f0f3f4}
.admin-account-controls button:disabled{opacity:.6;cursor:default}
@media(max-width:620px){.billing-overlay{align-items:end;padding:8px}.billing-panel-card{max-height:calc(100dvh - 16px);padding:17px 15px calc(18px + env(safe-area-inset-bottom));border-radius:20px}.billing-facts{grid-template-columns:1fr 1fr}.billing-fact:last-child:nth-child(odd){grid-column:1/-1}.billing-status-card b{font-size:16px}.billing-payment{align-items:flex-start;flex-direction:column}.billing-payment button{width:100%}.billing-invoice-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px}.billing-invoice-row a{grid-column:1/-1}.billing-panel-card h2{font-size:23px}}

.admin-stripe-warning{display:grid;gap:6px;margin-top:14px;padding:12px;border:1px solid #edaa5855;border-radius:10px;background:#332717;color:#f3d7ab}.admin-stripe-warning b{font-size:11px}.admin-stripe-warning span{font-size:11px;line-height:1.45}.admin-stripe-warning small{color:#c6aa7c;font-size:9px;overflow-wrap:anywhere}


/* Billing sheet: match the reference with detail rows kept flat. */
.billing-overlay{padding:20px;background:#050608d9;backdrop-filter:blur(8px)}
.billing-panel-card{width:96vw;max-width:none;max-height:96dvh;overflow:auto;padding:clamp(28px,4.3vw,72px);border:1px solid #4a4a4a;border-radius:36px;background:#252525;box-shadow:0 28px 100px #000b;color:#f4f4f4}
.billing-panel-card>header{padding-bottom:34px;border-bottom:1px solid #ffffff20}
.billing-panel-card>header span{font-size:15px;letter-spacing:2.4px;color:#a7a7a7}
.billing-panel-card h2{margin:8px 0 0;font-size:clamp(36px,4vw,62px);letter-spacing:-1.8px}
.billing-panel-card>header .close-button{width:58px;height:58px;border-color:transparent;background:transparent;color:#b8b8b8;font-size:48px;font-weight:300}
.billing-message{margin:38px 0 30px;color:#b8b8b8;font-size:clamp(18px,1.8vw,28px);line-height:1.45}
.billing-status-card{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:164px;padding:28px 44px;border:1px solid #4a4a4a;border-radius:32px;background:#2b2b2b}
.billing-status-card>div{display:grid;gap:8px}.billing-status-card .billing-plan-kicker{padding:0;border:0;border-radius:0;background:transparent;color:#b8b8b8;font-size:clamp(20px,2vw,31px);text-transform:none}
.billing-status-card b{font-size:clamp(30px,3vw,48px);font-weight:500;letter-spacing:-.6px}
.billing-status-card .billing-state{padding:12px 24px;border:0;border-radius:999px;background:#a9dcff;color:#14202a;font-size:clamp(18px,1.7vw,27px);font-weight:500;text-transform:capitalize}
.billing-status-card .billing-state-active{background:#9ae6bd;color:#143623}.billing-status-card .billing-state-past-due,.billing-status-card .billing-state-unpaid{background:#ffd2c9;color:#4a1b16}.billing-status-card .billing-state-free{background:#a9dcff}.billing-status-card .billing-state-none{background:#d4d7d9;color:#282c2e}
.billing-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:42px 18px 48px}
.billing-fact{min-width:0;padding:12px 18px;border:0;border-radius:0;background:transparent}
.billing-fact span{display:block;margin:0 0 12px;color:#a9a9a9;font-size:clamp(17px,1.6vw,26px)}
.billing-fact b{display:block;font-size:clamp(19px,1.8vw,29px);line-height:1.35;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.billing-payment{display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;gap:22px;margin-top:14px;padding:28px 34px;border:1px solid #4a4a4a;border-radius:32px;background:#2b2b2b}
.billing-payment-brand{display:grid;place-items:center;width:90px;height:66px;overflow:hidden}.billing-payment-brand img,.billing-payment-brand svg{display:block;width:90px;height:64px;object-fit:contain}
.billing-panel-card h3{margin:0 0 6px;font-size:clamp(21px,2vw,32px)}.billing-payment p{margin:0;color:#b8b8b8;font-size:clamp(17px,1.6vw,26px)}
.billing-payment button,.billing-cancel-button{min-height:74px;padding:0 34px;border:1px solid #555;border-radius:24px;background:#303030;color:#f4f4f4;font-size:clamp(18px,1.7vw,28px);font-weight:650;white-space:nowrap}
.billing-payment button:hover,.billing-cancel-button:hover{background:#393939}.billing-payment button:disabled{opacity:.5;cursor:not-allowed}
.billing-invoices{margin-top:48px}.billing-panel-card .billing-invoices h3{margin:0 0 22px;font-size:clamp(25px,2.3vw,38px)}
.billing-invoice-head,.billing-invoice-row{display:grid;grid-template-columns:minmax(145px,1fr) minmax(190px,1.25fr) minmax(95px,.65fr) minmax(115px,.75fr) minmax(120px,.8fr);align-items:center;gap:18px}
.billing-invoice-head{display:none}
.billing-invoice-row{min-height:82px;padding:14px 0;border-top:1px solid #ffffff1c;color:#bdbdbd;font-size:clamp(16px,1.3vw,22px)}
.billing-invoice-number,.billing-invoice-amount{color:#f1f1f1!important;font-size:clamp(17px,1.5vw,24px)!important;font-weight:700!important;font-variant-numeric:tabular-nums}
.billing-invoice-status{color:#9de2a9;font-size:clamp(16px,1.3vw,22px);text-transform:capitalize}.billing-invoice-status-open,.billing-invoice-status-draft{color:#f2c76d}.billing-invoice-status-uncollectible,.billing-invoice-status-void{color:#ee9891}
.billing-invoice-receipt a{color:#93caff;font-size:inherit;text-decoration:none;white-space:nowrap}.billing-invoice-receipt a:hover{text-decoration:underline}
.billing-empty{margin:0;padding:22px 0;border-top:1px solid #ffffff1c;color:#b7b7b7;font-size:18px}
.billing-panel-card>footer{margin-top:34px;padding-top:40px;border-top:1px solid #ffffff20}
.billing-cancel-button{min-height:72px;border-color:#6c3e3d;border-radius:22px;background:#352525;color:#ffbebb}.billing-cancel-button:hover{background:#462c2b}.billing-cancel-button:disabled{opacity:.6;cursor:wait}.billing-panel-card .billing-cancel-button.hidden{display:none}
#billingCancelNote{margin:0 0 14px;color:#e7c686;font-size:15px;line-height:1.5}
@media(max-width:760px){.billing-overlay{align-items:center;padding:9px}.billing-panel-card{width:100%;max-height:calc(100dvh - 18px);padding:25px 21px calc(26px + env(safe-area-inset-bottom));border-radius:26px}.billing-panel-card>header{padding-bottom:19px}.billing-panel-card>header span{font-size:12px}.billing-panel-card h2{font-size:clamp(27px,6vw,38px);letter-spacing:-.8px}.billing-panel-card>header .close-button{width:42px;height:42px;font-size:36px}.billing-message{margin:20px 0;font-size:16px}.billing-status-card{min-height:102px;padding:17px 19px;border-radius:20px}.billing-status-card .billing-plan-kicker{font-size:16px}.billing-status-card b{font-size:24px}.billing-status-card .billing-state{padding:8px 13px;font-size:15px}.billing-facts{grid-template-columns:1fr;gap:0;margin:23px 4px 27px}.billing-fact{padding:12px 4px}.billing-fact span{margin-bottom:5px;font-size:14px}.billing-fact b{font-size:17px}.billing-payment{grid-template-columns:70px minmax(0,1fr);gap:12px;padding:16px;border-radius:20px}.billing-payment-brand{width:64px;height:49px}.billing-payment-brand img,.billing-payment-brand svg{width:64px;height:48px}.billing-panel-card h3{font-size:17px}.billing-payment p{font-size:14px;overflow-wrap:anywhere}.billing-payment button{grid-column:1/-1;width:100%;min-height:49px;font-size:16px;border-radius:13px}.billing-invoices{margin-top:29px}.billing-panel-card .billing-invoices h3{font-size:21px;margin-bottom:12px}.billing-invoice-head{display:none}.billing-invoice-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;min-height:0;padding:14px 0;font-size:14px}.billing-invoice-number{grid-column:1;grid-row:1}.billing-invoice-status{grid-column:2;grid-row:1;text-align:right;font-size:14px}.billing-invoice-date{grid-column:1;grid-row:2;font-size:13px}.billing-invoice-amount{grid-column:2;grid-row:2;text-align:right}.billing-invoice-receipt{grid-column:1/-1;grid-row:3}.billing-invoice-receipt a{font-size:14px}.billing-panel-card>footer{margin-top:23px;padding-top:24px}.billing-cancel-button{min-height:52px;border-radius:13px;font-size:16px}}

/* Account menu inspired by the supplied profile panel. */
.account-popover{position:absolute;z-index:30;top:calc(100% + 10px);right:0;width:min(380px,calc(100vw - 24px));max-height:min(430px,calc(100dvh - 24px));overflow:auto;display:block;box-sizing:border-box;padding:18px;border:1px solid #344257;border-radius:22px;background:linear-gradient(145deg,rgba(24,35,51,.97),rgba(13,20,31,.99));box-shadow:0 22px 55px #000a;color:#f1f5f9;backdrop-filter:blur(18px)}
.account-profile-head{display:flex;align-items:center;gap:14px;padding:4px 3px 19px;border-bottom:1px solid #223043}
.account-profile-avatar{position:relative;display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;overflow:visible;border-radius:50%;background:linear-gradient(135deg,#38bdf8,#1d4ed8);color:#fff;font-size:24px;font-weight:750}
.account-profile-avatar>img,.account-profile-avatar>#accountProfileInitial{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}.account-profile-avatar>#accountProfileInitial{display:grid;place-items:center}.account-profile-avatar>img[hidden],.account-profile-avatar>#accountProfileInitial[hidden]{display:none!important}.account-profile-avatar>i{position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;border:2px solid #131b27;border-radius:50%;background:#22c55e}
.account-profile-copy{display:grid;gap:5px;min-width:0}.account-profile-copy>b{overflow:hidden;color:#f8fafc;font-size:14px;font-weight:750;letter-spacing:.65px;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.account-profile-copy>small{overflow:hidden;color:#94a3b8;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.account-menu-items{display:grid;gap:4px;margin:9px 0 12px}.account-menu-row{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:8px 9px;border:0;border-radius:14px;background:transparent;color:#f1f5f9;text-align:left;cursor:pointer;transition:background .16s ease}.account-menu-row:hover,.account-menu-row:focus-visible{background:#ffffff0a}.account-menu-row:focus-visible,.account-menu-footer button:focus-visible{outline:2px solid #38bdf888;outline-offset:1px}
.account-menu-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #33415588;border-radius:10px;background:#1e293ba6;color:#94a3b8}.account-menu-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.account-menu-label{display:grid;gap:4px;min-width:0;flex:1}.account-menu-label>b{color:#f1f5f9;font-size:14px;font-weight:650}.account-menu-label>small{overflow:hidden;color:#64748b;font-size:11px;text-overflow:ellipsis;white-space:nowrap}#accountPlanStatus{color:#38bdf8}.account-menu-chevron{flex:0 0 12px;width:8px;height:16px;fill:none;stroke:#475569;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.account-menu-footer{padding-top:15px;border-top:1px solid #223043}.account-menu-footer button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;border:1px solid #38bdf844;border-radius:24px;background:#0f172a70;color:#bae6fd;font-size:12px;font-weight:750;letter-spacing:1.1px;text-transform:uppercase;cursor:pointer;transition:background .16s ease,border-color .16s ease}.account-menu-footer button:hover{border-color:#38bdf888;background:#38bdf81a}.account-menu-footer svg{width:18px;height:18px;fill:none;stroke:#7dd3fc;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.account-menu-row.hidden{display:none!important}
@media(max-width:600px){.map-search-wrap .account-popover{position:fixed;top:60px;right:10px;width:min(380px,calc(100vw - 20px));max-height:calc(100dvh - 72px);padding:16px;border-radius:20px}.account-profile-head{padding-bottom:15px}.account-menu-row{min-height:56px}}
@media(prefers-reduced-motion:reduce){.account-menu-row,.account-menu-footer button{transition:none}}

/* Airspace FLOW: airport traffic dashboard layered over the shared live map. */
.flow-dashboard{position:absolute;z-index:7;inset:0;pointer-events:none;color:#edf2f4}
.flow-shell{position:absolute;top:74px;right:16px;bottom:68px;display:flex;width:min(520px,calc(100vw - 32px));min-height:0;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:rgba(27,33,37,.97);box-shadow:0 18px 54px rgba(0,0,0,.42);backdrop-filter:blur(20px);pointer-events:auto}
.flow-header{display:grid;grid-template-columns:116px minmax(0,1fr) auto 30px;align-items:center;gap:13px;padding:15px 16px 13px;border-bottom:1px solid #ffffff17}
.flow-logo{display:block;width:112px;height:auto;max-height:42px;object-fit:contain;object-position:left center}
.flow-airport-heading{min-width:0}.flow-kicker,.flow-section-kicker{display:block;color:#86c7e2;font-size:9px;font-weight:750;letter-spacing:.14em;line-height:1.2}
.flow-airport-heading h1{overflow:hidden;margin:4px 0 2px;color:#f3f5f6;font-size:20px;font-weight:780;letter-spacing:-.045em;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
.flow-airport-heading p{overflow:hidden;margin:0;color:#aab5ba;font-size:10px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.flow-header-status{max-width:105px;color:#b5c1c5;font-size:9px;line-height:1.35;text-align:right}
.flow-close{display:grid;width:30px;height:30px;place-items:center;border:1px solid #ffffff1c;border-radius:9px;background:#ffffff08;color:#c7d1d5;font-size:22px;line-height:1}
.flow-close:hover{background:#ffffff14;color:#fff}
.flow-body{display:flex;min-height:0;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:12px;overscroll-behavior:contain;scrollbar-color:#71838b55 transparent}
.flow-tabs{position:sticky;z-index:2;top:-12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:-12px -12px 0;padding:7px 12px 8px;border-bottom:1px solid #ffffff13;background:rgba(27,33,37,.98);backdrop-filter:blur(15px)}
.flow-tabs button{min-height:34px;padding:6px 8px;border:1px solid transparent;border-radius:9px;background:transparent;color:#aeb9be;font-size:11px;font-weight:680;cursor:pointer}
.flow-tabs button.active,.flow-tabs button[aria-selected="true"]{border-color:#78bde444;background:#78bde418;color:#d9f1fb}
.flow-summary-note{display:flex;align-items:center;gap:8px;min-height:30px;padding:1px 2px;color:#9eabb0;font-size:10px;line-height:1.35}
.flow-live-symbol{width:7px;height:7px;flex:none;border-radius:50%;background:#79d4a5;box-shadow:0 0 0 3px #79d4a51a}
.flow-summary-note button{margin-left:auto;padding:5px 7px;border:1px solid #ffffff1d;border-radius:7px;background:#ffffff08;color:#c7d4d8;font-size:9px;white-space:nowrap}
.flow-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.flow-metrics article{display:grid;min-height:76px;grid-template-columns:1fr auto;align-content:center;gap:3px 8px;padding:10px 12px;border:1px solid #ffffff14;border-radius:12px;background:rgba(255,255,255,.045)}
.flow-metrics article>span{align-self:end;color:#b9c3c7;font-size:10px;font-weight:650}.flow-metrics article>b{grid-column:2;grid-row:1 / span 2;align-self:center;color:#f1f4f5;font-size:25px;font-variant-numeric:tabular-nums;letter-spacing:-.05em}
.flow-metrics article>small{grid-column:1;color:#8e9ba0;font-size:8px;line-height:1.3}
.flow-timeline-card,.flow-flight-list,.flow-runway-section,.flow-follow-card,.flow-locked-card{display:grid;gap:10px;padding:13px;border:1px solid #ffffff17;border-radius:14px;background:rgba(255,255,255,.035)}
.flow-timeline-card>header,.flow-flight-list>header,.flow-runway-section>header,.flow-follow-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.flow-timeline-card h2,.flow-flight-list h2,.flow-runway-section h2,.flow-follow-card h2,.flow-locked-card h2{margin:4px 0 0;color:#eff3f4;font-size:15px;font-weight:720;letter-spacing:-.025em;line-height:1.2}
.flow-estimate-note{max-width:138px;color:#93a0a5;font-size:8px;line-height:1.35;text-align:right}
.flow-chart{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:5px;min-height:110px;padding:6px 2px 0}
.flow-bin{display:grid;min-width:0;grid-template-rows:16px 66px auto;justify-items:center;gap:4px;padding:0 2px;border:0;border-radius:8px;background:transparent;color:#aeb9be;cursor:pointer}
.flow-bin-count{color:#dce5e8;font-size:10px;font-weight:740;font-variant-numeric:tabular-nums}.flow-bin-track{display:flex;width:min(25px,75%);height:66px;align-items:flex-end;overflow:hidden;border:1px solid #ffffff13;border-radius:6px;background:#ffffff06}
.flow-bin-track i{display:block;width:100%;min-height:0;border-radius:4px 4px 1px 1px;background:#84c8e2;transition:height .18s ease}
.flow-bin.is-selected .flow-bin-track{border-color:#8ed5ef;background:#76c4e512}.flow-bin.is-selected .flow-bin-track i{background:#addff2}
.flow-bin>b{color:#bec8cc;font-size:8px;font-weight:660;white-space:nowrap}.flow-bin>b small{margin-left:2px;color:#8b989d;font-size:7px;font-weight:500}
.flow-window-summary{margin:0;color:#b1c2c9;font-size:9px}
.flow-upgrade-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px;border-top:1px solid #ffffff13;color:#a7b4b9;font-size:9px}
.flow-upgrade-row button,.flow-locked-card button{padding:7px 9px;border:1px solid #83c7e655;border-radius:8px;background:#79bfe31a;color:#c4ebfa;font-size:9px;font-weight:700}
.flow-flight-list{gap:8px}.flow-flight-list>header{align-items:flex-end}.flow-arrival-card{position:relative;display:grid;gap:5px;padding:8px;border:1px solid #ffffff12;border-radius:11px;background:#ffffff04;transition:border-color .15s ease,background .15s ease}
.flow-arrival-card.is-highlighted{border-color:#82c6e777;background:#78bfdf12}
.flow-arrival-main{display:grid;width:100%;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:8px;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}
.flow-plane-mark{display:grid;width:26px;height:26px;place-items:center;border-radius:8px;background:#86cbe21a;color:#9ed8ed;font-size:15px}
.flow-arrival-copy{display:grid;min-width:0;gap:2px}.flow-arrival-copy>b{overflow:hidden;color:#edf2f4;font-size:11px;font-weight:740;text-overflow:ellipsis;white-space:nowrap}.flow-arrival-copy small{overflow:hidden;color:#98a5aa;font-size:8px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.flow-arrival-estimate{display:grid;justify-items:end;gap:2px;text-align:right}.flow-arrival-estimate>b{color:#f0f4f5;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.flow-arrival-estimate small{color:#98a4a9;font-size:8px;white-space:nowrap}
.flow-confidence{font-weight:700}.flow-confidence.confidence-high{color:#8cd9b2}.flow-confidence.confidence-moderate{color:#d8c486}.flow-confidence.confidence-low{color:#e1a88b}.flow-confidence.confidence-unavailable{color:#99a3a8}
.flow-arrival-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:22px}.flow-estimate-explanation{margin-right:auto;color:#99a8ad;font-size:8px}.flow-estimate-explanation summary{cursor:pointer}.flow-estimate-explanation p{max-width:280px;margin:5px 0 0;color:#aeb9bd;font-size:9px;line-height:1.45}
.flow-follow-button,.flow-open-flight{padding:5px 8px;border:1px solid #ffffff20;border-radius:7px;background:#ffffff08;color:#cfdee3;font-size:8px;font-weight:700}.flow-follow-button.is-following{border-color:#8bd3ad55;background:#65bd9214;color:#9be0bb}
.flow-group-marker{position:absolute;top:-7px;right:8px;padding:2px 6px;border:1px solid #dcc98d38;border-radius:99px;background:#22292c;color:#d9c88e;font-size:7px;font-weight:700}
.flow-unavailable-list{border-top:1px solid #ffffff14;padding-top:8px;color:#b5c0c4;font-size:9px}.flow-unavailable-list summary{cursor:pointer}.flow-unavailable-list>div{display:grid;gap:4px;margin-top:8px}.flow-unavailable-list button{display:flex;justify-content:space-between;gap:8px;padding:7px;border:1px solid #ffffff12;border-radius:8px;background:#ffffff04;color:#d1d9dc;text-align:left;font-size:9px}.flow-unavailable-list button span{color:#929fa4}
.flow-empty-inline,.flow-unavailable-state,.flow-runway-empty{display:grid;gap:4px;padding:14px;border:1px dashed #ffffff20;border-radius:10px;color:#b8c2c6}.flow-empty-inline{font-size:10px}.flow-unavailable-state b,.flow-runway-empty b{color:#dde4e6;font-size:11px}.flow-unavailable-state span,.flow-runway-empty span{color:#9ca8ad;font-size:9px;line-height:1.45}
.flow-runway-section{gap:9px}.flow-runway-row{display:grid;width:100%;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid #ffffff14;border-radius:10px;background:#ffffff05;color:#e6ecee;text-align:left;cursor:pointer}.flow-runway-row>span:nth-child(2){display:grid;gap:3px}.flow-runway-row b{font-size:10px}.flow-runway-row small{color:#9ca9ae;font-size:9px;line-height:1.45}.flow-runway-mark{color:#96d4e9}.flow-runway-configuration{display:grid;gap:4px;margin-top:2px;padding-top:10px;border-top:1px solid #ffffff13}.flow-runway-configuration>b{font-size:10px}.flow-runway-configuration>span,.flow-runway-configuration>small{color:#a1adb2;font-size:9px;line-height:1.45}
.flow-locked-card{gap:8px;border-color:#7ebde33d;background:#72b8dc0b}.flow-locked-card p{margin:0;color:#aebbc0;font-size:10px;line-height:1.5}
.flow-follow-card{gap:12px;border-color:#7ec9e544;background:linear-gradient(135deg,#6ab8dd12,#ffffff03)}.flow-follow-card>header{align-items:center}.flow-follow-card>header p{margin:3px 0 0;color:#a5b1b6;font-size:9px}.flow-follow-card>header>button,.flow-follow-card.is-disconnected>button{padding:6px 9px;border:1px solid #ffffff20;border-radius:8px;background:#ffffff08;color:#c8d3d7;font-size:9px}.flow-follow-status{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px;padding:10px;border-radius:10px;background:#070c10aa}.flow-follow-status>div{display:grid;min-width:0;gap:4px}.flow-follow-status small{color:#84939a;font-size:7px;font-weight:760;letter-spacing:.1em}.flow-follow-status b{overflow:hidden;color:#e4ecef;font-size:9px;text-overflow:ellipsis}
.flow-milestones{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0;padding:2px 0;list-style:none}.flow-milestones li{position:relative;display:grid;justify-items:center;gap:5px;color:#829096;text-align:center;font-size:7px;line-height:1.25}.flow-milestones li:before{position:absolute;top:5px;left:50%;z-index:0;width:100%;height:1px;background:#ffffff19;content:""}.flow-milestones li:first-child:before{left:50%;width:50%}.flow-milestones li:last-child:before{left:0;width:50%}.flow-milestones i{z-index:1;width:10px;height:10px;border:2px solid #59666c;border-radius:50%;background:#272e32}.flow-milestones li.is-complete{color:#badbea}.flow-milestones li.is-complete i{border-color:#93d5ad;background:#93d5ad}.flow-follow-gate{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:8px;border-top:1px solid #ffffff15}.flow-follow-gate>span:first-child{display:grid;gap:3px}.flow-follow-gate b{font-size:9px}.flow-follow-gate small,.flow-muted{color:#96a4a9;font-size:8px}.flow-disclaimer{margin:0;color:#929fa4;font-size:8px;line-height:1.45}.flow-open-flight{justify-self:start;padding:7px 10px;font-size:9px}
.flow-empty{display:grid;justify-items:center;gap:10px;max-width:390px;margin:auto;padding:18px;text-align:center}.flow-empty-mark{display:grid;width:44px;height:44px;place-items:center;border:1px solid #80c7e34d;border-radius:14px;background:#7ac4e512;color:#9cd6eb;font-size:22px}.flow-empty h2{margin:0;color:#f2f5f6;font-size:21px;letter-spacing:-.04em}.flow-empty p,.flow-chooser-note{margin:0;color:#a8b4b9;font-size:11px;line-height:1.5}.flow-search-button{padding:9px 13px;border:1px solid #84c9e655;border-radius:9px;background:#7abfe31a;color:#d0effb;font-size:10px;font-weight:740}.flow-airport-choices{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:7px}.flow-airport-choices button{display:grid;grid-template-columns:1fr auto;gap:3px;padding:9px;border:1px solid #ffffff18;border-radius:9px;background:#ffffff06;color:#e6ecee;text-align:left}.flow-airport-choices b{font-size:11px}.flow-airport-choices span{grid-column:1;overflow:hidden;color:#aab6bb;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.flow-airport-choices small{grid-column:2;grid-row:1/3;align-self:center;color:#92a0a5;font-size:8px}
.airport-flow-entry{display:grid;width:100%;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:9px;margin:0 0 12px;padding:10px;border:1px solid #80c3e13d;border-radius:11px;background:#7bbfe310;color:#e8f0f2;text-align:left}.airport-flow-entry-mark{display:grid;width:25px;height:25px;place-items:center;border-radius:8px;background:#79bfdf22;color:#9dd9ed}.airport-flow-entry>span:nth-child(2){display:grid;gap:3px}.airport-flow-entry b{font-size:10px}.airport-flow-entry small{color:#9fadb2;font-size:8px;line-height:1.35}.flow-flight-action{border-color:#83c5e542!important;background:#83c5e50b!important;color:#bce5f5!important}
body.airspace-flow-open .panel-tabs,body.airspace-flow-open #trafficPanel,body.airspace-flow-open #airportsPanel,body.airspace-flow-open #atcPanel{display:none!important}
.light-mode .flow-shell{border-color:#293a431d;background:rgba(244,248,249,.97);color:#203039;box-shadow:0 18px 54px rgba(40,57,65,.24)}.light-mode .flow-tabs{background:rgba(244,248,249,.98);border-color:#283a4318}.light-mode .flow-airport-heading h1,.light-mode .flow-timeline-card h2,.light-mode .flow-flight-list h2,.light-mode .flow-runway-section h2,.light-mode .flow-follow-card h2,.light-mode .flow-locked-card h2,.light-mode .flow-arrival-copy>b,.light-mode .flow-arrival-estimate>b,.light-mode .flow-metrics article>b{color:#24353d}.light-mode .flow-metrics article,.light-mode .flow-arrival-card,.light-mode .flow-timeline-card,.light-mode .flow-flight-list,.light-mode .flow-runway-section,.light-mode .flow-follow-card,.light-mode .flow-locked-card{border-color:#283a4318;background:#203b4807}.light-mode .flow-tabs button{color:#60717a}.light-mode .flow-tabs button.active,.light-mode .flow-tabs button[aria-selected="true"]{background:#69afd21b;color:#285469}.light-mode .flow-follow-status{background:#dfe8eb}.light-mode .flow-follow-status b{color:#263940}
@media(max-width:820px){.flow-dashboard{inset:58px 0 53px}.flow-shell{inset:7px 7px 7px;width:auto;border-radius:16px}.flow-header{grid-template-columns:86px minmax(0,1fr) auto 27px;gap:8px;padding:12px 10px 10px}.flow-logo{width:82px;max-height:34px}.flow-airport-heading h1{font-size:16px}.flow-airport-heading p{font-size:8px}.flow-header-status{max-width:68px;font-size:8px}.flow-close{width:27px;height:27px}.flow-body{gap:9px;padding:9px}.flow-tabs{top:-9px;margin:-9px -9px 0;padding:6px 9px 7px}.flow-tabs button{min-height:32px;padding:5px 4px;font-size:9px}.flow-metrics{gap:6px}.flow-metrics article{min-height:67px;padding:8px 10px}.flow-metrics article>b{font-size:21px}.flow-chart{min-height:94px;gap:3px}.flow-bin{grid-template-rows:14px 55px auto;gap:3px}.flow-bin-track{height:55px}.flow-timeline-card,.flow-flight-list,.flow-runway-section,.flow-follow-card,.flow-locked-card{gap:8px;padding:10px}.flow-arrival-main{grid-template-columns:24px minmax(0,1fr) auto;gap:6px}.flow-plane-mark{width:23px;height:23px}.flow-arrival-copy>b{font-size:10px}.flow-arrival-copy small{font-size:7px}.flow-arrival-estimate>b{font-size:9px}.flow-arrival-estimate small{font-size:7px}.flow-estimate-note{font-size:7px}.flow-summary-note{font-size:8px}.flow-follow-status{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr);gap:6px;padding:8px}.flow-follow-status b{font-size:8px}.flow-follow-status small{font-size:6px}.flow-milestones li{font-size:6px}.flow-empty{padding:12px}}
@media(max-width:390px){.flow-header{grid-template-columns:70px minmax(0,1fr) 26px;gap:7px;padding-inline:8px}.flow-logo{width:68px}.flow-header-status{display:none}.flow-airport-heading h1{font-size:14px}.flow-airport-heading p{font-size:7px}.flow-arrival-main{grid-template-columns:22px minmax(0,1fr) auto;gap:5px}.flow-arrival-estimate small{font-size:6px}.flow-estimate-note{max-width:95px}}
@media(prefers-reduced-motion:reduce){.flow-bin-track i,.flow-arrival-card{transition:none}}

/* Airspace FLOW uses the green from its wordmark across the experience. */
.flow-dashboard{--flow-accent:#93f99c;--flow-accent-soft:rgba(147,249,156,.12);--flow-accent-line:rgba(147,249,156,.34)}
.flow-dashboard :focus-visible{outline:2px solid var(--flow-accent);outline-offset:2px}
.flow-kicker,.flow-section-kicker{color:var(--flow-accent)}
.flow-live-symbol{background:var(--flow-accent);box-shadow:0 0 0 3px rgba(147,249,156,.12)}
.flow-tabs button.active,.flow-tabs button[aria-selected="true"]{border-color:var(--flow-accent-line);background:var(--flow-accent-soft);color:#dfffe2}
.flow-bin-track i{background:var(--flow-accent)}
.flow-bin.is-selected .flow-bin-track{border-color:var(--flow-accent);background:var(--flow-accent-soft)}
.flow-bin.is-selected .flow-bin-track i{background:#c1ffca}
.flow-upgrade-row button,.flow-locked-card button,.flow-search-button{border-color:var(--flow-accent-line);background:var(--flow-accent-soft);color:#dfffe2}
.flow-arrival-card.is-highlighted{border-color:rgba(147,249,156,.48);background:rgba(147,249,156,.055)}
.flow-plane-mark{background:var(--flow-accent-soft);color:var(--flow-accent)}
.flow-follow-button.is-following{border-color:var(--flow-accent-line);background:var(--flow-accent-soft);color:#c9ffd0}
.flow-runway-mark,.flow-empty-mark{color:var(--flow-accent)}
.flow-locked-card{border-color:var(--flow-accent-line);background:rgba(147,249,156,.045)}
.flow-follow-card{border-color:var(--flow-accent-line);background:linear-gradient(135deg,rgba(147,249,156,.075),rgba(255,255,255,.015))}
.flow-milestones li.is-complete{color:#d6f8da}.flow-milestones li.is-complete i{border-color:var(--flow-accent);background:var(--flow-accent)}.flow-milestones li.is-current i{box-shadow:0 0 0 3px var(--flow-accent-soft)}
.flow-empty-mark{border-color:var(--flow-accent-line);background:var(--flow-accent-soft)}
.airport-flow-entry{border-color:var(--flow-accent-line);background:rgba(147,249,156,.045)}
.airport-flow-entry-mark{background:var(--flow-accent-soft);color:var(--flow-accent)}
.flow-flight-action{border-color:var(--flow-accent-line)!important;background:rgba(147,249,156,.055)!important;color:#c9ffd0!important}
body.airspace-flow-open .nav-item[data-view="flow"],body.airspace-flow-open .rail-button[data-view="flow"],body.airspace-flow-open .mobile-dock [data-view="flow"]{color:var(--flow-accent)}
.light-mode .flow-tabs button.active,.light-mode .flow-tabs button[aria-selected="true"]{background:rgba(63,146,77,.12);color:#276536}
.light-mode .flow-milestones li.is-complete{color:#326b3d}
.admin-flow-config-card{--flow-admin-accent:#93f99c}
.admin-flow-config-card h2,.admin-flow-config-card .admin-flow-status{color:#93f99c}
.admin-flow-config-card button:focus-visible,.admin-flow-config-card input:focus-visible,.admin-flow-config-card select:focus-visible,.admin-flow-config-card textarea:focus-visible{outline:2px solid #93f99c;outline-offset:2px}

/* FLOW entry and dashboard polish. */
.flow-entry-trigger{position:fixed;z-index:9;top:16px;left:380px;display:flex;min-height:42px;align-items:center;gap:8px;padding:0 14px;border:1px solid rgba(147,249,156,.45);border-radius:12px;background:rgba(23,30,33,.96);color:#e7f8e9;box-shadow:0 8px 24px rgba(0,0,0,.24);font-size:12px;letter-spacing:.08em;cursor:pointer;backdrop-filter:blur(12px)}
.flow-entry-trigger span{color:#93f99c;font-size:20px;line-height:1}.flow-entry-trigger:hover{border-color:#93f99c;background:rgba(36,48,39,.98)}body.airspace-flow-open .flow-entry-trigger{display:none}
.flow-dashboard{inset:0}.flow-shell{top:16px;right:16px;bottom:16px;width:min(600px,calc(100vw - 32px))}.flow-header{grid-template-columns:112px minmax(0,1fr) auto 40px}.flow-close{width:40px;height:40px;min-width:40px;min-height:40px;border-color:#ffffff26;font-size:25px;cursor:pointer}
.flow-kicker,.flow-section-kicker{font-size:10px}.flow-airport-heading h1{font-size:22px}.flow-airport-heading p,.flow-header-status{font-size:11px}.flow-tabs button{min-height:42px;font-size:12px}.flow-summary-note,.flow-source-freshness{font-size:11px}.flow-source-freshness{margin:-5px 2px 0;color:#9eabb0;line-height:1.4}
.flow-metrics article{min-height:86px}.flow-metrics article>span{font-size:11px}.flow-metrics article>b{font-size:28px}.flow-metrics article>small{font-size:9px;line-height:1.4}
.flow-timeline-card h2,.flow-flight-list h2,.flow-runway-section h2,.flow-follow-card h2,.flow-locked-card h2{font-size:16px}.flow-estimate-note{font-size:9px}.flow-chart{min-height:128px;gap:7px}.flow-bin{min-height:106px;grid-template-rows:18px 72px auto}.flow-bin-track{height:72px}.flow-bin>b{font-size:9px}.flow-bin-count{font-size:11px}
.flow-chart.is-preview{grid-template-columns:minmax(0,1fr);min-height:90px;padding:4px 2px}.flow-chart.is-preview .flow-bin{min-height:76px;grid-template-columns:30px minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;gap:10px;padding:6px 8px;border:1px solid #ffffff12;border-radius:10px;background:#ffffff04}.flow-chart.is-preview .flow-bin-track{width:100%;height:16px}.flow-chart.is-preview .flow-bin-track i{height:100%!important;min-height:100%;border-radius:4px}.flow-chart.is-preview .flow-bin>b{font-size:10px}
.flow-arrival-cluster{display:grid;gap:7px;padding:9px;border:1px solid rgba(147,249,156,.26);border-radius:12px;background:rgba(147,249,156,.035)}.flow-arrival-cluster>header{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#dfffe2;font-size:10px}.flow-arrival-cluster>header span{color:#9eabb0;font-variant-numeric:tabular-nums}.flow-arrival-card{background:rgba(20,25,27,.58)}
.flow-overview-arrivals{display:grid;gap:9px;padding:13px;border:1px solid #ffffff17;border-radius:14px;background:rgba(255,255,255,.035)}.flow-overview-arrivals>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.flow-overview-arrivals h2{margin:4px 0 0;color:#eff3f4;font-size:16px}.flow-overview-arrivals>header button{padding:7px 9px;border:1px solid var(--flow-accent-line);border-radius:8px;background:var(--flow-accent-soft);color:#dfffe2;font-size:10px;cursor:pointer}
.flow-follow-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.flow-follow-context>span{display:grid;gap:4px;min-width:0;padding:9px;border:1px solid #ffffff15;border-radius:9px;background:#ffffff04}.flow-follow-context small{color:#98a5aa;font-size:9px;font-weight:700;letter-spacing:.07em}.flow-follow-context b{overflow-wrap:anywhere;color:#e5ecee;font-size:11px;font-weight:650;line-height:1.35}.flow-unavailable-state button{justify-self:start;padding:9px 12px;border:1px solid var(--flow-accent-line);border-radius:9px;background:var(--flow-accent-soft);color:#e1ffe4;font-size:12px;font-weight:700;cursor:pointer}
.flow-eta-change{display:block;margin-top:4px;color:var(--flow-accent);font-size:9px;font-style:normal;font-weight:650;line-height:1.35}.flow-nearby-traffic{display:grid;gap:7px;padding:10px;border:1px solid #ffffff15;border-radius:10px;background:#ffffff04}.flow-nearby-traffic>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.flow-nearby-traffic>header b{color:#e6ecee;font-size:10px}.flow-nearby-traffic>header small,.flow-nearby-traffic>p{margin:0;color:#9ba7ab;font-size:9px;line-height:1.4}.flow-nearby-traffic>div{display:grid;gap:5px}.flow-nearby-traffic>div button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 8px;width:100%;min-width:0;min-height:44px;padding:7px 8px;border:1px solid #ffffff12;border-radius:8px;background:#ffffff04;color:#e7edef;text-align:left;cursor:pointer}.flow-nearby-traffic>div button>b{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.flow-nearby-traffic>div button>span{color:#d5dcde;font-size:9px;font-variant-numeric:tabular-nums;white-space:nowrap}.flow-nearby-traffic>div button>small{grid-column:1/-1;color:#98a4a8;font-size:8px}
@media(max-width:1100px){.flow-entry-trigger{left:302px}}
@media(max-width:820px){.flow-entry-trigger{top:calc(env(safe-area-inset-top,0px) + 12px);right:12px;left:auto;min-height:42px}.flow-dashboard{inset:0;z-index:20}.flow-shell{inset:calc(env(safe-area-inset-top,0px) + 7px) 7px calc(env(safe-area-inset-bottom,0px) + 7px);width:auto;border-radius:16px}.flow-header{grid-template-columns:82px minmax(0,1fr) auto 42px;gap:9px;padding:12px}.flow-logo{width:78px;max-height:38px}.flow-airport-heading h1{font-size:18px}.flow-airport-heading p,.flow-header-status{font-size:10px}.flow-close{width:42px;height:42px}.flow-body{gap:11px;padding:12px}.flow-tabs{top:-12px;gap:4px;padding:8px 10px}.flow-tabs button{min-height:44px;padding:7px 4px;font-size:12px}.flow-summary-note,.flow-source-freshness{font-size:11px}.flow-metrics article{min-height:82px}.flow-metrics article>span{font-size:11px}.flow-metrics article>b{font-size:26px}.flow-metrics article>small{font-size:9px}.flow-arrival-copy>b,.flow-arrival-estimate>b{font-size:12px}.flow-arrival-copy small,.flow-arrival-estimate small,.flow-confidence,.flow-estimate-explanation summary{font-size:10px}.flow-follow-card>header>button,.flow-follow-card.is-disconnected>button,.flow-follow-button,.flow-open-flight,.flow-arrival-actions button,.flow-completed-actions button{min-height:44px;font-size:10px}.flow-follow-button,.flow-open-flight,.flow-arrival-actions button,.flow-completed-actions button{padding:8px 10px}.flow-estimate-explanation p{font-size:11px}.flow-follow-context small{font-size:9px}.flow-follow-context b{font-size:11px}}
@media(max-width:480px){.flow-entry-trigger{top:calc(env(safe-area-inset-top,0px) + 10px);right:10px}.flow-header{grid-template-columns:68px minmax(0,1fr) 40px;gap:7px;padding:10px}.flow-logo{width:66px}.flow-airport-heading h1{font-size:16px}.flow-header-status{display:none}.flow-close{width:40px;height:40px}.flow-body{padding:10px}.flow-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding-inline:8px}.flow-tabs button{font-size:11px}.flow-metrics{gap:6px}.flow-metrics article{min-height:76px;padding:8px}.flow-metrics article>b{font-size:23px}.flow-chart{gap:4px}.flow-bin{padding-inline:1px}.flow-arrival-main{grid-template-columns:25px minmax(0,1fr) auto;gap:6px}.flow-arrival-estimate small{white-space:normal}.flow-arrival-cluster{padding:7px}.flow-arrival-cluster>header{font-size:9px}.flow-follow-status{grid-template-columns:26px minmax(0,1fr);gap:8px}.flow-follow-status>div:last-child{grid-column:2}.flow-follow-context{gap:5px}.flow-milestones li{font-size:8px}}
@media(max-width:699px){.flow-entry-trigger{display:none}}
@media(prefers-reduced-motion:reduce){.flow-entry-trigger,.flow-bin-track i{transition:none}}

/* Keep billing details in a centered dialog instead of expanding to the viewport. */
.billing-overlay{place-items:center;padding:20px}
.billing-panel-card{width:min(820px,calc(100vw - 40px));max-width:820px;max-height:88dvh;overflow:auto;padding:clamp(22px,3vw,38px);border-radius:24px}

/* Airspace FLOW rebuild: persistent airport workspace with a live map alongside it. */
@media(min-width:821px){
 body.airspace-flow-open .flow-dashboard{position:absolute;inset:0;z-index:12;pointer-events:none}
 body.airspace-flow-open .flow-shell{position:static;display:contents}
 body.airspace-flow-open .flow-header{position:absolute;top:0;left:0;right:0;z-index:2;display:grid;grid-template-columns:154px minmax(240px,1fr) minmax(100px,170px) 110px 48px;align-items:center;gap:20px;min-height:92px;padding:14px 24px;border:0;border-bottom:1px solid #ffffff14;background:linear-gradient(180deg,rgba(16,22,23,.98),rgba(16,22,23,.88));backdrop-filter:blur(18px);pointer-events:auto}
 body.airspace-flow-open .flow-logo{width:145px;max-height:50px}
 body.airspace-flow-open .flow-airport-heading h1{font-size:clamp(23px,2vw,32px);letter-spacing:-.04em}
 body.airspace-flow-open .flow-airport-heading p{font-size:12px}
 body.airspace-flow-open .flow-header-status{max-width:170px;font-size:11px}
 body.airspace-flow-open .flow-header-status::before{display:inline-block;width:8px;height:8px;margin:0 8px 1px 0;border-radius:50%;background:#93f99c;content:""}
 body.airspace-flow-open .flow-airport-search{min-width:100px;min-height:44px;justify-content:center;border-radius:12px;background:#ffffff08}
 body.airspace-flow-open .flow-close{width:44px;height:44px}
 body.airspace-flow-open .flow-body{position:absolute;top:108px;left:16px;bottom:16px;display:flex;width:min(61vw,1120px);min-height:0;gap:15px;padding:0 14px 16px 0;overflow:auto;border:1px solid #ffffff16;border-radius:22px;background:rgba(20,26,28,.97);box-shadow:0 20px 60px #0007;backdrop-filter:blur(18px);pointer-events:auto;scrollbar-color:#74817955 transparent}
 body.airspace-flow-open .flow-body>.flow-dashboard-panel{width:100%;padding:14px 18px 16px;gap:15px}
 body.airspace-flow-open .flow-dashboard-panel>.flow-tabs{position:sticky;top:-1px;margin:0 -14px;padding:8px 14px;border:0;border-bottom:1px solid #ffffff14;border-radius:22px 22px 0 0;background:rgba(20,26,28,.98)}
 body.airspace-flow-open .flow-dashboard-panel>.flow-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.airspace-flow-open .flow-insight-grid{grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)}
 body.airspace-flow-open .flow-dashboard-lower{grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr)}
 body.airspace-flow-open .flow-dashboard-panel>.flow-dashboard-columns{grid-template-columns:minmax(0,1fr)}
 body.airspace-flow-open .flow-dashboard-panel>.flow-dashboard-columns .flow-flight-list{padding:15px}
 body.airspace-flow-open .flow-flight-filters{position:sticky;top:52px;z-index:2;display:flex;gap:7px;padding:8px 0;background:rgba(20,26,28,.96)}
 body.airspace-flow-open .flow-flight-filters button{min-height:38px;padding:0 16px;border:1px solid #ffffff18;border-radius:999px;background:#ffffff05;color:#b9c4be;font-weight:700;cursor:pointer}
 body.airspace-flow-open .flow-flight-filters button.active,body.airspace-flow-open .flow-flight-filters button[aria-pressed="true"]{border-color:#93f99c66;background:#93f99c18;color:#c9ffd0}
 body.airspace-flow-open .flow-dashboard-panel>.flow-status-footer{margin:0 0 2px}
 body.airspace-flow-open .map-search-wrap{z-index:30;top:103px!important;left:24px!important;right:auto!important;width:min(500px,calc(61vw - 50px))!important;max-width:none!important;transform:none!important}
 body.airspace-flow-open .map-search-wrap .search-results{left:0;right:auto;width:100%}
 body.airspace-flow-open .flow-airport-picker{width:min(780px,100%);margin:12px auto 28px}
 body.airspace-flow-open .flow-airport-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.airspace-flow-open .flow-airport-choices>button{min-height:76px}
 body.airspace-flow-open .flow-picker-heading h2{font-size:30px}
 body.airspace-flow-open .flow-runways-view .flow-overview-runway-row.is-detailed{grid-template-columns:minmax(120px,.7fr) minmax(100px,1fr) auto}
 body.airspace-flow-open .flow-runway-aircraft{grid-column:1/-1}
}
@media(min-width:821px) and (max-width:1150px){
 body.airspace-flow-open .flow-header{grid-template-columns:120px minmax(180px,1fr) auto 94px 42px;gap:12px;padding-inline:16px}
 body.airspace-flow-open .flow-logo{width:116px}
 body.airspace-flow-open .flow-body{width:64vw;left:10px;bottom:10px;top:102px;padding-right:10px}
 body.airspace-flow-open .flow-insight-grid,body.airspace-flow-open .flow-dashboard-lower{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:820px){
 body.airspace-flow-open .flow-header{grid-template-columns:78px minmax(0,1fr) auto 42px}
 body.airspace-flow-open .flow-airport-search{min-width:42px;width:42px;height:42px;padding:0;justify-content:center}
 body.airspace-flow-open .flow-airport-search span{display:none}
 body.airspace-flow-open .flow-body{border-color:#ffffff18;background:rgba(20,26,28,.98)}
 body.airspace-flow-open .flow-flight-filters{position:sticky;top:51px;z-index:2;display:flex;gap:7px;padding:7px 0;background:rgba(20,26,28,.97)}
 body.airspace-flow-open .flow-flight-filters button{min-height:40px;padding:0 15px;border:1px solid #ffffff18;border-radius:999px;background:#ffffff05;color:#bac4bf;font-weight:700}
 body.airspace-flow-open .flow-flight-filters button.active,body.airspace-flow-open .flow-flight-filters button[aria-pressed="true"]{border-color:#93f99c66;background:#93f99c18;color:#c9ffd0}
}
.flow-airport-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.flow-airport-choices>button{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:72px;padding:11px 13px;border:1px solid #ffffff16;border-radius:14px;background:#ffffff05;color:#edf2ef;text-align:left;cursor:pointer}
.flow-airport-choices>button:hover{border-color:#93f99c66;background:#93f99c0b}
.flow-choice-code{display:grid;min-height:40px;place-items:center;border-radius:11px;background:#93f99c12;color:#baf9c0;font-size:15px;font-weight:800;letter-spacing:.02em}
.flow-choice-copy{display:grid;min-width:0;gap:4px}.flow-choice-copy b,.flow-choice-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-choice-copy b{font-size:13px}.flow-choice-copy small,.flow-choice-source{color:#9ca8a1;font-size:10px}.flow-choice-source{white-space:nowrap}
.flow-picker-heading{display:grid;gap:8px;padding:10px 2px 16px}.flow-picker-heading h2{margin:0;color:#edf2ef;font-size:24px}.flow-picker-heading p,.flow-chooser-note{margin:0;color:#aab6af;font-size:13px;line-height:1.5}.flow-search-button{min-height:42px;margin-bottom:13px;padding:0 15px;border:1px solid #93f99c48;border-radius:11px;background:#93f99c12;color:#d7ffda;font-weight:700;cursor:pointer}
.flow-runway-aircraft{display:block;margin-top:3px;color:#aab6af;font-size:10px;font-weight:500}
.flow-runway-data-note{margin:2px 0 0;color:#99a69f;font-size:11px;line-height:1.5}
.flow-metar-content .weather-card{margin:0}
body.light-mode.airspace-flow-open .flow-body{border-color:#263a2f22;background:rgba(243,248,244,.97)}
body.light-mode.airspace-flow-open .flow-header{background:linear-gradient(180deg,rgba(242,248,244,.98),rgba(242,248,244,.9))}
body.light-mode.airspace-flow-open .flow-dashboard-panel>.flow-tabs,body.light-mode.airspace-flow-open .flow-flight-filters{background:rgba(243,248,244,.97)}
body.light-mode .flow-airport-choices>button{border-color:#263a2f20;background:#fff9;color:#26382e}body.light-mode .flow-choice-code{background:#4e9b5718;color:#347746}body.light-mode .flow-choice-copy small,body.light-mode .flow-choice-source{color:#617068}

/* Keep the FLOW entry beside mobile search without covering its controls. */
@media(max-width:820px){.flow-milestones li{font-size:8px}}
.flow-follow-completed{gap:11px}.flow-follow-completed>header{align-items:center}.flow-follow-completed .flow-completed-check{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid var(--flow-accent-line);border-radius:50%;background:var(--flow-accent-soft);color:var(--flow-accent);font-size:17px;font-weight:800}.flow-completed-summary{display:grid;gap:8px;padding:10px;border:1px solid #ffffff16;border-radius:10px;background:#080d10a8}.flow-completed-summary>b{color:#aab7bb;font-size:9px;font-weight:760;letter-spacing:.08em;text-transform:uppercase}.flow-completed-milestones{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0;padding:0;list-style:none}.flow-completed-milestones li{display:grid;gap:4px;min-width:0}.flow-completed-milestones li>span{color:#85949a;font-size:8px}.flow-completed-milestones time{color:#e5eeec;font-size:11px;font-weight:720;font-variant-numeric:tabular-nums}.flow-completed-empty{margin:0;color:#98a5aa;font-size:9px}.flow-completed-actions{display:flex;flex-wrap:wrap;gap:7px}.flow-completed-actions button{min-height:34px;padding:7px 10px;border:1px solid #ffffff20;border-radius:8px;background:#ffffff08;color:#d5e1e3;font-size:9px;font-weight:700;cursor:pointer}.flow-completed-actions .flow-return-dashboard{border-color:var(--flow-accent-line);background:var(--flow-accent-soft);color:#e1ffe4}.light-mode .flow-completed-summary{border-color:#283a4318;background:#203b4807}.light-mode .flow-completed-summary>b{color:#596d75}.light-mode .flow-completed-milestones time{color:#24353d}.light-mode .flow-completed-actions button{border-color:#283a4320;background:#203b4807;color:#28404b}
@media(max-width:600px){.flow-completed-milestones{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 7px}.flow-completed-milestones li>span{font-size:9px}.flow-completed-milestones time{font-size:12px}.flow-completed-actions button{min-height:44px;font-size:11px}}
.flow-runway-operation{display:grid;gap:6px}.flow-runway-operation>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 1px}.flow-runway-operation>header>b{color:#dfe7e9;font-size:10px}.flow-runway-operation>header>span,.flow-runway-operation-empty{margin:0;color:#96a4a9;font-size:9px}.flow-runway-operation-empty{padding:8px 1px;line-height:1.45}.flow-runway-operation .flow-runway-row{margin:0}.light-mode .flow-runway-operation>header>b{color:#2d3c42}
@media(max-width:699px){body:not(.mobile-search-open) .map-search-wrap{right:92px!important}.flow-entry-trigger{display:flex;top:9px;right:50px;left:auto;width:36px;min-width:36px;min-height:40px;justify-content:center;gap:0;padding:0 3px;border-radius:10px;box-shadow:none;font-size:8px;letter-spacing:.04em}.flow-entry-trigger span{display:none}body.mobile-search-open .flow-entry-trigger{display:none}}
.billing-panel-card>header{padding-bottom:19px}
.billing-panel-card>header span{font-size:12px;letter-spacing:1.8px}
.billing-panel-card h2{font-size:clamp(27px,3.2vw,38px);letter-spacing:-.8px}
.billing-panel-card>header .close-button{width:42px;height:42px;font-size:36px}
.billing-message{margin:20px 0;font-size:16px}
.billing-status-card{min-height:96px;padding:16px 22px;border-radius:18px}
.billing-status-card .billing-plan-kicker{font-size:16px}
.billing-status-card b{font-size:25px}
.billing-status-card .billing-state{padding:8px 14px;font-size:15px}
.billing-facts{gap:8px;margin:22px 6px 26px}
.billing-fact{padding:7px 12px}
.billing-fact span{margin-bottom:6px;font-size:14px}
.billing-fact b{font-size:16px}
.billing-payment{grid-template-columns:76px minmax(0,1fr) auto;gap:15px;margin-top:10px;padding:17px 20px;border-radius:18px}
.billing-payment-brand{width:68px;height:50px}.billing-payment-brand img,.billing-payment-brand svg{width:68px;height:48px}
.billing-panel-card h3{font-size:18px}.billing-payment p{font-size:14px}
.billing-payment button,.billing-cancel-button{min-height:48px;padding:0 19px;border-radius:13px;font-size:15px}
.billing-invoices{margin-top:26px}.billing-panel-card .billing-invoices h3{margin-bottom:12px;font-size:21px}
.billing-invoice-head,.billing-invoice-row{grid-template-columns:minmax(110px,1fr) minmax(140px,1.2fr) minmax(70px,.6fr) minmax(80px,.7fr) minmax(90px,.75fr);gap:10px}
.billing-invoice-row{min-height:58px;padding:10px 0;font-size:14px}
.billing-invoice-number,.billing-invoice-amount{font-size:15px!important}.billing-invoice-status{font-size:14px}
.billing-empty{padding:15px 0;font-size:15px}
.billing-panel-card>footer{margin-top:22px;padding-top:23px}.billing-cancel-button{min-height:48px;border-radius:13px;font-size:15px}
@media(max-width:760px){.billing-overlay{align-items:center;padding:12px}.billing-panel-card{width:calc(100vw - 24px);max-width:560px;max-height:90dvh;padding:22px 18px calc(22px + env(safe-area-inset-bottom));border-radius:22px}.billing-panel-card>header{padding-bottom:16px}.billing-panel-card h2{font-size:clamp(25px,6vw,32px)}.billing-message{margin:16px 0;font-size:15px}.billing-status-card{min-height:82px;padding:14px 16px;border-radius:16px}.billing-status-card .billing-plan-kicker{font-size:14px}.billing-status-card b{font-size:21px}.billing-status-card .billing-state{padding:7px 11px;font-size:13px}.billing-facts{grid-template-columns:1fr;gap:0;margin:18px 4px 20px}.billing-fact{padding:9px 4px}.billing-fact span{margin-bottom:3px;font-size:13px}.billing-fact b{font-size:15px}.billing-payment{grid-template-columns:58px minmax(0,1fr);gap:10px;padding:14px;border-radius:16px}.billing-payment-brand{width:54px;height:42px}.billing-payment-brand img,.billing-payment-brand svg{width:54px;height:40px}.billing-panel-card h3{font-size:16px}.billing-payment p{font-size:13px}.billing-payment button{grid-column:1/-1;width:100%;min-height:44px;font-size:15px}.billing-invoices{margin-top:22px}.billing-panel-card .billing-invoices h3{font-size:19px}.billing-invoice-head{display:none}.billing-invoice-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;padding:12px 0;font-size:13px}.billing-invoice-number{grid-column:1;grid-row:1}.billing-invoice-status{grid-column:2;grid-row:1;font-size:13px}.billing-invoice-date{grid-column:1;grid-row:2;font-size:12px}.billing-invoice-amount{grid-column:2;grid-row:2}.billing-invoice-receipt{grid-column:1/-1;grid-row:3}.billing-invoice-receipt a{font-size:13px}.billing-panel-card>footer{margin-top:20px;padding-top:19px}.billing-cancel-button{min-height:45px;font-size:14px}}
@media(max-width:380px){.billing-panel-card{padding-inline:15px}.billing-panel-card h2{font-size:24px}.billing-status-card{gap:8px;padding-inline:12px}.billing-status-card .billing-state{padding:6px 9px}}

/* A simpler, single-color account menu. */
.account-popover{width:min(360px,calc(100vw - 24px));padding:20px;background:#171819;border-color:#ffffff1c;backdrop-filter:none}
.account-profile-head{padding:2px 2px 16px;border-color:#ffffff10}
.account-profile-avatar{background:#5730b0}
.account-profile-avatar>i{border-color:#171819}
.account-menu-items{gap:0;margin:8px 0 12px}
.account-menu-row{min-height:56px;padding:8px 2px;border-radius:0}
.account-menu-row:hover,.account-menu-row:focus-visible{background:transparent}
.account-menu-row:hover .account-menu-label>b,.account-menu-row:focus-visible .account-menu-label>b{color:var(--accent)}
.account-menu-icon{flex-basis:34px;width:34px;height:34px;border:0;border-radius:0;background:transparent}
.account-menu-label>b{font-size:14px}
.account-menu-label>small{color:#929292}
.account-menu-chevron{stroke:#858d95}
.account-menu-footer{padding-top:13px;border-color:#ffffff10}
.account-menu-footer button{border-color:#ffffff30;background:transparent;color:#c9cdd1}
.account-menu-footer button:hover{border-color:var(--accent);background:transparent}
@media(max-width:600px){.map-search-wrap .account-popover{padding:18px}}

/* Flight details: aircraft-led layout matching the supplied October concept. */
.flight-detail:has(.flight-panel-content){--flight-card:#1c1f22;--flight-muted:#abb2b6;--flight-line:#ffffff13;background:rgba(42,49,51,.94);border:1px solid #ffffff29;border-radius:26px;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
.flight-detail:has(.flight-panel-content) .detail-panel-header{min-height:54px;justify-content:flex-end;padding:8px 20px;background:transparent;backdrop-filter:none}
.flight-detail:has(.flight-panel-content) .detail-panel-kicker{display:none;font-size:11px;letter-spacing:1.8px;color:#a4aeb2}
.flight-detail:has(.flight-panel-content) #detailBody{padding:6px 20px 24px}
.flight-identity-card{padding:2px 0 0;border:0}
.flight-identity-row{gap:17px;padding:4px 5px 0}
.flight-identity-row .detail-airline-logo{flex-basis:46px;width:46px;height:46px}
.flight-identity-copy{gap:5px}
.flight-callsign{font-size:25px;font-weight:750;letter-spacing:-.5px;line-height:1.18}
.flight-identity-copy .identity-airline{font-size:16px;color:var(--flight-muted)}
.flight-identity-copy .aircraft-description{margin-top:1px;font-size:14px;line-height:1.3}
.flight-identity-copy .aircraft-description b{font-weight:650;color:#edf0f1}
.aircraft-photo{height:180px;margin:13px -8px 8px}
.aircraft-photo:after{display:none}
.aircraft-photo img{inset:0;width:100%;height:calc(100% - 19px);object-fit:contain;object-position:center;transform:none;-webkit-mask-image:none;mask-image:none;filter:none}
.aircraft-photo:hover img{transform:scale(1.015);filter:none}
.aircraft-photo-registration{display:none}
.aircraft-photo-credit{right:8px;bottom:2px;padding:0;background:transparent;font-size:10px;font-weight:600;letter-spacing:0;color:#bfc6ca;text-shadow:none}
.flight-detail:has(.flight-panel-content) .arrival-summary{position:relative;min-height:76px;margin:14px 0;padding:14px 15px;gap:12px;border:0;border-radius:19px;background:var(--flight-card)}
.flight-detail:has(.flight-panel-content) .arrival-summary:before{display:none}
.phase-mark{width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:#a4cce610;color:#9fcde7;font-size:22px}
.flight-detail:has(.flight-panel-content) .arrival-summary-main{flex:1;gap:5px;align-items:flex-end;text-align:right}
.flight-detail:has(.flight-panel-content) .arrival-summary-main small{font-size:10px;letter-spacing:1px;color:var(--flight-muted)}
.flight-detail:has(.flight-panel-content) .arrival-summary-main strong{font-size:23px;font-weight:730;line-height:1.2;letter-spacing:-.5px}
.flight-detail:has(.flight-panel-content) .arrival-summary{flex-wrap:nowrap}
.flight-detail:has(.flight-panel-content) .arrival-summary-main .schedule-indicator{display:block;justify-self:end;min-width:0;max-width:100%;margin:2px 0 0;padding:0;border:0;background:transparent;font-size:11px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:right}
.flight-route-card{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:18px 10px;margin:0 0 15px;padding:17px 15px;border:0;border-radius:19px;background:var(--flight-card);overflow:hidden}
.flight-route-airports{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:6px;min-width:0}
.route-endpoint{position:relative;z-index:1;gap:4px;max-width:100%;min-width:0;grid-row:1}
.route-origin{grid-column:1;max-width:100%}
.route-destination{grid-column:2;justify-self:stretch;max-width:100%;text-align:right}
.route-endpoint b,.route-endpoint .route-airport-link b{font-size:30px;letter-spacing:-.65px;line-height:1.05;font-weight:740}
.route-endpoint .route-airport-link{gap:0;min-height:34px}
.route-airport-chevron{display:none}
.route-endpoint span{font-size:13px;line-height:1.25;color:var(--flight-muted)}
.route-endpoint .route-origin-estimate{font-size:11px}
.route-endpoint .route-airport-link:hover b{text-decoration:underline;text-underline-offset:4px}
.flight-route-card>.route-time{position:relative;z-index:1;grid-row:2;min-width:0;margin:0;color:#c4cbcf;font-size:12px;font-weight:650;line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.flight-route-card>.route-time-departure{grid-column:1}
.flight-route-card>.route-time-arrival{grid-column:2;text-align:right}
.flight-route-card>.route-time-arrival.flight-status-tone-on-time{color:#83d4a8}
.flight-route-card>.route-time-arrival.flight-status-tone-minor-delay{color:#f0b96f}
.flight-route-card>.route-time-arrival.flight-status-tone-major-delay{color:#ee9292}
.flight-route-card.route-single-endpoint{grid-template-columns:1fr;gap:14px}
.route-single-endpoint .route-endpoint,.route-single-endpoint>.route-time{grid-column:1;justify-self:start;text-align:left;max-width:100%}
.route-single-endpoint .flight-route-airports{grid-template-columns:1fr}
.route-single-endpoint .route-airport-link{justify-self:start}
.flight-detail:has(.flight-panel-content) .flight-progress{margin:16px 0 18px}
.flight-detail:has(.flight-panel-content) .flight-progress .progress-track{height:6px;background:#c6d2da1c}
.flight-detail:has(.flight-panel-content) .progress-captions{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:7px 12px;margin-top:8px;font-size:12px;line-height:1.35}
.flight-detail:has(.flight-panel-content) .progress-captions span{white-space:normal}
.flight-progress .progress-caption-departure{display:flex;flex-direction:column;gap:2px}
.flight-progress .progress-caption-departure small{font-size:inherit;font-weight:400;color:var(--flight-muted)}
.flight-progress .progress-caption-departure small:before{content:none}
.flight-progress .progress-caption b{color:#d6dde0;font-weight:650}
.flight-progress .progress-caption-arrival small{font-size:12px;color:var(--flight-muted)}
.flight-detail:has(.flight-panel-content) .telemetry-grid{gap:0;margin:0 0 18px;padding:0 15px;border-radius:19px;background:var(--flight-card)}
.telemetry-card{min-height:78px;padding:16px 0 15px}
.telemetry-card:nth-child(odd){border-right:0;padding-right:12px}
.telemetry-card:nth-child(even){padding-left:12px}
.telemetry-card:nth-child(-n+2){border-bottom:1px solid var(--flight-line)}
.telemetry-card-label{margin-bottom:8px;font-size:14px;color:var(--flight-muted)}
.telemetry-card-reading strong{font-size:21px;font-weight:720;line-height:1.2}
.telemetry-estimate{font-size:8px}
.flight-detail:has(.flight-panel-content) .detail-actions{grid-template-columns:1fr 1fr;gap:8px;margin:0 0 18px}
.flight-detail:has(.flight-panel-content) .detail-action{min-height:44px;font-size:13px;border-radius:12px}
.flight-detail:has(.flight-panel-content) .filed-route-action{grid-column:1/-1}
.flight-detail:has(.flight-panel-content) .flight-accordion>summary{min-height:48px;font-size:13px}
.light-mode .flight-detail:has(.flight-panel-content){--flight-card:#ffffffd9;--flight-muted:#586971;--flight-line:#1a303019;background:rgba(231,239,241,.95);border-color:#fff9}
.light-mode .flight-detail:has(.flight-panel-content) .detail-panel-kicker{color:#65777f}
.light-mode .flight-detail:has(.flight-panel-content) .arrival-summary{background:var(--flight-card)}
.light-mode .flight-detail:has(.flight-panel-content) .flight-route-card{background:var(--flight-card)}
.light-mode .flight-detail:has(.flight-panel-content) .route-time,.light-mode .flight-detail:has(.flight-panel-content) .progress-caption b,.light-mode .flight-detail:has(.flight-panel-content) .progress-caption small{color:#52636c}
.light-mode .flight-identity-copy .aircraft-description b,.light-mode .route-endpoint .route-airport-link b{color:#1c292e}
.light-mode .aircraft-photo-credit{color:#536975}
@media(min-width:821px){
 .flight-detail:has(.flight-panel-content){top:12px;right:12px;bottom:12px;width:clamp(380px,34vw,460px)}
 body:has(#flightDetail:not(.hidden) .flight-panel-content) .map-search-wrap{right:calc(clamp(380px,34vw,460px) + 32px)}
}
@media(min-width:700px) and (max-width:820px){
 .flight-detail:has(.flight-panel-content){left:auto;right:10px;top:70px;bottom:10px;width:min(440px,62vw);height:auto;max-height:none}
}
@media(max-width:699px){
 .flight-detail.sheet-expanded:has(.flight-panel-content){height:min(88dvh,calc(100dvh - 64px));max-height:min(88dvh,calc(100dvh - 64px));border-radius:24px}
 .flight-detail.sheet-expanded:has(.flight-panel-content) .detail-panel-header{flex:0 0 57px;min-height:57px;padding:9px 16px 0}
 .flight-detail.sheet-expanded:has(.flight-panel-content) .detail-panel-kicker{display:none}
 .flight-detail.sheet-expanded:has(.flight-panel-content)>.detail-panel-header #backToTraffic{display:block!important;flex-basis:38px;width:38px;min-width:38px;max-width:38px;height:38px;min-height:38px}
 .flight-detail.sheet-expanded:has(.flight-panel-content)>.detail-panel-header #backToTraffic svg{width:18px;height:18px}
 .flight-detail.sheet-expanded:has(.flight-panel-content) #detailBody{padding:10px 15px 20px}
 .flight-detail.sheet-expanded .flight-identity-row{gap:13px;padding-inline:2px}
 .flight-detail.sheet-expanded .flight-callsign{font-size:23px}
 .flight-detail.sheet-expanded .flight-identity-copy .identity-airline{font-size:15px}
 .flight-detail.sheet-expanded .aircraft-photo{height:150px;margin:10px -5px 6px}
 .flight-detail.sheet-expanded:has(.flight-panel-content) .arrival-summary{min-height:70px;margin:12px 0;padding:12px}
 .flight-detail.sheet-expanded:has(.flight-panel-content) .arrival-summary-main strong{font-size:21px}
 .flight-detail.sheet-expanded .flight-route-card{padding:15px 12px;gap:16px 8px}
 .flight-detail.sheet-expanded .route-endpoint b{font-size:27px}
 .flight-detail.sheet-expanded .route-endpoint span{font-size:12px}
 .flight-detail.sheet-expanded:has(.flight-panel-content) .progress-captions{font-size:11px;gap:8px}
 .flight-detail.sheet-expanded .flight-progress .progress-caption-arrival small{font-size:11px}
 .flight-detail.sheet-expanded:has(.flight-panel-content) .telemetry-grid{padding-inline:13px}
 .flight-detail.sheet-expanded .telemetry-card{min-height:75px;padding-block:15px}
 .flight-detail.sheet-expanded .telemetry-card-reading strong{font-size:20px}
 /* Retain the compact map sheet until the user expands it. */
 .flight-detail:not(.sheet-expanded) .flight-route-card{grid-template-columns:1fr 1fr;gap:4px 8px;padding:8px 10px}
 .flight-detail:not(.sheet-expanded) .route-endpoint{max-width:100%}
 .flight-detail:not(.sheet-expanded) .route-endpoint .route-airport-link{min-height:18px}
 .flight-detail:not(.sheet-expanded) .route-endpoint .route-airport-link b{font-size:18px}
 .flight-detail:not(.sheet-expanded) .flight-route-card>.route-time{font-size:9px}
 .flight-detail:not(.sheet-expanded) .flight-progress .progress-caption-departure small:before{content:''}
 .flight-detail:not(.sheet-expanded) .flight-progress .progress-caption-departure{display:flex}
 .flight-detail:not(.sheet-expanded) .flight-progress .progress-caption-arrival small{font-size:8px}
 .flight-detail:not(.sheet-expanded) .telemetry-card:nth-child(even){padding-left:8px}
}
@media(max-width:359px){
 .flight-detail.sheet-expanded:has(.flight-panel-content) #detailBody{padding-inline:12px}
 .flight-detail.sheet-expanded .flight-callsign{font-size:21px}
 .flight-detail.sheet-expanded:has(.flight-panel-content) .arrival-summary-main strong{font-size:19px}
 .flight-detail.sheet-expanded .route-endpoint b{font-size:24px}
 .flight-detail.sheet-expanded .route-endpoint span,.flight-detail.sheet-expanded .flight-route-card>.route-time{font-size:11px}
 .flight-detail.sheet-expanded .telemetry-card-label{font-size:12px}
 .flight-detail.sheet-expanded .telemetry-card-reading strong{font-size:19px}
}

/* The close control floats above the identity instead of taking a header row. */
@media(min-width:700px){
 .flight-detail:has(.flight-panel-content) .detail-panel-header{position:absolute;top:10px;right:12px;left:auto;z-index:5;width:38px;height:38px;min-height:0;padding:0;pointer-events:none}
 .flight-detail:has(.flight-panel-content) .detail-panel-header #backToTraffic{pointer-events:auto}
 .flight-detail:has(.flight-panel-content) #detailBody{padding-top:22px}
 .flight-detail:has(.flight-panel-content) .flight-identity-row{padding-right:38px}
}
@media(max-width:699px){
 .flight-detail.sheet-expanded:has(.flight-panel-content) .detail-panel-header{position:absolute;top:0;left:0;right:0;z-index:5;height:45px;min-height:0;padding:7px 12px 0;pointer-events:none}
 .flight-detail.sheet-expanded:has(.flight-panel-content) .detail-panel-header button{pointer-events:auto}
 .flight-detail.sheet-expanded:has(.flight-panel-content) #detailBody{padding-top:34px}
 .flight-detail.sheet-expanded .flight-identity-row{padding-right:40px}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) .detail-panel-header{flex:0 0 26px;min-height:26px;padding:0 10px}
 .flight-detail:not(.sheet-expanded):has(.flight-panel-content) #detailBody{padding:0 11px 8px}
}

/* Keep a discreet close mark with an unchanged, easy-to-hit button area. */
#flightDetail:has(.flight-panel-content)>.detail-panel-header #backToTraffic{border:0;border-radius:4px;background:transparent;box-shadow:none;color:#bcc4c8}
#flightDetail:has(.flight-panel-content)>.detail-panel-header #backToTraffic:hover{border:0;background:transparent;color:#fff}
#flightDetail:has(.flight-panel-content)>.detail-panel-header #backToTraffic svg{width:14px;height:14px}
#flightDetail:has(.flight-panel-content)>.detail-panel-header #backToTraffic:focus-visible{outline:2px solid #89c9e2;outline-offset:-3px}
.light-mode #flightDetail:has(.flight-panel-content)>.detail-panel-header #backToTraffic{color:#53616a}
.light-mode #flightDetail:has(.flight-panel-content)>.detail-panel-header #backToTraffic:hover{color:#1c292e}

/* Animated forecast winds share the existing weather controls. */
.map-canvas-stack #windColorCanvas,.map-canvas-stack #windFlowCanvas{z-index:1;pointer-events:none}
.weather-wind-altitude{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;font-size:12px;color:#bdc4c9}
.weather-wind-altitude select{min-width:0;max-width:78%;padding:9px 26px 9px 10px;border:1px solid #ffffff20;border-radius:8px;background:#252a2d;color:#eee;font:inherit;font-size:12px;cursor:pointer;color-scheme:dark}
.weather-wind-altitude select:focus-visible{outline:2px solid #91cee7;outline-offset:2px}
.weather-wind-hint{display:block}.weather-wind-hint,.weather-wind-note{margin-top:7px;color:#9da5aa;font-size:11px;line-height:1.4}
.weather-wind-note[data-status=error]{color:#efb6a6}
.weather-wind-legend{position:fixed;right:18px;bottom:40px;z-index:8;width:min(285px,calc(100vw - 36px));padding:10px 12px;border:1px solid #ffffff20;border-radius:10px;background:#181b1eed;color:#e9eef0;pointer-events:none}
.weather-wind-legend b{display:block;font-size:11px;font-weight:550;margin-bottom:8px}
.wind-speed-ramp{height:7px;border-radius:4px;background:linear-gradient(90deg,#3c489c 0%,#2a90b9 7%,#2aac99 14%,#6bb355 29%,#d8b94e 43%,#e38252 57%,#cb5177 71%,#8b56af 100%)}
.wind-speed-labels{position:relative;height:12px;margin-top:5px;font-size:10px;color:#c6cdd1}.wind-speed-labels span{position:absolute;transform:translateX(-50%);white-space:nowrap}.wind-speed-labels span:first-child{transform:none}.wind-speed-labels span:last-child{transform:translateX(-100%)}
@media(min-width:821px){body:has(#flightDetail:not(.hidden)) .weather-wind-legend{right:calc(clamp(380px,34vw,460px) + 32px)}}
@media(max-width:820px){.weather-wind-legend{right:10px;bottom:calc(60px + env(safe-area-inset-bottom));width:238px}body:has(#flightDetail:not(.hidden)) .weather-wind-legend{display:none}}

/* Airport details use the same surface, hierarchy, and close control as flight details. */
#flightDetail:has(.airport-panel){--airport-card:#1c1f22;--airport-muted:#abb2b6;--airport-line:#ffffff13;--airport-ink:#edf0f1;--airport-accent:#90c7e7;display:flex;flex-direction:column;overflow:hidden;padding:0;border:1px solid #ffffff29;border-radius:26px;background:rgba(42,49,51,.94);box-shadow:0 20px 70px #0008;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
#flightDetail:has(.airport-panel)>.detail-panel-header{position:absolute;top:10px;right:12px;left:auto;z-index:5;display:flex;justify-content:flex-end;width:38px;height:38px;min-height:0;padding:0;background:transparent;backdrop-filter:none;pointer-events:none}
#flightDetail:has(.airport-panel) .detail-panel-kicker{display:none}
#flightDetail:has(.airport-panel)>.detail-panel-header #backToTraffic{pointer-events:auto;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#bcc4c8}
#flightDetail:has(.airport-panel)>.detail-panel-header #backToTraffic:hover{background:transparent;color:#fff}
#flightDetail:has(.airport-panel)>.detail-panel-header #backToTraffic svg{width:14px;height:14px}
#flightDetail:has(.airport-panel)>.detail-panel-header #backToTraffic:focus-visible{outline:2px solid #89c9e2;outline-offset:-3px}
#detailBody:has(.airport-panel){flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 20px 24px;scrollbar-width:thin;scrollbar-color:#41484b transparent}
.airport-panel{display:grid;gap:15px;min-width:0;color:var(--airport-ink)}
.airport-identity{display:flex;align-items:flex-start;gap:16px;min-width:0;padding:2px 38px 4px 4px}
.airport-identity-mark{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;margin-top:6px;color:var(--airport-accent)}
.airport-identity-mark svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.airport-identity-copy{display:grid;gap:4px;min-width:0}
.airport-identity h2{margin:0;color:var(--airport-ink);font-size:26px;font-weight:750;line-height:1.1;letter-spacing:-.5px}
.airport-identity-name{margin:0;color:var(--airport-muted);font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.airport-identity-location{display:flex;align-items:center;gap:6px;margin:2px 0 0;color:var(--airport-ink);font-size:13px;font-weight:630;line-height:1.3;overflow-wrap:anywhere}
.airport-identity-flag{flex:none;font-size:16px;line-height:1}
.airport-identity-code{margin-top:3px;color:var(--airport-muted);font-size:10px;font-weight:700;letter-spacing:.09em}
.airport-local-card{display:flex;align-items:center;gap:12px;min-height:74px;padding:13px 15px;border-radius:19px;background:var(--airport-card)}
.airport-local-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#a4cce610;color:var(--airport-accent)}
.airport-local-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.airport-local-copy{display:grid;gap:3px;min-width:0}.airport-local-copy small{color:var(--airport-muted);font-size:10px;font-weight:700;letter-spacing:.11em}.airport-local-copy strong{color:var(--airport-ink);font-size:23px;font-weight:730;line-height:1.1;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
.airport-local-date{margin-left:auto;color:var(--airport-muted);font-size:12px;font-weight:600;text-align:right;white-space:nowrap}
.airport-panel .airport-tabs{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;width:100%;min-height:0;margin:0;padding:4px;border:0;border-radius:15px;background:var(--airport-card);backdrop-filter:none}
.airport-panel .airport-tabs button{display:flex;align-items:center;justify-content:center;min-height:42px;padding:7px 4px;border:0;border-radius:11px;background:transparent;color:var(--airport-muted);font-size:11px;font-weight:650;line-height:1.15;white-space:normal}
.airport-panel .airport-tabs button.active{background:#ffffff18;color:var(--airport-ink)}.airport-panel .airport-tabs button.active:after{display:none}
.airport-panel .airport-tabs button:focus-visible,.airport-panel .airport-info-tabs button:focus-visible{outline:2px solid var(--airport-accent);outline-offset:-2px}
.airport-panel .airport-info-main{display:grid;gap:14px;min-width:0}
.airport-panel .airport-info-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:0;border:0;border-bottom:1px solid var(--airport-line);border-radius:0;background:transparent}
.airport-panel .airport-info-tabs button{position:relative;min-height:37px;padding:5px 2px 10px;border-radius:0;background:transparent;color:var(--airport-muted);font-size:11px;font-weight:650}
.airport-panel .airport-info-tabs button.active{background:transparent;color:var(--airport-ink);box-shadow:none}
.airport-panel .airport-info-tabs button.active:after{position:absolute;right:12px;bottom:-1px;left:12px;height:2px;border-radius:2px;background:var(--airport-accent);content:""}
.airport-panel .airport-info-overview,.airport-panel .airport-info-page,.airport-panel .airport-runway-panel,.airport-panel .airport-activity{min-width:0;margin:0;padding:16px;border:0;border-radius:19px;background:var(--airport-card)}
.airport-panel .airport-info-overview{gap:14px}.airport-panel .airport-overview-heading small,.airport-panel .airport-info-page header small{color:var(--airport-muted);font-size:10px}.airport-panel .airport-overview-heading strong{color:var(--airport-ink);font-size:24px;font-weight:730}.airport-panel .airport-overview-heading>span{color:var(--airport-muted);border-color:var(--airport-line)}
.airport-panel .airport-overview-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:14px 0 0;border-top:1px solid var(--airport-line)}.airport-panel .airport-overview-counts>div{gap:4px;padding-inline:10px}.airport-panel .airport-overview-counts>div:first-child{padding-left:0}.airport-panel .airport-overview-counts>div+div{border-left:1px solid var(--airport-line)}.airport-panel .airport-overview-counts b{color:var(--airport-ink);font-size:22px;font-weight:720}.airport-panel .airport-overview-counts span,.airport-panel .airport-info-overview>p{color:var(--airport-muted);font-size:11px}
.airport-metrics-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 15px;border-radius:19px;background:var(--airport-card)}.airport-metric{display:grid;align-content:center;gap:7px;min-width:0;min-height:76px;padding:14px 0}.airport-metric:nth-child(odd){padding-right:11px}.airport-metric:nth-child(even){padding-left:11px}.airport-metric:nth-child(-n+2){border-bottom:1px solid var(--airport-line)}.airport-metric small{color:var(--airport-muted);font-size:13px}.airport-metric strong{overflow-wrap:anywhere;color:var(--airport-ink);font-size:20px;font-weight:720;line-height:1.2}
.airport-panel .airport-info-page>header h3,.airport-panel .airport-runway-panel h3,.airport-panel .airport-section-heading h3{color:var(--airport-ink)}
.airport-panel .airport-info-page>header>span,.airport-panel .airport-section-heading>span{color:var(--airport-muted)}
.airport-panel .airport-runway-panel .runway-assignment{border-color:var(--airport-line)}
.airport-panel .airport-activity{padding-bottom:3px}.airport-panel .airport-activity>.airport-section-heading{margin-bottom:6px}.airport-panel .airport-flight-row{padding-inline:4px;border-bottom-color:var(--airport-line)}.airport-panel .airport-flight-row:last-of-type{border-bottom:0}
.airport-panel .airport-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0 4px}.airport-panel .airport-weather-card{min-height:75px;padding:12px 8px;border:0;border-radius:0;background:transparent}.airport-panel .airport-weather-card:nth-child(odd){border-right:1px solid var(--airport-line)}.airport-panel .airport-weather-card:nth-child(-n+4){border-bottom:1px solid var(--airport-line)}.airport-panel .airport-weather-card small{color:var(--airport-muted);font-size:11px}.airport-panel .airport-weather-card b{font-size:15px}
.light-mode #flightDetail:has(.airport-panel){--airport-card:#ffffffd9;--airport-muted:#586971;--airport-line:#1a303019;--airport-ink:#1c292e;--airport-accent:#4b8fac;background:rgba(231,239,241,.95);border-color:#fff9}
.light-mode #flightDetail:has(.airport-panel)>.detail-panel-header #backToTraffic{color:#53616a}.light-mode #flightDetail:has(.airport-panel)>.detail-panel-header #backToTraffic:hover{color:#1c292e}
.light-mode .airport-panel .airport-tabs button.active{background:#20364012}.light-mode .airport-panel .airport-info-tabs button.active{background:transparent}
.light-mode .airport-panel .airport-info-overview,.light-mode .airport-panel .airport-info-page,.light-mode .airport-panel .airport-runway-panel,.light-mode .airport-panel .airport-activity,.light-mode .airport-metrics-card{background:var(--airport-card)}
@media(min-width:821px){#flightDetail:has(.airport-panel){top:12px;right:12px;bottom:auto;width:clamp(380px,34vw,460px);height:auto;max-height:calc(100dvh - 24px)}}
@media(min-width:700px) and (max-width:820px){#flightDetail:has(.airport-panel){left:auto;right:10px;top:70px;bottom:auto;width:min(440px,62vw);height:auto;max-height:calc(100dvh - 80px)}}
@media(max-width:699px){
 #flightDetail:has(.airport-panel){left:7px;right:7px;top:auto;bottom:calc(5px + env(safe-area-inset-bottom));width:auto;height:auto;min-height:0;max-height:min(40dvh,350px);border-radius:18px}
 #flightDetail.sheet-expanded:has(.airport-panel){height:min(84dvh,calc(100dvh - 66px));max-height:min(84dvh,calc(100dvh - 66px));border-radius:24px}
 #flightDetail:has(.airport-panel)>.detail-panel-header{top:0;right:0;left:0;width:auto;height:42px;padding:5px 10px 0;pointer-events:none}
 #flightDetail:has(.airport-panel)>.detail-panel-header button{pointer-events:auto}
 #detailBody:has(.airport-panel){padding:33px 13px 15px}
 #flightDetail:not(.sheet-expanded):has(.airport-panel) #detailBody{flex:0 1 auto;overflow:hidden}
 #flightDetail:not(.sheet-expanded):has(.airport-panel) .airport-info-main,#flightDetail:not(.sheet-expanded):has(.airport-panel) .airport-activity{display:none!important}
 .airport-panel{gap:10px}.airport-identity{gap:10px;padding:0 35px 0 0}.airport-identity-mark{flex-basis:36px;width:36px;height:36px;margin-top:3px}.airport-identity-mark svg{width:34px;height:34px}.airport-identity-copy{gap:2px}.airport-identity h2{font-size:22px}.airport-identity-name{font-size:13px}.airport-identity-location{margin:0;font-size:11px}.airport-identity-code{margin-top:1px;font-size:9px}
 .airport-local-card{min-height:64px;padding:9px 11px;border-radius:15px}.airport-local-icon{flex-basis:32px;width:32px;height:32px;border-radius:10px}.airport-local-icon svg{width:19px;height:19px}.airport-local-copy small{font-size:9px}.airport-local-copy strong{font-size:18px}.airport-local-date{font-size:10px}
 .airport-panel .airport-tabs{border-radius:13px}.airport-panel .airport-tabs button{min-height:39px;padding:6px 2px;font-size:10px}
 .airport-panel .airport-info-overview,.airport-panel .airport-info-page,.airport-panel .airport-runway-panel,.airport-panel .airport-activity{padding:13px;border-radius:16px}
 .airport-panel .airport-overview-counts b{font-size:19px}.airport-metric{min-height:68px}.airport-metric strong{font-size:17px}
}
@media(max-width:359px){.airport-identity h2{font-size:20px}.airport-identity-name{font-size:12px}.airport-panel .airport-tabs button{font-size:9px}.airport-local-date{font-size:9px}}
@media(max-width:699px) and (max-height:500px){#flightDetail:not(.sheet-expanded):has(.airport-panel){max-height:min(55dvh,270px)}}

/* Every dismiss control uses the flight panel's compact X and clear hit area. */
.app-close:not(.mobile-search-close){display:grid;place-items:center;flex:0 0 38px;width:38px;min-width:38px;height:38px;min-height:38px;margin:0;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#bcc4c8;font-size:0;line-height:1}
.app-close svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2.4;pointer-events:none}
.app-close:hover{background:transparent;color:#fff}
.app-close:focus-visible,.weather-menu .app-close:focus-visible,.weather-sources-dialog .app-close:focus-visible{outline:2px solid #89c9e2;outline-offset:-3px}
.weather-sources-head .app-close{margin-top:-7px}
.weather-sources-dialog .weather-source-item:last-child{padding-bottom:0}
.billing-panel-card>header .close-button.app-close{width:38px;min-width:38px;height:38px;min-height:38px}
body.mobile-search-open .mobile-search-close.app-close{display:grid;place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;border:0;border-radius:4px;background:transparent;color:#bcc4c8;font-size:0}

@media(min-width:821px){body:has(#flightDetail:not(.hidden) .airport-panel) .map-search-wrap{right:calc(clamp(380px,34vw,460px) + 32px)}}

/* The map's entry controls share the graphite materials of the detail panels. */
.map-brand,
.map-search,
.map-toolbar .server-switch,
.map-tools-pill,
.map-loading{
 border:1px solid #ffffff29;
 background:rgba(42,49,51,.94);
 box-shadow:0 12px 32px #0006;
 backdrop-filter:blur(22px);
 -webkit-backdrop-filter:blur(22px);
}
.map-brand{border-radius:18px}
.map-search{border-radius:18px;color:#edf0f1}
.map-search .search-icon{display:grid;place-items:center;flex:none;width:20px;height:20px;color:#bcc4c8}
.map-search .search-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.map-search input::placeholder{color:#abb2b6}
.map-search:focus-within{border-color:#90c7e7;box-shadow:0 12px 32px #0006,0 0 0 3px #90c7e730}
.map-account-button{background:#2a3133;border-color:#ffffff29;box-shadow:0 12px 32px #0006}
.map-toolbar .server-switch{border-radius:16px}
.map-toolbar .server-choice{color:#c0c8cb;font-weight:600}
.map-toolbar .server-choice:hover{background:#ffffff12;color:#edf0f1}
.map-toolbar .server-choice.active,.map-toolbar .server-choice.active:hover{background:#1c1f22;color:#edf0f1;box-shadow:inset 0 0 0 1px #ffffff12}
.map-search-wrap .search-results,.map-style-menu,.weather-menu{border-color:#ffffff29;border-radius:22px;background:rgba(42,49,51,.97);box-shadow:0 20px 60px #0008;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
.map-loading{border-radius:17px;padding:12px 14px}
.map-loading b{font-size:12px;color:#edf0f1}
.map-loading small{font-size:10px;color:#abb2b6}
.map-loading-spinner{border-top-color:#90c7e7}

.map-tools-pill{position:fixed;z-index:9;left:16px;bottom:16px;display:flex;align-items:center;gap:0;padding:4px;border-radius:17px}
.map-tools-pill .map-style-trigger,.map-tools-pill .weather-trigger,.map-tools-pill .support-trigger{position:relative;inset:auto;z-index:auto;display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;margin:0;padding:0;border:0;border-radius:12px;background:transparent;box-shadow:none;backdrop-filter:none;color:#dce3e6}
.map-tools-pill .map-style-trigger:hover,.map-tools-pill .weather-trigger:hover,.map-tools-pill .support-trigger:hover{background:#ffffff13;color:#fff}
.map-tools-pill .map-style-trigger[aria-expanded=true],.map-tools-pill .weather-trigger[aria-expanded=true]{background:#90c7e720;color:#90c7e7}
.map-tools-pill .map-style-trigger svg,.map-tools-pill .weather-trigger svg{width:20px;height:20px}
.map-tools-pill .map-filter-trigger{position:relative;display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;margin:0;padding:0;border:0;border-radius:12px;background:transparent;box-shadow:none;color:#dce3e6}
.map-tools-pill .map-filter-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.map-tools-pill .map-filter-trigger:hover,.map-tools-pill .map-filter-trigger[aria-expanded=true]{background:#90c7e720;color:#90c7e7}
.map-tools-pill .map-tools-divider{display:block;flex:0 0 1px;width:1px;height:22px;margin:0 3px;background:#ffffff25}
.map-tools-pill .filter-count{position:absolute;top:2px;right:3px;min-width:15px;height:15px;padding:0 4px;display:grid;place-items:center;border-radius:8px;background:#90c7e7;color:#14202a;font:700 9px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.map-tools-pill .filter-count.hidden{display:none!important}
.traffic-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;align-items:start}
.traffic-filter-grid>label{display:flex;flex-direction:column;gap:7px;min-width:0;width:100%;margin:12px 0;color:#d4dadd;font-size:13px}
.traffic-filter-grid>label input{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.filter-popover{position:fixed!important;top:auto!important;left:16px!important;right:auto!important;bottom:66px!important;width:min(378px,calc(100vw - 32px))!important;max-height:calc(100dvh - 92px);overflow:auto;overscroll-behavior:contain;z-index:20!important;padding:16px!important;border:1px solid #ffffff29!important;border-radius:22px!important;background:rgba(42,49,51,.97)!important;box-shadow:0 20px 60px #0008!important;backdrop-filter:blur(28px)!important;-webkit-backdrop-filter:blur(28px)!important;color:#edf0f1!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.filter-popover .style-menu-head{margin-bottom:14px}
.filter-popover .style-menu-head b{font-size:16px;font-weight:650;text-transform:none}
.filter-popover .style-menu-head small{margin-top:3px;color:#abb2b6;font-size:11px}
#filterPopover .style-menu-head>.style-close.app-close{display:grid;place-items:center;flex:0 0 38px;width:38px;min-width:38px;height:38px;min-height:38px;margin:0;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#bcc4c8;font-size:0;line-height:1;appearance:none;-webkit-appearance:none;cursor:pointer}
#filterPopover .style-menu-head>.style-close.app-close svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2.4;pointer-events:none}
#filterPopover .style-menu-head>.style-close.app-close:hover{background:transparent;color:#fff}
#filterPopover .style-menu-head>.style-close.app-close:focus-visible{outline:2px solid #89c9e2;outline-offset:-3px}
.filter-popover>label{display:flex;flex-direction:column;gap:7px;margin:14px 0;color:#d4dadd;font-size:13px;line-height:1.35}
.filter-popover>label span{margin:0;color:#abb2b6;font:12px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.filter-popover input:not([type=range]),.filter-popover select{width:100%;min-width:0;height:42px;padding:0 12px;border:1px solid #ffffff20;border-radius:11px;background:#1c2225;color:#edf0f1;font:13px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.filter-popover input::placeholder{color:#9da5aa}
.filter-popover input:focus,.filter-popover select:focus{border-color:#76b9ff;outline:2px solid #76b9ff55;outline-offset:1px}
.filter-popover input[type=range]{accent-color:#76b9ff}
.filter-popover .popover-foot{margin-top:15px;padding:12px 2px 0;border-top:1px solid #ffffff20;color:#abb2b6;font-size:12px}
.filter-popover .text-button{color:#76b9ff;font-size:13px}
.filter-popover:not(.hidden){display:block!important}
.map-tools-pill #filterButton{display:grid!important;place-items:center}
.map-tools-pill .support-trigger span{display:grid;place-items:center;width:19px;height:19px;border:1.5px solid currentColor;border-radius:50%;font-size:13px;font-weight:750;line-height:1}
.map-tools-pill button:focus-visible{outline:2px solid #90c7e7;outline-offset:-3px}
.support-dialog{width:min(390px,calc(100vw - 32px));max-width:none;margin:auto;padding:22px;border:1px solid #ffffff29;border-radius:22px;background:rgba(42,49,51,.98);box-shadow:0 24px 70px #0009;color:#edf0f1}
.support-dialog::backdrop{background:#05090dbb;backdrop-filter:blur(6px)}
.support-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.support-dialog-kicker{color:#9bcfe3;font-family:inherit;font-size:11px;font-weight:720;letter-spacing:.09em;text-transform:uppercase}
.support-dialog-head h2{margin:6px 0 0;font-size:23px;letter-spacing:-.03em}
.support-dialog>p{margin:13px 0 18px;color:#b6c0c5;font-size:14px;line-height:1.5}
.support-email-link{display:grid;gap:6px;padding:14px;border:1px solid #ffffff1f;border-radius:14px;background:#1c2225;color:#edf0f1;text-decoration:none}
.support-email-link span{color:#aab5ba;font-size:11px}
.support-email-link b{font-size:15px;overflow-wrap:anywhere}
.support-email-link:hover{border-color:#90c7e7;color:#b8d9f7}
.support-dialog .style-close:focus-visible,.support-email-link:focus-visible{outline:2px solid #90c7e7;outline-offset:3px}
.map-style-menu,.weather-menu{left:16px;bottom:76px}

@media(max-width:699px){
 .map-tools-pill{left:10px;bottom:calc(10px + env(safe-area-inset-bottom));padding:3px;border-radius:15px}
 .map-tools-pill .map-style-trigger,.map-tools-pill .weather-trigger,.map-tools-pill .support-trigger{flex-basis:40px;width:40px;height:40px;border-radius:11px}
 .map-tools-pill .map-filter-trigger{flex-basis:40px;width:40px;height:40px;border-radius:11px}
 .map-tools-pill .map-tools-divider{height:20px;margin:0 2px}
 .filter-popover{left:10px!important;bottom:calc(66px + env(safe-area-inset-bottom))!important;width:min(370px,calc(100vw - 20px))!important;max-height:calc(100dvh - 84px - env(safe-area-inset-bottom))}
 .support-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;padding:20px 18px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;border-bottom:0}
 .map-style-menu,.weather-menu{left:10px;bottom:calc(66px + env(safe-area-inset-bottom))}
 .map-toolbar .mobile-server-trigger{border-color:#ffffff29;border-radius:12px;background:rgba(42,49,51,.94);box-shadow:0 12px 32px #0006}
 .map-toolbar .server-switch{background:rgba(42,49,51,.97);border-radius:16px}
 .map-toolbar .server-choice.active,.map-toolbar .server-choice.active:hover{background:#1c1f22;color:#edf0f1}
 body:has(#flightDetail:not(.hidden)) .map-tools-pill{display:none!important}
 body.mobile-search-open .map-tools-pill{pointer-events:none}
}
@media(max-width:480px){
 .traffic-filter-grid{grid-template-columns:minmax(0,1fr);gap:0}
}
.weather-radar-note{display:block;margin-top:8px;color:#aeb8bc;font-size:11px;line-height:1.4;font-variant-numeric:tabular-nums}
.weather-radar-note[data-status="error"]{color:#efb6a6}

/* The public homepage owns the introduction; this is the direct, protected tracker entry. */
.landing-screen{background:#171c1e;overflow:auto}
.auth-home-link{position:absolute;left:max(24px,env(safe-area-inset-left));top:max(25px,env(safe-area-inset-top));font-size:14px;color:#b5c3ca;text-decoration:none}
.auth-home-link:hover{color:#fff}.auth-home-link:focus-visible{outline:2px solid #97cfe8;outline-offset:6px}
.landing-screen .landing-content{gap:32px;width:min(440px,100%)}
.landing-screen .auth-panel{padding:28px;border:1px solid #ffffff12;border-radius:26px;background:#2d3436;box-shadow:0 26px 60px #0003}
.landing-screen .auth-panel h1{font-size:29px;line-height:1.15;letter-spacing:-1px;margin:0 0 14px}
.landing-screen .auth-panel>.login-description{font-size:15px;line-height:1.5;min-height:0;color:#bcc5ca;margin:0 0 25px}
.landing-screen .auth-panel>.login-terms{font-size:12px;line-height:1.6;min-height:0;color:#a8b7bf;margin:17px 0 0}
.landing-screen .auth-primary{background:#97cfe8;box-shadow:none;color:#17272f;border:0;border-radius:100px;min-height:54px;font-size:15px;font-weight:700}
.landing-screen .auth-primary:hover{background:#b4dfef;box-shadow:none;transform:translateY(-1px)}
.landing-screen .google-g{display:inline;font-size:18px;background:none;color:#17272f}
.landing-screen .auth-infinite-flight{margin-top:10px;background:#1b2637;border:1px solid #ffffff24;color:#f7f9fc}
.landing-screen .auth-infinite-flight:hover{background:#243248;border-color:#ffffff3a}
.landing-screen .auth-infinite-flight:disabled{background:#1b2637;color:#f7f9fc}
.landing-screen .infinite-flight-logo{display:block;width:112px;height:56px;object-fit:contain}
.landing-screen .auth-infinite-flight{min-height:70px;padding:7px 18px}
.landing-screen .auth-infinite-flight:disabled .infinite-flight-logo{opacity:.65}
.landing-screen #authMessage.has-message{font-size:14px;line-height:1.5;margin-bottom:20px}
.landing-screen.subscription-required .landing-content{width:min(500px,100%);gap:25px}
.landing-screen.subscription-required .auth-panel{background:#2d3436;border-radius:26px;box-shadow:0 26px 60px #0003;padding:28px}
.landing-screen.subscription-required #startupTitle,.landing-screen.subscription-required .login-description,.landing-screen.subscription-required .login-terms{display:none}
.landing-screen.subscription-required #authMessage{font-size:13px;line-height:1.5}
.landing-screen .paywall-price b{font-size:22px}.landing-screen .paywall-price span{font-size:14px}.landing-screen .paywall-price small{font-size:12px;color:#b9dbe9}
.paywall-cancel-note{color:#a7b5bd;font-size:12px;margin:0;line-height:1.5;text-align:center}
.landing-screen.subscription-required .auth-account{display:flex;flex-wrap:wrap;padding:15px;margin-top:16px;background:#1c2022;border:0;gap:8px}
.landing-screen.subscription-required .auth-account b,.landing-screen.subscription-required .auth-account small{width:100%}.landing-screen.subscription-required .auth-account button{font-size:12px;color:#a6d8ef;margin-right:10px}
@media(max-width:600px){.landing-screen .landing-content{gap:25px}.landing-screen .auth-panel,.landing-screen.subscription-required .auth-panel{padding:25px 20px}.landing-screen .auth-panel h1{font-size:26px}.landing-screen.subscription-required{padding-top:80px;padding-bottom:35px}.auth-home-link{font-size:13px;top:23px;left:20px}}
.landing-screen.subscription-required .landing-content{width:min(430px,100%);gap:15px}
.landing-screen.subscription-required .auth-panel{padding:25px;border-radius:24px}
.landing-screen.subscription-required #authMessage{margin:0 0 2px;font-size:14px;text-align:center}
.landing-screen.subscription-required .subscription-paywall{gap:16px}
.landing-screen.subscription-required .paywall-price{padding-top:15px;border-top:1px solid #ffffff17}
.landing-screen.subscription-required .paywall-price b{font-size:27px;line-height:1.2}
.landing-screen.subscription-required .paywall-price span{font-size:14px}
.landing-screen.subscription-required .paywall-price small{font-size:12px;color:#b9dbe9}
.landing-screen.subscription-required .auth-checkout{min-height:56px;margin:0;border:0;border-radius:100px;background:#97cfe8;color:#14232a;font-size:16px}
.landing-screen.subscription-required .auth-checkout:hover{background:#b2def0}
.landing-screen.subscription-required .paywall-cancel-note{font-size:11px}
.landing-screen.subscription-required .auth-account{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;margin-top:2px;padding:13px 15px}
.landing-screen.subscription-required .auth-account b,.landing-screen.subscription-required .auth-account small{width:auto;grid-column:1}
.landing-screen.subscription-required .auth-account b{font-size:14px}
.landing-screen.subscription-required .auth-account small{font-size:11px}
.landing-screen.subscription-required .auth-account button{grid-column:2;grid-row:1/3;justify-self:end;margin:0;font-size:12px}
@media(max-width:600px){.landing-screen.subscription-required{align-content:start;padding-top:max(96px,env(safe-area-inset-top));padding-bottom:24px}.landing-screen.subscription-required .landing-content{width:100%;gap:14px}.landing-screen.subscription-required .auth-panel{padding:20px;border-radius:21px}.landing-screen.subscription-required .paywall-price b{font-size:24px}.landing-screen.subscription-required .auth-checkout{min-height:53px;font-size:15px}}

/* Keep live flight-phase narration legible as airport and altitude names vary. */
.flight-detail:has(.flight-panel-content) .arrival-summary-main{min-width:0}
.flight-detail:has(.flight-panel-content) .arrival-summary-main strong{max-width:100%;font-size:clamp(17px,4.6vw,23px);line-height:1.18;white-space:normal;overflow-wrap:anywhere;text-wrap:pretty}

/* Phone sheets: one motion owner, with the map remaining at full viewport size. */
@media(max-width:699px){
 #flightDetail{transition:none;overflow:hidden!important;contain:layout style;overscroll-behavior:none;}
 #flightDetail[data-sheet-motion]{will-change:transform;}
 #flightDetail.sheet-closing{pointer-events:none;}
 #flightDetail>.detail-panel-header{touch-action:none;pointer-events:auto!important;cursor:grab;}
 #flightDetail.sheet-dragging>.detail-panel-header{cursor:grabbing;}
 #flightDetail .detail-sheet-handle{top:0;width:64px;height:32px;touch-action:none;}
 #flightDetail .detail-sheet-handle:before{top:12px;transition:background .15s ease;}
 #flightDetail.sheet-dragging .detail-sheet-handle:before{background:#dce8ed;}
 #flightDetail:not(.sheet-expanded):has(.flight-panel-content)>.detail-panel-header{flex-basis:32px;min-height:32px;}
 #flightDetail.sheet-dragging #detailBody{user-select:none;-webkit-user-select:none;}
 #flightDetail:not(.sheet-expanded) #detailBody{touch-action:pan-x;}
}
/* A moving sheet over the live map should not re-render a large backdrop blur every frame. */
@media(max-width:699px){
 #flightDetail[data-sheet-motion]{background-color:rgba(27,31,33,.99)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
 #flightDetail[data-sheet-motion]:has(.airport-panel){background-color:rgba(42,49,51,.99)!important;}
}
@media(max-width:699px) and (prefers-reduced-motion:reduce){
 #flightDetail .detail-sheet-handle:before{transition:none;}
}

/* Detailed timetable: compact on desktop, readable without clipping on phones. */
.timetable-accordion>summary span{white-space:nowrap}
.timetable-accordion>summary .timetable-flow-lockup{display:flex;align-items:center;justify-content:flex-end;flex:0 1 96px;max-width:36%;margin-left:auto}
.timetable-accordion>summary .timetable-flow-logo{display:block;width:92px;max-width:100%;max-height:30px;height:auto;object-fit:contain}
.timetable-content{padding-top:8px}
.airspace-intelligence-brand{display:flex;align-items:center;gap:7px;margin:0 0 12px;color:#aab5bb;font-size:9px;line-height:1.2;letter-spacing:.12em}
.airspace-intelligence-brand img{width:16px;height:16px;object-fit:contain;flex:none}
.airspace-intelligence-brand b{color:#e4e9eb;font-size:10px;font-weight:750;letter-spacing:.1em}
.airspace-intelligence-brand span{font-size:8px;font-weight:700;letter-spacing:.14em}
.airspace-estimate-star{width:11px;height:11px;vertical-align:-1px;margin-right:3px;object-fit:contain}
.light-mode .airspace-intelligence-brand{color:#61717b}
.light-mode .airspace-intelligence-brand b{color:#24343e}
.timetable-section+.timetable-section{margin-top:13px;padding-top:11px;border-top:1px solid #ffffff12}
.timetable-section h4{margin:0 0 7px;color:#9da8ad;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.timetable-grid{display:grid;gap:1px}
.timetable-row{display:grid;grid-template-columns:minmax(120px,1.5fr) repeat(2,minmax(90px,1fr));align-items:center;gap:8px;padding:7px 0;color:#e5e8e9;font-size:11px;font-variant-numeric:tabular-nums}
.timetable-row>b{font-weight:600}
.timetable-row>span{color:#aab3b7}
.timetable-row>span.timetable-actual-late{color:#edaaa9}
.timetable-row>span.timetable-actual-early{color:#9bd8b3}
.timetable-method{display:block;margin-top:2px;color:#818d92;font-size:9px;font-weight:500;line-height:1.25}
.timetable-head{padding:3px 0;color:#858f94;font-size:9px}
.timetable-head>span{color:#8b959a}
.timetable-note{margin:9px 0 0;color:#858f94;font-size:10px;line-height:1.45}
.flight-detail:has(.flight-panel-content) .route-endpoint{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;row-gap:3px;align-items:start}
.flight-detail:has(.flight-panel-content) .route-endpoint>.route-airport-link{grid-column:1;grid-row:1;min-width:0}
.flight-detail:has(.flight-panel-content) .route-endpoint>span:not(.flight-gate-lockup){grid-column:1;grid-row:2;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.flight-detail:has(.flight-panel-content) .route-endpoint .route-airport-link b{white-space:nowrap;overflow-wrap:normal}
.flight-detail:has(.flight-panel-content) .route-endpoint>.pro-gate-chip{grid-column:1;grid-row:3;justify-self:start;width:max-content;max-width:100%;margin-top:5px}
.flight-detail:has(.flight-panel-content) .route-destination>.pro-gate-chip{justify-self:end}
.flight-gate-lockup{grid-column:1;grid-row:3;display:grid;align-content:start;justify-items:start;gap:4px;min-width:0;max-width:100%;text-align:left}
.route-destination .flight-gate-lockup{justify-items:end;text-align:right}
.flight-gate-lockup .flight-stand-badge{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:5px 11px;border:0;border-radius:10px;background:#f4bf27;color:#111;font-size:20px;font-weight:760;line-height:1.05;white-space:nowrap}
.flight-gate-lockup .flight-stand-badge i{font-size:23px;font-style:normal;line-height:1}
.flight-gate-lockup.is-estimated .flight-stand-badge i img{display:block;width:20px;height:20px;object-fit:contain}
.flight-gate-lockup.is-confirmed .flight-stand-badge{background:#f4bf27;color:#111;box-shadow:0 2px 12px #f4bf2740,inset 0 0 0 1px #ffffff30}
.flight-gate-lockup.is-confirmed .flight-stand-badge i{color:#111;text-shadow:none}
.flight-gate-lockup>small{color:#9da6aa;font-size:12px;line-height:1.1;white-space:nowrap}
.flight-gate-lockup.is-estimated .flight-stand-badge{border:1.5px solid transparent;background:linear-gradient(#252d31,#252d31) padding-box,linear-gradient(112deg,#4db7ff,#5b8fff 52%,#90c2ff) border-box;color:#a8d4ff;box-shadow:0 0 14px #5b9cff4d,inset 0 0 0 1px #ffffff12}
.flight-gate-lockup.is-estimated .flight-stand-badge i{color:#78c3ff;text-shadow:0 0 8px #56aaff99}
.flight-gate-lockup.is-estimated>small{color:#aeb8bc}
.flight-gate-lockup.is-placeholder .flight-stand-badge{background:#394247;color:#aab3b7;box-shadow:inset 0 0 0 1px #ffffff12}
.flight-gate-lockup.is-placeholder .flight-stand-badge i{color:#aab3b7}
.flight-gate-lockup.is-placeholder>small{color:#89959a}
.light-mode .flight-gate-lockup>small{color:#67757b}
.light-mode .timetable-section+.timetable-section{border-color:#dce4e7}
.light-mode .timetable-section h4,.light-mode .timetable-row>span,.light-mode .timetable-head>span,.light-mode .timetable-note{color:#67757b}
@media(max-width:699px){
 .timetable-accordion>summary span{max-width:48%;white-space:normal;text-align:right;line-height:1.3}
 .timetable-row:not(.timetable-head){grid-template-columns:1fr 1fr;gap:5px 10px;padding:8px 0}
 .timetable-row:not(.timetable-head)>b{grid-column:1/-1}
 .timetable-row:not(.timetable-head)>span{display:flex;justify-content:space-between;gap:5px;font-size:10px}
 .timetable-row:not(.timetable-head)>span:before{content:attr(data-column);color:#828c91;font-size:9px}
 .timetable-head{display:none}
 .flight-detail:has(.flight-panel-content) .route-endpoint{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:0;row-gap:3px}
 .flight-detail:has(.flight-panel-content) .route-endpoint>.route-airport-link{grid-column:1;grid-row:1;min-width:0}
 .flight-detail:has(.flight-panel-content) .route-endpoint>span:not(.flight-gate-lockup){grid-column:1;grid-row:2;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 .flight-detail:has(.flight-panel-content) .route-destination .route-airport-link,.flight-detail:has(.flight-panel-content) .route-destination>span:not(.flight-gate-lockup){justify-self:end}
 .flight-gate-lockup{grid-column:1;grid-row:3;justify-items:start;text-align:left;min-width:0}
 .route-destination .flight-gate-lockup{justify-items:end;text-align:right}
 .route-endpoint .route-airport-link b{white-space:nowrap;overflow-wrap:normal}
 .flight-gate-lockup{gap:3px}
 .flight-gate-lockup .flight-stand-badge{min-height:32px;padding:4px 6px;border-radius:8px;font-size:15px}
 .flight-gate-lockup .flight-stand-badge i{font-size:17px}
 .flight-gate-lockup.is-estimated .flight-stand-badge i img{width:15px;height:15px}
 .flight-gate-lockup>small{font-size:10px}
}

/* Keep airport endpoints aligned with their gate badges at every panel width. */
.flight-detail:has(.flight-panel-content) .flight-route-airports{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.flight-detail:has(.flight-panel-content) .flight-gate-lockup{margin-top:5px}
.flight-detail:has(.flight-panel-content) .flight-progress .progress-track{position:relative;overflow:hidden;border-radius:99px}
.flight-detail:has(.flight-panel-content) .flight-progress .progress-track>span{display:block;height:100%;min-width:0;border-radius:inherit;transition:width .35s ease}
@media(max-width:699px){
 .flight-detail:has(.flight-panel-content) .flight-route-airports{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px}
 .flight-detail:has(.flight-panel-content) .flight-gate-lockup{margin-top:5px}
 .flight-detail:has(.flight-panel-content) .flight-progress{margin:14px 0 16px}
 .flight-detail:has(.flight-panel-content) .progress-captions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 10px;font-size:11px;line-height:1.35}
}
@media(max-width:380px){
 .flight-detail:has(.flight-panel-content) .flight-route-airports{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3px}
 .flight-detail:has(.flight-panel-content) .progress-captions{font-size:10px}
}
.flight-gate-lockup.is-placeholder .flight-stand-badge{min-height:34px;padding:4px 8px;font-size:17px}
.flight-gate-lockup.is-placeholder .flight-stand-badge i{font-size:20px}
.flight-detail:has(.flight-panel-content) .flight-progress{margin:17px 0 19px}
.flight-detail:has(.flight-panel-content) .flight-progress .progress-track{height:8px;padding:1px;border:1px solid #a7c3d322;border-radius:99px;background:#52616a44;box-shadow:inset 0 1px 2px #0005}
.flight-detail:has(.flight-panel-content) .flight-progress .progress-track>span{height:100%;min-width:0;background:var(--progress-color,#81bddd);box-shadow:none;transition:none}
.flight-detail:has(.flight-panel-content) .flight-progress .progress-track>span:after{content:none!important;display:none!important}
@media(max-width:699px){
.flight-gate-lockup.is-placeholder .flight-stand-badge{min-height:28px;padding:3px 6px;font-size:14px}
 .flight-gate-lockup.is-placeholder .flight-stand-badge i{font-size:16px}
 .flight-detail:has(.flight-panel-content) .flight-progress{margin:16px 0 18px}
 .flight-detail:has(.flight-panel-content) .flight-progress .progress-track{height:8px}
}

/* Keep both gate chips equal in a route card, including the empty arrival chip. */
.flight-detail:has(.flight-panel-content) .flight-gate-lockup{width:min(100%,164px)}
.flight-detail:has(.flight-panel-content) .route-origin .flight-gate-lockup{justify-self:start}
.flight-detail:has(.flight-panel-content) .route-destination .flight-gate-lockup{justify-self:end}
.flight-detail:has(.flight-panel-content) .flight-gate-lockup .flight-stand-badge{box-sizing:border-box;width:100%;justify-content:center}
.flight-detail:has(.flight-panel-content) .flight-gate-lockup.is-placeholder .flight-stand-badge{min-height:40px;padding:5px 11px;font-size:20px}
.flight-detail:has(.flight-panel-content) .flight-gate-lockup.is-placeholder .flight-stand-badge i{font-size:23px}
@media(max-width:699px){
 .flight-detail:has(.flight-panel-content) .flight-gate-lockup.is-placeholder .flight-stand-badge{min-height:32px;padding:4px 6px;font-size:15px}
 .flight-detail:has(.flight-panel-content) .flight-gate-lockup.is-placeholder .flight-stand-badge i{font-size:17px}
}

/* A destination-only route needs one full-width airport track so its city,
   gate, and arrival status share the same right edge. */
.flight-detail:has(.flight-panel-content) .flight-route-card.route-single-endpoint.route-destination-only{grid-template-columns:minmax(0,1fr)}
.flight-detail:has(.flight-panel-content) .flight-route-card.route-destination-only .flight-route-airports{grid-template-columns:minmax(0,1fr)}
.flight-detail:has(.flight-panel-content) .flight-route-card.route-destination-only .route-destination{grid-column:1;width:100%;justify-self:stretch;justify-items:end;text-align:right}
.flight-detail:has(.flight-panel-content) .flight-route-card.route-destination-only .route-destination>.route-airport-link,.flight-detail:has(.flight-panel-content) .flight-route-card.route-destination-only .route-destination>span:not(.flight-gate-lockup),.flight-detail:has(.flight-panel-content) .flight-route-card.route-destination-only .route-destination>.flight-gate-lockup{grid-column:1;justify-self:end;text-align:right}
.flight-detail:has(.flight-panel-content) .flight-route-card.route-destination-only>.route-time-arrival{grid-column:1;width:100%;justify-self:stretch;text-align:right}

.flight-detail:has(.flight-panel-content) .flight-gate-lockup{width:min(100%,132px)}
.flight-detail:has(.flight-panel-content) .flight-gate-lockup .flight-stand-badge{min-height:34px;padding:4px 8px;font-size:16px}
.flight-detail:has(.flight-panel-content) .flight-gate-lockup .flight-stand-badge i{font-size:19px}
.flight-detail:has(.flight-panel-content) .flight-gate-lockup.is-placeholder .flight-stand-badge{min-height:34px;padding:4px 8px;font-size:16px}
.flight-detail:has(.flight-panel-content) .flight-gate-lockup.is-placeholder .flight-stand-badge i{font-size:19px}
@media(max-width:699px){
 .flight-detail:has(.flight-panel-content) .flight-gate-lockup{width:min(100%,108px)}
 .flight-detail:has(.flight-panel-content) .flight-gate-lockup .flight-stand-badge,.flight-detail:has(.flight-panel-content) .flight-gate-lockup.is-placeholder .flight-stand-badge{min-height:29px;padding:3px 6px;font-size:13px}
 .flight-detail:has(.flight-panel-content) .flight-gate-lockup .flight-stand-badge i,.flight-detail:has(.flight-panel-content) .flight-gate-lockup.is-placeholder .flight-stand-badge i{font-size:16px}
}
@media(max-width:380px){
 .flight-detail:has(.flight-panel-content) .flight-gate-lockup{width:min(100%,96px)}
}

/* Airspace uses its own wordmark only; keep it legible at every map size. */
.brand,.landing-brand,.map-brand{gap:0}
.brand>span,.brand>img,.landing-brand>span,.landing-brand>img,.map-brand>span,.map-brand>img{display:none!important}
.landing-brand>b{font-size:clamp(29px,5vw,38px);letter-spacing:-1.7px}
.map-brand{width:auto!important;max-width:calc(100vw - 190px)!important;height:42px;box-sizing:border-box;padding:6px 13px}
.map-brand>b{display:block!important;font-size:16px!important;letter-spacing:-.45px}
@media(max-width:699px){
 .map-brand{width:auto!important;max-width:120px!important;height:40px;justify-content:center;padding:4px 10px}
 .map-brand>b{display:block!important;font-size:13px!important}
}
@media(max-width:360px){.map-brand{max-width:108px!important;padding-inline:8px}}

/* AutoPilot+ pause indicator. The blue plus matches Infinite Flight's branding. */
.flight-aplus-chip,.auto-pilot-plus-badge{display:inline-flex;align-items:center;gap:2px;color:#dceaf1;font-weight:700;letter-spacing:.01em}
.flight-aplus-chip{width:max-content;margin:5px 0 1px;padding:3px 7px;border:1px solid #4bbff044;border-radius:999px;background:#37b8f014;color:#abc6d4;font-size:9px}
.flight-aplus-chip span,.auto-pilot-plus-badge span{color:#38bdf8}
.flight-card-aplus{border-color:#39bdf02c}
.flight-card-aplus .phase-dot{background:#38bdf8}
.auto-pilot-plus-note{margin:2px 0 15px;padding:12px 13px;border:1px solid #38bdf833;border-radius:13px;background:linear-gradient(115deg,#38bdf814,#18232a);color:#d7e3e8}
.auto-pilot-plus-note-head{display:flex;align-items:center;gap:9px;min-width:0}
.auto-pilot-plus-badge{padding:5px 8px;border:1px solid #38bdf84a;border-radius:7px;background:#38bdf819;font-size:12px;white-space:nowrap}
.auto-pilot-plus-note-head small{min-width:0;margin-left:auto;color:#91b3c2;font-size:8px;font-weight:700;letter-spacing:.08em;text-align:right}
.auto-pilot-plus-info{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border:1px solid #9db6c333;border-radius:50%;background:#ffffff0a;color:#d5e8f0;font:700 13px Georgia,serif}
.auto-pilot-plus-info:hover{border-color:#38bdf8;color:#38bdf8}
.auto-pilot-plus-note p{margin:9px 0 0;color:#c0cbd0;font-size:11px;line-height:1.5}
.auto-pilot-plus-dialog .support-dialog-kicker{color:#62c9f5}
.auto-pilot-plus-dialog .auto-pilot-plus-caveat{margin-top:-4px;padding:11px 12px;border-left:2px solid #38bdf8;border-radius:0 9px 9px 0;background:#38bdf810;color:#aebdc4;font-size:12px}
.light-mode .flight-aplus-chip{color:#24566b;background:#38bdf812;border-color:#1288b344}
.light-mode .auto-pilot-plus-note{background:linear-gradient(115deg,#38bdf812,#edf5f8);color:#173444}
.light-mode .auto-pilot-plus-note p{color:#405965}
.light-mode .auto-pilot-plus-note-head small{color:#527184}
.light-mode .auto-pilot-plus-info{color:#24566b}
@media(max-width:699px){.auto-pilot-plus-note{margin:0 0 14px;padding:10px 11px}.auto-pilot-plus-note p{font-size:10px}.auto-pilot-plus-note-head{gap:6px}.auto-pilot-plus-note-head small{font-size:7px}}

/* Keep the map dominant on portrait tablets while retaining a readable detail drawer. */
@media(min-width:700px) and (max-width:820px){
 .flight-detail:has(.flight-panel-content),#flightDetail:has(.airport-panel){
  left:auto;right:10px;top:calc(70px + env(safe-area-inset-top));bottom:calc(10px + env(safe-area-inset-bottom));
  width:min(350px,42vw);max-width:calc(100vw - 20px);height:auto;max-height:none;border-radius:18px
 }
 #flightDetail:has(.airport-panel){height:auto;max-height:calc(100dvh - 90px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
}

/* Airspace Free and Pro */
.plan-dialog[open]{inset:50% auto auto 50%;transform:translate(-50%,-50%);max-height:calc(100dvh - 24px);overflow:auto}
.pro-feature-preview{position:relative;min-width:0}.pro-feature-preview.is-locked{min-height:160px;overflow:hidden;border-radius:14px;background:#1b1f23}.pro-feature-content{transition:filter .18s ease,opacity .18s ease}.pro-feature-preview.is-locked .pro-feature-content{filter:blur(5px);opacity:.48;pointer-events:none;user-select:none}.pro-feature-lock{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:18px;text-align:center;background:linear-gradient(135deg,rgba(18,24,31,.25),rgba(18,24,31,.7))}.pro-feature-lock strong{font-size:15px}.pro-feature-lock-badge{color:#85c2ff;font-size:10px;font-weight:800;letter-spacing:.1em}.pro-feature-lock button,.plan-button{border:1px solid #5caeff;border-radius:11px;padding:10px 16px;background:linear-gradient(135deg,#2889ed,#57b4ff);color:#071b2e;font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.pro-feature-lock button:hover,.plan-button:hover{filter:brightness(1.08)}
.plan-dialog{width:min(700px,calc(100vw - 28px));max-width:700px;padding:24px;background:#20262c;color:#f5f7f9;border:1px solid #ffffff20;border-radius:22px;box-shadow:0 28px 90px #0008}.plan-dialog::backdrop{background:rgba(9,12,16,.84)}.plan-dialog .support-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.plan-dialog .support-dialog-head h2{margin:.25rem 0 0;font-size:26px}.plan-intro{margin:7px 0 0;color:#b5bec6;font-size:13px}.plan-comparison{display:grid;grid-template-columns:1fr 1fr;gap:14px}.plan-card{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #343b41;border-radius:16px;background:#171c20}.plan-card-pro{border-color:#4b96cd;background:#253645}.plan-kicker{font-size:11px;font-weight:800;letter-spacing:.1em;color:#b8c3cc}.plan-kicker i{color:#67b8ff;font-style:normal}.plan-card h3{margin:14px 0 4px;font-size:32px}.plan-card h3 small{font-size:14px;font-weight:500;color:#aeb8c0}.plan-card p{margin:0;color:#b5bec6;font-size:14px}.plan-card ul{display:grid;gap:10px;margin:18px 0;padding-left:18px;color:#e0e5e9;font-size:13px;line-height:1.45}.plan-card li::marker{color:#81c4ff}.plan-badge{margin-top:auto;color:#aeb8c0;font-size:12px;font-weight:700;padding-top:8px}.plan-promo{display:block;margin-top:14px;padding:10px 11px;border:1px solid #80c2ff40;border-radius:10px;background:#182a35;color:#d7eafa;font-size:12px;line-height:1.45}.plan-promo b{color:#91ceff;white-space:nowrap;letter-spacing:.035em}.plan-card-pro .plan-badge{margin-top:0;color:#80c2ff}.plan-trial-terms,.plan-message{color:#b7c0c8;font-size:12px;line-height:1.5}.plan-trial-terms{margin:16px 0 0;padding:12px 14px;border-radius:10px;background:#171c20}.plan-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.plan-button{min-height:42px;background:#76b9ff;color:#102438;border:1px solid #76b9ff;border-radius:11px;padding:10px 16px;font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.plan-button:hover{filter:brightness(1.08)}.plan-button-checkout{background:#30373e;color:#f4f6f8;border-color:#4b535a}.plan-button-portal{background:#171c20;color:#e4e9ed;border-color:#4b535a}.plan-message{min-height:18px;margin:10px 0 0;color:#9bcfff}.plan-dialog .style-close{flex:none}@media(max-width:560px){.plan-dialog{padding:17px}.plan-comparison{grid-template-columns:1fr}.plan-actions{display:grid}.plan-button{width:100%}}

/* Aircraft label styles and settings tabs */
.map-style-menu{max-height:calc(100dvh - 92px);overflow:auto;overscroll-behavior:contain}
.settings-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:-2px 0 14px;padding:4px;border:1px solid #ffffff16;border-radius:11px;background:#1c2225}
.settings-tab{min-height:34px;border:0;border-radius:8px;background:transparent;color:#aeb9be;font:600 12px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.settings-tab.active{background:#343d41;color:#edf3f5}
.settings-tab:focus-visible,.aircraft-label-style:focus-visible,.label-size-control button:focus-visible,.label-preset-save button:focus-visible{outline:2px solid #90c7e7;outline-offset:2px}
.settings-tab-panel[hidden]{display:none!important}
.label-style-heading,.label-display-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:10px 0 8px}
.label-style-heading b,.label-display-heading b{font-size:12px;font-weight:700;color:#e9eef0}
.label-style-heading small{color:#9eaab0;font-size:10px}
.labels-master-toggle{margin:0 0 13px}
.aircraft-label-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.aircraft-label-style{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:130px;padding:7px;border:1px solid #ffffff18;border-radius:11px;background:#252c2f;color:#e9eef0;text-align:left;cursor:pointer}
.aircraft-label-style:hover{background:#30383b}
.aircraft-label-style.active{border-color:#76b9ff;background:#26343b}
.label-style-sample{position:relative;display:block;width:100%;height:auto;aspect-ratio:1.6;min-width:0;margin-bottom:7px;border:1px solid #ffffff20;border-radius:7px;background:#253038;overflow:hidden;isolation:isolate}
.label-style-map{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:contain;object-position:center}
.label-style-preview-bubble{position:absolute;z-index:1;left:41%;top:30%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;width:max-content;max-width:58%;min-height:29px;padding:4px 6px;border:1px solid #ffffff24;border-radius:7px;background:#151a1edc;color:#f5f7f8;box-shadow:0 2px 7px #0005;white-space:nowrap;overflow:hidden}
.label-style-preview-bubble i{display:grid;place-items:center;flex:none;width:15px;height:15px;border-radius:4px;background:#2058d4;color:#fff;font-size:7px;font-style:normal;font-weight:800}
.label-style-preview-bubble b{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:7px;font-weight:650;line-height:1.15}
.standard-sample .label-style-preview-bubble{flex-direction:row;align-items:center;gap:5px}
.aircraft-sample .label-style-preview-bubble{left:41%;top:26%}
.route-sample .label-style-preview-bubble,.data-sample .label-style-preview-bubble,.custom-sample .label-style-preview-bubble{left:41%;top:32%}
.aircraft-sample i{background:#384148;color:#9bd5ef}.route-sample i{background:#2d3336;color:#9bd5ef}.data-sample i{background:#2d3336;color:#9bd5ef}.custom-sample i{background:#273c48;color:#90c7e7}
.aircraft-label-style>strong{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:700}
.aircraft-label-style>small{margin-top:2px;padding-right:30px;color:#aab4b9;font-size:9px;line-height:1.25}
.aircraft-label-style>em{position:absolute;right:7px;bottom:8px;color:#90c7e7;font-size:8px;font-style:normal;font-weight:800;letter-spacing:.4px}
.aircraft-label-style>em.pro,.label-pro-badge{padding:2px 5px;border:1px solid #6aaee0;border-radius:5px;color:#90c7e7;font-size:8px;font-style:normal;font-weight:800;letter-spacing:.4px}
.label-display-heading{margin-top:14px;padding-top:12px;border-top:1px solid #ffffff18}
.label-display-options{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.label-display-options .map-setting-toggle{min-height:36px;margin:0;padding:7px;border-radius:8px;gap:5px}
.label-display-options .map-setting-copy b{font-size:9px;font-weight:600}
.label-display-options .map-setting-switch{width:31px;height:18px;padding:2px}
.label-display-options .map-setting-switch i{width:14px;height:14px}
.label-display-options .map-setting-toggle[aria-pressed=true] .map-setting-switch i{transform:translateX(13px)}
.label-size-control{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;color:#b8c1c5;font-size:11px}
.label-size-control>div{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:3px;border-radius:8px;background:#1c2225}
.label-size-control button{min-height:26px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:#abb5ba;font:600 10px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.label-size-control button.active{background:#394347;color:#eff4f5}
.custom-label-settings{margin-top:12px;padding:10px;border:1px solid #ffffff18;border-radius:11px;background:#252c2f}
.custom-label-settings[hidden]{display:none!important}
.custom-label-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;margin-bottom:9px}
.custom-label-heading b{display:block;font-size:11px}.custom-label-heading small{display:block;margin-top:3px;color:#aab6bb;font-size:9px}
.custom-label-fields{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.custom-label-fields label{display:flex;align-items:center;gap:7px;min-width:0;min-height:29px;padding:4px 7px;border:1px solid #ffffff12;border-radius:7px;background:#ffffff06;color:#d6dfe2;font-size:9px;line-height:1.2;cursor:pointer}
.custom-label-fields label:hover{background:#ffffff0c}
.custom-label-fields input{appearance:none;display:grid;place-content:center;width:14px;height:14px;flex:none;margin:0;border:1px solid #737f84;border-radius:4px;background:#1c2225;cursor:pointer}
.custom-label-fields input:checked{border-color:#76b9ff;background:#76b9ff}
.custom-label-fields input:checked:after{content:"";width:6px;height:3px;border:solid #16252d;border-width:0 0 2px 2px;transform:translateY(-1px) rotate(-45deg)}
.custom-label-fields input:focus-visible{outline:2px solid #90c7e7;outline-offset:2px}
.label-preset-save{display:flex;gap:6px;margin-top:9px}
.label-preset-save input{width:0;min-width:0;flex:1;height:32px;padding:0 9px;border:1px solid #ffffff18;border-radius:7px;background:#1c2225;color:#edf1f3;font:10px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.label-preset-save input:focus{outline:2px solid #76b9ff;outline-offset:1px}
.label-preset-save button{padding:0 10px;border:1px solid #ffffff18;border-radius:7px;background:#343d41;color:#edf3f5;font-size:9px;font-weight:650;cursor:pointer}
.label-preset-save button:hover{background:#3c484d}
.saved-label-presets{display:grid;gap:4px;margin-top:7px}
.saved-label-preset{display:flex;gap:4px}
.saved-label-preset button{min-height:29px;border:1px solid #ffffff18;border-radius:7px;background:#ffffff06;color:#dce4e7;font-size:9px;cursor:pointer}
.saved-label-preset button:first-child{flex:1;text-align:left;padding:0 7px}
.saved-label-preset .delete-label-preset{width:26px;color:#aab4b9;font-size:14px}
.empty-label-presets,.label-preset-note{display:block;color:#9ba8ae;font-size:9px}
.label-preset-note{margin-top:6px}
.aircraft-label{max-width:220px;gap:5px}
.aircraft-label-value{overflow:hidden;text-overflow:ellipsis}
.aircraft-label-wordmark{overflow:hidden;text-overflow:ellipsis;font-weight:700}
.aircraft-label-separator{color:#9ca9af;font-size:9px}
.aircraft-label.no-background{padding:2px 4px;border-color:transparent;border-radius:3px;background:transparent;box-shadow:none;text-shadow:0 1px 3px #000,0 0 5px #000}
.aircraft-label.label-small{gap:3px;min-height:18px;padding:2px 5px 2px 3px;font-size:8px}
.aircraft-label.label-large{gap:6px;min-height:27px;padding:4px 9px 4px 5px;font-size:12px}
.aircraft-label.label-small .aircraft-label-logo{width:13px;height:13px}
.aircraft-label.label-small .aircraft-label-logo img{width:11px;height:11px}
.aircraft-label.label-large .aircraft-label-logo{width:19px;height:19px}
.aircraft-label.label-large .aircraft-label-logo img{width:17px;height:17px}
@media(max-width:600px){.map-style-menu{max-height:calc(100dvh - 84px - env(safe-area-inset-bottom))}.aircraft-label-style{min-height:130px}.label-style-sample{aspect-ratio:1.6}.label-display-options .map-setting-copy b{font-size:8px}}
.custom-label-settings{position:relative}
.custom-label-lock{position:absolute;z-index:2;inset:42px 8px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px;border:1px solid #ffffff18;border-radius:9px;background:rgba(37,44,47,.96);text-align:center}
.custom-label-lock.hidden{display:none!important}
.custom-label-lock>span{color:#90c7e7;font-size:8px;font-weight:800;letter-spacing:.6px}
.custom-label-lock>strong{color:#edf2f4;font-size:12px}
.custom-label-lock>button{min-height:29px;padding:0 11px;border:1px solid #76b9ff;border-radius:7px;background:#76b9ff;color:#182730;font-size:10px;font-weight:700;cursor:pointer}
.custom-label-settings.is-locked .custom-label-fields,.custom-label-settings.is-locked .label-preset-save,.custom-label-settings.is-locked .saved-label-presets,.custom-label-settings.is-locked .label-preset-note{filter:blur(2px);pointer-events:none;user-select:none}

/* Keep a destination-only route aligned to the right, like the destination column in a full route. */
.flight-route-card.route-destination-only .route-destination{grid-column:1;justify-self:stretch;text-align:right}
.flight-route-card.route-destination-only .route-destination>.route-airport-link,.flight-route-card.route-destination-only .route-destination>span:not(.flight-gate-lockup){justify-self:end;text-align:right}
.flight-route-card.route-destination-only .route-destination .flight-gate-lockup{justify-self:end;justify-items:end;text-align:right}
.flight-route-card.route-destination-only>.route-time-arrival{grid-column:1;justify-self:end;text-align:right}

/* Keep the origin side aligned when a flight has no arrival airport. */
.flight-route-card.route-origin-only{grid-template-columns:minmax(0,1fr)}
.flight-route-card.route-origin-only .flight-route-airports{grid-template-columns:minmax(0,1fr)}
.flight-route-card.route-origin-only .route-origin{grid-column:1;width:100%;justify-self:stretch;justify-items:start;text-align:left}
.flight-route-card.route-origin-only .route-origin>.route-airport-link,.flight-route-card.route-origin-only .route-origin>span:not(.flight-gate-lockup),.flight-route-card.route-origin-only .route-origin>.flight-gate-lockup{grid-column:1;justify-self:start;text-align:left}
.flight-route-card.route-origin-only>.route-time-departure{grid-column:1;width:100%;justify-self:stretch;text-align:left}

/* Keep the tablet FLOW control clear of the fixed-width search panel. */
@media(min-width:700px) and (max-width:820px){.flow-entry-trigger{z-index:11;right:calc(min(365px,calc(100vw - 220px)) + 24px);left:auto;width:42px;min-width:42px;justify-content:center;padding:0}.flow-entry-trigger b{display:none}}
@media(max-width:820px){.flow-unavailable-list summary{min-height:40px;display:flex;align-items:center;font-size:12px}.flow-unavailable-list button{min-height:40px;padding:9px 10px;font-size:11px}.flow-unavailable-list button span{font-size:10px}.flow-unavailable-list .flow-more-arrivals{min-height:40px;font-size:11px}}
/* Keep the shared search out of the FLOW title. Reveal it from the FLOW search control. */
body.airspace-flow-open:not(.flow-airport-search-open) .map-search-wrap{display:none!important}
body.airspace-flow-open.flow-airport-search-open:not(.mobile-search-open) .map-search-wrap{display:block!important;z-index:30;top:72px;right:28px;left:auto;width:min(365px,calc(100vw - 56px));max-width:none}
body.airspace-flow-open.flow-airport-search-open:not(.mobile-search-open) .map-search-wrap .search-results{top:54px}
.flow-airport-search{display:inline-flex;min-width:74px;height:38px;align-items:center;justify-content:center;gap:6px;padding:0 9px;border:1px solid #ffffff22;border-radius:10px;background:#ffffff09;color:#e4ecee;font-size:10px;font-weight:700;cursor:pointer}
.flow-airport-search:hover,.flow-airport-search[aria-expanded=true]{border-color:#93f99c66;background:#93f99c12;color:#edffef}
.flow-airport-search svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:820px){.flow-header{grid-template-columns:82px minmax(0,1fr) 40px 42px}.flow-header-status{display:none}.flow-airport-search{width:40px;min-width:40px;height:40px;padding:0}.flow-airport-search span{display:none}}
@media(max-width:480px){.flow-header{grid-template-columns:58px minmax(0,1fr) 36px 40px}.flow-logo{width:56px}.flow-airport-search{width:36px;min-width:36px;height:38px}.flow-close{width:40px;height:40px}}

/* Give Airspace FLOW room to breathe and keep its header controls on one row. */
.flow-shell{top:16px;right:16px;bottom:16px;width:min(660px,calc(100vw - 32px));border-radius:24px}
.flow-header{grid-template-columns:108px minmax(0,1fr) auto auto 40px;gap:11px;padding:20px;border-bottom-color:#ffffff12}
.flow-logo{width:104px;max-height:42px}
.flow-airport-heading h1{margin:0 0 5px;font-size:24px;line-height:1.1}
.flow-airport-heading p{font-size:12px;line-height:1.4}
.flow-header-status{max-width:145px;font-size:11px;line-height:1.4}
.flow-close{width:40px;height:40px}
.flow-body{gap:16px;padding:18px 20px 22px}
.flow-tabs{top:-18px;gap:5px;margin:-18px -20px 0;padding:10px 20px 12px}
.flow-tabs button{min-height:44px;border-radius:11px;font-size:13px}
.flow-tabs button.active,.flow-tabs button[aria-selected="true"]{border-color:var(--flow-accent-line);background:var(--flow-accent-soft);color:#dfffe2}
.flow-summary-note{min-height:42px;gap:10px;padding:8px 12px;border:1px solid var(--flow-accent-line);border-radius:12px;background:var(--flow-accent-soft);font-size:11px}
.flow-live-symbol{background:var(--flow-accent);box-shadow:0 0 0 4px rgba(147,249,156,.13)}
.flow-summary-note button{padding:7px 9px;border-radius:9px;font-size:10px}
.flow-metrics{gap:12px}
.flow-metrics article{min-height:92px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.035)}
.flow-metrics article>span{font-size:12px}
.flow-metrics article>b{font-size:29px}
.flow-metrics article>small{font-size:10px;line-height:1.4}
.flow-timeline-card,.flow-flight-list,.flow-runway-section,.flow-follow-card,.flow-locked-card{gap:14px;padding:17px;border-radius:17px;background:rgba(255,255,255,.025)}
.flow-timeline-card h2,.flow-flight-list h2,.flow-runway-section h2,.flow-follow-card h2,.flow-locked-card h2{font-size:18px}
.flow-section-kicker{font-size:9px;color:#aebbb0;letter-spacing:.12em}
.flow-estimate-note{max-width:180px;font-size:10px;line-height:1.45}
.flow-chart{min-height:132px;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:8px 4px 0}
.flow-bin{grid-template-rows:18px 82px auto;gap:6px}
.flow-bin-count{font-size:12px}
.flow-bin-track{width:min(34px,78%);height:82px;border-radius:8px}
.flow-bin-track i{background:var(--flow-accent)}
.flow-bin.is-selected .flow-bin-track{border-color:var(--flow-accent);background:var(--flow-accent-soft)}
.flow-bin.is-selected .flow-bin-track i{background:#b5ffb9}
.flow-bin>b{font-size:10px}
.flow-bin>b small{font-size:9px}
.flow-window-summary{font-size:11px}
.flow-arrival-card{gap:8px;padding:11px;border-radius:13px}
.flow-arrival-main{grid-template-columns:32px minmax(0,1fr) auto;gap:11px}
.flow-plane-mark{width:32px;height:32px;border:1px solid var(--flow-accent-line);background:var(--flow-accent-soft);color:var(--flow-accent);font-size:17px}
.flow-arrival-copy{gap:4px}
.flow-arrival-copy>b{font-size:13px}
.flow-arrival-copy small{font-size:10px}
.flow-arrival-estimate{gap:4px}
.flow-arrival-estimate>b{font-size:12px}
.flow-arrival-estimate small{font-size:9px}
.flow-arrival-actions{min-height:30px}
.flow-estimate-explanation,.flow-estimate-explanation summary{font-size:10px}
.flow-follow-button,.flow-open-flight{padding:7px 10px;border-radius:9px;font-size:10px}
.flow-unavailable-list{padding-top:11px;font-size:11px}
.flow-unavailable-list>div{gap:7px}
.flow-unavailable-list button{padding:9px;border-radius:10px;font-size:10px}
.flow-empty-inline,.flow-unavailable-state,.flow-runway-empty{gap:7px;padding:18px;border-radius:12px}
.flow-empty-inline{font-size:12px;line-height:1.5}
.flow-unavailable-state b,.flow-runway-empty b{font-size:13px}
.flow-unavailable-state span,.flow-runway-empty span{font-size:11px;line-height:1.5}
.flow-runway-row{min-height:62px;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;padding:12px;border-radius:12px}
.flow-runway-row b{font-size:12px}
.flow-runway-row small{font-size:10px}
.flow-runway-configuration{gap:6px;padding-top:13px}
.flow-runway-configuration>b{font-size:12px}
.flow-runway-configuration>span,.flow-runway-configuration>small{font-size:10px}
.flow-disclaimer{font-size:10px;line-height:1.5}
@media(max-width:820px){
 .flow-shell{inset:calc(env(safe-area-inset-top,0px) + 8px) 8px calc(env(safe-area-inset-bottom,0px) + 8px);width:auto;border-radius:20px}
 .flow-header{grid-template-columns:82px minmax(0,1fr) 40px 42px;gap:9px;padding:14px}
 .flow-logo{width:78px;max-height:38px}
 .flow-airport-heading h1{font-size:20px}
 .flow-airport-heading p{font-size:11px}
 .flow-header-status{display:none}
 .flow-airport-search{width:40px;min-width:40px;height:40px;padding:0}
 .flow-airport-search span{display:none}
 .flow-body{gap:14px;padding:14px}
 .flow-tabs{top:-14px;margin:-14px -14px 0;padding:8px 14px 10px}
 .flow-tabs button{min-height:44px;font-size:12px}
 .flow-metrics{gap:9px}
 .flow-metrics article{min-height:82px;padding:12px}
 .flow-metrics article>b{font-size:25px}
 .flow-timeline-card,.flow-flight-list,.flow-runway-section,.flow-follow-card,.flow-locked-card{gap:12px;padding:14px}
 .flow-chart{min-height:118px;gap:5px}
 .flow-bin{grid-template-rows:17px 72px auto;gap:5px}
 .flow-bin-track{height:72px}
}
@media(max-width:480px){
 .flow-shell{inset:calc(env(safe-area-inset-top,0px) + 6px) 6px calc(env(safe-area-inset-bottom,0px) + 6px);border-radius:18px}
 .flow-header{grid-template-columns:58px minmax(0,1fr) 36px 40px;gap:7px;padding:11px}
 .flow-logo{width:56px}
 .flow-airport-search{width:36px;min-width:36px;height:38px}
 .flow-close{width:40px;height:40px}
 .flow-airport-heading h1{font-size:17px}
 .flow-airport-heading p{font-size:9px}
 .flow-body{gap:12px;padding:12px}
 .flow-tabs{top:-12px;margin:-12px -12px 0;padding:7px 12px 9px}
 .flow-tabs button{min-height:42px;padding-inline:4px;font-size:11px}
 .flow-metrics{gap:8px}
 .flow-metrics article{min-height:74px;padding:10px;border-radius:13px}
 .flow-metrics article>span{font-size:10px}
 .flow-metrics article>b{font-size:22px}
 .flow-metrics article>small{font-size:8px}
 .flow-timeline-card,.flow-flight-list,.flow-runway-section,.flow-follow-card,.flow-locked-card{padding:12px;border-radius:14px}
 .flow-timeline-card h2,.flow-flight-list h2,.flow-runway-section h2,.flow-follow-card h2,.flow-locked-card h2{font-size:16px}
 .flow-estimate-note{max-width:122px;font-size:8px}
 .flow-chart{min-height:100px;gap:3px}
 .flow-bin{grid-template-rows:14px 58px auto;gap:4px}
 .flow-bin-track{width:min(26px,75%);height:58px}
 .flow-bin-count{font-size:10px}
 .flow-bin>b{font-size:8px}
 .flow-arrival-main{grid-template-columns:26px minmax(0,1fr) auto;gap:8px}
 .flow-plane-mark{width:26px;height:26px;font-size:14px}
 .flow-arrival-copy>b{font-size:11px}
 .flow-arrival-copy small{font-size:8px}
 .flow-arrival-estimate>b{font-size:10px}
 .flow-arrival-estimate small{font-size:7px}
}

/* Clear promo code entry for the Airspace Pro BOGO offer. */
.promo-entry{display:grid;grid-template-columns:minmax(130px,1fr) minmax(180px,2fr);align-items:center;gap:10px;margin-top:12px;color:#e2e8ec;font-size:13px;font-weight:700}
.promo-entry input{width:100%;min-width:0;min-height:42px;padding:9px 12px;border:1px solid #4b535a;border-radius:10px;background:#171c20;color:#f5f7f9;font:500 14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.promo-entry input::placeholder{color:#929da5}
.promo-entry input:focus{outline:2px solid #76b9ff;outline-offset:2px}
.promo-entry-note{margin:6px 0 0;color:#b7c0c8;font-size:12px;line-height:1.5}
.promo-entry-note b{color:#91ceff;letter-spacing:.035em}
.plan-message.is-error{color:#ffaaa7}
.subscription-paywall .paywall-price small{max-width:52%;white-space:normal;text-align:right;line-height:1.4}
@media(max-width:560px){.promo-entry{grid-template-columns:1fr;gap:6px}}

/* FLOW overview: pair the near-term queue with supported runway activity. */
.flow-overview-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.flow-metrics .flow-metric-runways>b{overflow-wrap:anywhere;font-size:clamp(17px,1.65vw,23px)!important;letter-spacing:-.035em}
.flow-overview-runways{display:grid;align-content:start;gap:10px;min-width:0;padding:18px;border:1px solid #ffffff17;border-radius:16px;background:rgba(255,255,255,.025)}
.flow-overview-runways>header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.flow-overview-runways h2{margin:4px 0 0;color:#eff3f4;font-size:18px;font-weight:720;letter-spacing:-.025em;line-height:1.2}
.flow-overview-runways>header button{min-height:32px;padding:6px 9px;border:1px solid var(--flow-accent-line);border-radius:9px;background:var(--flow-accent-soft);color:#e3ffe5;font-size:10px;font-weight:700;cursor:pointer}
.flow-overview-runway-row{display:grid;grid-template-columns:minmax(70px,.8fr) minmax(0,1.4fr) 28px;align-items:center;gap:9px;width:100%;min-width:0;min-height:48px;padding:8px 0;border:0;border-bottom:1px solid #ffffff12;background:transparent;color:#e8edef;text-align:left;cursor:pointer}
.flow-overview-runway-row:hover{color:#fff}
.flow-overview-runway-name{display:grid;gap:3px;min-width:0}
.flow-overview-runway-name>b{font-size:13px;font-weight:750}
.flow-overview-runway-name>small{color:#9ba7ab;font-size:9px}
.flow-overview-runway-track{height:8px;overflow:hidden;border-radius:99px;background:#ffffff12}
.flow-overview-runway-track>i{display:block;height:100%;border-radius:inherit;background:var(--flow-accent)}
.flow-overview-runway-count{color:#bfcacc;font-size:11px;text-align:right;font-variant-numeric:tabular-nums}
.flow-overview-runway-note{color:#98a5aa;font-size:9px;line-height:1.45}
.flow-status-footer{display:grid;gap:5px;margin:0 2px 2px;padding:11px 14px;border:1px solid #ffffff16;border-radius:13px;background:#ffffff05}
.flow-status-footer .flow-summary-note{min-height:0;gap:9px;padding:0;border:0;border-radius:0;background:transparent;font-size:11px;line-height:1.45}
.flow-status-footer .flow-summary-note button{flex:0 0 auto;padding:6px 9px;border:1px solid #ffffff18;border-radius:8px;background:#ffffff08;color:#c4d0d2;font-size:9px}
.flow-status-footer .flow-source-freshness{margin:0 0 0 19px;color:#9da9ad;font-size:10px;line-height:1.45}
.flow-status-footer .flow-source-freshness.is-provisional{color:#d9c28f}
.light-mode .flow-overview-runways{border-color:#283a4318;background:#203b4807}
.light-mode .flow-overview-runways h2{color:#24353d}
.light-mode .flow-overview-runway-row{border-color:#283a4318;color:#30444c}
.light-mode .flow-overview-runway-note,.light-mode .flow-overview-runway-name>small,.light-mode .flow-status-footer .flow-source-freshness{color:#60717a}
.light-mode .flow-status-footer{border-color:#283a4318;background:#203b4807}
@container (min-width:700px){.flow-overview-pair{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.flow-overview-runways{gap:8px;padding:12px;border-radius:14px}.flow-overview-runways h2{font-size:16px}.flow-overview-runway-row{grid-template-columns:minmax(56px,.7fr) minmax(0,1.2fr) 22px;gap:7px;min-height:42px}.flow-overview-runway-name>b{font-size:11px}.flow-overview-runway-name>small{font-size:8px}.flow-overview-runway-note{font-size:8px}.flow-status-footer{padding:9px 10px}.flow-status-footer .flow-summary-note{font-size:9px}.flow-status-footer .flow-summary-note button{font-size:8px}}

/* Airspace FLOW dashboard and live map split view. */
body.airspace-flow-open .map-brand,body.airspace-flow-open .map-toolbar{display:none!important}
.flow-shell{top:16px;left:16px;right:auto;bottom:16px;width:min(61vw,1240px);container-type:inline-size;border-color:#ffffff18;border-radius:22px;background:rgba(20,26,28,.97);box-shadow:0 16px 48px rgba(0,0,0,.28)}
.flow-header{grid-template-columns:132px minmax(0,1fr) auto auto 44px;gap:14px;padding:20px 24px 17px}
.flow-logo{width:128px;max-height:44px}
.flow-airport-heading h1{font-size:clamp(24px,2vw,34px);letter-spacing:-.04em}
.flow-airport-heading p{font-size:13px}
.flow-header-status{max-width:145px;font-size:11px}
.flow-airport-search{min-width:94px;height:42px;padding:0 12px}
.flow-close{width:42px;height:42px}
.flow-body{gap:18px;padding:18px 24px 26px}
.flow-tabs{top:-18px;margin:-18px -24px 0;padding:11px 24px 13px}
.flow-tabs button{min-height:46px;border-radius:10px;font-size:14px}
.flow-summary-note{min-height:38px;font-size:12px}
.flow-source-freshness{font-size:11px;line-height:1.45}
.flow-timeline-card,.flow-flight-list,.flow-runway-section,.flow-follow-card,.flow-locked-card,.flow-overview-arrivals{gap:14px;padding:18px;border-radius:16px}
.flow-timeline-card h2,.flow-flight-list h2,.flow-runway-section h2,.flow-follow-card h2,.flow-locked-card h2,.flow-overview-arrivals h2{font-size:18px}
.flow-estimate-note{max-width:220px;font-size:10px}
.flow-chart{grid-template-columns:repeat(6,minmax(0,1fr));min-height:150px;gap:10px;padding-top:10px}
.flow-bin{grid-template-rows:20px 96px auto;gap:7px}
.flow-bin-track{width:min(36px,78%);height:96px;border-radius:8px}
.flow-bin-count{font-size:13px}
.flow-bin>b{font-size:11px}
.flow-bin>b small{font-size:9px}
.flow-arrival-card{padding:12px;border-radius:12px}
.flow-arrival-main{grid-template-columns:36px minmax(0,1fr) auto;gap:12px}
.flow-plane-mark{width:36px;height:36px;font-size:18px}
.flow-arrival-copy>b{font-size:14px}
.flow-arrival-copy small{font-size:11px}
.flow-arrival-estimate>b{font-size:13px}
.flow-arrival-estimate small{font-size:10px}
.flow-runway-row{min-height:66px;padding:12px}
.flow-runway-row b{font-size:13px}
.flow-runway-row small{font-size:11px}
.map-tools-pill{left:auto;right:20px;bottom:20px}
@container (min-width:900px){
 .flow-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 .flow-metrics article{min-height:118px;grid-template-columns:1fr;grid-template-rows:auto auto 1fr;align-content:start;gap:8px;padding:16px;border-radius:16px}
 .flow-metrics article>span{font-size:13px}
 .flow-metrics article>b{grid-column:1;grid-row:2;align-self:auto;font-size:31px}
 .flow-metrics article>small{grid-column:1;align-self:end;font-size:10px}
 .flow-chart{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:900px){
 .flow-shell{left:10px;right:10px;width:auto}
 .flow-header{grid-template-columns:110px minmax(0,1fr) auto 42px;gap:10px;padding:16px}
 .flow-logo{width:106px}
 .flow-header-status{display:none}
 .flow-body{gap:14px;padding:14px 16px 20px}
 .flow-tabs{top:-14px;margin:-14px -16px 0;padding:9px 16px 11px}
 .flow-metrics{gap:9px}
 .flow-metrics article{min-height:88px;padding:12px}
 .flow-metrics article>b{font-size:25px}
 .flow-chart{min-height:124px}
 .flow-bin{grid-template-rows:17px 78px auto}
 .flow-bin-track{height:78px}
 body.airspace-flow-open .map-tools-pill{display:none!important}
}
body.airspace-flow-open.flow-airport-search-open:not(.mobile-search-open) .map-search-wrap{display:block!important;z-index:30;top:50%;left:calc(16px + min(30.5vw,620px));right:auto;width:min(560px,calc(61vw - 56px));max-width:none;transform:translate(-50%,-50%)}
body.airspace-flow-open.flow-airport-search-open:not(.mobile-search-open) .map-search-wrap .search-results{top:54px;right:0;left:0;width:auto}
@media(min-width:700px) and (max-width:900px){
 body.airspace-flow-open.flow-airport-search-open:not(.mobile-search-open) .map-search-wrap{left:50%;width:calc(100vw - 48px)}
}
@media(max-width:820px){
 .flow-dashboard{inset:0;z-index:20}
 .flow-shell{inset:calc(env(safe-area-inset-top,0px) + 8px) 8px calc(env(safe-area-inset-bottom,0px) + 8px);width:auto;border-radius:20px}
 .flow-header{grid-template-columns:82px minmax(0,1fr) 40px 42px;gap:9px;padding:14px}
 .flow-logo{width:78px;max-height:38px}
 .flow-airport-heading h1{font-size:20px}
 .flow-airport-heading p{font-size:11px}
 .flow-header-status{display:none}
 .flow-airport-search{width:40px;min-width:40px;height:40px;padding:0}
 .flow-airport-search span{display:none}
 .flow-body{gap:14px;padding:14px}
 .flow-tabs{top:-14px;margin:-14px -14px 0;padding:8px 14px 10px}
 .flow-tabs button{min-height:44px;font-size:12px}
 .flow-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .flow-metrics article{min-height:82px;padding:12px}
 .flow-metrics article>b{font-size:25px}
 .flow-chart{min-height:118px}
 .flow-bin{grid-template-rows:17px 72px auto}
 .flow-bin-track{height:72px}
 .map-tools-pill{left:10px;right:auto;bottom:calc(10px + env(safe-area-inset-bottom))}
}
@media(max-width:480px){
 .flow-shell{inset:calc(env(safe-area-inset-top,0px) + 6px) 6px calc(env(safe-area-inset-bottom,0px) + 6px);border-radius:18px}
 .flow-header{grid-template-columns:58px minmax(0,1fr) 36px 40px;gap:7px;padding:11px}
 .flow-logo{width:56px}
 .flow-airport-search{width:36px;min-width:36px;height:38px}
 .flow-close{width:40px;height:40px}
 .flow-airport-heading h1{font-size:17px}
 .flow-airport-heading p{font-size:9px}
 .flow-body{gap:12px;padding:12px}
 .flow-tabs{top:-12px;margin:-12px -12px 0;padding:7px 12px 9px}
 .flow-tabs button{min-height:42px;padding-inline:4px;font-size:11px}
 .flow-metrics{gap:8px}
 .flow-metrics article{min-height:74px;padding:10px;border-radius:13px}
 .flow-metrics article>span{font-size:10px}
 .flow-metrics article>b{font-size:22px}
 .flow-metrics article>small{font-size:8px}
 .flow-timeline-card,.flow-flight-list,.flow-runway-section,.flow-follow-card,.flow-locked-card,.flow-overview-arrivals{padding:12px;border-radius:14px}
 .flow-timeline-card h2,.flow-flight-list h2,.flow-runway-section h2,.flow-follow-card h2,.flow-locked-card h2,.flow-overview-arrivals h2{font-size:16px}
 .flow-estimate-note{max-width:122px;font-size:8px}
 .flow-chart{min-height:100px;gap:3px}
 .flow-bin{grid-template-rows:14px 58px auto;gap:4px}
 .flow-bin-track{width:min(26px,75%);height:58px}
 .flow-bin-count{font-size:10px}
 .flow-bin>b{font-size:8px}
 .flow-arrival-main{grid-template-columns:26px minmax(0,1fr) auto;gap:8px}
 .flow-plane-mark{width:26px;height:26px;font-size:14px}
 .flow-arrival-copy>b{font-size:11px}
 .flow-arrival-copy small{font-size:8px}
 .flow-arrival-estimate>b{font-size:10px}
 .flow-arrival-estimate small{font-size:7px}
}

/* Airport Flow dashboard: one airport view with clear traffic and context groups. */
.flow-dashboard-panel{display:grid;gap:18px;min-width:0}
.flow-dashboard-panel .flow-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.flow-dashboard-panel .flow-metrics article{position:relative;min-height:92px;grid-template-columns:1fr auto;align-content:center;gap:5px 10px;padding:13px 15px;border-color:#93f99c20;border-radius:15px;background:linear-gradient(145deg,#93f99c0b,#ffffff03 68%)}
.flow-dashboard-panel .flow-metrics article>span{color:#b5c3bd;font-size:11px;font-weight:700;letter-spacing:.01em}
.flow-dashboard-panel .flow-metrics article>b{grid-column:2;grid-row:1 / span 2;color:#edfff0;font-size:27px;letter-spacing:-.055em}
.flow-dashboard-panel .flow-metrics article>small{grid-column:1;color:#8f9f99;font-size:9px;line-height:1.35}
.flow-dashboard-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}
.flow-dashboard-columns .flow-flight-list{min-width:0;min-height:100%;gap:11px;padding:15px;border-color:#ffffff14;border-radius:16px;background:linear-gradient(155deg,#202829,#1b2022 72%)}
.flow-dashboard-columns .flow-flight-list>header{align-items:flex-start;gap:8px}
.flow-dashboard-columns .flow-flight-list h2{font-size:16px}
.flow-dashboard-columns .flow-flight-list .flow-estimate-note{max-width:125px}
.flow-dashboard-columns .flow-arrival-card{padding:10px;border-radius:12px;background:#ffffff04}
.flow-dashboard-columns .flow-arrival-card+.flow-arrival-card{margin-top:7px}
.flow-dashboard-columns .flow-arrival-actions{gap:6px}
.flow-dashboard-columns .flow-departure-list .flow-arrival-estimate{max-width:150px}
.flow-dashboard-columns .flow-departure-list .flow-arrival-estimate>b{max-width:100%;white-space:normal}
.flow-route-candidates{display:grid;gap:8px;margin-top:6px;padding-top:10px;border-top:1px solid #ffffff12}
.flow-route-candidates>header{display:grid;gap:3px;margin-bottom:2px}
.flow-route-candidates>header>b{color:#d8e8dc;font-size:10px}
.flow-route-candidates>header>small{color:#93a39a;font-size:8px;line-height:1.4}
.flow-route-candidates .flow-arrival-card{border-color:#93f99c20;background:#93f99c05}
.flow-dashboard-panel .flow-airport-context{gap:12px;padding:15px;border-color:#ffffff15;border-radius:16px;background:#ffffff03}
.flow-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.flow-context-grid article{display:grid;align-content:start;gap:6px;min-width:0;min-height:90px;padding:12px;border:1px solid #ffffff12;border-radius:12px;background:#ffffff04}
.flow-context-grid article>small{color:#93f99c;font-size:9px;font-weight:750;letter-spacing:.11em;text-transform:uppercase}
.flow-context-grid article>b{overflow-wrap:anywhere;color:#e7eeea;font-size:12px;font-weight:680;line-height:1.45}
.flow-context-grid article>span{color:#96a39d;font-size:9px;line-height:1.4}
.flow-dashboard-panel .flow-overview-runway-row{min-height:44px;padding:8px 10px}
.flow-dashboard-panel .flow-overview-runway-note{font-size:9px}
.flow-dashboard-panel .flow-status-footer{display:grid;gap:5px;margin-top:-3px;padding:10px 12px;border:1px solid #ffffff10;border-radius:12px;background:#ffffff03}
.flow-dashboard-panel .flow-summary-note{min-height:24px;font-size:10px}
.flow-dashboard-panel .flow-summary-note button{border-color:#93f99c24;background:#93f99c08;color:#c9ebcc}
.flow-dashboard-panel .flow-source-freshness{margin:0;color:#a5b0aa;font-size:9px;line-height:1.45}
.flow-dashboard-panel .flow-source-freshness.is-provisional{color:#d7c991}
.flow-dashboard-panel .flow-empty-inline{border-color:#ffffff16;background:#ffffff02;color:#aab6b0;line-height:1.45}
.light-mode .flow-dashboard-panel .flow-metrics article{border-color:#3041391b;background:linear-gradient(145deg,#63a9790b,#203b4807)}
.light-mode .flow-dashboard-panel .flow-metrics article>span,.light-mode .flow-dashboard-panel .flow-metrics article>b,.light-mode .flow-context-grid article>b{color:#273c31}
.light-mode .flow-dashboard-columns .flow-flight-list,.light-mode .flow-dashboard-panel .flow-airport-context{border-color:#283a4318;background:#203b4807}
.light-mode .flow-context-grid article{border-color:#283a4318;background:#ffffff80}
.light-mode .flow-context-grid article>small{color:#39784a}
.light-mode .flow-route-candidates{border-color:#283a4318}.light-mode .flow-route-candidates>header>b{color:#304c37}.light-mode .flow-route-candidates>header>small{color:#60717a}
.light-mode .flow-dashboard-panel .flow-summary-note button{color:#315e3a}
@container (min-width:1100px){.flow-dashboard-panel .flow-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.flow-dashboard-panel .flow-metrics article{min-height:108px;grid-template-columns:1fr;grid-template-rows:auto auto 1fr;align-content:start;gap:7px;padding:13px}.flow-dashboard-panel .flow-metrics article>span{font-size:11px}.flow-dashboard-panel .flow-metrics article>b{grid-column:1;grid-row:2;align-self:auto;font-size:28px}.flow-dashboard-panel .flow-metrics article>small{grid-column:1;align-self:end;font-size:9px}}
@container (max-width:980px){.flow-dashboard-columns{grid-template-columns:minmax(0,1fr)}.flow-dashboard-columns .flow-flight-list{min-height:0}}
@media(max-width:820px){.flow-dashboard-panel{gap:13px}.flow-dashboard-panel .flow-metrics{gap:7px}.flow-dashboard-panel .flow-metrics article{min-height:78px;padding:10px}.flow-dashboard-panel .flow-metrics article>b{font-size:23px}.flow-dashboard-columns{grid-template-columns:minmax(0,1fr);gap:10px}.flow-dashboard-columns .flow-flight-list{padding:12px}.flow-context-grid{gap:7px}.flow-context-grid article{min-height:80px;padding:10px}.flow-dashboard-panel .flow-summary-note{align-items:flex-start;font-size:9px}.flow-dashboard-panel .flow-summary-note button{padding:4px 6px;font-size:8px}}
@media(max-width:420px){.flow-dashboard-panel .flow-metrics article{min-height:72px;padding:9px}.flow-dashboard-panel .flow-metrics article>span{font-size:9px}.flow-dashboard-panel .flow-metrics article>b{font-size:20px}.flow-dashboard-panel .flow-metrics article>small{font-size:7px}.flow-context-grid{grid-template-columns:minmax(0,1fr)}}
.flow-mobile-map-toggle{display:none}
@media(max-width:820px){body.airspace-flow-open.flow-map-focus #flowDashboard{display:none!important}body.airspace-flow-open .flow-mobile-map-toggle:not(.hidden){position:fixed;z-index:30;top:calc(env(safe-area-inset-top,0px) + 10px);right:12px;display:flex;min-width:112px;min-height:44px;align-items:center;justify-content:center;padding:0 14px;border:1px solid #93f99c60;border-radius:14px;background:rgba(25,34,31,.94);box-shadow:0 8px 24px #0006;color:#eaffec;font-size:13px;font-weight:750;backdrop-filter:blur(14px);cursor:pointer}body.airspace-flow-open.flow-map-focus .flow-mobile-map-toggle{border-color:#93f99c;background:#23352a;color:#b7ffc0}}

/* Mobile legibility, accessible Flow header targets, and light-surface card contrast. */
@media(max-width:820px){
 .flow-airport-search{box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px}
}
@media(max-width:480px){
 .flow-header{grid-template-columns:58px minmax(0,1fr) 44px 44px}
 .flow-airport-search,.flow-close{box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px}
 .flow-dashboard-panel small{font-size:10px}
 .flow-dashboard-panel .flow-metrics article>small,
 .flow-dashboard-panel .flow-section-kicker,
 .flow-dashboard-panel .flow-estimate-note,
 .flow-dashboard-panel .flow-bin>b,
 .flow-dashboard-panel .flow-bin>b small,
 .flow-dashboard-panel .flow-confidence,
 .flow-dashboard-panel .flow-arrival-copy small,
 .flow-dashboard-panel .flow-arrival-estimate small,
 .flow-dashboard-panel .flow-source-freshness,
 .flow-dashboard-panel .flow-context-grid article>span,
 .flow-dashboard-panel .flow-overview-runway-note,
 .flow-dashboard-panel .flow-summary-note,
 .flow-dashboard-panel .flow-follow-context small,
 .flow-dashboard-panel .flow-estimate-explanation summary{font-size:10px}
}
.light-mode .flow-dashboard-panel .flow-arrival-card{border-color:#263a421a;background:#ffffffd9;color:#24343b}
.light-mode .flow-dashboard-panel .flow-arrival-card.is-highlighted{border-color:#397b4c80;background:#e7f5e9}
.light-mode .flow-dashboard-panel .flow-arrival-copy>b,.light-mode .flow-dashboard-panel .flow-arrival-estimate>b{color:#25373e}
.light-mode .flow-dashboard-panel .flow-arrival-copy small,.light-mode .flow-dashboard-panel .flow-arrival-estimate small,.light-mode .flow-dashboard-panel .flow-confidence,.light-mode .flow-dashboard-panel .flow-estimate-note,.light-mode .flow-dashboard-panel .flow-source-freshness,.light-mode .flow-dashboard-panel .flow-overview-runway-note,.light-mode .flow-dashboard-panel .flow-context-grid article>span{color:#586a70}
.light-mode .flow-dashboard-panel .flow-route-candidates .flow-arrival-card{border-color:#4e8d5b35;background:#f0f8f0}

/* Airport Flow overview: dashboard hierarchy based on live airport evidence. */
.flow-dashboard-panel{gap:16px}
.flow-dashboard-panel>.flow-tabs{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0;padding:6px;border:1px solid #ffffff12;border-radius:14px;background:rgba(25,31,32,.96);backdrop-filter:blur(14px)}
.flow-dashboard-panel>.flow-tabs button{min-height:40px;border:1px solid transparent;border-radius:10px;color:#aebbb3;font-size:12px;font-weight:700}
.flow-dashboard-panel>.flow-tabs button.active,.flow-dashboard-panel>.flow-tabs button[aria-selected="true"]{border-color:#93f99c33;background:#93f99c13;color:#baf8bf}
.flow-dashboard-panel>.flow-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.flow-dashboard-panel>.flow-metrics article{min-height:96px;grid-template-columns:1fr;grid-template-rows:auto auto 1fr;align-content:start;gap:7px;padding:13px;border-color:#ffffff14;background:linear-gradient(150deg,#ffffff08,#ffffff02 65%)}
.flow-dashboard-panel>.flow-metrics article>span{color:#a9b7ae;font-size:10px;letter-spacing:.07em;text-transform:uppercase}
.flow-dashboard-panel>.flow-metrics article>b{grid-column:1;grid-row:2;align-self:start;overflow:hidden;color:#f0f4f1;font-size:26px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
.flow-dashboard-panel>.flow-metrics article>small{grid-column:1;align-self:end;color:#929f97;font-size:9px}
.flow-dashboard-panel>.flow-metrics .flow-metric-runways>b{color:#baf8bf}
.flow-insight-grid,.flow-dashboard-lower,.flow-detail-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);align-items:stretch;gap:12px;min-width:0}
.flow-insight-grid>.flow-timeline-card,.flow-insight-grid>.flow-overview-runways,.flow-dashboard-lower>.flow-flight-list,.flow-dashboard-lower>.flow-airport-context,.flow-detail-grid>.flow-overview-runways,.flow-detail-grid>.flow-airport-context{min-width:0;margin:0;padding:16px;border:1px solid #ffffff13;border-radius:16px;background:linear-gradient(155deg,#202728,#1b2021 74%)}
.flow-insight-grid>.flow-timeline-card{gap:13px}
.flow-insight-grid>.flow-timeline-card>header,.flow-insight-grid>.flow-overview-runways>header,.flow-dashboard-lower>.flow-flight-list>header{align-items:flex-start;gap:10px}
.flow-insight-grid .flow-timeline-card h2,.flow-insight-grid .flow-overview-runways h2,.flow-dashboard-lower .flow-flight-list h2,.flow-detail-grid h2{font-size:17px}
.flow-insight-grid .flow-estimate-note{max-width:155px;text-align:right}
.flow-insight-grid .flow-overview-runways{display:grid;align-content:start;gap:10px}
.flow-insight-grid .flow-overview-runways>header button{padding:5px 8px;border:1px solid #93f99c2e;border-radius:8px;background:#93f99c0a;color:#c3f7c8;font-size:10px;cursor:pointer}
.flow-insight-grid .flow-overview-runway-row{min-height:43px;padding:8px 9px;border-radius:10px;background:#ffffff05}
.flow-insight-grid .flow-overview-runway-track{height:6px;overflow:hidden;border-radius:999px;background:#ffffff10}
.flow-insight-grid .flow-overview-runway-track i{display:block;height:100%;border-radius:inherit;background:#93f99c}
.flow-insight-grid .flow-overview-runway-count{min-width:22px;text-align:right}
.flow-insight-grid .flow-overview-runway-note{font-size:9px;line-height:1.45}
.flow-dashboard-lower{grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr)}
.flow-dashboard-lower>.flow-flight-list{align-content:start;gap:11px}
.flow-dashboard-lower .flow-next-arrivals>header button,.flow-show-more{padding:7px 9px;border:1px solid #93f99c2e;border-radius:9px;background:#93f99c0b;color:#c3f7c8;font-size:10px;font-weight:700;white-space:nowrap;cursor:pointer}
.flow-dashboard-lower .flow-arrival-card{padding:9px;border-radius:11px;background:#ffffff04}
.flow-dashboard-lower .flow-arrival-card+.flow-arrival-card{margin-top:6px}
.flow-dashboard-lower .flow-arrival-main{grid-template-columns:28px minmax(0,1fr) auto;gap:9px}
.flow-dashboard-lower .flow-plane-mark{width:27px;height:27px}
.flow-dashboard-lower .flow-arrival-copy>b{font-size:12px}
.flow-dashboard-lower .flow-arrival-copy small{font-size:9px}
.flow-dashboard-lower .flow-arrival-estimate>b{font-size:10px}
.flow-dashboard-lower .flow-arrival-estimate small{font-size:8px}
.flow-dashboard-lower .flow-arrival-actions{gap:7px}
.flow-dashboard-lower .flow-show-more{justify-self:start}
.flow-dashboard-lower .flow-airport-context{align-content:start;gap:13px}
.flow-dashboard-lower .flow-context-grid,.flow-detail-grid .flow-context-grid{grid-template-columns:minmax(0,1fr)}
.flow-dashboard-lower .flow-context-grid article,.flow-detail-grid .flow-context-grid article{min-height:70px;padding:11px;border-radius:11px}
.flow-dashboard-panel>.flow-dashboard-columns{grid-template-columns:minmax(0,1fr);gap:12px}
.flow-dashboard-panel>.flow-dashboard-columns .flow-flight-list{min-height:0;padding:16px;border-radius:16px}
.flow-dashboard-panel>.flow-dashboard-columns .flow-arrival-card{padding:11px}
.flow-dashboard-panel>.flow-dashboard-columns .flow-departure-list .flow-arrival-estimate{max-width:none}
.flow-dashboard-panel>.flow-status-footer{margin-top:0}
.light-mode .flow-dashboard-panel>.flow-tabs{border-color:#293a431b;background:rgba(244,248,249,.97)}
.light-mode .flow-dashboard-panel>.flow-tabs button{color:#5f7168}
.light-mode .flow-dashboard-panel>.flow-tabs button.active,.light-mode .flow-dashboard-panel>.flow-tabs button[aria-selected="true"]{border-color:#43824b30;background:#4c9a5514;color:#2d7438}
.light-mode .flow-dashboard-panel>.flow-metrics article,.light-mode .flow-insight-grid>.flow-timeline-card,.light-mode .flow-insight-grid>.flow-overview-runways,.light-mode .flow-dashboard-lower>.flow-flight-list,.light-mode .flow-dashboard-lower>.flow-airport-context,.light-mode .flow-detail-grid>.flow-overview-runways,.light-mode .flow-detail-grid>.flow-airport-context{border-color:#283a4318;background:#fff9}
.light-mode .flow-dashboard-panel>.flow-metrics article>b{color:#273a30}
.light-mode .flow-dashboard-panel>.flow-metrics .flow-metric-runways>b{color:#347746}
.light-mode .flow-insight-grid .flow-overview-runways>header button,.light-mode .flow-dashboard-lower .flow-next-arrivals>header button,.light-mode .flow-show-more{border-color:#41814a30;background:#4b96540e;color:#31733e}
@container(max-width:900px){.flow-insight-grid,.flow-dashboard-lower,.flow-detail-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:820px){.flow-dashboard-panel{gap:12px}.flow-dashboard-panel>.flow-tabs{top:0;gap:3px;padding:4px}.flow-dashboard-panel>.flow-tabs button{min-height:42px;font-size:11px}.flow-dashboard-panel>.flow-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.flow-dashboard-panel>.flow-metrics article{min-height:78px;padding:10px}.flow-dashboard-panel>.flow-metrics article>b{font-size:22px}.flow-insight-grid,.flow-dashboard-lower,.flow-detail-grid{grid-template-columns:minmax(0,1fr);gap:9px}.flow-insight-grid>.flow-timeline-card,.flow-insight-grid>.flow-overview-runways,.flow-dashboard-lower>.flow-flight-list,.flow-dashboard-lower>.flow-airport-context,.flow-detail-grid>.flow-overview-runways,.flow-detail-grid>.flow-airport-context{padding:12px}.flow-dashboard-panel>.flow-dashboard-columns .flow-flight-list{padding:12px}}
@media(max-width:420px){.flow-dashboard-panel>.flow-tabs button{font-size:10px}.flow-dashboard-panel>.flow-metrics article{min-height:72px;padding:9px}.flow-dashboard-panel>.flow-metrics article>span{font-size:8px}.flow-dashboard-panel>.flow-metrics article>b{font-size:19px}.flow-dashboard-panel>.flow-metrics article>small{font-size:8px}.flow-dashboard-lower .flow-arrival-main{grid-template-columns:24px minmax(0,1fr) auto;gap:6px}.flow-dashboard-lower .flow-arrival-copy small{font-size:8px}.flow-dashboard-lower .flow-arrival-estimate>b{font-size:9px}}
