{# Shared left-rail / drawer navigation items #}
{# Used by base.html (desktop left sidebar) and mobile hamburger drawer #}
{%- set ep = request.endpoint or '' -%}
{# Add-Watch needs a browser that can render a live preview (see the add_watch_ui
blueprint's browser_config) - without one the page can only fail, so don't offer it #}
{%- if has_visual_browser -%}
{# Footer group — pushed to the bottom of the rail via `margin-top: auto`
(see .action-sidebar-list--bottom). Mirrors the demo's bottom-aligned rail
footer (status counters, live spark, version). #}