#flight-map {
    isolation: isolate;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    background: #c1d6da;
    color: #152d24;
    font-family: inherit;
}
#flight-map:focus-visible { outline: 3px solid #257456; outline-offset: -3px }
#flight-map .leaflet-pane,
#flight-map .leaflet-map-pane svg,
#flight-map .leaflet-marker-icon,
#flight-map .leaflet-popup { position: absolute; top: 0; left: 0 }
#flight-map .leaflet-pane { z-index: 400 }
#flight-map .leaflet-overlay-pane { z-index: 401 }
#flight-map .leaflet-marker-pane { z-index: 600 }
#flight-map .leaflet-popup-pane { z-index: 700 }
#flight-map .leaflet-zoom-box { position: absolute; z-index: 800; box-sizing: border-box; background: #ffffff70; border: 2px solid #368168 }
#flight-map svg { max-width: none; max-height: none; overflow: hidden }
#flight-map.leaflet-touch-zoom { touch-action: pan-x pan-y }
#flight-map.leaflet-touch-drag { touch-action: pinch-zoom }
#flight-map.leaflet-touch-drag.leaflet-touch-zoom { touch-action: none }
#flight-map.leaflet-grab { cursor: grab }
#flight-map.leaflet-dragging { cursor: grabbing }
#flight-map .leaflet-zoom-animated { transform-origin: 0 0 }
#flight-map .leaflet-control { position: relative; z-index: 800 }
#flight-map .leaflet-bottom, #flight-map .leaflet-right { position: absolute; bottom: 0; pointer-events: none; z-index: 800 }
#flight-map .leaflet-right { right: 0 }
#flight-map .leaflet-left { left: 0 }
#flight-map .leaflet-control { pointer-events: auto }
#flight-map .leaflet-interactive { pointer-events: auto }
#flight-map .fm-marker { border: 0; background: transparent; display: flex; justify-content: center; align-items: center }
#flight-map .fm-price, #flight-map .fm-origin-chip {
    display: inline-flex; flex: none; align-items: center; gap: 5px; min-height: 30px;
    padding: 5px 9px; background: white; color: #14261e; border-radius: 20px;
    box-shadow: 0 2px 9px #173b3840; white-space: nowrap; font: 750 12px/1.1 system-ui,sans-serif;
}
#flight-map .fm-price i {
    display: grid; place-items: center; min-width: 18px; height: 18px; padding-inline: 3px;
    border-radius: 50%; background: #20392e; color: white; font: 700 10px/1 system-ui,sans-serif;
}
#flight-map .fm-marker[role="button"] { cursor: pointer }
#flight-map .fm-marker[role="button"]:is(:hover,:focus-visible) { z-index: 8000 !important }
#flight-map .fm-marker[role="button"]:is(:hover,:focus-visible) .fm-price { outline: 2px solid #34745a }
#flight-map .fm-origin-chip { background: #176549; color: white; font-weight: 650; gap: 6px }
#flight-map .fm-origin-chip i { font-style: normal }
#flight-map .fm-controls { display: grid; gap: 8px; justify-items: end; margin: 0 13px 18px 0 }
#flight-map .fm-controls button, #flight-map .fm-list button, #flight-map .leaflet-popup-close-button { font-family: inherit; cursor: pointer; color: #173328 }
#flight-map .fm-controls button {
    display: grid; place-items: center; width: 41px; height: 41px; margin: 0; padding: 0;
    background: white; border: 0; font-size: 23px; line-height: 1;
}
#flight-map .fm-controls button:disabled { opacity: .56; cursor: default }
#flight-map .fm-zoom, #flight-map .fm-controls .fm-fit { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px #28454028 }
#flight-map .fm-zoom button + button { border-top: 1px solid #dfe7e2 }
#flight-map .fm-controls button:focus-visible { outline: 2px solid #1c7452; outline-offset: -3px }
#flight-map .fm-controls svg { width: 19px; height: 19px }
#flight-map .leaflet-popup { bottom: 0; top: auto; margin-bottom: 13px; text-align: left }
#flight-map .leaflet-popup-content-wrapper { background: white; padding: 12px; border-radius: 14px; box-shadow: 0 4px 20px #12362c3b }
#flight-map .leaflet-popup-content { width: 220px; margin: 0; line-height: 1.3 }
#flight-map .fm-list { display: grid; max-height: min(220px,42vh); overflow: auto; overscroll-behavior: contain; padding-right: 4px }
#flight-map .fm-list button { display: grid; width: 100%; background: white; border: 0; border-bottom: 1px solid #e0e8e2; padding: 8px 5px; gap: 3px; text-align: left }
#flight-map .fm-list button:last-child { border: 0 }
#flight-map .fm-list button:hover { background: #f1f6f1 }
#flight-map .fm-list small { font-size: 12px; font-weight: 450 }
#flight-map .fm-popup-title { display: block; margin: 0 22px 6px 4px; font-size: 13px }
#flight-map .leaflet-popup-close-button { position: absolute; right: 5px; top: 5px; height: 28px; width: 28px; display: grid; place-items: center; text-decoration: none; font-size: 20px; line-height: 1 }
#flight-map .leaflet-popup-tip-container { display: none }
#flight-map .fm-credit { position: absolute; left: 0; bottom: 0; z-index: 800; background: #ffffffcc; padding: 2px 5px; color: #3b5049; font: 10px/1.2 system-ui,sans-serif }
#flight-map .fm-credit a { color: inherit }
#flight-map .fm-message { position: absolute; z-index: 750; bottom: 20px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 70%; text-align: center; font-size: 13px; padding: 6px 12px; border-radius: 12px; background: #fffffff0 }
#flight-map .fm-message:empty { display: none }

#flight-map .fm-price:has(.fm-photo) { padding: 3px 9px 3px 3px }
#flight-map .fm-price .fm-photo { width: 25px; height: 25px; border-radius: 50%; object-fit: cover; flex: none }
#flight-map .fm-list button:has(.fm-photo) { grid-template-columns: 42px minmax(0,1fr); column-gap: 8px }
#flight-map .fm-list .fm-photo { grid-row: span 2; align-self: center; width: 42px; height: 42px; object-fit: cover; border-radius: 8px }
#flight-map .fm-active-marker { pointer-events: none }
#flight-map .fm-active-offer {
    position: absolute; bottom: 8px; left: 0; transform: translateX(-50%);
    display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap;
    padding: 7px 13px; background: #192d25; color: #fff; border-radius: 24px;
    box-shadow: 0 5px 15px #15291e38; font: 650 14px/1.25 Figtree,system-ui,sans-serif;
}
#flight-map .fm-active-offer span { color: #d3dad6 }
#flight-map .fm-selected-member .fm-price { visibility: hidden }
