/*
 * Local MapLibre layout CSS.
 * Kept inside MandicMade so the map canvas and DOM markers still work even
 * when the upstream MapLibre stylesheet CDN is unavailable.
 */
.maplibregl-map {
  font: 12px/20px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
  position: relative;
  -webkit-tap-highlight-color: rgb(0 0 0 / 0);
}
.maplibregl-canvas-container,
.maplibregl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.maplibregl-canvas {
  left: 0;
  top: 0;
  outline: none;
}
.maplibregl-canvas-container.maplibregl-interactive {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.maplibregl-canvas-container.maplibregl-interactive:active { cursor: grabbing; }
.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,
.maplibregl-canvas-container.maplibregl-touch-drag-pan { touch-action: none; }
.maplibregl-control-container { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.maplibregl-ctrl-top-left,
.maplibregl-ctrl-top-right,
.maplibregl-ctrl-bottom-left,
.maplibregl-ctrl-bottom-right { position: absolute; pointer-events: none; z-index: 2; }
.maplibregl-ctrl-top-left { top: 0; left: 0; }
.maplibregl-ctrl-top-right { top: 0; right: 0; }
.maplibregl-ctrl-bottom-left { bottom: 0; left: 0; }
.maplibregl-ctrl-bottom-right { right: 0; bottom: 0; }
.maplibregl-ctrl { clear: both; pointer-events: auto; transform: translate(0,0); }
.maplibregl-ctrl-top-left .maplibregl-ctrl { margin: 10px 0 0 10px; float: left; }
.maplibregl-ctrl-top-right .maplibregl-ctrl { margin: 10px 10px 0 0; float: right; }
.maplibregl-ctrl-bottom-left .maplibregl-ctrl { margin: 0 0 10px 10px; float: left; }
.maplibregl-ctrl-bottom-right .maplibregl-ctrl { margin: 0 10px 10px 0; float: right; }
.maplibregl-ctrl-group {
  overflow: hidden;
  border-radius: 10px;
  background: rgba(8,11,18,.88);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
}
.maplibregl-ctrl-group button {
  width: 31px;
  height: 31px;
  display: block;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.maplibregl-ctrl-group button:last-child { border-bottom: 0; }
.maplibregl-ctrl-group button:hover { background: rgba(255,255,255,.09); }
.maplibregl-ctrl-icon { width: 100%; height: 100%; display: grid; place-items: center; }
.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon::before { content: "+"; font: 500 21px/1 system-ui; }
.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon::before { content: "−"; font: 500 21px/1 system-ui; }
.maplibregl-ctrl-compass .maplibregl-ctrl-icon::before { content: "⌁"; font: 500 17px/1 system-ui; }
.maplibregl-ctrl-attrib {
  max-width: calc(100% - 30px);
  padding: 0 5px;
  border-radius: 6px;
  background: rgba(8,11,18,.72);
  color: rgba(255,255,255,.72);
  font-size: 9px;
  line-height: 18px;
}
.maplibregl-ctrl-attrib a { color: inherit; }
.maplibregl-ctrl-attrib-button { display: none; }
.maplibregl-marker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  will-change: transform;
  opacity: 1;
  transition: opacity .2s;
}
.maplibregl-popup { position: absolute; top: 0; left: 0; display: flex; will-change: transform; pointer-events: none; }
.maplibregl-popup-content { position: relative; pointer-events: auto; }
.maplibregl-user-location-dot,
.maplibregl-user-location-dot::before { width: 15px; height: 15px; border-radius: 50%; background: #1da1f2; }
html[data-office-theme="business"] .maplibregl-ctrl-group { background: rgba(255,255,255,.94); border-color: #dbe3ef; }
html[data-office-theme="business"] .maplibregl-ctrl-group button { color: #172033; border-color: #e3e8ef; }
html[data-office-theme="business"] .maplibregl-ctrl-attrib { background: rgba(255,255,255,.88); color: #475569; }
