merge(['class' => 'box box-'.$box_style]) }}>
@if ($header || $top_submit)
@endif
@if (isset($table_header))
{{ $table_header }}
@endif
@if (isset($bulkactions))
{{ $bulkactions }}
@endif
{{-- Render slot unconditionally — ComponentSlot::isEmpty()
materializes the slot to inspect it, doubling every DB call
inside. An empty slot renders nothing visible. --}}
{{ $slot }}
@if (isset($customfooter))
{{ $customfooter }}
@elseif ($route)