/* The first frame's ground, in the stored mode: public/boot-theme.js
   marks the document before anything else runs, and this sheet, linked
   from index.html ahead of the bundle, paints it before the first paint.
   The two colours are studio.css's own --background by day and by night;
   boot-paint.test.ts holds them together.

   A linked sheet and not an inline <style>: Tauri puts a nonce on every
   <style> element it serves and adds that nonce to style-src, and a
   nonce present makes CSP ignore 'unsafe-inline', which Sonner's toasts
   (and react-remove-scroll under a menu) need for the <style> they
   create at runtime. With an inline block here every toast in the
   shipped app rendered as plain text in the page flow. */
html[data-boot-mode="dark"] { background: #0b0d12; color-scheme: dark; }
html[data-boot-mode="light"] { background: #ffffff; color-scheme: light; }
html[data-boot-mode] body { background: transparent; }
