Instance: {{ instance.get('id','N/A') }} | Canvas: {{ instance.get('canvas_type','N/A') }} | Generated: {{ generated_at }}
{{ loop.index }}. {{ sec.section_name }}
{% if sec.content and sec.content.strip() %}
{{ sec.content | replace('\n','
') }}
{% else %}
// No source material available for this section.
{% endif %}
{{ sec.chunk_count }} chunk(s) routed
{% endfor %}