{% comment %} The sidebar — the product's whole chrome. There is no top header: the workspace switcher, the primary navigation, notifications and the account menu all live here. 240px on a desktop, collapsing to 60px, and an off-canvas drawer below `lg`. **The three legs of the anti-flash contract.** The collapse is persisted, so a page can start in either of two widths and the wrong one flashes before Alpine boots. Three pieces stop that, and they only work together: a pre-paint script in base.html's head stamping `sidebar-is-collapsed` on (leg 1), the `.sidebar-initial` width mirror (leg 2, in base.html's head for the width and in styles.css for everything else), and the `x-init` below, which strips both markers the moment Alpine takes over (leg 3). Remove one and you get either a flash on every load or a sidebar frozen at its pre-paint width forever — `.sidebar-initial`'s width is unlayered and beats the `lg:w-*` utility Alpine binds. TestTheSidebar fails the page if any leg goes missing. **One copy of the nav, still.** The drawer does not break the invariant the old bottom tab bar existed to protect: it is this same