.pwa-install{min-height:40px;white-space:nowrap}.pwa-install-symbol{font-size:18px;line-height:1;margin-right:7px}.entry-form-wrap>.pwa-install{margin-top:16px;width:100%}/* Update/offline notice stays in view while the page scrolls; pre-production sets --pos-banner-height below its fixed TESTES band. */
#pwa-status{position:sticky;top:var(--pos-banner-height,0px);z-index:40;box-shadow:0 2px 8px #392c1a1f;border-bottom:1px solid #d5c2a0;background:#fff6e3;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#392c1a;font-size:13px}#pwa-status[hidden]{display:none}#pwa-status strong{display:block;font-size:14px}#pwa-status p{margin:3px 0 0;max-width:760px}#pwa-status .pwa-actions{display:flex;gap:8px;flex-shrink:0}#pwa-status button{min-height:40px}#pwa-install-help{max-width:460px;width:calc(100% - 32px);padding:24px;border:1px solid #ddd;border-radius:14px}#pwa-install-help h2{margin-top:0}#pwa-install-help p{line-height:1.6}#pwa-install-help::backdrop{background:#22182177}@media(max-width:700px){.profile-picker .pwa-install{width:40px;min-width:40px;padding:8px!important}.profile-picker .pwa-install-label{display:none}.profile-picker .pwa-install-symbol{margin:0}#pwa-status{display:block;padding:12px 16px}#pwa-status .pwa-actions{margin-top:10px;display:grid;grid-template-columns:1fr 1fr}#pwa-status button{min-height:44px}#pwa-status p{font-size:12px}}
#pwa-status .pwa-actions[hidden]{display:none}
/* Phones: the top bar has no room for the install button; install from the login screen or the browser menu. */
@media(max-width:700px){.profile-picker .pwa-install{display:none}}
/* Up to 1023 px the bottom navigation is fixed: keep scrolled-to controls above it. */
@media(max-width:1023px){html{scroll-padding-bottom:calc(84px + env(safe-area-inset-bottom))}}
