Three choices: as the device is (the default), light, or dark, kept in a "theme" cookie per browser. The dark colours move to dark.css, linked with a media attribute from the cookie, so the server renders the page in the chosen colours with no flash (the CSP allows no inline script). app.js sets the cookie and switches the media at once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>