<?php
session_start();
require_once(__DIR__ . "/../config/db.php");

if (!isset($_SESSION['institution_id']) || $_SESSION['institution_type'] !== 'school') {
    header("Location: /rs_lab/institution/login.php");
    exit;
}
?>
<!DOCTYPE html>
<html>
<head>
    <title>Reports & Insights | RS Learning Lab</title>
    <style>
        body {
            font-family: Arial;
            background: radial-gradient(circle at top, #0f172a, #020617);
            color: #e5e7eb;
            padding: 40px;
        }
        .card {
            max-width: 900px;
            margin: auto;
            background: rgba(15,23,42,0.95);
            padding: 30px;
            border-radius: 16px;
        }
    </style>
</head>
<body>

<div class="card">
    <h2>📊 Reports & Learning Insights</h2>
    <p>
        This section will show:
    </p>
    <ul>
        <li>Class-wise learning styles</li>
        <li>Learning Effectiveness Index (LEI)</li>
        <li>Momentum signals (Active / Slow / Stalled)</li>
        <li>Learning Passports</li>
    </ul>

    <p style="color:#94a3b8;">
        (Data-driven reports already connected. UI expansion next.)
    </p>

    <button onclick="history.back()">⬅ Back to Dashboard</button>
</div>

</body>
</html>
