/* Non-sensitive first paint; never expose a guessed account or route. */
html[data-startup="loading"] #login-screen,
html[data-startup="loading"] #app-screen,
html[data-startup="error"] #login-screen,
html[data-startup="error"] #app-screen {
  display: none !important;
}

.startup-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #17251b;
  background: #f3f6f2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.startup-card {
  width: min(100%, 360px);
  text-align: center;
}

.startup-card img { display: block; margin: 0 auto 20px; }
.startup-card h1 { margin: 0 0 12px; font-size: 28px; letter-spacing: -.04em; }
.startup-card p { margin: 0; color: #66756a; font-size: 15px; line-height: 1.6; }
.startup-progress {
  display: block;
  width: 32px;
  height: 4px;
  margin: 24px auto 0;
  border-radius: 4px;
  background: #3a9d50;
  animation: startup-breathe 1.4s ease-in-out infinite alternate;
}
.startup-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 18px;
  border-radius: 14px;
  color: #fff;
  background: #237c39;
  text-decoration: none;
}
.startup-screen[data-state="error"] .startup-progress { display: none; }
.scenario-skeleton { min-height: 160px; background: #e9eeea !important; pointer-events: none; }
.scenario-load-status { padding: 24px; color: #66756a; line-height: 1.6; }
@keyframes startup-breathe { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .startup-progress { animation: none; } }
