/* The entry fallback cannot depend on the versioned application stylesheet.
   Keep these baseline values aligned with src/lib/visual-tokens.ts. */
.visto-startup-recovery[hidden] {
  display: none;
}

.visto-startup-recovery {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: #f7f7f4;
  color: #111111;
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

.visto-startup-recovery__content {
  width: min(100%, 440px);
}

.visto-startup-recovery img {
  display: block;
  margin-bottom: 32px;
}

.visto-startup-recovery h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.visto-startup-recovery p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
}

.visto-startup-recovery button {
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid #0b6b3a;
  border-radius: 8px;
  background: #0b6b3a;
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
}

.visto-startup-recovery button:hover {
  background: #111111;
  border-color: #111111;
}

.visto-startup-recovery button:focus-visible {
  outline: 2px solid #0b6b3a;
  outline-offset: 4px;
}
