.st-location-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.st-location-tab:hover {
  border-color: #2563eb;
  background: #dbeafe;
}

.st-location-tab.is-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9000;
  min-height: 42px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
}

.st-location-tech-notice {
  position: fixed;
  left: 12px;
  right: 12px;
  top: 92px;
  z-index: 8998;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  max-width: 430px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fff1f2;
  color: #7f1d1d;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.st-location-tech-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.st-location-tech-notice span {
  display: block;
  color: #991b1b;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.st-location-tech-notice button {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #991b1b;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.st-location-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 18px 24px;
  background: rgba(15, 23, 42, 0.58);
}

.st-location-modal {
  width: min(1080px, 100%);
  max-height: min(84vh, 820px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.34);
  color: #0b1f3a;
}

.st-location-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid #d8e2ef;
}

.st-location-kicker {
  margin-bottom: 7px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.st-location-head h2 {
  margin: 0;
  color: #06152a;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 950;
  text-transform: uppercase;
}

.st-location-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.st-location-refresh,
.st-location-close {
  min-width: 94px;
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.st-location-refresh {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.st-location-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
  min-height: 0;
  padding: 16px;
  overflow: auto;
}

.st-location-map {
  min-height: 520px;
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  background: #eef4fb;
  overflow: hidden;
}

.st-location-list {
  display: grid;
  align-content: start;
  gap: 10px;
}

.st-location-card {
  border: 1px solid #d8e2ef;
  border-left: 4px solid #2563eb;
  border-radius: 10px;
  background: #fff;
  padding: 13px 13px 12px;
}

.st-location-card.is-stale {
  border-left-color: #f59e0b;
}

.st-location-name {
  margin-bottom: 6px;
  color: #06152a;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.st-location-meta {
  color: #526783;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 850;
  text-transform: uppercase;
}

.st-location-meta strong {
  color: #0f172a;
}

.st-location-map-link {
  display: inline-flex;
  margin-top: 10px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.st-location-empty,
.st-location-error {
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  background: #f8fafc;
  padding: 18px;
  color: #526783;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.st-location-error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #b91c1c;
}

.st-location-marker {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.st-location-marker.is-stale {
  background: #f59e0b;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

@media (max-width: 860px) {
  .st-location-overlay {
    padding: 28px 10px;
  }

  .st-location-head {
    flex-direction: column;
  }

  .st-location-actions {
    width: 100%;
  }

  .st-location-refresh,
  .st-location-close {
    flex: 1;
  }

  .st-location-body {
    grid-template-columns: 1fr;
  }

  .st-location-map {
    min-height: 360px;
  }

  .st-location-tab.is-floating {
    right: 12px;
    bottom: 12px;
  }
}
