/* FW2-METRIC-004 — additive Agent Constellation list (does not replace orbit). */
.agent-constellation-panel {
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 8px;
  background: rgba(8, 12, 22, 0.45);
}

.agent-constellation-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.agent-constellation-counts {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  opacity: 0.85;
}

#agent-constellation-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  max-height: 14rem;
  overflow: auto;
}

.agent-constellation-node {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 0.75rem;
  padding: 0.35rem 0.45rem;
  border-left: 3px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.55);
}

.agent-constellation-node[data-agent-state="queued"] { border-left-color: #94a3b8; }
.agent-constellation-node[data-agent-state="loading"] { border-left-color: #38bdf8; }
.agent-constellation-node[data-agent-state="generating"] { border-left-color: #22d3ee; }
.agent-constellation-node[data-agent-state="validating"] { border-left-color: #a78bfa; }
.agent-constellation-node[data-agent-state="repairing"] { border-left-color: #fbbf24; }
.agent-constellation-node[data-agent-state="waiting"] { border-left-color: #f59e0b; }
.agent-constellation-node[data-agent-state="failed"] { border-left-color: #f87171; }
.agent-constellation-node[data-agent-state="completed"] { border-left-color: #34d399; }

.agent-constellation-state {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.agent-constellation-source {
  grid-column: 1 / -1;
  font-size: 0.7rem;
}

#agent-constellation-status,
#metric-registry-status {
  margin-top: 0.35rem;
  font-size: 0.75rem;
}

.metric-registry-panel {
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 8px;
  background: rgba(8, 12, 22, 0.45);
}

#metric-registry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  max-height: 10rem;
  overflow: auto;
  font-size: 0.78rem;
}

#metric-registry-list code {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
}
