/* ── All metrics two-column layout ─────────────────────────── */
.metrics-two-col {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.metrics-col-left {
  flex: 0 0 auto;
  min-width: 240px;
}
.metrics-col-right {
  flex: 1 1 0;
  min-width: 0;
}
.field-detail-scroll {
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
@media (max-width: 700px) {
  .metrics-two-col { flex-direction: column; }
}

/* ── Evaluation sub-sections (LLM row / FormalCompare row) ─ */
.eval-subsection { margin-bottom: 0; }
.eval-subsection + .eval-subsection {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.eval-subsection__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.75rem 0;
}

/* ── Per-field breakdown table ───────────────────────────── */
.field-table td { font-size: 0.82rem; padding: 0.4rem 0.6rem; }
.field-table .field-value {
  max-width: 200px;
  word-break: break-word;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.field-table .field-comments {
  max-width: 240px;
  word-break: break-word;
  color: var(--text-muted);
}
.field-detail-empty {
  color: var(--text-faint);
  font-size: 0.82rem;
  margin: 0;
  padding: 0.5rem 0;
}

/* Row colorings — applied as class on <tr> */
.field-table tr.field-row--correct td    { background: rgba(133,153,0,   0.06); }
.field-table tr.field-row--partial td    { background: rgba(181,137,0,   0.07); }
.field-table tr.field-row--incorrect td  { background: rgba(220,50,47,   0.07); }
.field-table tr.field-row--critical td   { background: rgba(220,50,47,   0.09); }
.field-table tr.field-row--minor td      { background: rgba(203,75,22,   0.07); }
.field-table tr.field-row--hallucination td { background: rgba(220,50,47, 0.10); }
.field-table tr.field-row--extra-relevant td { background: rgba(42,161,152, 0.06); }
.field-table tr.field-row--missing td    { background: rgba(220,50,47,   0.05); }
.field-table tr.field-row--extra td      { background: rgba(203,75,22,   0.05); }
.field-table tr.field-row--matched td    { background: rgba(133,153,0,   0.04); }
