.pwa-setup-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(920px, calc(100% - 24px));
  margin: 12px auto;
  padding: 13px 14px;
  border: 1px solid #fdba74;
  border-radius: 8px;
  background: #fff7ed;
  color: #431407;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .18);
}

.pwa-setup-banner.visible { display: flex; }
.pwa-setup-banner strong { display: block; font-size: 15px; }
.pwa-setup-banner span { display: block; margin-top: 2px; color: #7c2d12; font-size: 13px; }

.pwa-setup-button {
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: #c2410c;
  color: #fff;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.pwa-setup-button.secondary {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #111827;
}

.pwa-setup-button:disabled { cursor: default; opacity: .55; }

.pwa-setup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 6, 23, .78);
}

.pwa-setup-overlay.open { display: flex; }

.pwa-setup-panel {
  width: min(480px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.pwa-setup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.pwa-setup-head h2 { margin: 0; font-size: 20px; letter-spacing: 0; }
.pwa-setup-close { width: 42px; height: 42px; border: 0; background: transparent; color: #334155; font-size: 28px; cursor: pointer; }
.pwa-setup-body { padding: 16px 18px 20px; }
.pwa-setup-intro { margin: 0 0 14px; color: #475569; line-height: 1.45; }

.pwa-setup-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  padding: 14px 0;
  border-top: 1px solid #e2e8f0;
}

.pwa-setup-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-weight: 900;
}

.pwa-setup-step.complete .pwa-setup-step-number { background: #15803d; }
.pwa-setup-step h3 { margin: 3px 0 5px; font-size: 16px; letter-spacing: 0; }
.pwa-setup-step p { margin: 0 0 10px; color: #475569; line-height: 1.4; }
.pwa-ios-steps { margin: 8px 0 12px; padding-left: 20px; color: #334155; line-height: 1.55; }
.pwa-setup-status { min-height: 20px; margin-top: 8px; color: #166534; font-size: 13px; font-weight: 800; }
.pwa-setup-status.error { color: #b91c1c; }

@media (max-width: 560px) {
  .pwa-setup-banner { align-items: stretch; }
  .pwa-setup-banner .pwa-setup-button { flex: 0 0 auto; }
  .pwa-setup-panel { max-height: calc(100vh - 16px); }
}
