{{-- ══════════════════════════════════════════════════════════════════════ --}}
{{-- AGENT STATUS BAR (always visible in the header) --}}
{{-- ══════════════════════════════════════════════════════════════════════ --}}
{{-- Live-call badge (shown while a call is active) --}}
@if($phase === 'connected')
{{-- ── Phase: RINGING / CONNECTING ────────────────────────────────── --}}
@elseif($phase === 'ringing')
{{-- Outbound: poll the server for answered_at (set when the PSTN
recipient actually picks up). The SDK 'accept' event fires
too early — only on browser↔Twilio media establishment. --}}
@if($direction === 'outbound')
@endif