/* Remove former page-navigation UI, including older cached offline dialogs. */
[data-app-update-notice],[data-legacy-update-notice],.gw-offline-dialog [data-offline-update]{display:none!important}
.gw-app-update-notice{display:block!important;padding:12px 16px;border:1px solid var(--gw-app-line);border-radius:10px;background:transparent;color:var(--gw-app-body);font-family:inherit;font-size:12px;font-weight:400;line-height:1.6;text-align:center;letter-spacing:0}
.gw-app-update-notice>span,.gw-app-update-notice button,.gw-app-update-notice button span{font:inherit!important;font-weight:400!important;line-height:inherit!important;letter-spacing:inherit!important;vertical-align:baseline!important}
.gw-app-update-notice button{display:inline!important;appearance:none;-webkit-appearance:none;width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0 0 0 14px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--gw-app-text)!important;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.gw-app-update-notice button svg{display:inline-block;width:1em;height:1em;margin:0 5px 0 0;vertical-align:-.12em;fill:none;stroke:currentColor;stroke-width:1.5}
.gw-app-update-wrap[data-gw-updater-notice]{box-sizing:border-box;position:relative;z-index:2;width:100%;padding:12px 15vw;background:var(--gw-app-surface)}
.gw-app-data-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 14px;margin:18px 0 0}
html[data-gw-theme] .gw-menu-shell .gw-app-data-tools :is(.gw-offline-entry,.gw-app-update-entry){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;width:auto;margin:0!important;padding:8px 6px;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--gw-menu-idle,var(--gw-app-body));font-family:inherit;font-size:12px;font-weight:400;line-height:1.5;letter-spacing:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.gw-app-update-entry svg{display:block;flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.gw-app-update-dialog{width:min(420px,calc(100vw - 48px));max-height:calc(100dvh - 48px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow:auto;overscroll-behavior:contain;text-align:center}
.gw-app-update-mark{margin:0 auto 16px;color:var(--gw-app-muted)}.gw-app-update-mark svg{display:block;width:28px;height:28px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.gw-app-update-dialog [data-app-updater-copy]{margin:0 0 16px;color:var(--gw-app-body);font-size:14px;line-height:1.72}
.gw-app-update-dialog :is(.gw-app-update-version,.gw-app-update-status){margin:0 0 20px;color:var(--gw-app-muted);font-size:12px;line-height:1.6}
.gw-app-update-dialog :is(.gw-app-update-version,.gw-app-update-status):empty{display:none}
.gw-app-update-dialog .gw-app-install-action{margin:4px auto 0}.gw-app-update-dialog .gw-app-install-note{margin:20px 0 0;font-size:12px;color:var(--gw-app-muted);line-height:1.6}
.gw-app-update-dialog [hidden]{display:none!important}.gw-app-update-dialog .gw-app-install-close:focus{outline:none}.gw-app-update-dialog .gw-app-install-close:focus-visible{outline:1px solid var(--gw-app-muted);outline-offset:-6px;border-radius:4px}
html[data-gw-update-dialog-open]{overflow:hidden}
@media(max-width:991px){.gw-app-update-wrap[data-gw-updater-notice]{padding-inline:7vw}}
@media(max-width:767px){.gw-app-update-wrap[data-gw-updater-notice]{padding-inline:5vw}}
@media(max-width:520px){.gw-app-update-notice{font-size:10px}.gw-app-update-dialog [data-app-updater-copy]{font-size:12px}.gw-app-update-dialog :is(.gw-app-update-version,.gw-app-update-status,.gw-app-install-note){font-size:10px}}
@media(hover:hover) and (pointer:fine){html[data-gw-theme] .gw-menu-shell .gw-app-update-entry:hover{color:var(--gw-menu-hover,var(--gw-app-text));opacity:1}}
