@php use Illuminate\Support\Facades\URL; @endphp
{{-- Focused, distraction-free chrome for the evidence review workflow: no global
     navigation menu, full viewport height. Used only by the evidence viewer pages
     so reviewers get the maximum PDF + findings working area. --}}
<x-app-layout>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.min.js"></script>

    <body class="ev-focused-body">
        <div class="ev-focused-shell">
            {{ $slot }}
        </div>
    </body>

    <script src="{{ URL::asset('/build/js/lib/jquery.min.js')}}"></script>
    <script src="{{ URL::asset('/build/js/lib/bootstrap.min.js')}}"></script>

    @vite([
        'resources/js/app.js',
    ])

    <style>
        html, body.ev-focused-body { height: 100%; margin: 0; background: #eef1f6; }
        .ev-focused-shell { min-height: 100vh; display: flex; flex-direction: column; }
    </style>
    {{-- Note: layouts/app.blade.php already renders @stack('scripts'); the viewer's
         pushed script lands there, so we deliberately do not repeat the stack here. --}}
</x-app-layout>
