/**
 * Objects page map layout only — load after updated.css.
 * Keeps map below header without replacing the full updated.css bundle.
 */
#header.folded {
  min-height: 57px;
}

#sidebarMenu {
  position: fixed;
  left: 5px;
  top: 57px;
  width: 95px;
  height: calc(100% - 69px);
  z-index: 1000;
  margin-top: 0 !important;
  border-radius: 12px;
  overflow: auto;
  box-shadow: 0 20px 14px rgba(0, 0, 0, 0.34);
}

#mapWrap {
  position: absolute;
  top: 57px;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  overflow: hidden;
}

#map .leaflet-container {
  height: 100%;
}

/* Show/hide device labels — JS toggles both class names for updated.css + legacy */
#map.leaflet-hidden-name .leaf-device-marker .name,
#map.hidden-device-name .leaf-device-marker .name,
#map.leaflet-hidden-name .leaflet-marker-icon:not(.leaflet-hover) .name {
  display: none !important;
}
