@stack('styles') {{-- Mirrors the DB-backed theme into this browser's localStorage, so the pre-auth login pages (which have no user to read a preference from) can fall back to it instead of always defaulting to the OS preference. --}}
{{-- Ported from the legacy layout.php + layout_footer.php + header.php + sidebar.php + footer.php (repo root) — see the Phase 4 plan. $role is computed once here and shared with the header/sidebar partials instead of each one re-reading $_SESSION directly. --}} @php($role = \App\Support\SessionAuth::role()) @include('layouts.partials.header', ['role' => $role]) @include('layouts.partials.sidebar', ['role' => $role])