.site-map-field {
  min-width: 0;
}

.site-map-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.site-map-intro span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.site-map {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #dbe3eb;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
  user-select: none;
  touch-action: manipulation;
}

.site-map-tiles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #e7edf3;
}

.site-map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  border: 0;
  pointer-events: none;
  user-select: none;
}

.site-map-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 2px solid #d18b12;
  border-radius: 50%;
  background: rgba(245,165,36,.16);
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.65) inset;
}

.site-map-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -92%);
  cursor: grab;
  z-index: 5;
  touch-action: none;
}

.site-map-marker:active {
  cursor: grabbing;
}

.site-map-marker::before {
  content: '';
  position: absolute;
  inset: 2px;
  border: 4px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  background: var(--amber);
  box-shadow: 0 4px 13px rgba(17,24,39,.34);
  transform: rotate(-45deg);
}

.site-map-marker::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  left: 50%;
  top: 42%;
  border-radius: 50%;
  background: #111827;
  transform: translate(-50%, -50%);
}

.site-map-controls {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  overflow: hidden;
  z-index: 6;
  border: 1px solid rgba(17,24,39,.15);
  border-radius: 9px;
  background: white;
  box-shadow: 0 3px 12px rgba(17,24,39,.16);
}

.site-map-controls button {
  width: 34px;
  height: 34px;
  border: 0;
  background: white;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.site-map-controls button + button {
  border-top: 1px solid #e4e7ec;
}

.site-map-attribution {
  position: absolute;
  right: 5px;
  bottom: 4px;
  z-index: 6;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255,255,255,.88);
  color: #475467;
  font-size: 8px;
  line-height: 1.3;
}

.site-map-attribution a {
  color: #344054;
}

.site-map-status {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .site-map {
    height: 280px;
  }

  .site-map-intro {
    align-items: flex-start;
    flex-direction: column;
  }
}
