@if (env('IS_DEMO')) @endif {{-- Cache-bust custom.css with the file's modification time so browsers always fetch the latest after a deploy (no other versioning on this asset). --}} {{-- brafa Systems — shell + per-area styles. Loaded after Material Dashboard so the new shell wins where they overlap. Order matters: brafa-shell.css holds the layout shell + .brafa-screen primitives, the rest layer per-area rules on top. Split per area so page work stops colliding in one monolithic file. --}} @foreach (['brafa-shell', 'brafa-properties', 'brafa-auth', 'brafa-staff', 'brafa-dashboard', 'brafa-locks', 'brafa-guest', 'brafa-misc'] as $brafaCss) @endforeach @livewireStyles @php /* Apply the brafa-shell body class on authenticated admin routes only. Guest routes (login/register/reset/etc.), VR routes, and RTL keep the legacy Material Dashboard chrome until they migrate. */ $brafaGuestRoutes = [ 'rtl', 'pricing-page', 'basic-lock', 'basic-reset', 'basic-sign-in', 'basic-sign-up', 'basic-verification', 'cover-lock', 'illustration-lock', 'cover-reset', 'illustration-reset', 'cover-sign-in', 'illustration-sign-in', 'cover-sign-up', 'illustration-sign-up', 'cover-verification', 'illustration-verification', 'error404', 'error500', 'register', 'login', 'forget-password', 'reset-password', 'vr-info', 'vr-default', ]; $brafaShellActive = Auth::check() && Route::current() && !in_array(Route::currentRouteName(), $brafaGuestRoutes, true); @endphp {{ $slot }} @stack('js') @livewireScripts