.pwa-dialog {
    width: min(25rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #2b444d;
    border-radius: 16px;
    padding: 1.6rem;
    color: #edf4e8;
    background: #102a35;
    box-shadow: 0 1.5rem 6rem #001425b3;
    font: 500 .96rem/1.5 "Segoe UI", system-ui, sans-serif;
    text-align: center;
}
.pwa-dialog::backdrop { background: #001627b8; backdrop-filter: blur(6px); }
.pwa-icon { border-radius: 1.1rem; display: block; margin: 0 auto .9rem; }
.pwa-eyebrow { font-size: .68rem; font-weight: 700; letter-spacing: .2em; color: #bcedb1; }
.pwa-dialog h2 { margin: .35rem 0 .7rem; font-size: 1.65rem; line-height: 1.13; }
.pwa-description { color: #edf4e8; }
.pwa-note, .pwa-status { font-size: .82rem; color: #9db5bd; }
.pwa-status:empty { display: none; }
.pwa-steps { list-style: none; padding: 0; margin: 1.1rem 0; text-align: left; counter-reset: step; }
.pwa-steps li { display: flex; gap: .7rem; align-items: center; padding: .7rem 0; border-top: 1px solid #9cf4e626; }
.pwa-step-cue { display: grid; place-items: center; flex: 0 0 2rem; color: #bcedb1; }
.pwa-step-cue svg { width: 1.65rem; height: 1.65rem; }
.pwa-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.pwa-actions button { min-height: 2.9rem; flex: 1 1 7rem; border-radius: 10px; padding: .65rem 1rem; font: 700 .9rem/1.3 "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.pwa-primary { border: 1px solid #bcedb1; background: #bcedb1; color: #071c27; }
.pwa-secondary { border: 1px solid #2b444d; background: transparent; color: #edf4e8; }
.pwa-dialog button:focus-visible, .pwa-update-entry:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.pwa-dialog button:disabled { opacity: .6; cursor: wait; }
.pwa-update-entry { position: fixed; z-index: 50; bottom: max(1rem, env(safe-area-inset-bottom)); right: max(1rem, env(safe-area-inset-right)); min-height: 2.75rem; padding: .65rem 1rem; border: 1px solid #bcedb1; border-radius: 10px; color: #edf4e8; background: #102a35; box-shadow: 0 .5rem 2rem #00152266; font: 750 .85rem "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.pwa-dialog [hidden], .pwa-update-entry[hidden] { display: none !important; }
@media (max-width: 420px) {
    .pwa-dialog { margin-bottom: max(1rem, env(safe-area-inset-bottom)); padding: 1.35rem; }
}
