/* Only rendered when the installed page discovers a newer same-origin release.
   Does not alter the existing app, bottom navigation or cookie preferences. */
.ppa-version-notice{position:fixed;z-index:2147483000;inset:12px 12px auto auto;max-width:min(94vw,410px);box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:12px 14px;border:1px solid #cce1d8;border-radius:13px;background:#fff;color:#183f35;box-shadow:0 10px 32px #172b2630;font:500 13px/1.4 system-ui,sans-serif}
.ppa-version-notice>span{flex:1 1 100%;font-weight:650}
.ppa-version-notice button{font:inherit;padding:8px 12px;border:0;border-radius:8px;background:#145847;color:#fff;min-height:36px;cursor:pointer}
.ppa-version-notice button.ppa-version-later{background:#f0f5f2;color:#24463e}
.ppa-version-notice button:focus-visible{outline:3px solid #f3af58;outline-offset:2px}
@media(max-width:600px){.ppa-version-notice{inset:calc(8px + env(safe-area-inset-top)) 8px auto 8px;max-width:none}}

/* A visible response on Update click. Do not interrupt other UI elements. */
.ppa-version-notice.ppa-version-updating{opacity:.96;pointer-events:none}
.ppa-version-notice button:disabled{opacity:.7;cursor:progress}

/* MCG17: visible retry status, completed update; do not intercept other UI. */
.ppa-version-notice.ppa-version-error{border-color:#e8b5a8;color:#793326;background:#fffaf7}
.ppa-version-notice.ppa-version-success{border-color:#b5d7bd;color:#235b37;background:#f7fff7;pointer-events:none}
