<div class="container-fluid py-4">

<div class="card border-0 shadow-sm">

<div class="card-body">

<h2>
Reviewer Governance Intelligence
</h2>

<table class="table table-bordered table-hover">

<thead>

<tr>

<th>Reviewer</th>
<th>Total</th>
<th>Completed</th>
<th>Open</th>
<th>Overdue</th>
<th>Score</th>
<th>Risk</th>

</tr>

</thead>

<tbody>

<?php foreach($rows as $r): ?>

<tr>

<td><?= htmlspecialchars($r['reviewer_name']) ?></td>

<td><?= (int)$r['total_reviews'] ?></td>

<td><?= (int)$r['completed_reviews'] ?></td>

<td><?= (int)$r['open_reviews'] ?></td>

<td><?= (int)$r['overdue_reviews'] ?></td>

<td><?= (int)$r['governance_score'] ?></td>

<td><?= htmlspecialchars($r['risk']) ?></td>

</tr>

<?php endforeach; ?>

</tbody>

</table>

</div>

</div>

</div>
