/* Shared operation region, visible in every step including route discovery. */
#app>header{position:sticky;top:0;z-index:40}
#app>.activity-region{grid-column:2;grid-row:2;position:sticky;top:var(--header-height,89px);z-index:30;min-width:0}
#activity-region:has(>#progress[hidden]):has(>#operation-banner[hidden]):has(>#connection-status[hidden]){display:none}
#activity-region .progress{margin:0;padding:16px 28px;border:0;border-radius:0;background:#edf3fc;box-shadow:0 1px 0 #dbe3ef;font-size:13px}
#progress .progress-heading{align-items:center;gap:18px;margin-bottom:12px}#progress-title{font-size:14px;font-weight:600}
#progress-title::before{content:"";display:inline-block;width:12px;height:12px;margin-right:9px;border:2px solid #c7dbf7;border-top-color:#087eff;border-radius:50%;vertical-align:-2px;animation:progress-spin .9s linear infinite}
@keyframes progress-spin{to{transform:rotate(360deg)}}
.progress-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.progress-actions button{white-space:normal}
#progress-bar{height:9px;display:block;width:100%;border:1px solid #d1d7e1;border-radius:8px;overflow:hidden;background:#dfe5ed}
#progress-bar::-webkit-progress-bar{background:#dfe5ed}#progress-bar::-webkit-progress-value{background:#087eff;border-radius:8px}#progress-bar::-moz-progress-bar{background:#087eff;border-radius:8px}
#progress-bar:indeterminate{background:linear-gradient(100deg,#dfe5ed 20%,#90baff 45%,#dfe5ed 70%);background-size:250% 100%;animation:progress-loading 1.8s linear infinite}
@keyframes progress-loading{to{background-position:-250% 0}}
#progress .progress-timing{margin:14px 0 0;color:var(--muted);gap:8px;justify-content:flex-start;font-variant-numeric:tabular-nums}#progress-remaining{margin-left:auto;text-align:right}#progress-count{white-space:nowrap;font-variant-numeric:tabular-nums}
.activity-region .operation-banner{padding:12px 28px;background:#eff9f2;display:flex;align-items:center;gap:16px;font-size:13px;overflow-wrap:anywhere}.activity-region .operation-banner.has-error{background:#fff4ea}#banner-text{flex:1;white-space:pre-line;max-height:220px;overflow:auto}#dismiss-notice{background:transparent;color:inherit;flex-shrink:0}
.connection-status{margin:0;padding:10px 28px;background:#fff4ea;color:#955300}
#route-map{min-width:0}.map-heading{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.map-heading>.mono{margin:0;max-width:55%;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-weight:600}.map-legend{display:flex;flex-direction:column;gap:7px;flex-shrink:0;color:var(--muted);font-size:12px}.map-legend .main{background:#1f6bd1}.map-legend .alternate{background:#ed8b17}.map-detail{font-size:12px;margin:12px 0}.map-frame{position:relative;border-radius:18px;overflow:hidden;border:1px solid #cddbd3;isolation:isolate}.interactive-map{height:480px;width:100%;background:#cde4f3;font-family:inherit;z-index:0}.map-fit{position:absolute;top:12px;right:12px;z-index:5;background:#fffffff0!important;box-shadow:0 2px 8px #172f4426;font-size:12px}.map-status{position:absolute;bottom:27px;left:12px;right:12px;z-index:5;background:#fff8e9f2;padding:9px;border-radius:10px;font-size:12px;color:#815019;margin:0}.airport-map-label{background:#fffffff2;border:0;box-shadow:0 2px 6px #203c4d29;border-radius:11px;font:600 12px ui-monospace,monospace;color:#314a46;padding:5px 9px}.leaflet-control-attribution{font-size:10px!important}.leaflet-container .leaflet-control-attribution a{color:#22677e}.leaflet-container a.leaflet-control-zoom-in,.leaflet-container a.leaflet-control-zoom-out{color:#344653;background:#fff}.leaflet-control-zoom{border:1px solid #ffffff9c!important;border-radius:7px!important;overflow:hidden}.leaflet-tooltip{white-space:nowrap}#route-map figcaption{margin-top:8px;font-size:11px;color:var(--muted)}#route-map figcaption a{color:inherit}#route-fuel{padding:16px 0;border:0;background:transparent}#route-fuel h2{font-size:14px;display:inline-block;margin-right:18px}#corridor-choices .route-choice{margin-top:12px}
.result-card:has(table){border-radius:18px;padding:22px;background:#fff}.retain{display:flex;flex-direction:row;align-items:center;gap:7px;color:inherit;font-weight:400}.retain input{width:17px;height:17px}#filter-heading{margin-top:24px}.route-choice:focus-within{scroll-margin-top:190px}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #80b3ff;outline-offset:3px}button,summary{touch-action:manipulation}.route-select strong{user-select:text}
.fir-field{display:flex;gap:10px;align-items:center}.fir-field label{flex:1;font-size:0}.fir-field input{font-size:13px;background:#fff}.fir-field button{white-space:nowrap}.fir-selected{grid-column:2;display:flex;gap:8px;flex-wrap:wrap}.fir-selected button{border-radius:20px;background:#edf3fc;font-size:12px}.fir-picker{border-radius:12px}.route-overview{align-items:center}#brief .grid label{color:var(--muted)}#loaded-results .result-card{box-shadow:none}
@media(min-width:1021px){.route-comparison{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)}#app>.panel{max-width:1420px}.interactive-map{height:clamp(340px,60vh,580px)}}
.map-heading .map-route{color:var(--ink,#202326)}
@media(max-width:680px){#activity-region .progress{padding:13px 16px}#progress .progress-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.progress-actions{margin-left:auto}#progress-title{font-size:13px}#progress .progress-timing{flex-wrap:wrap;font-size:11px}#progress-remaining{max-width:65%}.activity-region .operation-banner{padding:12px 16px}.interactive-map{height:390px}.map-heading{flex-wrap:wrap}.map-heading>.mono{max-width:100%}.map-legend{flex-direction:row;flex-wrap:wrap}.connection-status{padding:10px 16px}#progress-label{max-width:65%}}
@media(prefers-reduced-motion:reduce){#progress-bar:indeterminate,#progress-title::before{animation:none}}
@media(max-width:680px){.fir-selected{grid-column:1}.fir-field{min-width:0}.fir-field input{min-width:0;width:100%}}
