{# Anti-FOUC: apply dark class before any rendering #} {# Critical theme colors: painted before the Tailwind CDN generates its CSS #} {# Strings for the static JS bundle. Inline scripts run while the document is parsed, deferred ones only afterwards, so this is always set before app.js. #}
{% if current_user.is_authenticated %} {# ── App shell: top nav + sidebar + content ── #} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}