{# Routed-modal layout. Templates that extend `base_layout` render through
   this when the request carries `HX-Modal: 1` (see `inject_base_layout` in
   app.py). The persistent <dialog id="modal-container"> in base.html provides
   top-layer + backdrop + focus-trap + Esc-to-close semantics. Templates that
   extend base_layout MUST NOT wrap their content in a <dialog> — nested
   <dialog> collapses to 2px. Use a <div> root and let the outer slot own
   dialog semantics. See AGENTS.md "Modals: inline vs routed" for the full
   convention including hooks and JS API. #}
{% block content %}{% endblock %}
