.msh-pwa-prompt {
  position: fixed;
  inset-inline-start: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1100;
  display: grid;
  gap: 12px;
  width: min(390px, calc(100vw - 2rem));
  padding: 16px;
  color: #0e1420;
  background: #fff;
  border: 1px solid #dbe4ea;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(14, 58, 91, .18);
  direction: rtl;
}

.msh-pwa-prompt__text {
  margin: 0;
  color: #273548;
  font-size: 15px;
  line-height: 1.55;
}

.msh-pwa-prompt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.msh-pwa-prompt__button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #c9d6df;
  border-radius: 9px;
  color: #0e3a5b;
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.msh-pwa-prompt__button--primary {
  color: #fff;
  background: #0e3a5b;
  border-color: #0e3a5b;
}

.msh-pwa-prompt__button:hover {
  border-color: #0e3a5b;
}

.msh-pwa-prompt__button--primary:hover {
  background: #092a43;
}

.msh-pwa-prompt__button:focus-visible {
  outline: 3px solid rgba(43, 182, 115, .45);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .msh-pwa-prompt {
    inset-inline: 1rem;
    bottom: max(5.75rem, calc(1rem + env(safe-area-inset-bottom)));
    width: auto;
  }

  .msh-pwa-prompt__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
