﻿/* ── Agentic Loop Eval — tool-specific overrides ──────────────────────────── */

/* Step progress pills */
.step-progress {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.step-pip {
  width: 28px;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  transition: background 0.3s;
}

.step-pip.pass    { background: #15803d; }
.step-pip.fail    { background: #b91c1c; }
.step-pip.pending { background: var(--border); }

/* Step detail in result panel */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.82rem;
}

.step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--border);
  color: var(--text-muted);
}

.step-num.pass { background: #dcfce7; color: #15803d; }
.step-num.fail { background: #fee2e2; color: #b91c1c; }

.step-row-body { flex: 1; min-width: 0; }
.step-desc     { font-weight: 600; color: var(--text); margin-bottom: 4px; }
.step-tool     { font-family: monospace; font-size: 0.78rem; color: var(--accent); }
.step-err      { font-size: 0.78rem; color: #b91c1c; margin-top: 2px; }

/* Heatmap — 5 step columns */
.heatmap-grid { grid-template-columns: 180px repeat(5, 1fr); }

/* Completion rate tile */
.rate-high    { color: #15803d !important; }
.rate-medium  { color: #b45309 !important; }
.rate-low     { color: #b91c1c !important; }
