/* 262: one map-local stack, never competing with sheets or dialogs. */
.map-tools {
  position:absolute;
  z-index:7;
  right:18px;
  bottom:calc(var(--clockh) + 38px);
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  max-width:calc(100% - 36px);
}
#mapTools .satbtn,#mapTools #gpsChip,#mapTools #pplChip,#mapTools .esri-pow {
  position:static;
  inset:auto;
  margin:0;
  max-width:100%;
}
#mapTools .satbtn,#mapTools #gpsChip,#mapTools #pplChip {
  min-height:44px;
  flex-shrink:0;
}
#mapTools .esri-pow[hidden] { display:none; }
#mapTools .esri-pow { order:0; }
#mapTools #pplChip { order:1; }
#mapTools #gpsChip { order:2; }
#mapTools .satbtn { order:3; }
#mapTools #pplChip[hidden] { display:none; }
/* The map menu stays below drawers, more sheets and modal overlays. */
#mvMenu { z-index:14; }
@media(min-width:861px) {
  body.rbopen .map-tools { right:590px; }
}
@media(max-width:860px) {
  .map-tools {
    right:max(12px,env(safe-area-inset-right));
    bottom:32px;
    gap:8px;
  }
  body.rbopen:not(.rbpeek) .map-tools { display:none; }
  body.rbopen.rbpeek .map-tools { bottom:32px; }
  body.bn.bn-mapfull .map-tools { bottom:calc(var(--bnh) + 32px + env(safe-area-inset-bottom)); }
}
