.pwa-offline-page { margin: 0; min-height: 100dvh; display: grid; place-items: center; background: #e8ece6; color: #15251a; font: 16px/1.5 system-ui, sans-serif; padding: 24px; box-sizing: border-box; }
.pwa-card { background: white; border: 1px solid #dedede; border-radius: 24px; padding: 24px; max-width: 390px; box-shadow: 0 18px 44px rgba(25,35,28,.16); }
.pwa-card img { border-radius: 14px; }
.pwa-card h1, .pwa-card h2 { line-height: 1.2; margin: 12px 0; }
.pwa-card p { margin: 10px 0; }
.pwa-card button, .pwa-primary, .pwa-card a { font: inherit; cursor: pointer; }
.pwa-primary { display: inline-block; border: 0; border-radius: 14px; padding: 11px 16px; background: #28543a; color: white; font-weight: 700; text-decoration: none; }
.pwa-secondary { border: 0; background: transparent; color: #28543a; padding: 11px 16px; font-weight: 700; }
.pwa-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(5,6,8,.56); padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); box-sizing: border-box; }
.pwa-overlay .pwa-card { width: min(100%, 390px); max-height: calc(100dvh - 40px); overflow: auto; }
.pwa-overlay[hidden], .pwa-update[hidden] { display: none; }
.pwa-update { position: fixed; z-index: 999; top: max(8px, env(safe-area-inset-top)); right: max(8px, env(safe-area-inset-right)); width: min(330px, calc(100vw - 32px)); box-sizing: border-box; }
.pwa-update .pwa-card { padding: 14px; font-size: .9rem; }
.pwa-section { margin-top: 16px; }
.pwa-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
