/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 *= require tabulator_semanticui
 *= require choices.min
 *= require tom-select.min.css
 *= require colors
 *= require menu
 *= require leaflet
 *= require buttons
 */

/* Leaflet assigns z-index up to 1000 to its own children (panes 200-700,
 * .leaflet-control 800, .leaflet-top/.leaflet-bottom 1000) and sets only
 * `position: relative` on the container — which does NOT open a stacking
 * context. Those values therefore compete in the root stacking context and
 * paint over the cookie banner (#cookie-consent, Tailwind z-50). Ordinary
 * page content has z-index auto, so only the maps overlapped it.
 *
 * `isolation: isolate` gives each map its own stacking context, so the
 * internal tile < marker < popup < control order is preserved while the map
 * as a whole layers by document order. The country detail panel is a sibling
 * of the map, not a child, so it is unaffected.
 */
.leaflet-container {
  isolation: isolate;
}
