.boot-recovery {
  box-sizing: border-box;
  width: min(100% - 32px, 520px);
  margin: max(72px, env(safe-area-inset-top)) auto 24px;
  padding: 24px;
  border: 1px solid #334155;
  border-radius: 18px;
  color: #f8fafc;
  font:
    16px/1.5 system-ui,
    sans-serif;
  background: #101826;
}

.boot-recovery h1 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.boot-recovery p {
  color: #cbd5e1;
}

.boot-recovery .boot-recovery-status {
  padding: 10px 12px;
  border: 1px solid #f59e0b;
  border-radius: 10px;
  color: #fef3c7;
  background: #422006;
}

.boot-recovery div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.boot-recovery button {
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #64748b;
  border-radius: 12px;
  color: #f8fafc;
  font: inherit;
  font-weight: 700;
  background: #1e293b;
}

.boot-recovery button.primary {
  border-color: #0f766e;
  background: #0f766e;
}

@media (max-width: 360px) {
  .boot-recovery div {
    grid-template-columns: 1fr;
  }
}
