/* Shared by the HTML startup screen and React page-loading fallback. */
.straata-loading {
  display: flex;
  min-height: 50vh;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--foreground, #17201a);
  font-family: inherit;
}
.straata-loading--startup {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--background, #f7f8fa);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.straata-loading__symbol {
  position: relative;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
}
.straata-loading__ring {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 3px solid var(--border, #e3e7e2);
  border-top-color: var(--brand-text, #4d7c0f);
  border-right-color: var(--brand-text, #4d7c0f);
  border-radius: 50%;
  animation: straata-loading-orbit 1.2s linear infinite;
}
.straata-loading__mark {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 25%;
  box-shadow: 0 8px 22px -10px #17201a55;
  animation: straata-loading-pulse 1.8s ease-in-out infinite;
}
.straata-loading__label {
  margin: 0;
  color: var(--muted-foreground, #526058);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
@keyframes straata-loading-orbit {
  to { transform: rotate(360deg); }
}
@keyframes straata-loading-pulse {
  0%, 100% { transform: scale(.94); opacity: .8; }
  50% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .straata-loading__ring,
  .straata-loading__mark {
    animation: none;
    transform: none;
    opacity: 1;
  }
}
