/* Keep the road map, title, compass and number coordinates together. Only the
   source's decorative top/bottom border is outside the overview frame. */
#cont-map #paper-viewport[data-paper-overview="true"] { overflow: hidden; }

/* One toggle in the existing toolbar: no extra map row or floating overlay. */
#map-clarity-scale { display: none; }
body.map-fullscreen #map-clarity-scale {
  display: flex;
  flex: 0 0 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 48px;
  min-height: 44px;
  padding: 3px 1px;
  border: 1px solid #c9d7df;
  border-radius: 9px;
  background: #f3f7f8;
  color: #172e4b;
  font: 700 12px/1.3 var(--map-ui-font, sans-serif);
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
}
body.map-fullscreen #map-clarity-scale:focus-visible {
  outline: 3px solid #13b2a1;
  outline-offset: 2px;
}
body.map-fullscreen .mdt-spacer { display: none; }
body.mdt-search-open #map-clarity-scale { display: none; }
@media (max-width: 359px) {
  body.map-fullscreen #map-demo-toolbar #map-demo-notebook {
    min-width: 96px;
    padding-inline: 6px;
  }
  body.map-fullscreen #map-demo-toolbar #map-demo-notebook .mdt-action-label {
    font-size: 12px;
  }
}
