<!-- Toast region — polled by HTMX after page load -->
<aside id="toast-region"
       aria-live="polite"
       hx-get="/admin/toast-fragment.php"
       hx-trigger="load"
       hx-swap="innerHTML"
       hx-target="#toast-region">
</aside>

<?php foreach ($extraJs ?? [] as $js): ?>
<script src="<?= App::assetV($js) ?>"></script>
<?php endforeach; ?>
<?php if (!empty($extraJsInline)): ?>
<script><?= $extraJsInline ?></script>
<?php endif; ?>
<script src="/assets/js/htmx.min.js"></script>
</body>
</html>
