.preolix-solar-map {
  --psm-ink: #063c42;
  --psm-accent: #b7dd36;
  position: relative;
  overflow: hidden;
  min-height: var(--psm-height);
  border-radius: 28px;
  background: #e9efeb;
  color: var(--psm-ink);
  font-family: inherit;
  box-shadow: 0 22px 70px rgba(5, 52, 57, .12);
}

.preolix-solar-map__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.preolix-solar-map__status {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: var(--psm-ink);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 32px rgba(0,0,0,.18);
}

.preolix-solar-map__status[hidden] { display: none; }
.preolix-solar-map__status.is-error { flex-direction: column; width: min(420px, calc(100% - 48px)); border-radius: 14px; text-align: center; }
.preolix-solar-map__status.is-error span { opacity: .75; }
.preolix-solar-map__spinner { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,.35); border-top-color: var(--psm-accent); border-radius: 50%; animation: psm-spin .7s linear infinite; }
@keyframes psm-spin { to { transform: rotate(360deg); } }

.psm-marker { position: relative; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(183,221,54,.32); cursor: pointer; box-shadow: 0 0 0 0 rgba(183,221,54,.42); transition: transform .2s ease; animation: psm-pulse 2.6s infinite; }
.psm-marker span { position: absolute; inset: 6px; border: 2px solid #fff; border-radius: 50%; background: var(--psm-ink); box-shadow: 0 3px 10px rgba(0,0,0,.28); }
.psm-marker:hover, .psm-marker:focus-visible { transform: scale(1.28); outline: none; }
@keyframes psm-pulse { 60% { box-shadow: 0 0 0 10px rgba(183,221,54,0); } 100% { box-shadow: 0 0 0 0 rgba(183,221,54,0); } }

.mapboxgl-popup-content { overflow: hidden; padding: 0 !important; border-radius: 17px !important; box-shadow: 0 18px 50px rgba(2,38,42,.2) !important; }
.mapboxgl-popup-close-button { z-index: 2; top: 7px !important; right: 7px !important; width: 27px; height: 27px; border-radius: 50%; background: rgba(255,255,255,.92) !important; color: var(--psm-ink); font-size: 20px; line-height: 24px; }
.psm-popup { color: var(--psm-ink); font-family: inherit; }
.psm-popup__image { display: block; width: 100%; height: 135px; object-fit: cover; }
.psm-popup__body { padding: 17px; }
.psm-popup__id { color: #73817d; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.psm-popup h3 { margin: 4px 0 7px; font-size: 19px; line-height: 1.15; }
.psm-popup__address { margin: 0 0 13px; color: #687974; font-size: 12px; line-height: 1.4; }
.psm-popup dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.psm-popup dl div { padding: 8px 9px; border-radius: 8px; background: #f1f4ef; }
.psm-popup dt { color: #71807b; font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.psm-popup dd { margin: 2px 0 0; font-size: 12px; font-weight: 700; }
.psm-popup__privacy { margin: 12px 0 0; color: #71807b; font-size: 10px; line-height: 1.45; }

@media (max-width: 620px) {
  .preolix-solar-map { min-height: max(560px, var(--psm-height)); border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) { .psm-marker, .preolix-solar-map__spinner { animation: none; } }

