<h2>📊 测试摘要</h2>
<div class="summary-grid">
    <div class="summary-card">
        <h3>总用例数</h3>
        <div class="value" id="summary-total-cases">{total_cases}</div>
    </div>
    <div class="summary-card">
        <h3>通过用例</h3>
        <div class="value" id="summary-passed-cases" style="color: #5db884;">{passed_cases}</div>
    </div>
    <div class="summary-card">
        <h3>失败用例</h3>
        <div class="value" id="summary-failed-cases" style="color: #d6848a;">{failed_cases}</div>
    </div>
    <div class="summary-card">
        <h3>通过率</h3>
        <div class="value" id="summary-pass-rate" style="color: #7c8fc2;">{pass_rate}%</div>
    </div>
</div>

