/* "Download app" button + help dialog */
.pwa-install { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  color: #064e3b; background: #fff; border: 0; border-radius: 8px; font-family: inherit; font-size: .9rem; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: transform .15s, box-shadow .15s; }
.pwa-install[hidden] { display: none; }
.pwa-install svg { width: 18px; height: 18px; fill: currentColor; }
.pwa-install:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.pwa-install:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 560px) { .appbar .pwa-install { padding: 0; width: 36px; justify-content: center; } .appbar .pwa-install span { display: none; } }

/* version shown on the sign-in / register card */
.pwa-install.on-login { width: 100%; height: 44px; justify-content: center; margin-top: 14px; color: #064e3b;
  background: #e3efea; box-shadow: none; border: 1px solid #b7d6c9; font-size: .95rem; }
.pwa-install.on-login:hover { background: #d4e8df; }

.pwa-dlg { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(2,20,15,.55); }
.pwa-dlg[hidden] { display: none; }
.pwa-box { width: min(440px, 100%); background: #fff; color: #10221b; border-radius: 14px; padding: 22px 22px 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35); font-family: inherit; }
.pwa-box h3 { margin: 0 0 6px; font-size: 1.15rem; color: #064e3b; }
.pwa-box p { margin: 0 0 12px; color: #3b4d46; font-size: .93rem; line-height: 1.5; }
.pwa-box ol { margin: 0 0 14px; padding-inline-start: 22px; line-height: 1.7; font-size: .95rem; }
.pwa-box .ar { direction: rtl; text-align: right; border-top: 1px solid #e3efea; padding-top: 10px; margin-top: 4px; }
.pwa-box .warn { background: #fff7ed; color: #9a3412; border-radius: 8px; padding: 8px 10px; font-size: .85rem; }
.pwa-box .row { display: flex; justify-content: flex-end; }
.pwa-box button { height: 38px; padding: 0 18px; border: 0; border-radius: 8px; background: #064e3b; color: #fff; font-family: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
