{{-- Blade stub — implement the full breakdown display using your $breakdown array. Expected $breakdown keys (from DriverScoringService::getContributionScoreBreakdown()): current_score, components: {relief_shift, buffer_fleet, referrals, seniority, violations}, waitlist_position, seniority_days --}}

Contribution Score

{{ number_format($breakdown['current_score'] ?? 0, 0) }}
@foreach ($breakdown['components'] ?? [] as $key => $component) @endforeach
Component Value Points
{{ str_replace('_', ' ', $key) }} {{ $component['raw_value'] ?? '—' }} {{ ($component['points'] ?? 0) >= 0 ? '+' : '' }}{{ $component['points'] ?? 0 }}
Waitlist Position: #{{ $breakdown['waitlist_position'] ?? '—' }}
Seniority: {{ $breakdown['seniority_days'] ?? 0 }} day(s)