/* zengtrade: restore theme/mode/regime attributes on BEFORE first paint. * * BUG FIX (2026-09-19, founder report): "a flash of layouts" right after logging in and the * dashboard rendering. Root cause: data-persona (and data-surface, day/night) were only ever set * deep inside app.js's init(), well after the browser had already parsed and painted the full * page - every pane (old chart/watchlist/order-pad, every panel, AND the active mode's own view) * is visible by default until CSS attribute-selector rules like * html[data-persona="algo"] .pane-left{display:none} have something to match against. A fresh * full-page load (exactly what a Google OAuth redirect back to the dashboard is) makes this cold, * unmasked flash maximally visible. * * This must be a real external file, not an inline