.pwa-install[hidden], .pwa-offline-notice[hidden] { display: none !important; }
.pwa-install { position: fixed; inset: auto 16px 16px auto; z-index: 60; max-width: min(440px, calc(100vw - 32px)); display: flex; align-items: center; gap: 12px; padding: 16px; color: #103b4e; background: #fff; border: 1px solid #dbe5e9; border-radius: 18px; box-shadow: 0 10px 40px #0f172a26; font: 14px/1.4 system-ui, sans-serif; }
.pwa-install img { flex-shrink: 0; border-radius: 10px; }
.pwa-install strong { font-weight: 750; }
.pwa-install p { margin: 3px 0 0; color: #64748b; font-size: 12px; }
.pwa-install button { padding: 9px 12px; border: 0; border-radius: 9px; color: #fff; background: #103b4e; font: inherit; font-weight: 700; cursor: pointer; }
.pwa-install .pwa-dismiss { padding: 4px 7px; background: transparent; color: #64748b; font-size: 24px; }
.pwa-offline-notice { padding: 12px 20px; text-align: center; color: #92400e; background: #fef3c7; font: 13px/1.5 system-ui, sans-serif; }
.pwa-button-container { width: 100%; }
.pwa-button-sidebar { flex-shrink: 0; margin-top: auto; padding: 16px; border-top: 1px solid #ead8bf; background: #f6eddf; }
.pwa-install-trigger { width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 14px; border: 1px solid #b98b68; border-radius: 9px; color: #70452f; background: transparent; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; }
.pwa-install-trigger:hover { background: #f6eddf; }
.pwa-button-sidebar .pwa-install-trigger:hover { background: #ead8bf; }
.pwa-install-trigger:focus-visible, .pwa-install-help button:focus-visible { outline: 2px solid #8a6047; outline-offset: 3px; }
.pwa-install-trigger:disabled { opacity: .65; cursor: default; }
.pwa-trigger-icon { width: 18px; height: 18px; flex-shrink: 0; }
.dark .pwa-button-login .pwa-install-trigger { color: #ead8bf; border-color: #8a6047; }
.dark .pwa-button-login .pwa-install-trigger:hover { background: #42271b; }
.pwa-install-help { max-width: min(440px, calc(100vw - 32px)); margin: auto; padding: 24px; border: 1px solid #ead8bf; border-radius: 16px; color: #42271b; background: #fff; box-shadow: 0 20px 60px #0003; font: 14px/1.7 system-ui, sans-serif; }
.pwa-install-help::backdrop { background: #0f172a80; }
.pwa-install-help h2 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.pwa-install-help p { margin: 0 0 20px; color: #64748b; }
.pwa-install-help button { padding: 9px 18px; border: 0; border-radius: 8px; background: #70452f; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
