/* Only the two management map renderers opt in to these action controls. */
#mapWrapper.management-map-actions #map { overflow:clip !important; }
#map_layout #mapWrapper.management-map-actions .mapRightButtonsWrap02 { right:10px !important; }
#mapWrapper.management-map-actions .management-map-bottom-actions {
  position:absolute; right:10px; bottom:20px; z-index:10;
  display:flex; flex-direction:column; align-items:flex-end; gap:8px;
}
#mapWrapper.management-map-actions #map .management-map-action {
  box-sizing:border-box; position:static; width:50px; min-width:50px; height:52px; min-height:52px;
  display:flex !important; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  margin:0 !important; padding:0; border:0; border-radius:12px;
  background:var(--rail-accent,#0088ff) !important; color:#fff;
  box-shadow:var(--rail-shadow,0 6px 20px rgba(16,24,40,.16),0 1px 3px rgba(16,24,40,.10));
  line-height:normal; cursor:pointer; text-align:center;
}
#mapWrapper.management-map-actions #map .management-map-action i {
  width:auto; height:auto; margin:0; font-size:18px; line-height:18px; color:inherit !important;
}
#mapWrapper.management-map-actions #map .management-map-action svg { width:18px; height:18px; flex-shrink:0; }
#mapWrapper.management-map-actions #map .management-map-action span {
  float:none; width:auto; margin:0 !important; padding:0; font-size:10px; font-weight:700; line-height:14px; color:inherit !important;
}
#mapWrapper.management-map-actions #map .management-map-action:focus-visible { outline:2px solid var(--rail-accent,#0088ff); outline-offset:3px; }
#mapWrapper.management-map-actions #map .management-map-action:hover { filter:brightness(.94); }
#mapWrapper.management-map-actions #map #item_insert_btn > .map-action-active,
#mapWrapper.management-map-actions #map #item_insert_btn > .map-action-stop-icon { display:none !important; }
#mapWrapper.management-map-actions #map #item_insert_btn.active { background:#ea580c !important; }
#mapWrapper.management-map-actions #map #item_insert_btn.active > .map-action-idle,
#mapWrapper.management-map-actions #map #item_insert_btn.active > .map-action-register-icon { display:none !important; }
#mapWrapper.management-map-actions #map #item_insert_btn.active > .map-action-active,
#mapWrapper.management-map-actions #map #item_insert_btn.active > .map-action-stop-icon { display:block !important; }
@media(max-width:992px) {
  #mapWrapper.management-map-actions #map .management-map-action { width:44px; min-width:44px; height:44px; min-height:44px; border-radius:10px; }
  #mapWrapper.management-map-actions .management-map-bottom-actions { bottom:100px; }
}
/* Keep map actions stacked on short desktop windows. */
@media(min-width:993px) and (max-height:950px) {
  #mapWrapper.management-map-actions .management-map-bottom-actions { flex-direction:column; }
}
/* DEV marker chooser: the original select remains the data/change adapter. */
#mapWrapper.management-map-actions .map_marker_display_control {
  box-sizing:border-box; position:absolute; left:auto; right:10px; width:50px; height:52px;
  padding:0; margin:0; border:0; border-radius:12px; background:transparent;
  box-shadow:none; z-index:12;
}
#mapWrapper.management-map-actions .map_marker_display_control > [hidden] { display:none !important; }
#mapWrapper.management-map-actions .management-marker-toggle {
  box-sizing:border-box; width:50px; height:52px; padding:0; margin:0; border:0; border-radius:12px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  background:#fff; color:#374151; cursor:pointer; font-family:inherit;
  box-shadow:var(--rail-shadow,0 6px 20px rgba(16,24,40,.16),0 1px 3px rgba(16,24,40,.10));
}
#mapWrapper.management-map-actions .management-marker-toggle span { font-size:9.5px; line-height:14px; letter-spacing:-.4px; white-space:nowrap; }
#mapWrapper.management-map-actions .management-marker-toggle:hover,
#mapWrapper.management-map-actions .management-marker-toggle[aria-expanded="true"] { background:#f3f7ff; }
#mapWrapper.management-map-actions .management-marker-menu {
  position:absolute; right:60px; bottom:0; width:128px; padding:4px; border-radius:8px;
  background:#fff; box-shadow:var(--rail-shadow,0 6px 20px rgba(16,24,40,.16),0 1px 3px rgba(16,24,40,.10));
}
#mapWrapper.management-map-actions .management-marker-menu button {
  display:block; box-sizing:border-box; width:100%; min-height:36px; padding:8px 10px; margin:0;
  border:0; border-radius:5px; background:transparent; color:#374151;
  font-family:inherit; font-size:12px; line-height:20px; text-align:left; white-space:nowrap; cursor:pointer;
}
#mapWrapper.management-map-actions .management-marker-menu button:hover { background:#f3f4f6; }
#mapWrapper.management-map-actions .management-marker-menu button[aria-pressed="true"] { color:var(--rail-accent,#0088ff); background:#f3f7ff; font-weight:700; }
#mapWrapper.management-map-actions .map_marker_display_control button:focus-visible { outline:2px solid var(--rail-accent,#0088ff); outline-offset:2px; }
@media(max-width:992px) {
  #mapWrapper.management-map-actions .map_marker_display_control,
  #mapWrapper.management-map-actions .management-marker-toggle { width:44px; height:48px; border-radius:10px; }
  #mapWrapper.management-map-actions .management-marker-toggle span { font-size:9px; letter-spacing:-.6px; }
  #mapWrapper.management-map-actions .management-marker-menu { right:54px; bottom:0; }
  #mapWrapper.management-map-actions .management-marker-menu button { min-height:44px; }
}
