/*
 * Paint happens before the app stylesheet loads, so the boot screen duplicates a few
 * token values on purpose. Keep in sync with frontend/shared/design-tokens/tokens.css.
 */
html {
  background: #f5f7fa;
  color-scheme: light;
}
html.dark {
  background: #15171d;
  color-scheme: dark;
}
.boot-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #596779;
  font: 14px system-ui, sans-serif;
}
.dark .boot-loading {
  color: #afb7c8;
}
.boot-loading__spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #e7e1ff;
  border-top-color: #7962ed;
  border-radius: 50%;
  animation: boot-spin 0.8s linear infinite;
}
.dark .boot-loading__spinner {
  border-color: #333844;
  border-top-color: #9b80f6;
}
@keyframes boot-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .boot-loading__spinner {
    animation: none;
  }
}
