/* Render-blocking, self-hosted CSS: first paint also works under style-src self. */
/* Outrank bundled default tokens until JavaScript resolves the user's theme.
   Once data-theme exists, the normal application palette takes over. */
html:root:not([data-theme]) {
  --color-canvas: #f4f3ef;
  --color-text: #1c211d;
  background: var(--color-canvas);
  color: var(--color-text);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  html:root:not([data-theme]) {
    --color-canvas: #151a16;
    --color-text: #eef1ea;
    color-scheme: dark;
  }
}
