/* Independent of the application bundle: this must render even when a chunk fails. */
.pilot-recovery {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 20px;
  background: #fff;
  color: #111;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0;
  text-align: center;
}
.pilot-recovery[hidden] { display: none !important; }
#pilot-boot { position: fixed; inset: 0; overflow: auto; }
.pilot-recovery img { width: 40px; height: 48px; object-fit: contain; }
.pilot-recovery h1 { margin: 0; max-width: 100%; font-size: 24px; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.pilot-recovery p { margin: 0; max-width: 440px; font-size: 14px; line-height: 1.7; color: #4b5563; }
.pilot-recovery__retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 16px;
  margin-top: 8px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  color: #111;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.pilot-recovery__retry:hover { background: #f9fafb; }
.pilot-recovery__retry:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.pilot-recovery__retry[aria-disabled="true"], .pilot-recovery__retry:disabled { opacity: .6; cursor: wait; }
.pilot-recovery:not([data-failed]) img { animation: pilot-boot-lift 1.6s ease-in-out infinite; }
@keyframes pilot-boot-lift { 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .pilot-recovery img { animation: none !important; } }
