{# Modal-fragment 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 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 — nested collapses to 2px. Use a
root and let the outer slot own dialog semantics. See AGENTS.md "URL-addressable modal templates" for the full convention. #} {% block content %}{% endblock %}