/* Until the app has started. brand.js (in <head>) sets the brand's canvas colours, so the first
   paint is already the tenant's, light or dark. */
html.app-loading body { background: var(--loading-bg, #fff); }
html.app-loading #root { visibility: hidden; }

html.app-loading[data-theme="dark"] body { background: var(--loading-bg-dark, #000); }

@media (prefers-color-scheme: dark) {
  html.app-loading:not([data-theme="light"]) body { background: var(--loading-bg-dark, #000); }
}
