{# Loop QA capability health rows — polled via HTMX every 30s #}
{% for cap in snapshot.capabilities %}
<div class="health-row">
  <span class="health-label">{{ cap.capability.upper().replace("_", " ") }}</span>
  {% if cap.status == "green" %}
  <span class="badge mc-badge-up">OK</span>
  {% elif cap.status == "yellow" %}
  <span class="badge mc-badge-ready">WARN</span>
  {% else %}
  <span class="badge mc-badge-down">FAIL</span>
  {% endif %}
</div>
{% endfor %}
