<x-filament-panels::page>
    @php($environmentFilterChip = $this->environmentFilterChip())

    <div class="space-y-6">
        <x-filament::section>
            <div class="flex flex-col gap-3 text-sm text-gray-600 dark:text-gray-300">
                <p>This workspace evidence overview stays workspace-scoped; environment-owned entries appear as an explicit page filter.</p>

                @if ($environmentFilterChip !== null)
                    @include('filament.partials.workspace-hub-environment-filter-chip', [
                        'label' => $environmentFilterChip['label'],
                        'clearUrl' => $environmentFilterChip['clear_url'],
                    ])
                @endif
            </div>
        </x-filament::section>

        {{ $this->table }}
    </div>
</x-filament-panels::page>
