/* Sprint 15 (D6): nothing on a public page renders below 12.5px.
   Anything smaller is uncomfortable on a 1920 display, which is the width
   the Owner actually uses. Enforced here at source AND asserted per page by
   e2e/ui-standards.spec.js -- do not reintroduce a 0.6-0.72rem badge or tag. */
#scenario-panel { border-color: var(--amber); }

.triage-step { position: relative; }
.triage-step h2::before { background: var(--amber); }

.evidence-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-top: 0.5rem; }
.evidence-table th, .evidence-table td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--border); }
.evidence-table th { color: var(--muted); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }

.verdict {
  display: inline-block; padding: 0.4rem 0.9rem; border-radius: 6px;
  font-weight: 700; font-size: 0.85rem; margin-top: 0.6rem;
}
.verdict.defect { background: rgba(239,90,90,0.12); color: var(--red); border: 1px solid rgba(239,90,90,0.35); }
.verdict.fixed { background: rgba(62,207,142,0.12); color: var(--green); border: 1px solid rgba(62,207,142,0.35); }

.source-excerpt, .diff-view {
  background: #0d0f14; border: 1px solid var(--border); border-radius: 6px;
  padding: 0.85rem 1rem; overflow-x: auto; font-family: "SF Mono", Consolas, monospace;
  font-size: 0.82rem; white-space: pre; margin-top: 0.5rem; max-height: 340px; overflow-y: auto;
}
.diff-view .diff-add { color: var(--green); }
.diff-view .diff-del { color: var(--red); }

.diagnosis-card {
  border: 1px solid var(--border); border-radius: 8px; padding: 0.9rem 1.1rem;
  margin-top: 0.6rem; background: rgba(255,255,255,0.02);
}
.diagnosis-row { display: grid; grid-template-columns: 140px 1fr; gap: 0.75rem; padding: 0.3rem 0; font-size: 0.85rem; }
.diagnosis-row .k { color: var(--muted); }
@media (max-width: 640px) { .diagnosis-row { grid-template-columns: 1fr; } }

/* Human-approval-gate visual treatment -- deliberately the most visually
   distinct block on the page (docs/UI_UX_DESIGN_SYSTEM.md). */
.approval-panel { border: 2px solid var(--amber); box-shadow: 0 0 0 1px rgba(230,180,80,0.15); }
.approval-panel h2 { color: var(--amber); font-size: 1rem; text-transform: none; letter-spacing: normal; }
.approval-panel h2::before { display: none; }
.approval-box { max-width: 360px; margin-top: 0.75rem; }
.approval-box label { display: block; font-size: 12.5px; font-weight: 600; margin: 0.6rem 0 0.25rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.approval-box label:first-of-type { margin-top: 0; }
.approval-box select, .approval-box input {
  width: 100%; padding: 0.5rem 0.6rem; background: #0d0f14; color: var(--text);
  border: 1px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 0.92rem;
}
.approval-panel button.approve { background: var(--green); }
.approval-panel button.reject { background: #2a2e3a; color: var(--muted); }

#resolved-body .verdict.fixed { font-size: 1rem; }

/* One-click demo entry point: the single button that runs reproduction,
   AI diagnosis, candidate-patch generation, and testing in one go —
   visually the loudest thing on the page, since it's the intended
   starting point for a first-time viewer. */
#start-btn.one-click-btn {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  background: var(--accent);
}
#start-btn.one-click-btn:hover { filter: brightness(1.1); }
