.npds-microbar__city {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, .45);
  cursor: pointer;
}
.npds-microbar__city:hover,
.npds-microbar__city:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}
.glp-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility 0s linear .22s;
}
.glp-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .22s ease, visibility 0s linear 0s;
}
@media (prefers-reduced-motion: reduce) {
  .glp-overlay { transition: none; }
}
.glp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 10, .62);
  backdrop-filter: blur(2px);
}
.glp-shell {
  position: relative;
  z-index: 1;
  width: min(96vw, 780px);
  max-height: 92vh;
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--ink);
  padding: 18px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-2);
}
.glp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}
.glp-close:hover { background: var(--brand-soft); border-color: var(--brand); }
.glp-title {
  margin: 0;
  padding-right: 40px;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.glp-sub {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}
.glp-current {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 700;
}
.glp-panel { display: grid; gap: 10px; }
.glp-actions-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.glp-row {
  display: grid;
  gap: 6px;
  font-size: .84rem;
  color: var(--muted);
}
.glp-field {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  font: inherit;
  font-size: .95rem;
  background: var(--paper);
  color: var(--ink);
}
.glp-field::placeholder { color: var(--muted); }
.glp-results {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 180px;
  overflow: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--card);
}
.glp-results[hidden] { display: none; }
.glp-results li + li { border-top: 1px solid var(--rule-hair); }
.glp-results button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 9px 11px;
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: .6rem;
}
.glp-results button:hover,
.glp-results button:focus,
.glp-results button.is-on { background: var(--brand-soft); }
.glp-results .glp-uf { color: var(--muted); font-weight: 700; font-size: .82rem; }
.glp-empty { padding: 9px 11px; color: var(--muted); font-size: .88rem; }
.glp-map {
  width: 100%;
  height: 280px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-2);
}
.glp-map.is-pulse { animation: glp-pulse .7s ease; }
@keyframes glp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(247, 148, 29, .45); }
  50%  { box-shadow: 0 0 0 10px rgba(247, 148, 29, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 148, 29, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .glp-map.is-pulse { animation: none; }
}
.glp-map .leaflet-container { font-family: var(--sans); background: var(--paper-2); }
.glp-map .leaflet-control-attribution { font-size: 10px; }
.glp-status {
  margin: 0;
  min-height: 1.2em;
  font-size: .82rem;
  color: var(--muted);
}
.glp-status.is-error { color: var(--warn); }
.glp-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.glp-btn-primary,
.glp-btn-secondary {
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
}
.glp-btn-primary {
  border: 1px solid var(--brand-ink);
  background: var(--brand-ink);
  color: #fff;
}
.glp-btn-primary:hover { filter: brightness(1.06); }
.glp-btn-secondary {
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--ink);
}
.glp-btn-secondary:hover { background: var(--brand-soft); border-color: var(--brand); }
.glp-btn-primary[disabled],
.glp-btn-secondary[disabled] { opacity: .55; cursor: default; }
.glp-btn-secondary svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: .35rem; }
@media (max-width: 700px) {
  .glp-overlay {
    align-items: flex-start;
    padding: calc(48px + env(safe-area-inset-top, 0px)) 10px 10px;
  }
  .glp-shell {
    width: 100%;
    max-height: calc(100dvh - 72px - env(safe-area-inset-bottom, 0px));
    padding: 14px 14px 0;
    gap: 8px;
    overflow: hidden;
  }
  .glp-close { top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 12px; }
  .glp-actions-top { flex-direction: column; align-items: stretch; }
  .glp-panel { min-height: 0; overflow: auto; padding-right: 2px; }
  .glp-map { height: 220px; }
  .glp-btn-primary,
  .glp-btn-secondary { width: 100%; text-align: center; }
  .glp-actions {
    position: sticky;
    bottom: 0;
    width: auto;
    margin: 8px -14px 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--rule);
    background: var(--card);
    z-index: 2;
  }
}
