/* Operator UI — lightweight run feedback (no JS animation libs). */

.operator-radar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.operator-radar-dish {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  border-radius: 50%;
  border: 2px solid #6c757d;
  background:
    radial-gradient(circle at center, transparent 0 18%, rgba(108, 117, 125, 0.18) 19% 20%, transparent 21%),
    radial-gradient(circle at center, transparent 0 48%, rgba(108, 117, 125, 0.22) 49% 50%, transparent 51%),
    #f8f9fa;
  overflow: hidden;
}

.operator-radar-dish::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(13, 110, 253, 0.55) 0deg,
    rgba(13, 110, 253, 0.08) 55deg,
    transparent 90deg 360deg
  );
  animation: operator-radar-sweep 2.2s linear infinite;
  transform-origin: 50% 50%;
}

.operator-radar-dish::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.35rem;
  height: 0.35rem;
  margin: -0.175rem 0 0 -0.175rem;
  border-radius: 50%;
  background: #0d6efd;
}

.operator-radar-label {
  margin: 0;
  color: #6c757d;
  font-size: 0.95rem;
}

@keyframes operator-radar-sweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .operator-radar-dish::before {
    animation: none;
    background: rgba(13, 110, 253, 0.2);
  }
}

/* M2.1 Results scanability — presentation only. */

.result-job-number {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: #212529;
}

.result-job-card {
  border-left-width: 4px;
}

.result-job-card--good-fit {
  border-left-color: #198754;
  background-color: #f4faf6;
}

.result-job-card--worth-a-look {
  border-left-color: #c9a227;
  background-color: #fdfbf4;
}

.result-job-card--skip {
  border-left-color: #6c757d;
  background-color: #f8f9fa;
}

.result-fit-badge {
  font-weight: 600;
}

.result-fit-badge--good-fit {
  background-color: #d1e7dd;
  color: #0a3622;
}

.result-fit-badge--worth-a-look {
  background-color: #fff3cd;
  color: #664d03;
}

.result-fit-badge--skip {
  background-color: #e9ecef;
  color: #343a40;
}

.result-fit-legend--good-fit {
  color: #0f5132;
}

.result-fit-legend--worth-a-look {
  color: #664d03;
}

.result-fit-legend--skip {
  color: #495057;
}

/* Active-run recovery: keep the indicator tappable outside the collapsed menu. */
.navbar-active-run {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 2.75rem;
  margin-right: 0.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 193, 7, 0.75);
  border-radius: 999px;
  color: #ffc107;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.navbar-active-run:hover,
.navbar-active-run:focus {
  color: #1a1d20;
  background: #ffc107;
}

.active-run-banner-action {
  min-height: 2.75rem;
  white-space: nowrap;
}

@media (max-width: 430px) {
  .navbar-active-run {
    max-width: calc(100vw - 9.5rem);
    white-space: normal;
  }
}

@media (min-width: 992px) {
  .navbar-active-run {
    flex: 0 0 auto;
    min-height: 2rem;
  }
}
