@media (min-width: 1024px) {
  body.nv-map-v2-active .nv-primary-map-host {
    position: fixed !important;
    top: 56px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100dvh - 56px) !important;
    min-width: 100vw !important;
    min-height: calc(100dvh - 56px) !important;
    z-index: 719 !important;
    background: #eef3eb !important;
  }

  body.nv-map-v2-active .nv-primary-map-host > div,
  body.nv-map-v2-active .nv-primary-map-host .leaflet-container {
    width: 100% !important;
    height: 100% !important;
    min-height: calc(100dvh - 56px) !important;
  }
}

@media (min-width: 1024px) {
  body.nv-map-v2-active .nv-map-v2-surface {
    position: fixed !important;
    top: 56px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100dvh - 56px) !important;
    min-width: 100vw !important;
    min-height: calc(100dvh - 56px) !important;
    z-index: 720 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.nv-map-v2-active #nv-primary-nav { z-index: 860 !important; }
  body.nv-map-v2-active #nv-copilot-dock { z-index: 920 !important; }
  body.nv-map-v2-active #nv-copilot-close { z-index: 940 !important; }
}
/* Option cards belong to the map surface (card <-> pin). On the full-screen
   desktop Map they must sit above Leaflet and clear the Copilot dock;
   otherwise the results Norvia just returned exist invisibly underneath. */
@media (min-width: 1024px) {
  body.nv-map-v2-active [data-nv-cards-layer] { z-index: 760 !important; }
  body.nv-map-v2-active [data-nv-cards-layer="carousel"] { bottom: 104px !important; }
  /* The route card (premium map panel) owns the top-left corner. */
  body.nv-map-v2-active [data-nv-cards-layer="filters"] { left: 336px !important; }
  /* The open Copilot (right 18px, 440px wide) must not cover the cards or the
     › arrow: the carousel ends at its left edge and stays fully scrollable. */
  body.nv-map-v2-active.nv-copilot-open [data-nv-cards-layer="carousel"] { right: 476px !important; }
  body.nv-map-v2-active.nv-copilot-open [data-nv-cards-layer="arrow"][data-dir="next"] { right: 480px !important; }
}
