html {
  background: #e9eff5;
  color: #1b2d43;
}
html[data-theme="dark"] {
  background: #121c29;
  color: #e8eff7;
}
body {
  margin: 0;
}
.app-startup {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: #e9eff5;
  color: #1b2d43;
  font-family: Inter, system-ui, sans-serif;
}
html[data-theme="dark"] .app-startup {
  background: #121c29;
  color: #e8eff7;
}
.app-startup-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.app-startup-brand img {
  display: block;
  width: min(450px, 84vw);
  height: auto;
  object-fit: contain;
}
.app-startup-screen {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 10000;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
}
.workspace-startup-cover + .app-viewport {
  visibility: hidden; /* Preserve the dimensions used to lay out the home grid. */
}
.workspace-startup-cover {
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.app-startup-content {
  width: min(100%, 500px);
}
.app-startup-screen .app-startup-brand {
  position: relative;
  isolation: isolate;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  font-family: system-ui, sans-serif;
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: 0.1em;
  animation: app-startup-enter 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.app-startup-screen .app-startup-brand::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(420px, 95vw);
  height: 420px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgb(40 120 238 / 12%),
    rgb(40 120 238 / 4%) 38%,
    transparent 70%
  );
  pointer-events: none;
}
html[data-theme="dark"] .app-startup-screen .app-startup-brand::before {
  background: radial-gradient(
    ellipse,
    rgb(40 120 238 / 20%),
    rgb(40 120 238 / 6%) 38%,
    transparent 70%
  );
}
.app-startup-screen .app-startup-brand img {
  width: min(450px, 84vw);
  height: auto;
}
.app-startup-recovery {
  font-size: 14px;
  line-height: 1.6;
}
.app-startup-recovery button {
  border: 1px solid currentColor;
  border-radius: 10px;
  padding: 10px 20px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
html[data-startup="pending"] #root .app-startup {
  visibility: hidden;
}
html[data-startup="public"] .app-startup-screen {
  display: none;
}
.app-startup-screen.is-leaving {
  pointer-events: none;
  animation: app-startup-exit 600ms cubic-bezier(0.4, 0, 0.8, 1) both;
}
.app-startup-screen.is-leaving .app-startup-content {
  animation: app-startup-expand 600ms cubic-bezier(0.4, 0, 0.8, 1) both;
}
@keyframes app-startup-expand {
  to {
    transform: scale(1.18);
  }
}
@keyframes app-startup-enter {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes app-startup-exit {
  to {
    opacity: 0;
  }
}
@media (max-width: 480px) {
  .app-startup-screen .app-startup-brand img {
    width: min(450px, 84vw);
  }
  .app-startup-screen .app-startup-brand::before {
    top: 50%;
    height: 340px;
  }
}
html[data-animations="false"] .app-startup-screen,
html[data-animations="false"] .app-startup-screen * {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .app-startup-screen,
  .app-startup-screen *,
  .app-startup-content::before {
    animation: none !important;
  }
}
