{{-- Search and area buttons. Hidden until JavaScript runs (app.js); the grid works without them. --}}
@foreach ($modules['groups'] as $group)
@endforeach
No modules match “”.
{{--
Rows of equal boxes: 2 on phones, 3, 4, then 6 across. Boxes wrap in a centred flex row (not a grid), so an
unfinished last row, or a short list after searching or filtering, sits in the middle instead of leaning left.
--}}
@foreach ($modules['items'] as $module)
@endforeach
{{-- ============ AI & Analytics banner (off unless config('hmis.ai.enabled') is true) ============ --}}
@if (config('hmis.ai.enabled'))