<?php
$title='My Leadership Dashboard';
?>

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

<h2 class="mb-4">
<i class="fa-solid fa-chess-king"></i>
My Leadership Dashboard
</h2>

<div class="row g-4">

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

<div class="card shadow-sm">

<div class="card-header">
Leadership Pipeline
</div>

<div class="card-body">

<p><strong>Pipeline Role:</strong>
<?= htmlspecialchars($pipeline['pipeline_role'] ?? '-') ?>
</p>

<p><strong>Leadership Score:</strong>
<?= htmlspecialchars($pipeline['leadership_score'] ?? '-') ?>
</p>

<p><strong>Talent Score:</strong>
<?= htmlspecialchars($pipeline['talent_score'] ?? '-') ?>
</p>

<p><strong>Status:</strong>
<?= htmlspecialchars($pipeline['status'] ?? '-') ?>
</p>

</div>

</div>

</div>

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

<div class="card shadow-sm">

<div class="card-header">
Succession Intelligence
</div>

<div class="card-body">

<p><strong>Succession Role:</strong>
<?= htmlspecialchars($succession['succession_role'] ?? '-') ?>
</p>

<p><strong>Readiness:</strong>
<?= htmlspecialchars($succession['readiness_score'] ?? '-') ?>
</p>

<p><strong>Confidence:</strong>
<?= htmlspecialchars($succession['succession_confidence'] ?? '-') ?>
</p>

<p><strong>Tier:</strong>
<?= htmlspecialchars($succession['leadership_tier'] ?? '-') ?>
</p>

</div>

</div>

</div>

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

<div class="card shadow-sm">

<div class="card-header">
Leadership Roadmap
</div>

<div class="card-body">

<p><strong>Target Role:</strong>
<?= htmlspecialchars($plan['succession_role'] ?? '-') ?>
</p>

<p><strong>Readiness:</strong>
<?= htmlspecialchars($plan['readiness_score'] ?? '-') ?>
</p>

<p><strong>Status:</strong>
<?= htmlspecialchars($plan['status'] ?? '-') ?>
</p>

<p><strong>Recommendation:</strong>
<?= htmlspecialchars($plan['recommendation_text'] ?? '-') ?>
</p>

</div>

</div>

</div>

</div>

</div>
