@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap');
:root{--ink:#172b36;--muted:#637581;--teal:#087f79;--line:#e2e9e9;--paper:#f4f7f7}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'DM Sans',system-ui,sans-serif}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:7px;padding:9px 13px;color:var(--ink)}button:hover{background:#eaf5f2}button:disabled{opacity:.4;cursor:default}a{color:var(--teal)}.rail{position:fixed;inset:0 auto 0 0;width:224px;background:#102a32;color:#c7d8db;padding:32px 22px;display:flex;flex-direction:column}.brand{color:white;font-weight:800;letter-spacing:1.4px;font-size:14px;text-decoration:none;display:flex;align-items:center;gap:12px}.logo{display:grid;place-items:center;background:#22746e;border-radius:10px;width:37px;height:37px;font-size:24px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--muted)}.rail>.eyebrow{margin:31px 0 22px;color:#8aa4aa}.rail nav{display:grid;gap:8px}.rail nav button{display:flex;gap:14px;border:0;background:none;color:#afc4ca;text-align:left;padding:14px 12px;font-size:17px}.rail nav span{font-size:13px}.rail nav button.active{background:#24434a;color:#fff;box-shadow:inset 3px 0 #5ad0b4}.rail-bottom{margin-top:auto;font-size:12px;line-height:2.2}.rail small{color:#8aa4aa}.dot{display:inline-block;width:6px;height:6px;background:#5ad0b4;border-radius:100%;margin-right:6px}main{margin-left:224px;padding:38px 42px;max-width:1800px}h1,h2,h3{font-family:Manrope,system-ui,sans-serif;letter-spacing:-.7px}h1{font-size:31px;margin:8px 0 12px}h2{font-size:23px;margin:7px 0}h3{font-size:20px}.muted{color:var(--muted)}.workspace{background:white;border:1px solid var(--line);border-radius:14px;padding:24px}.section-heading{display:flex;justify-content:space-between;align-items:center}.download{text-decoration:none;border:1px solid var(--line);border-radius:7px;padding:10px 13px;font-size:12px}.toolbar{display:flex;gap:12px;align-items:center;margin-top:20px}.search{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:7px;padding:0 12px;flex:1}.search span{font-size:25px;color:var(--muted)}input[type=search]{border:0;min-width:120px;width:100%;padding:12px 0;background:none}select{border:1px solid var(--line);background:white;color:var(--ink);padding:10px;border-radius:6px;max-width:250px}.check{white-space:nowrap;font-size:12px;display:flex;gap:6px;align-items:center}input[type=checkbox]{accent-color:var(--teal)}.context{font-size:12px;color:var(--muted);line-height:1.6;margin:14px 0 20px}.map-heading{display:flex;justify-content:space-between;align-items:center;padding:9px 13px;background:#edf5f3;font-size:12px}.map-heading button{padding:5px 10px;font-size:11px}.map-dot{display:inline-block;width:7px;height:7px;background:var(--teal);border-radius:50%;margin-right:6px}#map-panel{border:1px solid var(--line);border-radius:10px;overflow:hidden}#map{height:clamp(500px,65vh,850px);background:#e6eeeb}.map-status{margin:0;padding:0 12px;font-size:12px;color:#8a5029}.map-status:not(:empty){padding:10px 12px}.results-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px;font-size:12px}.results-heading label{color:var(--muted)}.results-heading select{font-size:12px;padding:6px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{text-transform:uppercase;font-size:10px;letter-spacing:1px;color:var(--muted);padding:13px;background:#f6f8f8}td{padding:15px 13px;border-bottom:1px solid var(--line);font-size:12px}td:first-child{font-weight:600}.record-button{padding:0;border:0;background:none;text-align:left;color:var(--ink);font-weight:600;max-width:420px;white-space:normal;overflow-wrap:anywhere}.record-button:hover{color:var(--teal);background:none}.badge{display:inline-block;background:#edf5f2;color:#26756b;border-radius:5px;padding:4px 7px;font-size:11px}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:18px;font-size:12px}.pagination button{font-size:12px}footer{margin:22px 0;font-size:11px;color:var(--muted);line-height:1.8}footer span{float:right}dialog{width:min(760px,94vw);max-height:88vh;border:1px solid var(--line);border-radius:14px;padding:0;color:var(--ink)}dialog::backdrop{background:#0b252b99}.dialog-top{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 26px;background:white;border-bottom:1px solid var(--line)}#detail-title{min-width:0;margin:0;overflow-wrap:anywhere}#close-detail{flex-shrink:0}#detail-body{padding:0 26px 26px}dl{display:grid;grid-template-columns:145px 1fr;gap:14px;margin-top:24px;font-size:13px;line-height:1.7}dt{color:var(--muted);text-transform:capitalize}dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.related{display:flex;flex-wrap:wrap;gap:8px}.related button{font-size:12px;overflow-wrap:anywhere;text-align:left}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#empty{padding:30px;text-align:center;color:var(--muted)}[hidden]{display:none!important}
@media(max-width:1100px){.rail{width:190px;padding:25px 15px}main{margin-left:190px;padding:28px 22px}.toolbar{flex-wrap:wrap}.search{min-width:220px}}@media(max-width:700px){.rail{position:static;width:auto;padding:16px}.rail>.eyebrow,.rail-bottom{display:none}.rail nav{display:flex;overflow:auto;margin-top:16px;gap:4px}.rail nav button{white-space:nowrap;padding:10px;gap:5px}.rail nav span{font-size:11px}main{margin:0;padding:22px 14px}h1{font-size:25px}.workspace{padding:15px}.section-heading{gap:10px}.download{font-size:10px}h2{font-size:20px}#map{height:60vh;min-height:400px}dl{grid-template-columns:1fr;gap:5px}dd{margin-bottom:12px}footer span{float:none;display:block}}

.leaflet-tooltip.map-preview{box-sizing:border-box;width:max-content;max-width:min(440px,calc(100vw - 32px));white-space:normal;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.5;color:var(--ink);padding:8px 10px;border-radius:6px}
.map-preview strong{display:block;margin-bottom:2px}
.airport-status{margin-left:10px;vertical-align:middle;font-weight:500;white-space:nowrap}

/* Spacing for the inventory layout without introductory copy. */
.rail nav{margin-top:32px}.context:empty{display:none}.toolbar{margin-bottom:20px}

@media(max-width:700px){.rail nav{margin-top:16px}}

/* Full-height atlas: a scrolling location list beside the map. */
body{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.rail{position:static;width:100%;height:64px;min-height:64px;padding:0 24px;flex-direction:row;align-items:center;justify-content:space-between;gap:24px}
.rail nav{display:flex;margin:0;gap:6px}.rail nav button{padding:11px 15px}.rail nav button.active{box-shadow:inset 0 -2px #5ad0b4}.rail-bottom{display:none}
main{margin:0;padding:24px;max-width:none;min-height:0;flex:1;overflow:auto}.workspace{min-height:100%;}.list-pane{min-width:0}footer{display:none}
.map-view main{padding:0;overflow:hidden}.map-view .workspace{height:100%;min-height:0;display:grid;grid-template-columns:360px minmax(0,1fr);padding:0;border:0;border-radius:0;overflow:hidden}
.map-view .list-pane{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);background:white;z-index:1}
.map-view .section-heading{padding:18px 18px 8px;gap:8px}.map-view h2{font-size:20px}.map-view .download{font-size:10px;padding:8px}
.map-view .toolbar{display:grid;grid-template-columns:1fr auto;gap:10px;margin:8px 18px 12px}.map-view .search{grid-column:1/-1;min-width:0}.map-view .toolbar select{width:100%;max-width:100%;font-size:12px}.map-view .toolbar>label:has(select){grid-column:1/-1}.map-view .toolbar .check{font-size:11px}.map-view .toolbar #reset{grid-column:2;font-size:11px}
.map-view .context{margin:0 18px 12px}.map-view .results-heading{margin:0;padding:12px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px}.map-view .results-heading select{max-width:115px;font-size:11px}
#place-list{overflow-y:auto;min-height:0;flex:1;overscroll-behavior:contain}.place-card{position:relative;border-bottom:1px solid var(--line)}.place-select{display:flex;flex-direction:column;gap:6px;width:100%;padding:15px 18px 36px;border:0;border-radius:0;text-align:left;background:white;border-left:3px solid transparent}.place-select:hover,.place-select[aria-pressed=true]{background:#edf5f3;border-left-color:var(--teal)}.place-code{color:var(--teal);font-size:12px;font-weight:700;letter-spacing:.7px}.place-select strong{font-size:13px;line-height:1.5}.place-select small{color:var(--muted);font-size:11px;line-height:1.5;overflow-wrap:anywhere}.place-detail{position:absolute;bottom:8px;right:14px;font-size:10px;padding:3px 7px;color:var(--teal);background:transparent}.list-empty{padding:20px;color:var(--muted);line-height:1.7}
.map-view #map-panel{height:100%;display:flex;flex-direction:column;min-width:0;border:0;border-radius:0;position:relative}.map-view #map{flex:1;height:auto;min-height:0}.map-view .map-heading{padding:10px 16px}.map-view .map-status{flex-shrink:0}
@media(min-width:1600px){.map-view .workspace{grid-template-columns:400px minmax(0,1fr)}}
@media(max-width:900px){.rail{padding:0 12px;gap:8px}.brand{font-size:11px;letter-spacing:.6px}.rail nav button{padding:10px;gap:5px}.rail nav span{font-size:11px}.map-view .workspace{grid-template-columns:310px minmax(0,1fr)}}
@media(max-width:600px){.rail{height:auto;min-height:92px;padding:10px 12px;flex-direction:column;align-items:flex-start;gap:8px}.logo{width:24px;height:24px;font-size:17px}.rail nav{width:100%;margin:0;gap:2px}.rail nav button{flex:1;padding:8px 5px;justify-content:center}.rail nav span{font-size:10px}.map-view .workspace{grid-template-columns:1fr;grid-template-rows:48% 52%}.map-view #map-panel{grid-row:1}.map-view .list-pane{grid-row:2;border-right:0;border-top:1px solid var(--line)}.map-view .section-heading{padding:6px 12px 0}.map-view h2{font-size:17px;margin:4px 0}.map-view .toolbar{display:flex;flex-wrap:wrap;gap:6px;margin:5px 12px}.map-view .search{flex:1;min-width:150px}.map-view .search input{padding:8px 0;font-size:12px}.map-view .toolbar select{max-width:140px;padding:7px}.map-view .results-heading{padding:5px 12px}.place-select{padding:10px 12px 29px}.map-view .map-heading{font-size:10px;padding:6px 10px}}

/* Compact location rows, with details beside the primary selection. */
.place-card{display:flex;align-items:stretch}
.place-select{flex:1;min-width:0;gap:3px;padding:10px 8px 10px 14px}
.place-select strong{font-size:12px;line-height:1.35}
.place-select small{font-size:11px;line-height:1.35}
.place-code{font-size:11px;line-height:1.3}
.place-detail{position:static;align-self:center;flex-shrink:0;margin:0 10px 0 0;padding:4px 6px}
@media(max-width:600px){.place-select{padding:8px 8px 8px 11px}}

/* Highlight the entire location row, including its Details action. */
.place-card:hover,.place-card:has(.place-select[aria-pressed=true]){background:#edf5f3}
.place-card .place-select{background:transparent}
.place-card:hover .place-select,.place-card:has(.place-select[aria-pressed=true]) .place-select{border-left-color:var(--teal)}

.multi-filter{position:relative;min-width:0;font-size:12px}
.multi-filter summary{cursor:pointer;border:1px solid var(--line);border-radius:6px;padding:10px;background:white;white-space:nowrap}
.multi-filter[open]{z-index:5}
.filter-options{position:absolute;top:100%;left:0;min-width:100%;width:max-content;max-width:min(320px,80vw);max-height:260px;overflow:auto;background:white;border:1px solid var(--line);border-radius:6px;box-shadow:0 6px 18px #102b3026;padding:6px;box-sizing:border-box}
.filter-options label{display:flex;align-items:center;gap:8px;padding:7px;cursor:pointer;overflow-wrap:anywhere}
.filter-options label:hover{background:#edf5f3}
.filter-options button{width:100%;text-align:left;font-size:12px;margin-bottom:4px}
.map-view .toolbar>.multi-filter{grid-column:1/-1}
@media(max-width:600px){.multi-filter summary{padding:7px}.map-view .toolbar>.multi-filter{flex:1}}

.leaflet-marker-icon.heliport-marker{display:grid;place-items:center;box-sizing:border-box;padding:0;background:#7043a0;color:white;border:2px solid white;border-radius:50%;font:700 10px/12px Arial,sans-serif}
.leaflet-marker-icon.seaplane-marker{display:grid;place-items:center;box-sizing:border-box;padding:0;background:#1769aa;color:white;border:2px solid white;border-radius:50%}
.seaplane-marker svg{display:block;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

.linked-package{width:100%;min-width:0;font-size:12px;line-height:1.6}.package-path{overflow-wrap:anywhere;margin-top:4px}

/* Runway details span the dialog, with scrolling confined to the measurements. */
.runway-details{min-width:0;white-space:normal}.runway-details .table-wrap{max-width:100%}.runway-details th,.runway-details td{padding:8px;font-size:11px}.runway-details tbody th{letter-spacing:0}.runway-details p{font-size:12px;line-height:1.6}.runway-details details{margin-top:10px}.runway-details summary{cursor:pointer;color:var(--teal)}

.record-evidence{margin:12px 0;overflow-wrap:anywhere}.record-evidence summary{cursor:pointer;color:var(--teal)}.record-evidence p{font-size:12px;line-height:1.6;white-space:pre-wrap}

/* Unpaved-only airports use a triangular grass marker. */
.leaflet-marker-icon.unpaved-marker{display:grid;place-items:center;padding:0;background:none;border:0}
.unpaved-marker svg{display:block;width:20px;height:20px;stroke-linejoin:round}
.unpaved-marker .strip-triangle{fill:#8a5a32;stroke:white;stroke-width:1.5}
.unpaved-marker .strip-grass{fill:none;stroke:#fff3dc;stroke-width:1.3;stroke-linecap:round}

.leaflet-marker-icon.snow-marker{display:grid;place-items:center;box-sizing:border-box;padding:0;background:#606b75;color:white;border:2px solid white;border-radius:50%}
.snow-marker svg{display:block;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}

.leaflet-marker-icon.paved-marker{display:grid;place-items:center;box-sizing:border-box;padding:0;background:#3f4348;color:white;border:2px solid white;border-radius:2px}
.paved-marker svg{display:block;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}

/* Filters occupy a separate drawer, preserving room for inventory results. */
.toolbar,.map-view .toolbar{display:flex;flex-wrap:nowrap;gap:8px}
.toolbar .search,.map-view .toolbar .search{flex:1;min-width:0}
.toolbar .search input{min-width:0}
#open-filters{flex-shrink:0;white-space:nowrap}
#filter-panel{position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;border-radius:0;border-width:0 0 0 1px;overflow:hidden}
#filter-form{height:100%;display:flex;flex-direction:column}
.filter-panel-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid var(--line)}
.filter-panel-header h2{margin:0}
.filter-panel-body{flex:1;min-height:0;overflow:auto;padding:20px;display:flex;flex-direction:column;gap:16px}
.filter-panel-body>.multi-filter{flex-shrink:0}
#filter-panel .filter-options{position:static;width:100%;min-width:0;max-width:none;max-height:240px;margin-top:6px;box-shadow:none}
#filter-panel .multi-filter summary{white-space:normal}
#filter-panel .check{font-size:13px}
.filter-panel-actions{display:flex;justify-content:space-between;gap:12px;padding:16px 20px;border-top:1px solid var(--line)}
#apply-filters{background:var(--teal);color:white;border-color:var(--teal)}
#runway-filters h3{font-size:17px;margin:0 0 12px}
.runway-length{display:flex;gap:12px;margin-bottom:16px}
.runway-length label{flex:1;min-width:0;font-size:12px}
.runway-length input{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid var(--line);border-radius:6px}
#runway-filters p{font-size:12px;line-height:1.5;margin-bottom:0}
@media(max-width:600px){#filter-panel{width:100vw;border:0}}

.map-view .results-heading select{max-width:165px}

.flight-history{margin:22px 0;padding-bottom:20px;border-bottom:1px solid var(--line);min-width:0}
.flight-history p{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.flight-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}
.flight-history .flight-aircraft-filter{font-size:12px;margin-top:0}
.flight-history .flight-aircraft-filter summary{color:var(--ink)}
.flight-actions .flight-search-control{margin-left:auto}
.flight-pagination{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:16px;font-size:12px}
.flight-pagination label{margin-right:auto}
.flight-pagination button,.flight-pagination select{font-size:12px;padding:7px 9px}
.flight-actions button,.flight-actions select{font-size:12px}
.flight-search-control{display:flex;align-items:center;justify-content:center;min-width:132px;min-height:36px}
.flight-find-more{background:var(--teal);border-color:var(--teal);color:white;font-weight:600}
.flight-find-more:enabled:hover{background:#066660;border-color:#066660}
.flight-find-more:focus-visible{outline:2px solid var(--teal)}
.flight-find-more:disabled{background:var(--line);border-color:var(--line);color:var(--muted);opacity:1}
.flight-history th,.flight-history td{padding:9px;font-size:11px}
.flight-history details{margin-top:12px}.flight-history summary{cursor:pointer;color:var(--teal)}
.detail-heading{min-width:0}
#detail-subtitle{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.detail-tabs{display:flex;gap:20px;padding:0 26px}
.detail-tabs [role=tab]{border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 2px;background:transparent;color:var(--muted)}
.detail-tabs [aria-selected=true]{border-bottom-color:var(--teal);color:var(--teal);font-weight:600}
[role=tabpanel] .flight-history{border-bottom:0;padding-bottom:0;margin-top:18px}

.loading-indicator{display:inline-block;width:12px;height:12px;box-sizing:border-box;border:2px solid var(--line);border-top-color:var(--teal);border-radius:50%;vertical-align:middle;animation:loading-spin .8s linear infinite}
.flight-history [role=status] .loading-indicator{margin-right:8px}
@keyframes loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.loading-indicator{animation:none}}

#detail-header{position:sticky;top:0;z-index:2;background:white;border-bottom:1px solid var(--line)}
#detail-header .dialog-top{position:static;padding-bottom:10px;border-bottom:0}

.flight-status-counts,.flight-status-detail{display:block}
.flight-status-counts{color:var(--ink);font-weight:600}
.flight-status-detail{margin-left:auto;text-align:right}

.flight-status-summary{display:flex;justify-content:space-between;align-items:baseline;gap:4px 16px;flex-wrap:wrap}
.flight-status-date{display:block;margin-left:auto;text-align:right}

#system-view{display:block}#system-loading{display:flex;align-items:center;justify-content:center;flex:0 0 12px;height:12px;margin-left:auto}.system-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.system-card{border:1px solid var(--line);border-radius:10px;padding:18px;min-width:0}.system-card h3{margin:0;font-size:17px}.system-card dl{grid-template-columns:minmax(120px,1fr) minmax(0,1fr);margin:12px 0 0;gap:12px}.system-card dt{text-transform:none}.system-card dd{text-align:right}@media(max-width:800px){.system-cards{grid-template-columns:1fr}#system-view .section-heading{gap:12px}}

.system-card .system-check{margin-top:18px}
.system-api-status{font-weight:700}.system-card[data-status="Rate limited"] .system-api-status{color:#a33b16}
.system-warning-icon{display:inline-block;margin-right:6px}

.system-with-total dl dt:last-of-type,.system-with-total dl dd:last-of-type{border-top:1px solid var(--line);padding-top:12px;font-weight:700;color:var(--ink)}

.aircraft-favourite{padding:3px 6px;margin-right:8px;font-size:22px;line-height:1.2;border:0;background:transparent;vertical-align:middle;color:var(--muted)}.aircraft-favourite[aria-pressed=true]{color:#966300}#detail-title .aircraft-favourite{margin-left:10px;margin-right:0}

.favourite-column{width:48px;text-align:center;padding-left:8px;padding-right:8px}.favourite-column .aircraft-favourite{margin:0}

.aircraft-model-row td{font-weight:400;vertical-align:middle}

.model-source-manufacturer{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}

.additional-models{margin-left:8px;padding:0;border:0;background:none;color:var(--muted);font-size:12px;font-weight:400}.additional-models:hover{color:var(--teal);background:none;text-decoration:underline}

.flight-favourite,.flight-similar{display:inline-block;margin-left:6px;width:14px;color:#966300;font-size:14px;font-weight:400;line-height:1;text-align:center;cursor:default;outline-offset:2px}
.flight-tooltip{position:fixed;inset:auto;margin:0;max-width:min(320px,calc(100vw - 16px));padding:3px 6px;border:1px solid #aaa;border-radius:2px;background:#fafafa;color:#222;font:12px/1.4 system-ui,sans-serif;white-space:normal;overflow-wrap:anywhere;box-shadow:1px 2px 4px #0002;cursor:default}
.flight-plan-action{text-align:right}
.flight-fly-now{display:inline-block;padding:6px 10px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--teal);font-weight:600;text-decoration:none}
.flight-fly-now:hover{background:#eaf5f2}
.system-config-error dd:first-of-type,.system-config-error dd:last-of-type{color:#a33b16}.system-config-error dd:first-of-type{font-weight:700}


.route-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}
.route-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:10px;padding:20px;background:linear-gradient(160deg,#f3f9f7,white 45%)}
.route-card h3{margin:0;color:var(--teal);font-size:20px;overflow-wrap:anywhere}
.route-endpoints{display:grid;gap:10px;flex:0 0 auto;align-content:start}.route-endpoints>div{display:grid;grid-template-columns:35px minmax(0,1fr);gap:8px;align-items:baseline}
.route-endpoints span{font-size:11px}.route-endpoints button{font-size:13px;line-height:1.5}
.route-card p{font-size:12px;line-height:1.6;margin:14px 0 0;overflow-wrap:anywhere}
.route-reason{color:#806000;font-weight:600}.route-card .route-types{margin-bottom:20px}
.route-card-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid var(--line);font-size:11px}
#routes-view .section-heading{flex-wrap:wrap;gap:12px}#routes-refresh{font-size:12px;display:grid;place-items:center}#routes-refresh>span{grid-area:1/1}#routes-refresh[aria-busy="true"] .routes-refresh-label{visibility:hidden}
@media(max-width:1200px){.route-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.route-cards{grid-template-columns:1fr}.rail nav{overflow-x:auto;max-width:100%}.rail nav button{flex-shrink:0}.route-card{padding:16px}}

.rail nav{min-width:0;overflow-x:auto}.rail nav button{white-space:nowrap;flex-shrink:0}

.route-sort{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.route-sort select{font-size:12px}.route-controls .search{flex:0 1 200px;width:200px;min-width:0}.route-controls .search input{min-width:0}

.route-results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}.route-controls{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;margin-left:auto;min-width:0}.route-controls select{max-width:min(280px,65vw)}.route-results-heading #routes-status{margin:0}

.route-card-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-bottom:18px}.route-distance{margin-left:auto;white-space:nowrap;font-family:system-ui,sans-serif;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:.3px;color:var(--muted)}
#routes-view .route-results-heading{margin-top:20px}

.routes-back-top{position:fixed;right:24px;bottom:24px;z-index:10;background:var(--teal);color:white;border-color:var(--teal);box-shadow:0 3px 12px #102b3026;font-size:12px}.routes-back-top:hover{background:#086d68;color:white}#routes-scroll-status{min-height:24px;text-align:center}
@media(max-width:700px){.routes-back-top{right:16px;bottom:16px}}

.flight-search-loading{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:36px;padding:9px 13px;border-radius:7px;background:var(--teal);color:white;font-weight:600}
.flight-search-loading .loading-indicator{width:18px;height:18px;flex-shrink:0;border-color:#ffffff60;border-top-color:white}

#detail-clock{font-variant-numeric:tabular-nums;white-space:nowrap}
#detail-location:not(:empty) + #detail-clock:not([hidden])::before{content:' · '}

.login-page { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.login-card { width: min(100%, 360px); height: auto; flex: none; padding: 28px; border: 1px solid #d4d9df; border-radius: 12px; background: white; }
.login-card h1 { margin: 0 0 24px; }
.login-card form, .login-card label { display: grid; gap: 10px; }
.login-card form { gap: 20px; }
.login-card input { width: 100%; min-height: 42px; padding: 8px; border: 1px solid #aab3bd; border-radius: 5px; }
.login-card button { min-height: 42px; }
#login-error { color: #a02222; }
.runway-light{display:inline-flex;vertical-align:middle;color:var(--muted)}.runway-light svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.runway-light-beacon{fill:currentColor;stroke:none}.runway-light-slash{stroke-width:1.8}.runway-light-off{color:var(--muted)}.runway-light-off .runway-light-beacon{fill:none;stroke:currentColor}
