[data-pwa-install-bar] {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 24px);
  padding: 10px 12px;
  background: #fff;
  color: #1A2340;
  border: 1px solid rgba(30,111,217,.16);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(15,30,61,.18);
  font-family: Poppins, Inter, sans-serif;
}
[data-pwa-install-bar] .pwa-install-copy { flex: 1; min-width: 0; }
[data-pwa-install-bar] strong { display:block; font-size: 13px; line-height: 1.25; }
[data-pwa-install-bar] span { display:block; font-size: 12px; color:#5A6A8A; line-height: 1.35; }
[data-pwa-install-bar] .pwa-install-btn {
  border: 0;
  background: var(--primary, #1E6FD9);
  color: #fff;
  border-radius: 8px;
  min-width: 72px;
  min-height: 36px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
}
[data-pwa-install-bar] .pwa-dismiss-btn {
  border: 0;
  background: #F3F6FB;
  color: #5A6A8A;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
}
@media (min-width: 768px) {
  [data-pwa-install-bar] { left: auto; width: 420px; }
}
@media (display-mode: standalone) {
  [data-pwa-install-bar] { display:none !important; }
}

.pwa-push-floating {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + 72px);
  z-index: 99999;
  border: 0;
  border-radius: 999px;
  background: var(--primary, #1E6FD9);
  color: #fff;
  box-shadow: 0 12px 30px rgba(30,111,217,.28);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
}
.pwa-push-floating:disabled {
  background: #5A6A8A;
}


.pwa-install-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
  background: rgba(15, 30, 61, .58);
}
.pwa-install-panel {
  width: min(420px, 100%);
  max-height: calc(100vh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  color: #1A2340;
  box-shadow: 0 24px 70px rgba(15, 30, 61, .28);
  position: relative;
  font-family: Poppins, Inter, sans-serif;
}
.pwa-install-close {
  position: absolute;
  top: 10px;
  right: 10px;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #F3F6FB;
  color: #5A6A8A;
  font-size: 20px;
}
.pwa-install-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary, #1E6FD9);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
}
.pwa-install-panel h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 8px;
}
.pwa-install-panel p {
  font-size: 13px;
  color: #5A6A8A;
  line-height: 1.5;
  margin: 0 0 12px;
}
.pwa-install-panel ol {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #1A2340;
  font-size: 13px;
}
.pwa-install-panel li { margin-bottom: 6px; }
.pwa-install-primary,
.pwa-install-secondary {
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 800;
}
.pwa-install-primary {
  background: var(--primary, #1E6FD9);
  color: #fff;
}
.pwa-install-secondary {
  margin-top: 8px;
  background: #F3F6FB;
  color: #5A6A8A;
}

@media (max-width: 420px) {
  [data-pwa-install-bar] {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
  [data-pwa-install-bar] strong { font-size: 12px; }
  [data-pwa-install-bar] span { font-size: 11px; }
  .pwa-install-panel { padding: 18px; }
  .pwa-install-panel h3 { font-size: 17px; padding-right: 38px; }
}
