@props([ 'section', // App\Support\Witness\WitnessSection 'answers' => [], // buffer [section][question] 'answerMeta' => null, // keyed collection "section.question" => WitnessStatementAnswer 'sectionProgress' => null, // ['answered','total','percent'] 'editingAnswerId' => null, 'editingValue' => '', 'bare' => false, // true = render inside an accordion (no card/header) 'validationRequested' => false, 'touched' => [], ]) @php $buffer = $answers[$section->key] ?? []; @endphp @if($section->description)

{{ $section->description }}

@endif @if($section->acceptsEvidence())
Evidence-backed section — confirmed findings appear as suggestions.
@endif @foreach($section->questions as $question) @php $meta = $answerMeta?->get("{$section->key}.{$question->key}"); @endphp @if($meta && $meta->review_status === 'suggested')
@else @endif @endforeach