@props([
    'progress',                 // WitnessProgress
    'guidanceDismissed' => false,
])

@php $count = $progress->awaitingReview; @endphp

@if($count > 0)
    <div class="witness-suggestion-summary alert alert-warning d-flex align-items-center gap-2 py-2 px-3 mb-3" role="status">
        <span class="mdi mdi-lightbulb-on-outline fs-5" aria-hidden="true"></span>
        <div class="flex-grow-1 small">
            <strong>{{ $count }} evidence {{ \Illuminate\Support\Str::plural('suggestion', $count) }} need review.</strong>
            @unless($guidanceDismissed)
                <span class="text-muted">
                    Suggested answers are drafted from confirmed evidence and appear inline — accept, edit or reject each.
                </span>
            @endunless
        </div>
        <button type="button" class="btn btn-sm btn-warning" wire:click="goToBlocker(null)">Review</button>
        @unless($guidanceDismissed)
            <button type="button" class="btn-close btn-sm" aria-label="Dismiss guidance" wire:click="dismissGuidance"></button>
        @endunless
    </div>
@endif
