/* ── PANELS: equipo, métricas, gráfico ───────────────────────────── */
.agent-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.agent-card-info { flex: 1; min-width: 0; }
.agent-card-name { font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-card-email { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-card-role {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(105,28,255,0.1);
  color: var(--purple);
  white-space: nowrap;
  flex-shrink: 0;
}
.agent-online-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.agent-online-dot.online  { background: #22C55E; }
.agent-online-dot.offline { background: var(--border); }

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.metric-card { background: var(--surface); border-radius: 12px; padding: 20px; }
.metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 8px;
}
.metric-value { font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1; }

.chart-container { background: var(--surface); border-radius: 12px; padding: 20px; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; }
.chart-bar-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.chart-bar-value { font-size: 11px; font-weight: 600; color: var(--ink); margin-bottom: 4px; min-height: 16px; }
.chart-bar { width: 100%; background: var(--purple); border-radius: 4px 4px 0 0; min-height: 4px; }
.chart-bar-label { font-size: 10px; color: var(--muted); margin-top: 6px; text-transform: capitalize; }

@media (max-width: 767px) {
  .metrics-grid { grid-template-columns: 1fr; }
}
