/* Shared presentation for document startup and in-app entry transitions. */
.app-loading {
  position: fixed;
  z-index: 2000;
  display: grid;
  inset: 0;
  place-items: center;
  color: #171717;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  color-scheme: light;
}
.app-loading-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
.app-loading-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}
.app-loading-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.app-loading-item {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  border: 2px solid #e5e5e5;
  border-top-color: #171717;
  border-radius: 50%;
  animation: app-loading-spin 0.8s linear infinite;
}
@keyframes app-loading-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .app-loading-item { animation: none; }
}
