[data-pwa-install][hidden],.pwa-status[hidden] { display:none !important; }
.pwa-install-button { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:44px; padding:10px 12px; border:1px solid #afeedb; border-radius:9px; color:#00664f; background:#f0fcf8; font:600 13px Arial,Helvetica,sans-serif; cursor:pointer; }
.pwa-install-button:hover { background:#d9f7ed; }
.pwa-install-button:focus-visible,.pwa-dialog button:focus-visible { outline:3px solid #00c89d; outline-offset:3px; }
.pwa-login-install { margin-top:22px; padding-top:20px; border-top:1px solid #e2e8f0; }
.pwa-status { position:fixed; bottom:calc(16px + env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); z-index:70; width:min(440px,calc(100% - 32px)); padding:12px 16px; border:1px solid #fcd34d; border-radius:12px; background:#fffbeb; color:#92400e; box-shadow:0 4px 20px #2a343a12; font:500 13px/1.6 Arial,Helvetica,sans-serif; }
.pwa-dialog { width:min(440px,calc(100% - 32px)); max-height:calc(100svh - 48px); overflow:auto; padding:26px; border:1px solid #d9f7ed; border-radius:18px; color:#2a343a; background:#fff; font-family:Arial,Helvetica,sans-serif; }
.pwa-dialog::backdrop { background:#1d272d80; }
.pwa-dialog h2 { font-size:21px; font-weight:700; margin:0 0 14px; }
.pwa-dialog p { color:#68767f; font-size:14px; line-height:1.7; margin:12px 0; }
.pwa-dialog img { width:48px; height:48px; object-fit:contain; margin-bottom:18px; }
.pwa-dialog button { min-height:44px; border:0; border-radius:9px; color:white; background:#007f63; padding:10px 20px; font-weight:600; cursor:pointer; margin-top:8px; }
.pwa-dialog .pwa-help-note { font-size:12px; }
@media (pointer:coarse) {
    body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body select,body textarea { font-size:16px; min-height:44px; }
}
@media (display-mode:standalone) {
    body { min-height:100svh; padding-top:env(safe-area-inset-top); padding-bottom:env(safe-area-inset-bottom); }
    #sidebar { padding-top:env(safe-area-inset-top); padding-bottom:env(safe-area-inset-bottom); }
    body header { top:env(safe-area-inset-top); }
}
@media print { .pwa-status,.pwa-dialog,[data-pwa-install] { display:none !important; } }
