{{-- Shared filter card for the lock billing + analytics pages. Expects: $filters, $apis, $selectedApis, $properties. Optional: $pageRoute (reset target), $showExports (CSV/Excel buttons). --}} @php $activeFilterCount = 0; if (!empty($filters['from_month'])) $activeFilterCount++; if (!empty($filters['to_month'])) $activeFilterCount++; if (!empty($filters['property_id'])) $activeFilterCount++; if (!empty($filters['property_name'])) $activeFilterCount++; if (!empty($filters['only_billable'])) $activeFilterCount++; if (count($selectedApis) !== count($apis)) $activeFilterCount++; @endphp {{-- ══════════════════ COLLAPSIBLE FILTER ════════════════════════════════ --}}