<div class="llm-report llm-{{ report.verdict }}">
    <div class="llm-header">
        <span class="llm-badge llm-badge-{{ report.verdict }}">{{ report.verdict }}</span>
        {% if report.severity_rating %}
        <span class="llm-severity">{{ report.severity_rating }}</span>
        {% endif %}
        {% if config.llm_enabled and not config.llm_auto_analyze %}
        <span class="llm-retry"
            hx-post="/api/v1/findings/{{ finding_id }}/analyze?retry=1"
            hx-target="closest .llm-report"
            hx-swap="outerHTML"
            hx-indicator="closest .llm-report">{{ t('llm_retry', request.state.lang) }}</span>
        {% endif %}
    </div>
    <p class="llm-summary">{{ report.summary }}</p>
    <p class="llm-analysis">{{ report.analysis }}</p>
    <p class="llm-disclaimer">{{ t('llm_disclaimer', request.state.lang) }}</p>
</div>
