{# Vision result for one clicked gallery image: the image, its caption (alt text), and the mermaid source — looked up from .vision-cache by phash. #}
{{ caption or "(no caption cached — run the vision phase on this doc)" }}
{% if mermaid %}{{ mermaid }}
{% else %}
No mermaid for this image (photo / screenshot / caption-only, or not yet visioned).
{% endif %}