/* Theme-flash prevention — applied BEFORE React loads.
   Externalized from an inline <style> in index.html so vite-plugin-pwa does not
   create an inline-css HTML-proxy module (which broke `vite build`). A
   render-blocking <link> in <head> still loads before first paint, so there is
   no theme flash. */
html.dark, html:not(.light) { background: #0a0a0a; color-scheme: dark; }
html.light { background: #ffffff; color-scheme: light; }
body { background: inherit; margin: 0; }
