{# The React app had no router: both "pages" are tabs on this one URL. Each tab's markup ships
inside a (inert, zero layout) and is cloned in by JS on tab activation, so a tab
switch remounts a fresh panel exactly like React's key= remount (camera stops, WS closes). #}
{% include "pages/scan.html" %}
{% include "pages/enroll.html" %}
{% endblock %}