{% if controls %}
{# The viewport toolbar: server-computed, server-clamped GET URLs — no
client-side window state (a poll could not wipe it, but it could drift
stale). A viewport swap replaces the whole block, and the new block
carries the new window's own controls. #}