/* R0162 unconfirmed leads layer. Only shipped when data/leads_layer.flag is on. */
.leads-preview-banner {
  background: #3a1a00;
  color: #ffd7b8;
  text-align: center;
  font: 600 0.82rem/1.4 Outfit, system-ui, sans-serif;
  padding: 0.45rem 1rem;
  border-bottom: 2px dashed #ff7a3d;
  position: sticky;
  top: 0;
  z-index: 4000;
}
.leads-kicker {
  margin: 0 0 0.35rem;
  color: #ff7a3d;
  font: 600 0.78rem/1.3 Outfit, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.leads-label {
  display: inline-block;
  border: 1px dashed #ff7a3d;
  color: #ffd0b0;
  background: rgba(255, 122, 61, 0.12);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font: 600 0.72rem/1.2 Outfit, system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.leads-intro, .leads-confirm-note, .leads-region, .leads-desc, .leads-sources {
  font: 400 0.95rem/1.55 Outfit, system-ui, sans-serif;
  color: #d7dde8;
}
.leads-intro { margin: 0 0 1rem; max-width: 46rem; }
.leads-cta { margin: 0.85rem 0 0; }
a.leads-confirm {
  color: #ff7a3d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.leads-confirm-note { display: block; margin-top: 0.3rem; color: #9aa3b5; font-size: 0.85rem; }
.leads-badge {
  display: inline-block;
  margin-right: 0.4rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid #ff7a3d;
  border-radius: 4px;
  font: 600 0.7rem/1.2 Outfit, system-ui, sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ff7a3d;
}
.leads-home .leads-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}
a.leads-home-card {
  display: block;
  background: #0a0e1c;
  border: 1px dashed #ff7a3d;
  border-radius: 12px;
  padding: 1rem 1.05rem 0.95rem;
  color: inherit;
  text-decoration: none;
  min-height: 8rem;
}
a.leads-home-card:hover, a.leads-home-card:focus-visible {
  background: #140e10;
  box-shadow: 0 0 0 2px rgba(255, 122, 61, 0.35);
}
a.leads-home-card h3 {
  margin: 0.45rem 0 0.35rem;
  font: 600 1.05rem/1.3 Outfit, system-ui, sans-serif;
  color: #fff;
}
a.leads-home-card p { margin: 0 0 0.6rem; color: #c5cbd8; font-size: 0.9rem; }
.leads-go { color: #ff7a3d; font-weight: 600; font-size: 0.85rem; }
.leads-list { display: grid; gap: 1.15rem; margin: 1.25rem 0 2rem; }
.leads-card {
  background: #0a0e1c;
  border: 1px dashed #ff7a3d;
  border-radius: 12px;
  padding: 1.1rem 1.15rem 1.15rem;
}
.leads-card h3 { margin: 0.2rem 0 0.65rem; font: 650 1.2rem/1.3 Outfit, system-ui, sans-serif; color: #fff; }
.leads-card time { margin-left: 0.6rem; color: #9aa3b5; font-size: 0.8rem; letter-spacing: 0; text-transform: none; }
.leads-sources { font-size: 0.88rem; }
.leads-sources a { color: #2ee8ff; }
.leads-sources-lbl { color: #9aa3b5; margin-right: 0.25rem; }
.leads-map-link { display: inline-block; margin-top: 0.5rem; color: #2ee8ff; font-weight: 600; font-size: 0.9rem; }
.leads-spoiler summary {
  cursor: pointer;
  color: #ff7a3d;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.leads-door { border-color: #ff7a3d !important; }
.leads-confirm-box {
  background: #140e10;
  border: 1px dashed #ff7a3d;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 0 0 1.25rem;
}
.leads-confirm-box h2 { margin: 0.15rem 0 0.5rem; }
.leads-confirm-box[hidden] { display: none !important; }

/* Map toggle / panel / markers */
#mapv3-leads-toggle[aria-pressed="true"] {
  border-color: #ff7a3d;
  color: #ffd0b0;
  background: rgba(255, 122, 61, 0.16);
}
.mapv2-legend-leads {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.25rem;
  vertical-align: -0.1rem;
  border: 2px dashed #ff7a3d;
  border-radius: 50%;
  background: rgba(255, 122, 61, 0.2);
  box-shadow: 0 0 0 1px #071018;
}
.leads-map-panel {
  position: absolute;
  z-index: 500;
  right: 12px;
  top: 72px;
  width: min(320px, calc(100% - 24px));
  max-height: 48%;
  overflow: auto;
  background: rgba(5, 8, 18, 0.94);
  border: 1px dashed #ff7a3d;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  color: #e8edf5;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}
.leads-map-panel ul { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.leads-map-panel li { margin: 0; }
.leads-map-panel button.leads-list-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,122,61,0.25);
  color: inherit;
  padding: 0.55rem 0.15rem;
  cursor: pointer;
  font: 500 0.88rem/1.35 Outfit, system-ui, sans-serif;
  min-height: 44px;
}
.leads-map-panel button.leads-list-item:hover,
.leads-map-panel button.leads-list-item:focus-visible { color: #ff7a3d; }
.leads-hit {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leads-dot {
  width: 22px;
  height: 22px;
  border: 2px dashed #ff7a3d;
  border-radius: 50%;
  background: rgba(255, 122, 61, 0.22);
  box-shadow: 0 0 0 2px #071018, 0 0 0 3px rgba(255, 122, 61, 0.75);
}
.leads-popup { min-width: 220px; max-width: 340px; }
.leads-accounts { margin: 0.5rem 0 0.7rem; }
.leads-accounts-lbl {
  margin: 0 0 0.3rem;
  font: 600 0.75rem/1.3 Outfit, system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #b34a12;
}
.leads-accounts ul {
  margin: 0;
  padding-left: 1.1rem;
}
.leads-accounts li { margin: 0.25rem 0; }
.leads-popup .leads-desc + .leads-desc { margin-top: 0.55rem; }
.leaflet-container .leads-popup .leads-accounts-lbl { color: #b34a12; }
.leaflet-container .leads-popup .leads-accounts { color: #1a2230; }
.leads-popup h3 { margin: 0.2rem 0 0.45rem; font-size: 1rem; }
.leaflet-container .leads-popup .leads-desc { color: #1a2230; }
.leaflet-container .leads-popup .leads-region,
.leaflet-container .leads-popup .leads-sources,
.leaflet-container .leads-popup .leads-confirm-note { color: #3a4558; }
.leaflet-container .leads-popup a { color: #b34a12; }

@media (max-width: 640px) {
  .leads-map-panel {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: 8px;
    width: auto;
    max-height: 42%;
  }
  .leads-home .leads-home-grid { grid-template-columns: 1fr; }
}
