/* Layout only: retain each theme's own typography and colors. */
#updateNotification.release-update-dialog{position:fixed;inset:0;margin:auto;transform:none;width:min(520px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 40px);overflow:auto;padding:28px;display:revert;font-size:inherit;text-align:left;z-index:auto}
#updateNotification.release-update-dialog:not([open]){display:none}
#updateNotification h2{margin:0 48px 22px 0}
#updateNotification .release-update-close{position:absolute;right:12px;top:10px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;font-size:26px;box-shadow:none;cursor:pointer}
#updateNotification .release-update-item p{line-height:1.5;margin:0 0 14px}
#updateNotification .release-update-item .eyebrow{margin-bottom:6px}
#updateNotification .release-update-version{font-weight:700;margin-bottom:2px!important}
#updateNotification .release-update-item+.release-update-item{border-top:1px solid var(--line,currentColor);margin-top:22px;padding-top:22px}
#updateNotification .release-update-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none}
#updateNotification .release-update-skip{display:block;margin:20px 0 0;padding:8px 0;min-height:44px;border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#updateNotification .release-update-help{color:var(--muted,inherit);font-size:inherit;line-height:1.5;margin:8px 0 0}
html[data-design="classic"] #updateNotification{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:10px}
html[data-design="classic"] #updateNotification h2{font-family:ArchiveSerif,Georgia,serif;font-size:24px;line-height:1.3;font-weight:400}
html[data-design="commander"] #updateNotification{background:var(--nc-panel-bg,#000);color:var(--nc-panel-fg,#fff);border:4px double currentColor;border-radius:0}
html[data-design="commander"] #updateNotification .release-update-help{color:inherit}
@media(max-width:760px){#updateNotification.release-update-dialog{padding:22px}html[data-design="classic"] #updateNotification h2{font-size:22px}#updateNotification .release-update-action{width:100%}}

#updateNotification .release-update-skip{box-shadow:none}
#updateNotification h2:focus{outline:none}
#updateNotification .release-update-close{background:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important}

/* Match the Classic Application page's APK download action. */
html[data-design="classic"] #updateNotification a.release-update-action {
 background: var(--accent);
 color: #fff;
 border: 0;
 border-radius: 6px;
 padding: 15px 18px;
 min-height: 48px;
 font-weight: 700;
 text-decoration: none;
}
html[data-design="classic"] #updateNotification a.release-update-action:focus-visible {
 outline: 2px solid var(--accent);
 outline-offset: 3px;
}
