/* Center close icons independently of font metrics. */
.pwa-close, .pwa-suggestion .pwa-dismiss { display: inline-grid; place-items: center; padding: 0; line-height: 1; }
.pwa-close svg, .pwa-dismiss svg { display: block; pointer-events: none; }
.pwa-suggestion[hidden], [data-pwa-install][hidden] { display: none !important; }
[data-pwa-install] { font-family: inherit; cursor: pointer; }
.pwa-suggestion { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 6px; }
.pwa-suggestion > button { font: inherit; font-size: 11px; color: #536583; background: #fffcf7; border: 1px solid #ded5e3; border-radius: 100px; min-height: 44px; padding: 8px 16px; cursor: pointer; }
.pwa-suggestion .pwa-dismiss { width: 44px; padding: 0; font-size: 20px; background: transparent; border-color: transparent; }
.pwa-dialog { width: min(430px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 22px; border-radius: 22px; border: 1px solid #a6a5b9; background: #fffcf7; color: #27365d; box-shadow: 0 18px 70px #44364c33; overflow: auto; }
.pwa-dialog::backdrop { background: #302b48aa; backdrop-filter: blur(6px); opacity: 1; transition: opacity 180ms ease; }
.pwa-dialog[data-window-phase="opening"]::backdrop, .pwa-dialog[data-window-phase="closing"]::backdrop { opacity: 0; }
.pwa-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.pwa-heading h2 { font-size: 18px; margin: 0; line-height: 1.5; }
.pwa-close { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #7481a1; border-radius: 50%; background: #f7cadc; color: #33456c; font-size: 22px; cursor: pointer; }
.pwa-dialog ol { padding-left: 22px; margin: 0; }
.pwa-dialog li { font-size: 13px; line-height: 1.9; padding-left: 4px; margin-bottom: 14px; }
.pwa-help-note { font-size: 11px !important; color: #627291; line-height: 1.8; margin: 20px 0 0; }
.pwa-dialog button:focus-visible, .pwa-suggestion button:focus-visible { outline: 2px solid #9464bb; outline-offset: 3px; }
.pwa-dialog [data-typing="true"] { cursor: pointer; }
.pwa-dialog .typing-char.is-pending { color: transparent !important; text-shadow: none !important; }
html[data-motion-reduced="true"] .pwa-dialog::backdrop { transition: none; }
@media (prefers-reduced-motion: reduce) { .pwa-dialog::backdrop { transition: none; } }
@media (orientation: landscape) and (max-height: 400px) {
  .pwa-dialog { padding: 14px 20px; }
  .pwa-heading { margin-bottom: 8px; }
  .pwa-dialog li { font-size: 12px; margin-bottom: 8px; }
  .pwa-help-note { margin-top: 10px; }
}
