/* Inat Therapy - install-app item (in the mobile menu, under "Book an Appointment") and the how-to window */
.pwa-install[hidden], .pwa-overlay[hidden] { display: none !important; }

.pwa-install {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 56px; margin-top: 12px; padding: 8px 14px 8px 10px;
  background: #fff; color: var(--navy, #163b69);
  border: 1.5px solid rgba(22, 59, 105, 0.22); border-radius: 14px;
  font-family: inherit; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: border-color .15s ease, box-shadow .15s ease;
}
.pwa-install:hover, .pwa-install:focus-visible { border-color: var(--navy, #163b69); box-shadow: 0 4px 14px rgba(22, 59, 105, 0.12); outline: none; }
.pwa-install:focus-visible { outline: 3px solid rgba(201, 154, 82, 0.55); outline-offset: 2px; }
.pwa-install-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(22, 59, 105, 0.10); }
.pwa-install-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pwa-install-title { font-weight: 600; font-size: 0.98rem; }
.pwa-install-sub { font-size: 0.78rem; color: var(--text-muted, #6b6156); }
.pwa-install-go { flex: 0 0 auto; width: 22px; height: 22px; color: var(--navy, #163b69); }

/* how-to window */
html.pwa-lock, html.pwa-lock body { overflow: hidden; }
.pwa-overlay {
  position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(15, 44, 80, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom));
  animation: pwaFade .18s ease-out;
}
.pwa-card {
  width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; box-sizing: border-box;
  background: var(--cream-soft, #faf4e8); color: var(--text-dark, #33302a);
  border-radius: 20px; padding: 24px 22px 20px; box-shadow: 0 20px 50px rgba(15, 44, 80, 0.35);
  animation: pwaRise .22s ease-out;
}
.pwa-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.pwa-head img { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 0 0 1px rgba(22, 59, 105, 0.12); }
.pwa-card h2 { font-size: 1.2rem; margin: 0; }
.pwa-lead { margin: 6px 0 16px; font-size: 0.9rem; color: var(--text-muted, #6b6156); }
.pwa-steps { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: pwa; }
.pwa-steps li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid rgba(22, 59, 105, 0.10); border-radius: 14px; padding: 12px 14px; font-size: 0.92rem; line-height: 1.4; }
.pwa-num { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy, #163b69); color: #fff; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.pwa-ico { flex: 0 0 26px; width: 26px; height: 26px; color: var(--navy, #163b69); }
.pwa-note { font-size: 0.8rem; color: var(--text-muted, #6b6156); margin: 0 0 14px; }
.pwa-warn { background: #fff7e6; border: 1px solid rgba(201, 154, 82, 0.55); border-radius: 12px; padding: 10px 12px; font-size: 0.82rem; margin: 0 0 14px; }
.pwa-close { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 999px; background: var(--navy, #163b69); color: #fff; font-family: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; }
.pwa-close:focus-visible { outline: 3px solid rgba(201, 154, 82, 0.7); outline-offset: 2px; }
@keyframes pwaFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pwaRise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 600px) { .pwa-overlay { align-items: center; } }
@media (prefers-reduced-motion: reduce) { .pwa-overlay, .pwa-card { animation: none; } }

/* owner-login lock icon, next to the social icons in the footer (quiet on purpose) */
.footer-social a.footer-owner { opacity: .8; transition: opacity .15s ease; }
.footer-social a.footer-owner:hover, .footer-social a.footer-owner:focus-visible { opacity: 1; }
.footer-social a.footer-owner:focus-visible { outline: 2px solid var(--gold, #c99a52); outline-offset: 2px; }
