<div class="container-fluid">

<h2 class="fw-bold mb-4">
AI Governance & Decision Intelligence Center
</h2>

<div class="row">

<div class="col-lg-5">

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

<div class="card-header fw-bold">
Executive Recommendations
</div>

<div class="card-body">

<?php foreach($insights as $i): ?>

<div class="alert alert-<?= htmlspecialchars($i['severity']) ?>">

<strong>
<?= htmlspecialchars($i['title']) ?>
</strong>

<br>

<?= htmlspecialchars($i['message']) ?>

</div>

<?php endforeach; ?>

<?php if(empty($insights)): ?>

<div class="alert alert-success">
No governance risks detected.
</div>

<?php endif; ?>

</div>

</div>

</div>

<div class="col-lg-7">

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

<div class="card-header fw-bold">
Conference Health Overview
</div>

<div class="table-responsive">

<table class="table table-striped">

<thead>

<tr>
<th>ID</th>
<th>Conference</th>
<th>Submissions</th>
<th>Under Review</th>
<th>Accepted</th>
</tr>

</thead>

<tbody>

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

<tr>

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

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

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

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

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

</tr>

<?php endforeach; ?>

</tbody>

</table>

</div>

</div>

</div>

</div>

</div>
