<?php
// includes/sa_auth.php
function requireSuperAdmin(): void {
    if (session_status() === PHP_SESSION_NONE) session_start();
    if (empty($_SESSION[SA_SESSION_KEY])) {
        header('Location: /superadmin/login.php');
        exit;
    }
}
