.radar-page {
  --radar-navy: #07162a;
  --radar-panel: #0b2039;
  --radar-blue: #22d3ee;
  --radar-green: #34d399;
  --radar-amber: #fbbf24;
  --radar-slate: #94a3b8;
  min-height: calc(100vh - 72px);
  padding-top: clamp(3rem, 4.5vw, 4.25rem);
  background:
    radial-gradient(circle at 22% 8%, rgba(14, 116, 144, 0.13), transparent 35%),
    #f4f7fb;
}

.radar-hero {
  position: relative;
  left: 50%;
  display: grid;
  box-sizing: border-box;
  overflow: hidden;
  width: min(1680px, calc(100% + clamp(1.5rem, 3vw, 3rem)));
  margin: 0 auto 1.35rem;
  padding: clamp(1.1rem, 2.6vw, 1.65rem) clamp(1.1rem, 3vw, 2rem) clamp(1rem, 2.4vw, 1.45rem);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 0%, rgba(34, 211, 238, 0.12), transparent 34%),
    linear-gradient(135deg, #0b2039 0%, #07162a 72%);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  isolation: isolate;
  transform: translateX(-50%);
}

.radar-hero::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: min(36%, 360px);
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, rgba(34, 211, 238, 0));
  content: "";
}

.radar-hero > * {
  position: relative;
  z-index: 1;
}

.radar-hero__eyebrow {
  margin: 0 0 0.55rem;
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.28);
  text-transform: uppercase;
}

.radar-hero__eyebrow span {
  margin: 0 0.25rem;
  color: rgba(125, 211, 252, 0.48);
}

.radar-hero h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(1.7rem, 4.3vw, 2.8rem);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.38);
}

.radar-hero__readout {
  min-height: 1.1rem;
  margin-top: 0.9rem;
  color: #cbd5e1;
  font-size: clamp(0.72rem, 1.6vw, 0.86rem);
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.radar-hero__readout [data-radar-command-ready] {
  color: #67e8f9;
}

.radar-hero__separator {
  margin: 0 0.38rem;
  color: #64748b;
}

.radar-hero__hot {
  color: #fb7185;
  text-shadow: 0 0 18px rgba(251, 113, 133, 0.36);
}

.radar-hero__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1.4vw, 0.8rem);
  margin: 0.9rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(148, 163, 184, 0.13);
  color: #71849b;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.radar-hero__actions i {
  color: rgba(34, 211, 238, 0.4);
  font-style: normal;
}

.radar-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 1500px;
  margin: 0 auto 0.8rem;
}

.radar-kpis article {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.2rem 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid #dce5ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
}

.radar-kpis span,
.radar-kpis small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.radar-kpis strong {
  grid-row: span 2;
  color: #0f172a;
  font-size: 1.8rem;
  line-height: 1;
}

.radar-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: 0.8rem;
  max-width: 1500px;
  margin: 0 auto;
}

.radar-stage-card,
.radar-detail {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 22px;
  background: var(--radar-navy);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
}

.radar-stage-card {
  min-width: 0;
  overflow: hidden;
}

.radar-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.radar-toolbar__label {
  display: block;
  margin-bottom: 0.55rem;
  color: #71849b;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.radar-filters {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.radar-filters button,
.radar-view-controls button {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #aab8c9;
  cursor: pointer;
  font: inherit;
  font-size: 0.73rem;
  font-weight: 750;
}

.radar-filters button {
  padding: 0.42rem 0.72rem;
}

.radar-filters button:hover,
.radar-filters button:focus-visible,
.radar-filters button.is-active {
  border-color: rgba(34, 211, 238, 0.6);
  background: rgba(34, 211, 238, 0.13);
  color: #cffafe;
  outline: none;
}

.radar-view-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 0.35rem; }
.radar-view-controls button { min-width: 34px; min-height: 34px; padding: 0.42rem 0.65rem; }
.radar-view-controls button:hover,
.radar-view-controls button:focus-visible { border-color: rgba(34, 211, 238, 0.6); color: #cffafe; outline: 2px solid rgba(34, 211, 238, 0.35); outline-offset: 2px; }
.radar-view-controls button:disabled { cursor: default; opacity: 0.4; }
.radar-view-controls__level { min-width: 58px !important; font-variant-numeric: tabular-nums; }
.radar-view-controls__fullscreen { min-width: 94px !important; }

.radar-stage-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  padding: clamp(1rem, 2vw, 2rem);
  scrollbar-color: rgba(34, 211, 238, 0.45) rgba(148, 163, 184, 0.08);
  scrollbar-width: thin;
}

.radar-stage-wrap.is-zoomed { justify-content: flex-start; }

.radar-stage {
  flex: 0 0 auto;
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(18, 77, 103, 0.28) 0 1px, transparent 2px) 0 0 / 19px 19px,
    radial-gradient(circle at 50% 50%, #0b2942 0%, #061827 69%, #04111f 100%);
  box-shadow:
    inset 0 0 70px rgba(34, 211, 238, 0.08),
    0 0 45px rgba(8, 145, 178, 0.12);
  isolation: isolate;
}

.radar-stage-card:fullscreen,
.radar-stage-card.is-fullscreen-fallback {
  display: flex;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  max-width: none;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: var(--radar-navy);
}

.radar-stage-card.is-fullscreen-fallback { position: fixed; inset: 0; }
.radar-stage-card:fullscreen .radar-stage-wrap,
.radar-stage-card.is-fullscreen-fallback .radar-stage-wrap { flex: 1 1 auto; min-height: 0; }
.radar-stage-card:fullscreen .radar-result-list,
.radar-stage-card.is-fullscreen-fallback .radar-result-list { flex: 0 1 24vh; max-height: 24vh; }
body.radar-fullscreen-lock { overflow: hidden; }

.radar-stage__grid {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 24.5%, rgba(34, 211, 238, 0.19) 25%, transparent 25.5%),
    radial-gradient(circle, transparent 49.5%, rgba(34, 211, 238, 0.19) 50%, transparent 50.5%),
    radial-gradient(circle, transparent 74.5%, rgba(34, 211, 238, 0.19) 75%, transparent 75.5%);
}

.radar-stage__sweep {
  position: absolute;
  inset: 8%;
  z-index: 1;
  border-radius: 50%;
  background: conic-gradient(from -22deg, transparent 0deg 315deg, rgba(45, 212, 191, 0.02) 326deg, rgba(34, 211, 238, 0.32) 358deg, rgba(165, 243, 252, 0.82) 360deg);
  animation: radar-sweep 5.8s linear infinite;
  transform-origin: center;
}

.radar-stage__axis {
  position: absolute;
  z-index: 0;
  background: rgba(34, 211, 238, 0.16);
}

.radar-stage__axis--horizontal { top: 50%; left: 8%; width: 84%; height: 1px; }
.radar-stage__axis--vertical { top: 8%; left: 50%; width: 1px; height: 84%; }

.radar-stage__center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: grid;
  justify-items: center;
  min-width: min(270px, 68vw);
  gap: 0.28rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.radar-stage__origin-lock {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(165, 243, 252, 0.35);
  border-radius: 50%;
}

.radar-stage__origin-dot {
  display: block;
  width: 9px;
  height: 9px;
  border: 2px solid #a5f3fc;
  border-radius: 50%;
  background: #083344;
  box-shadow: 0 0 14px #22d3ee;
}

.radar-stage__origin-you {
  color: #f0fdfa;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  font-weight: 950;
  letter-spacing: 0.2em;
  line-height: 1;
  text-shadow: 0 0 14px rgba(45, 212, 191, 0.5);
}

.radar-stage__origin-location {
  max-width: min(250px, 62vw);
  overflow: hidden;
  padding: 0.18rem 0.48rem;
  border-radius: 6px;
  background: rgba(3, 18, 32, 0.88);
  color: #cffafe;
  font-size: clamp(0.56rem, 1vw, 0.7rem);
  font-weight: 850;
  letter-spacing: 0.075em;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px #020617;
  text-transform: uppercase;
  white-space: nowrap;
}

.radar-stage__origin-accuracy {
  padding: 0.12rem 0.38rem;
  border-radius: 4px;
  background: rgba(3, 18, 32, 0.82);
  color: #86efac;
  font-size: clamp(0.48rem, 0.8vw, 0.58rem);
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.2;
  white-space: nowrap;
}

.radar-stage__center.is-locating .radar-stage__origin-dot {
  width: 12px;
  height: 12px;
  border-color: #fde68a;
  background: #f59e0b;
  box-shadow: 0 0 0 7px rgba(245, 158, 11, 0.13), 0 0 22px #f59e0b;
  animation: origin-location-pulse 1.1s ease-in-out infinite;
}

.radar-stage__center.is-locating .radar-stage__origin-location {
  color: #fef3c7;
}

.radar-stage__center.is-gps .radar-stage__origin-lock {
  width: 38px;
  height: 38px;
  border-color: rgba(74, 222, 128, 0.65);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.1), 0 0 22px rgba(34, 197, 94, 0.22);
}

.radar-stage__center.is-gps .radar-stage__origin-lock::before {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(74, 222, 128, 0.42);
  border-radius: 50%;
  content: '';
  animation: gps-lock-pulse 2.4s ease-out infinite;
}

.radar-stage__center.is-gps .radar-stage__origin-dot {
  width: 16px;
  height: 16px;
  border: 3px solid #dcfce7;
  background: #22c55e;
  box-shadow: 0 0 18px #22c55e;
}

.radar-stage__center.is-gps .radar-stage__origin-location {
  color: #dcfce7;
}

.radar-bearing {
  position: absolute;
  z-index: 3;
  color: rgba(165, 243, 252, 0.58);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.radar-bearing--north { top: 3.5%; left: 50%; transform: translateX(-50%); }
.radar-bearing--south { bottom: 3.5%; left: 50%; transform: translateX(-50%); }
.radar-bearing--east { top: 50%; right: 3.5%; transform: translateY(-50%); }
.radar-bearing--west { top: 50%; left: 3.5%; transform: translateY(-50%); }

.radar-target {
  --signal-color: var(--radar-slate);
  position: absolute;
  top: var(--target-y);
  left: var(--target-x);
  z-index: 4;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.radar-target--hot { --signal-color: var(--radar-green); }
.radar-target--warm { --signal-color: var(--radar-amber); }
.radar-target--watch { --signal-color: #94a3b8; }
.radar-target--unscored { --signal-color: #64748b; }

.radar-target__dot {
  position: absolute;
  inset: 7px;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  background: var(--signal-color);
  box-shadow: 0 0 13px var(--signal-color);
}

.radar-target__pulse {
  position: absolute;
  inset: 2px;
  border: 1px solid var(--signal-color);
  border-radius: 50%;
  animation: target-pulse 2.6s var(--target-delay) ease-out infinite;
}

.radar-target__label {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  width: max-content;
  max-width: 150px;
  overflow: hidden;
  color: #d7e3ee;
  font-size: clamp(0.5rem, 1vw, 0.68rem);
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-shadow: 0 1px 5px #020617;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translate(-50%, 2px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.radar-target:hover .radar-target__label,
.radar-target:focus-visible .radar-target__label,
.radar-target.is-selected .radar-target__label {
  color: #ffffff;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.radar-target:hover,
.radar-target:focus-visible,
.radar-target.is-selected { z-index: 4; }

.radar-target:focus-visible,
.radar-target.is-selected {
  outline: 2px solid #e0f2fe;
  outline-offset: 5px;
}

.radar-target[hidden] { display: none; }

.radar-legend {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  padding: 0.25rem 1rem 1.15rem;
  color: #7f93a9;
  font-size: 0.7rem;
  font-weight: 700;
}

.radar-legend span { display: inline-flex; align-items: center; gap: 0.38rem; }
.radar-legend__dot { width: 7px; height: 7px; border-radius: 50%; }
.radar-legend__dot--hot { background: var(--radar-green); }
.radar-legend__dot--warm { background: var(--radar-amber); }
.radar-legend__dot--watch { background: var(--radar-slate); }
.radar-legend__dot--unscored { background: #475569; }

.radar-detail {
  align-self: stretch;
  padding: clamp(1.2rem, 2vw, 1.65rem);
  color: #dbe7f3;
}

.radar-detail__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.radar-detail__signal {
  display: inline-flex;
  padding: 0.35rem 0.58rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.radar-detail__signal--hot { border-color: rgba(52, 211, 153, 0.48); background: rgba(52, 211, 153, 0.1); color: #6ee7b7; }
.radar-detail__signal--warm { border-color: rgba(251, 191, 36, 0.48); background: rgba(251, 191, 36, 0.1); color: #fde68a; }
.radar-detail__signal--watch { color: #cbd5e1; }
.radar-detail__signal--unscored { color: #94a3b8; }

.radar-detail__score { color: #75899f; font-size: 0.72rem; }
.radar-detail__score strong { color: #e6f6ff; font-size: 1.45rem; }
.radar-detail__eyebrow { margin: 2.25rem 0 0.45rem; color: #38bdf8; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.radar-detail h2 { margin: 0; color: #fff; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.08; letter-spacing: -0.03em; }

.radar-detail__meter {
  height: 4px;
  margin: 1.2rem 0 2rem;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.15);
}

.radar-detail__meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ea5e9, #34d399);
  transition: width 320ms ease;
}

.radar-detail__section {
  padding: 1rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.radar-detail__section span { color: #71849b; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.radar-detail__section p { margin: 0.45rem 0 0; color: #d0dce8; font-size: 0.86rem; line-height: 1.55; }

.radar-detail__action {
  width: 100%;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid #22d3ee;
  border-radius: 12px;
  background: #22d3ee;
  color: #062236;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
}

.radar-detail__action:hover,
.radar-detail__action:focus-visible { background: #a5f3fc; outline: 2px solid #a5f3fc; outline-offset: 3px; }
.radar-detail__action:disabled { cursor: wait; opacity: 0.58; }
.radar-detail__notice { margin: 0.75rem 0 0; color: #71849b; font-size: 0.68rem; line-height: 1.45; }
.radar-detail__notice.is-active { color: #67e8f9; }

.radar-search-card {
  max-width: 1500px;
  margin: 0 auto 0.8rem;
  padding: 1rem;
  border: 1px solid #dce5ef;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
}

.radar-search-card__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.radar-search-card__heading h2 { margin: 0; color: #0f172a; font-size: 1.05rem; }
.radar-search-card__heading p { margin: 0; color: #64748b; font-size: 0.75rem; }
.radar-search-form { display: grid; grid-template-columns: auto minmax(220px, 1fr) 150px minmax(300px, auto) auto; align-items: end; gap: 0.75rem; }
.radar-origin-switch { display: flex; gap: 0.3rem; padding: 0.28rem; border-radius: 12px; background: #eef3f8; }
.radar-origin-switch button { padding: 0.58rem 0.7rem; border: 0; border-radius: 9px; background: transparent; color: #64748b; cursor: pointer; font: inherit; font-size: 0.74rem; font-weight: 800; white-space: nowrap; }
.radar-origin-switch button:disabled { cursor: wait; opacity: 0.72; }
.radar-origin-switch button.is-active { background: #fff; color: #0e7490; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.09); }
.radar-field--location.is-gps-location input { border-color: #86efac; background: #f0fdf4; color: #166534; font-weight: 750; }
.radar-field { display: grid; gap: 0.35rem; color: #526276; font-size: 0.7rem; font-weight: 800; }
.radar-field input, .radar-field select { min-width: 0; height: 42px; padding: 0 0.7rem; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a; font: inherit; font-weight: 600; }
.radar-role-fieldset { display: flex; align-items: center; gap: 0.65rem; min-height: 42px; margin: 0; padding: 0.45rem 0.65rem; border: 1px solid #cbd5e1; border-radius: 10px; }
.radar-role-fieldset legend { padding: 0 0.2rem; color: #526276; font-size: 0.68rem; font-weight: 800; }
.radar-role-fieldset label { display: inline-flex; align-items: center; gap: 0.3rem; color: #334155; font-size: 0.74rem; font-weight: 700; white-space: nowrap; }
.radar-scan-button { height: 42px; padding: 0 1rem; border: 1px solid #0891b2; border-radius: 10px; background: #0891b2; color: #fff; cursor: pointer; font: inherit; font-size: 0.78rem; font-weight: 850; white-space: nowrap; }
.radar-scan-button:hover, .radar-scan-button:focus-visible { background: #0e7490; outline: 2px solid #67e8f9; outline-offset: 2px; }
.radar-scan-button:disabled { cursor: wait; opacity: 0.65; }
.radar-form-message { margin: 0.8rem 0 0; padding: 0.65rem 0.75rem; border-radius: 10px; background: #f1f5f9; color: #475569; font-size: 0.76rem; }
.radar-form-message--success { background: #ecfdf5; color: #047857; }
.radar-form-message--warning { background: #fffbeb; color: #92400e; }
.radar-form-message--error { background: #fef2f2; color: #b91c1c; }

.radar-stage__empty { position: absolute; top: 50%; left: 50%; z-index: 3; display: grid; gap: 0.35rem; width: 65%; color: #7690a8; text-align: center; transform: translate(-50%, -50%); }
.radar-stage__empty[hidden] { display: none; }
.radar-stage.has-gps-origin .radar-stage__empty { top: 76%; width: min(72%, 320px); }
.radar-stage__empty strong { color: #cbd5e1; font-size: 1rem; }
.radar-stage__empty span { font-size: 0.74rem; }
.radar-result-list { display: grid; gap: 1px; max-height: 430px; overflow-y: auto; border-top: 1px solid rgba(148, 163, 184, 0.16); background: rgba(148, 163, 184, 0.12); }
.radar-result-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 38px; align-items: center; gap: 0.7rem; padding: 0.75rem 1rem; border: 0; background: #091b30; color: #dbe7f3; cursor: pointer; text-align: left; }
.radar-result-row:hover, .radar-result-row.is-selected { background: #0e2a46; }
.radar-result-row__signal { width: 7px; height: 7px; border-radius: 50%; background: #64748b; }
.radar-result-row__signal--hot { background: var(--radar-green); box-shadow: 0 0 8px var(--radar-green); }
.radar-result-row__signal--warm { background: var(--radar-amber); }
.radar-result-row__signal--watch { background: var(--radar-slate); }
.radar-result-row__main { display: grid; min-width: 0; gap: 0.18rem; }
.radar-result-row__main strong, .radar-result-row__main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radar-result-row__main strong { color: #edf7ff; font-size: 0.78rem; }
.radar-result-row__main small, .radar-result-row__distance { color: #7f93a9; font-size: 0.68rem; }
.radar-result-row__score { color: #e6f6ff; font-size: 0.9rem; font-weight: 850; text-align: right; }
.radar-filter-empty { margin: 0; padding: 1rem; background: #091b30; color: #7f93a9; font-size: 0.75rem; text-align: center; }
.radar-detail__empty { display: grid; place-content: center; gap: 0.45rem; min-height: 320px; color: #71849b; text-align: center; }
.radar-detail__empty strong { color: #dbe7f3; }
.radar-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0 0 1rem; }
.radar-contact-grid div { min-width: 0; }
.radar-contact-grid dt { color: #71849b; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.radar-contact-grid dd { margin: 0.22rem 0 0; overflow-wrap: anywhere; color: #d0dce8; font-size: 0.77rem; }
.radar-website { margin: 0.3rem 0 1rem; }
.radar-website a { color: #67e8f9; font-size: 0.77rem; font-weight: 750; }

.radar-back { display: inline-flex; margin-bottom: 1rem; color: #0e7490; font-size: 0.82rem; font-weight: 800; text-decoration: none; }
.radar-lead-card { max-width: 980px; margin: 0 auto; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid #dce5ef; border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09); }
.radar-lead-card h1 { margin: 0.25rem 0 1.5rem; color: #0f172a; }
.radar-lead-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.radar-lead-grid div { display: grid; gap: 0.3rem; padding: 0.75rem; border-radius: 12px; background: #f8fafc; }
.radar-lead-grid span, .radar-lead-copy span { color: #64748b; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.radar-lead-grid strong { color: #172033; overflow-wrap: anywhere; }
.radar-detail__action--inline { display: inline-flex; width: auto; text-decoration: none; }
.radar-lead-copy { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e2e8f0; }
.radar-lead-copy p { color: #334155; }

@keyframes radar-sweep { to { transform: rotate(360deg); } }
@keyframes target-pulse { 0% { opacity: 0.8; transform: scale(0.55); } 75%, 100% { opacity: 0; transform: scale(1.8); } }
@keyframes origin-location-pulse { 50% { transform: scale(1.22); } }
@keyframes gps-lock-pulse { 0% { opacity: 0.72; transform: scale(0.82); } 72%, 100% { opacity: 0; transform: scale(1.28); } }

@media (max-width: 1050px) {
  .radar-workspace { grid-template-columns: 1fr; }
  .radar-detail { min-height: auto; }
  .radar-search-form { grid-template-columns: auto minmax(220px, 1fr) 140px; }
  .radar-role-fieldset { grid-column: span 2; }
}

@media (max-width: 720px) {
  .radar-page { padding: 1.75rem 0.75rem 2rem; }
  .radar-hero { left: auto; width: 100%; margin-bottom: 1rem; border-radius: 16px; transform: none; }
  .radar-hero__readout { letter-spacing: 0.085em; }
  .radar-hero__actions { justify-content: space-between; gap: 0.25rem; letter-spacing: 0.09em; }
  .radar-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .radar-toolbar { align-items: flex-start; flex-direction: column; }
  .radar-view-controls { width: 100%; }
  .radar-view-controls__fullscreen { margin-left: auto; }
  .radar-stage-wrap { padding: 0.65rem; }
  .radar-target__label { max-width: 110px; font-size: 0.58rem; }
  .radar-legend { align-items: flex-start; flex-direction: column; gap: 0.45rem; }
  .radar-search-card__heading { align-items: flex-start; flex-direction: column; }
  .radar-search-form { grid-template-columns: 1fr; }
  .radar-origin-switch, .radar-field, .radar-role-fieldset, .radar-scan-button { grid-column: auto; width: 100%; }
  .radar-origin-switch button { flex: 1; }
  .radar-role-fieldset { flex-wrap: wrap; }
  .radar-result-row { grid-template-columns: 9px minmax(0, 1fr) auto; }
  .radar-result-row__distance { display: none; }
  .radar-contact-grid, .radar-lead-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 390px) {
  .radar-kpis { grid-template-columns: 1fr; }
  .radar-contact-grid, .radar-lead-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .radar-stage__sweep,
  .radar-stage__center.is-gps .radar-stage__origin-lock::before,
  .radar-target__pulse,
  .radar-stage__center.is-locating .radar-stage__origin-dot { animation: none; }
}
