{# HTMX partial: sandboxed iframe showing a rendered email preview.
   Rendered by POST /admin/emails/compose/preview. #}
<iframe
  srcdoc="{{ rendered_html | e }}"
  style="width:100%;height:600px;border:none;border-radius:8px;background:#F1F5F9;"
  sandbox="allow-same-origin"
  title="Email preview"
></iframe>
