/* NoteShuttle PWA chrome: iOS install prompt + misc banners.
   Served as /pwa.css so it satisfies style-src 'self' (no inline styles). */
.ns-pwa {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 2147483000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111B21;
}
.ns-pwa-sheet {
  bottom: 0;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .18);
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
  animation: ns-pwa-up .22s ease-out;
}
.ns-pwa-banner {
  top: 0;
  background: #128C7E;
  color: #ffffff;
  padding: 12px 16px calc(12px + env(safe-area-inset-top));
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
}
.ns-pwa-banner a { color: #ffffff; font-weight: 600; }
.ns-pwa-banner .ns-pwa-close {
  margin-left: auto;
  background: none;
  border: 0;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
.ns-pwa-sheet h2 { margin: 0 0 4px; font-size: 18px; }
.ns-pwa-sheet p { margin: 0 0 12px; font-size: 14px; color: #667781; }
.ns-pwa-steps { margin: 0 0 16px; padding-left: 20px; }
.ns-pwa-steps li { font-size: 14px; margin-bottom: 8px; }
.ns-pwa-steps strong { display: block; }
.ns-pwa-actions { display: flex; gap: 10px; }
.ns-pwa-btn {
  flex: 1;
  border: 0;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.ns-pwa-btn-primary { background: #128C7E; color: #ffffff; }
.ns-pwa-btn-ghost { background: #F0F2F5; color: #111B21; }
.ns-pwa-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 2147482999;
}
@keyframes ns-pwa-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
