{# templates/_download_button.html — shared download CTA.
Rendered in two places: the status row (top) and the action bar (bottom).
Both render with the same `btn primary` style so they look identical; the
status row only shrinks the padding via CSS. Expects in context: doc_id,
session_token, warnings, warning_count, download_blocked. #}
{% if download_blocked %}
{% else %}
{% if warnings %}⚠{% else %}↓{% endif %} {{ _('preview.download') }}
{% endif %}