/* JetFuelWatch: a calm aviation workspace. Loaded after the legacy components. */
body.jfw-app-page { background: #0c182b; }
/* The theme's full-width blocks otherwise retain negative gutter margins. */
body.jfw-app-page .wp-site-blocks .alignfull:has(.jfw-shell) { box-sizing: border-box; width: 100%; max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.jfw-shell *,.jfw-shell *::before,.jfw-shell *::after { box-sizing: border-box; }
.jfw-shell [hidden] { display: none !important; }
.jfw-dashboard .jfw-map-summary-strip:has([data-jfw-focus-panel][hidden]) { display: none; }
body.jfw-app-page .wp-site-blocks,
body.jfw-app-page main.wp-block-group,
body.jfw-app-page .entry-content.has-global-padding { background: #0c182b !important; }
.jfw-shell { --jfw-cyan: #84c5ff; --jfw-blue: #2864ed; --jfw-border: #2b3d54; --jfw-text-soft: #c4d0df; font-family: 'Segoe UI', Arial, sans-serif; font-size: 16px; width: min(1440px, calc(100% - 64px)); }
.jfw-shell:is(.jfw-dashboard,.jfw-airport-grid-shell,.jfw-airport-report-shell,.jfw-country-hub,.jfw-country-report-shell,.jfw-news-shell,.jfw-about,.jfw-tools-hub,.jfw-insurance-guide,.jfw-esims-guide,.jfw-lounges-guide,.jfw-hotels-guide,.jfw-seo-landing) { background: none; border-radius: 0; box-shadow: none; }
.jfw-shell .jfw-topbar { min-height: 88px; padding: 20px 0; margin: 0; border-bottom: 1px solid #2a394e; gap: 24px; }
.jfw-shell .jfw-brand { font-size: 25px; gap: 10px; letter-spacing: -.8px; }
.jfw-shell .jfw-brand-badge { width: 38px; height: 38px; flex-basis: 38px; border-radius: 8px; box-shadow: none; }
.jfw-shell .jfw-brand-text { line-height: 1.2; font-weight: 650; }
.jfw-shell .jfw-topnav { gap: 6px; }
.jfw-shell .jfw-nav-button { padding: 11px 14px; font-size: 14px; letter-spacing: 0; text-transform: none; border: 0; border-radius: 6px; background: transparent; color: #d6dfeb; }
.jfw-shell .jfw-nav-button:hover,.jfw-shell .jfw-nav-button.is-active { background: #1b2c44; color: white; transform: none; }
.jfw-shell .jfw-saved-toggle { border: 1px solid #3f5067; margin-left: 10px; }
.jfw-shell .jfw-button { border-radius: 6px; box-shadow: none; font-size: 14px; letter-spacing: 0; text-transform: none; min-height: 44px; }
.jfw-shell .jfw-card { border-radius: 12px; box-shadow: none; }
.jfw-shell :is(a,button,input,select):focus-visible { outline: 3px solid #5397ff; outline-offset: 3px; }
.jfw-watch-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 32px 0 28px; }
.jfw-watch-heading .jfw-eyebrow { color: #99b0cc; font-size: 12px; letter-spacing: .14em; margin: 0 0 10px; }
.jfw-watch-heading h1 { font-size: clamp(32px,3.3vw,48px); line-height: 1.1; letter-spacing: -1.5px; font-weight: 650; margin: 0 0 12px; color: #fff; }
.jfw-watch-heading p { font-size: 16px; color: #b7c7da; margin: 0; line-height: 1.5; }
.jfw-watch-directory { color: #dbeaff !important; font-size: 14px; white-space: nowrap; padding-bottom: 5px; }
.jfw-watch-directory span { margin-left: 20px; color: #8ac5ff; }
.jfw-watch-freshness { padding: 12px 16px; margin: 0 0 20px; border-left: 3px solid #afc9ed; background: #172941; color: #cedbec; font-size: 14px; line-height: 1.5; }
.jfw-watch-freshness strong { color: #fff; }
.jfw-dashboard .jfw-dashboard-layout { display: flex; flex-direction: column; gap: 24px; }
.jfw-dashboard .jfw-map-card-primary { display: grid; width: 100%; grid-template-columns: minmax(0,1fr) 310px; grid-template-areas: 'regions airport' 'map airport' 'map flight' 'map guide' 'focus focus' 'result result' 'route route' 'principle principle'; gap: 0; padding: 0; overflow: hidden; background: #fff; border: 1px solid #d8e1eb; border-radius: 12px; --jfw-text: #17263c; --jfw-text-soft: #52647b; --jfw-cyan: #225bbe; color: #17263c; }
.jfw-dashboard .jfw-map-head { display: contents; }
.jfw-dashboard .jfw-map-head-controls { grid-area: regions; display: block; padding: 16px 22px; width: auto; border-bottom: 1px solid #dce4ec; }
.jfw-dashboard .jfw-map-scope-tabs { display: flex; justify-content: flex-start; gap: 5px; width: auto; min-height: 0; }
.jfw-dashboard .jfw-map-scope-tabs .jfw-filter-chip { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 10px 18px; min-height: 42px; border-radius: 6px; border: 0; background: transparent; color: #52647b; width: auto; }
.jfw-dashboard .jfw-filter-chip.is-active,.jfw-dashboard .jfw-filter-chip:hover { background: #e8f0ff !important; color: #2159bb !important; transform: none; }
.jfw-dashboard .jfw-airport-search-card { grid-area: airport; padding: 22px; border: 0; border-left: 1px solid #dce4ec; border-radius: 0; background: #fff; margin: 0; align-content: start; gap: 12px; }
.jfw-dashboard .jfw-watch-step { display: block; margin: 0 0 10px; color: #667a94; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.jfw-dashboard .jfw-watch-label,.jfw-dashboard .jfw-flight-search-label { display: block; font-size: 19px; font-weight: 650; line-height: 1.3; color: #182b46; letter-spacing: -.4px; text-transform: none; margin-bottom: 8px; }
.jfw-dashboard .jfw-airport-search-controls { display: grid; grid-template-columns: 1fr; gap: 8px; }
.jfw-dashboard :is(.jfw-airport-search-input,.jfw-flight-search-input,.jfw-flight-date-input) { color-scheme: light; border: 1px solid #c9d4e3; background: #fff; border-radius: 6px; color: #17263c; min-height: 46px; height: auto; padding: 10px 12px; font: inherit; font-size: 16px; width: 100%; min-width: 0; box-shadow: none; }
.jfw-dashboard input::placeholder { color: #65758a; opacity: 1; }
.jfw-dashboard :is(.jfw-airport-search-button,.jfw-flight-search-button) { color: #fff; background: #245ee6; border: 1px solid #245ee6; font-size: 14px; font-weight: 600; }
.jfw-dashboard :is(.jfw-airport-search-button,.jfw-flight-search-button):hover { background: #1746b3; color: white; }
.jfw-dashboard .jfw-airport-search-message,.jfw-dashboard .jfw-flight-search-message { font-size: 14px; color: #53677e; min-height: 0; margin: 0; }
.jfw-dashboard :is(.jfw-airport-search-message,.jfw-flight-search-message):empty { display: none; }
.jfw-dashboard .jfw-flight-search-card-desktop { display: grid; grid-area: flight; padding: 22px; border-left: 1px solid #dce4ec; border-top: 1px solid #dce4ec; margin: 0; align-self: stretch; align-content: start; }
.jfw-dashboard .jfw-flight-search-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jfw-dashboard .jfw-flight-search-controls .jfw-flight-search-input { grid-column: 1/-1; }
.jfw-dashboard .jfw-flight-search-controls .jfw-flight-date-input { font-size: 14px; }
.jfw-dashboard .jfw-watch-guide { grid-area: guide; border-left: 1px solid #dce4ec; padding: 22px; background: #f2f6fc; }
.jfw-watch-guide h2 { color: #20334d; font-size: 21px; line-height: 1.3; letter-spacing: -.5px; margin: 0 0 12px; }
.jfw-dashboard .jfw-watch-guide p { color: #52647b; font-size: 14px; line-height: 1.65; margin: 0 0 14px; }
.jfw-watch-guide a { font-size: 14px; color: #245aba; font-weight: 600; }
.jfw-dashboard .jfw-map-stage-stack { grid-area: map; min-width: 0; border-radius: 0; display: flex; flex-direction: column; position: relative; overflow: hidden; background: #e7eff4; }
.jfw-dashboard .jfw-map-stage-scope { flex: 1; min-height: 440px; }
.jfw-dashboard .jfw-map-stage-scope[hidden] { display: none; }
.jfw-dashboard .jfw-map-stage { width: 100%; height: 100%; min-height: 440px; aspect-ratio: auto; padding: 0; border-radius: 0; border: 0; background: #e7eff4; }
.jfw-dashboard .jfw-live-map-canvas { min-height: 440px; height: 100%; border-radius: 0; }
.jfw-dashboard .leaflet-container { background: #e7eff4; }
.jfw-dashboard .jfw-map-legend { position: absolute; left: 16px; bottom: 62px; right: auto; top: auto; z-index: 500; display: flex; flex-wrap: wrap; max-width: calc(100% - 32px); gap: 14px; padding: 12px 14px; border: 1px solid #d4dde6; border-radius: 6px; background: #fff; box-shadow: 0 3px 12px #20334d0d; }
.jfw-dashboard .jfw-map-legend-item { color: #354960; font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.jfw-dashboard .jfw-map-legend-item.status-normal i { color: #238448; }
.jfw-dashboard .jfw-map-legend-item.status-watch i { color: #2879b7; }
.jfw-dashboard .jfw-map-legend-item.status-elevated i { color: #b6780b; }
.jfw-dashboard .jfw-map-legend-item.status-confirmed i { color: #d23145; }
.jfw-watch-map-caption { display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px; border-top: 1px solid #dce4ec; background: #fff; color: #576a82; font-size: 12px; z-index: 1; }
.jfw-watch-map-caption span:first-child { color: #263c58; font-weight: 650; }
.jfw-dashboard .jfw-map-summary-strip { grid-area: focus; padding: 20px; background: #f5f8fc; }
.jfw-dashboard .jfw-map-focus-strip { background: #0e223b; color: #fff; --jfw-text-soft: #c4d0df; padding: 24px; }
.jfw-dashboard .jfw-flight-status-card { grid-area: result; margin: 20px; background: #0e223b; color: #fff; --jfw-text-soft: #c4d0df; }
.jfw-dashboard .jfw-route-sponsored-tools { grid-area: route; padding: 20px; }
.jfw-dashboard .jfw-map-principle { grid-area: principle; width: 100%; max-width: none; margin: 0; padding: 16px 22px; border: 0; border-top: 1px solid #dce4ec; border-radius: 0; background: #fafbfd; color: #596c83; font-size: 13px; line-height: 1.65; }
.jfw-dashboard .jfw-dashboard-sponsored-rail { width: 100%; position: static; }
.jfw-dashboard-sponsored-rail > * { width: 100%; }
.jfw-dashboard-sponsored-rail .jfw-sponsored-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.jfw-shell .jfw-app-footer { margin: 24px 0; border-top: 1px solid #2a394e; padding-top: 18px; }
.jfw-shell .jfw-app-footer-tag { font-size: 12px; color: #9baec5; letter-spacing: .04em; text-transform: none; }
@media (max-width: 1000px) {
 .jfw-shell { width: calc(100% - 32px); }
 .jfw-dashboard .jfw-map-card-primary { grid-template-columns: minmax(0,1fr) 280px; }
 .jfw-shell .jfw-topbar { flex-wrap: wrap; gap: 14px; }
 .jfw-dashboard .jfw-map-legend { gap: 8px; }
}
@media (max-width: 720px) {
 body.jfw-app-page .jfw-shell { width: calc(100% - 24px) !important; margin-left: auto !important; margin-right: auto !important; }
 .jfw-shell .jfw-topbar { display: flex; flex-direction: column; align-items: stretch; padding: 18px 0 12px; }
 .jfw-shell .jfw-brand { font-size: 25px; }
 .jfw-shell .jfw-topnav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 2px; }
 .jfw-shell .jfw-nav-button { padding: 10px; font-size: 14px; min-height: 42px; }
 .jfw-shell .jfw-nav-button[data-mobile-label] { font-size: 14px; }
 .jfw-shell .jfw-nav-button[data-mobile-label]::before,.jfw-shell .jfw-nav-button[data-mobile-label]::after { content: none; }
 .jfw-shell .jfw-saved-toggle { margin-left: auto; }
 .jfw-watch-heading { padding: 24px 0; align-items: start; flex-direction: column; gap: 14px; }
 .jfw-watch-heading h1 { letter-spacing: -1px; }
 .jfw-watch-heading p { max-width: 30ch; }
 .jfw-dashboard .jfw-map-card-primary { grid-template-columns: minmax(0,1fr); grid-template-areas: 'airport' 'regions' 'map' 'focus' 'flight' 'result' 'route' 'guide' 'principle'; }
 .jfw-dashboard .jfw-airport-search-card { padding: 20px; border-left: 0; border-bottom: 1px solid #dce4ec; }
 .jfw-dashboard .jfw-airport-search-controls { grid-template-columns: minmax(0,1fr) auto; }
 .jfw-dashboard .jfw-map-head-controls { padding: 12px; }
 .jfw-dashboard .jfw-map-scope-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
 .jfw-dashboard .jfw-map-scope-tabs .jfw-filter-chip { padding: 10px 8px; font-size: 14px; }
 .jfw-dashboard :is(.jfw-map-stage-scope,.jfw-map-stage,.jfw-live-map-canvas) { min-height: 380px; }
 .jfw-dashboard .jfw-map-legend { left: 8px; bottom: 74px; padding: 9px; gap: 8px; max-width: calc(100% - 16px); }
 .jfw-watch-map-caption { padding: 12px; font-size: 12px; flex-direction: column; gap: 4px; }
 .jfw-dashboard :is(.jfw-flight-search-card-desktop,.jfw-watch-guide) { padding: 20px; border-left: 0; }
 .jfw-dashboard .jfw-flight-search-controls { grid-template-columns: 1fr 1fr; }
 .jfw-dashboard .jfw-map-focus-strip { padding: 20px; }
 .jfw-dashboard-sponsored-rail .jfw-sponsored-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .jfw-shell * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
