{{-- Layout: single fixed page. The PDF area is a flex container (align-items:center justify-content:center). Inside it, [pageWrapper] and [annotation zone] are BOTH flex children — so they are centred by the same amount and their tops are always level with each other. Annotation cards are position:absolute at (bbox.y × canvasH)px within the zone, which is exactly level with the corresponding highlight on the canvas. --}}
{{-- Toolbar --}}
{{-- PDF area — one big flex row. Both pageWrapper and the annotation zone are centred together by align-items:center, so their tops are always at exactly the same Y position. --}}
{{-- ── Canvas side ── --}}
{{-- Floating page indicator — sits at top of canvas wrapper --}}
Page /
{{-- Text layer: invisible — used by computeTextHighlights() --}}
{{-- Highlight overlay --}}
{{-- Draw capture layer --}}
{{-- Ghost rect while drawing --}}
{{-- Loading spinner --}}
{{-- Annotation zone — flex sibling of pageWrapper. Height is set to canvasH so it is exactly the same size as the canvas. Since both are centred by the same align-items:center, top edges align. Cards inside are position:absolute at top = bbox.y × canvasH. --}}
{{-- Add Evidence form — fixed overlay when drawing a box --}} @if($showAddForm)
Synapse Add Evidence @if($addPage) p.{{ $addPage }} @endif
@if($addQuote)
"{{ $addQuote }}"
@endif
@endif
@push('scripts') @endpush