/*
 * Styles for the very first paint, before the bundle runs and design/tokens.css takes
 * over. Deliberately a separate file rather than an inline <style>: the content security
 * policy allows no inline styles, and it should stay that way.
 */
body {
  margin: 0;
  background: #0f172a;
  color: #f8fafc;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
/*
 * The stored theme is only known once the bundle runs. Until then follow the device, so a
 * tablet set to light does not flash dark first. Afterwards the app sets data-theme and
 * this stops applying.
 */
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) body {
    background: #f6efe4;
    color: #26232a;
  }
  html:not([data-theme="dark"]) .boot-spinner {
    border-color: #d8cfc2;
    border-top-color: #4367df;
  }
}
.boot {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.25rem;
  text-align: center;
}
.boot-spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid #334155;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: boot-spin 0.9s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .boot-spinner {
    animation-duration: 3s;
  }
}
@keyframes boot-spin {
  to {
    transform: rotate(1turn);
  }
}
[hidden] {
  display: none !important;
}
