{{-- List (with skeleton while loading) --}}
@forelse($this->tickets as $t)
@php
$priority = data_get($t,'meta.priority');
$priorityClass = $priority==='high' ? 'text-danger' :
($priority==='medium' ? 'text-warning' :
($priority==='low' ? 'text-info' : 'text-muted'));
$deptClass = 'bg-warning-subtle text-warning-emphasis'; // department (type)
$statusPill = $t->status==='active' ? 'bg-info text-dark' :
($t->status==='solved' ? 'text-bg-success' : 'text-bg-secondary');
$isSelected = $selectedPublicId===$t->public_id;
@endphp
@empty
{{ __('No tickets found.') }}
@endforelse