/* Shared by React and the standalone fallback; no application CSS is required. */
.status-shell {
  box-sizing: border-box;
  min-height: 100vh;
  padding: 28px 20px 48px;
  background: #f4f7fb;
  color: #14243a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
}
.status-shell * {
  box-sizing: border-box;
}
.status-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto;
  color: #1f66cc;
  font-size: 26px;
  font-weight: 750;
  text-decoration: none;
}
.status-brand svg,
.status-brand img {
  display: block;
  width: 176px;
  height: auto;
}
.status-card {
  max-width: 620px;
  margin: 64px auto 0;
  padding: 40px;
  background: #fff;
  border: 1px solid #d9e2ed;
  border-radius: 20px;
  box-shadow: 0 12px 36px -20px #14243a40;
}
.status-label {
  color: #1f66cc;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.status-card h1 {
  margin: 12px 0 16px;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.status-card p {
  margin: 0 0 24px;
}
.status-description,
.status-help {
  color: #5d7186;
}
.status-pending {
  padding: 16px;
  background: #eef3f9;
  border-radius: 10px;
  font-size: 14px;
}
.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}
.status-actions a,
.status-actions button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #1f66cc;
  border-radius: 10px;
  background: #1f66cc;
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.status-actions .status-secondary {
  background: #fff;
  color: #1f66cc;
  border-color: #d9e2ed;
}
.status-help a {
  color: #0e4c9e;
  overflow-wrap: anywhere;
}
.status-shell :is(a, button):focus-visible {
  outline: 3px solid #1f66cc;
  outline-offset: 4px;
}
.status-card .status-help {
  margin-bottom: 0;
  font-size: 14px;
}
.status-shell [hidden] {
  display: none !important;
}
.status-shell.startup-pending {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
}
.startup-pending .status-brand {
  margin: 0;
}
.startup-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.startup-spinner {
  width: 25px;
  height: 25px;
  border: 2px solid #dae5f5;
  border-top-color: #1f66cc;
  border-radius: 50%;
  animation: startup-spin 1s linear infinite;
}
.startup-wave {
  margin: 0;
  color: #526a87;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.startup-wave > span {
  display: inline-block;
  white-space: pre;
  animation: startup-wave 2s ease-in-out infinite;
}
@keyframes startup-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes startup-wave {
  0%,
  45%,
  100% {
    transform: translateY(0);
  }
  22% {
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .startup-spinner,
  .startup-wave > span {
    animation: none;
  }
}
@media (max-width: 480px) {
  .status-shell {
    padding: 24px 16px;
  }
  .status-card {
    margin-top: 36px;
    padding: 26px 22px;
  }
  .status-actions {
    flex-direction: column;
  }
}
