/* * app.js - the only JavaScript of the panel (no inline scripts: the Content-Security-Policy forbids them). * It never talks to the network. It does five small things: * 1. theme switch (Dark / Light / System) remembered in this browser (localStorage) * 2. collapsible sidebar rail, remembered in this browser * 3. mobile menu toggle * 4.