#radar-signals {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

#radar-health {
  margin-top: 1rem;
}

.signal-item {
  background: #121c31;
  border: 1px solid #23324d;
  border-radius: 10px;
  padding: 0.85rem;
}

.status-ok {
  color: #34d399;
}

.status-degraded {
  color: #f59e0b;
}

.status-disabled {
  color: #94a3b8;
}

.provider-status-block {
  margin-top: 0.5rem;
}

.provider-status-list {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.provider-status-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

#radar-history {
  margin-top: 1rem;
}

#radar-history-chart {
  margin-top: 0.75rem;
}

.history-svg {
  width: 100%;
  height: auto;
  display: block;
}

.history-axis {
  stroke: #334155;
  stroke-width: 1;
}

.history-line {
  fill: none;
  stroke: #22d3ee;
  stroke-width: 2;
}

.history-point {
  fill: #22d3ee;
}

.momentum-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--xscope-border);
  font-size: 0.85rem;
  font-weight: 600;
}

.momentum-surge {
  color: var(--xscope-accent);
  border-color: var(--xscope-accent);
}

.momentum-rising {
  color: #34d399;
  border-color: #34d399;
}

.momentum-stable {
  color: var(--xscope-muted);
}

.momentum-cooling {
  color: #f59e0b;
  border-color: #f59e0b;
}

.momentum-unknown {
  color: var(--xscope-muted);
}

.early-alert-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.status-critical {
  color: #ef4444;
}

.status-watch {
  color: #38bdf8;
}

.table-wrap {
  overflow-x: auto;
}

.early-alert-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

.early-alert-table th,
.early-alert-table td {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 1px solid var(--xscope-border);
  white-space: nowrap;
}

.early-alert-table th {
  color: var(--xscope-muted);
  font-weight: 600;
}
