.site-install-prompt[hidden] { display: none !important; }
.site-install-prompt {
  box-sizing: border-box;
  position: fixed;
  z-index: 1050;
  inset-inline: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 14px;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  margin-inline: auto;
  padding: 22px;
  padding-inline-end: 40px;
  border: 1px solid #e5eaf0;
  border-radius: 20px;
  background: #fff;
  color: #263445;
  box-shadow: 0 16px 60px #10243a33;
  animation: site-install-enter 400ms cubic-bezier(.16, 1, .3, 1) both;
}
.site-install-prompt__icon { display: inline-flex; padding: 10px; height: fit-content; border-radius: 14px; background: #f3f5f8; color: var(--sfp-primary, #126b57); flex-shrink: 0; }
.site-install-prompt__copy { min-width: 0; }
.site-install-prompt h2 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; }
.site-install-prompt p { margin: 0 0 14px; font-size: .9rem; line-height: 1.6; }
.site-install-prompt__guide { padding: 10px; border-radius: 8px; background: #f3f5f8; }
.site-install-prompt__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.site-install-prompt button { font: inherit; cursor: pointer; }
.site-install-prompt button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.site-install-prompt__install { padding: 10px 14px; border: 0; border-radius: 10px; background: var(--sfp-primary, #126b57); color: #fff; font-size: .9rem !important; }
.site-install-prompt__already { padding: 8px 0; border: 0; background: transparent; color: #526174; font-size: .85rem !important; }
.site-install-prompt__close { position: absolute; top: 6px; inset-inline-end: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #526174; font-size: 26px !important; }
.site-install-prompt__install:disabled { opacity: .6; cursor: default; }
@keyframes site-install-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .site-install-prompt { animation: none; }
}
