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

    <x-filament::section>
        <div class="flex flex-col gap-3">
            <div class="text-lg font-semibold text-gray-900 dark:text-gray-100">
                Recurring review register
            </div>

            <div class="text-sm text-gray-600 dark:text-gray-300">
                Review draft, published, archived, and superseded environment reviews across the environments you are entitled to manage.
            </div>

            <div class="text-sm text-gray-600 dark:text-gray-300">
                Opening a row returns to the environment detail surface so executive review history stays environment-safe and audit-friendly.
            </div>

            @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 }}
</x-filament-panels::page>
