.map-location-controls {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  pointer-events: auto;
}

.map-only-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #dce5e6;
  border-radius: 10px;
  background: #fff;
  color: #075c55;
  box-shadow: 0 4px 14px #153d421a;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  touch-action: manipulation;
}

.map-only-toggle svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-only-toggle:hover { border-color: #9acfc6; background: #edf8f5; }
.map-only-toggle:focus-visible { outline: 3px solid #0d766c66; outline-offset: 3px; }

body.map-only-view { overflow: hidden; }

.map-only-view .topbar,
.map-only-view .sidebar,
.map-only-view .sidebar-toggle,
.map-only-view .map-location-button,
.map-only-view .map-route-summary,
.map-only-view .map-search,
.map-only-view .map-layers,
.map-only-view .map-legend,
.map-only-view .map-instruction,
.map-only-view .route-drag-toolbar,
.map-only-view .map-service-error,
.map-only-view .toast,
.map-only-view .modal-backdrop,
.map-only-view dialog,
.map-only-view .leaflet-control:not(.leaflet-control-attribution),
.map-only-view .atlas-control-container,
.map-only-view .leaflet-popup,
.map-only-view .atlas-popup { display: none !important; }

.map-only-view .workspace,
.map-only-view .workspace.sidebar-collapsed {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100dvh;
  min-height: 0;
}

.map-only-view .workspace .map-area {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
}

.map-only-view .workspace .map-toolbar {
  top: 20px;
  left: 20px;
  right: auto;
  display: block;
  width: max-content;
}

.map-only-view .map-only-toggle { min-height: 36px; }

@media (max-width: 760px) {
  .map-only-view .workspace .map-toolbar { top: 11px; left: 11px; }
}
