
/* SIMSAR_MAP_MOBILE_LAYOUT_V6 */
/* Only the SIMSAR Map V1 page on mobile */
@media screen and (max-width:767px) {
  #page-map.active #simsar-map-v1 .smv2-shell {
    gap:4px !important;
    min-width:0;
  }

  #page-map.active #simsar-map-v1 .smv2-toolbar {
    gap:5px !important;
    padding:5px 4px !important;
  }

  #page-map.active #simsar-map-v1 .smv2-search input {
    height:42px !important;
    min-height:42px;
    font-size:16px !important;
  }

  #page-map.active #simsar-map-v1 .smv2-chips {
    gap:5px !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    scrollbar-width:none;
  }

  #page-map.active #simsar-map-v1 .smv2-chips button {
    flex-shrink:0 !important;
    min-height:36px;
  }

  #page-map.active #simsar-map-v1 .smv2-layout {
    height:max(280px, calc(100dvh - 205px)) !important;
    min-height:0 !important;
    position:relative;
  }

  #page-map.active #simsar-map-v1 .smv2-map-area {
    height:100% !important;
    min-height:0 !important;
    overflow:hidden !important;
  }

  #page-map.active #simsar-map-v1 .smv2-panel {
    max-height:min(72dvh, 640px) !important;
    min-height:0 !important;
    overflow:hidden !important;
    box-sizing:border-box;
  }

  #page-map.active #simsar-map-v1 .smv2-results {
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto !important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }

  #page-map.active #simsar-map-v1 .smv2-card {
    min-width:0;
    max-width:100%;
  }

  #page-map.active #simsar-map-v1 .smv2-card-copy {
    min-width:0;
    overflow-wrap:anywhere;
  }
}
