.rb-updates{max-width:1040px;margin:24px auto;padding:28px;background:#fffdf7;border:1px solid #d8d1c4;border-radius:14px;color:#183f54}.rb-update-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.rb-update-heading h1{margin:0}.rb-update-stats{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:14px;margin:24px 0}.rb-update-stats>div{padding:20px;border-radius:10px;background:#f0f4f5}.rb-update-stats span,.rb-update-stats strong{display:block}.rb-update-stats span,.rb-update-muted{font-size:13px;color:#647b83}.rb-update-stats strong{font-size:26px;margin-top:9px}.rb-update-stats .rb-update-date{font-size:17px}.rb-update-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.rb-updates button,.rb-update-dialog button{padding:11px 17px;border:1px solid #c7cecc;border-radius:8px;background:#fff;color:#1b4867;cursor:pointer;font:inherit}.rb-updates #updateInstall,.rb-update-dialog [data-choice=install],#updateProgressReload{background:#235a88;color:#fff;border-color:#235a88}.rb-updates button:disabled{opacity:.5;cursor:default}.rb-updates section{border-top:1px solid #deddd6;padding-top:16px;margin-top:24px}.rb-updates h2{font-size:20px}.rb-updates li,.rb-update-dialog li{line-height:1.55;margin:8px 0}.rb-update-notice{margin-top:22px;padding:18px;background:#edf4f4;border-radius:9px;line-height:1.6}.rb-update-notice p{margin-bottom:0}.rb-update-error,#updateMessage.error{color:#a12e31;white-space:pre-wrap;overflow-wrap:anywhere}.rb-update-dialog{max-width:670px;max-height:85vh;padding:30px;border:1px solid #d8d1c4;border-radius:14px;color:#183f54;background:#fffdf7;box-shadow:0 18px 90px #0003}.rb-update-dialog::backdrop{background:#102a3a88}.rb-update-dialog h2{margin-top:0}.rb-updates [hidden],.rb-update-dialog [hidden]{display:none!important}#updateFile{max-width:100%;margin:8px 12px 8px 0}@media(max-width:650px){.rb-updates{margin:12px;padding:18px}.rb-update-stats{grid-template-columns:1fr}.rb-update-heading{align-items:flex-start}.rb-update-dialog{margin:16px;padding:22px}}
.rb-updates section.rb-update-status{margin-top:18px;padding:16px 18px;border:1px solid #c9dce2;border-radius:10px;background:#edf4f7}.rb-update-status h2{margin:0 0 8px;font-size:17px}.rb-update-status p{margin:8px 0;line-height:1.5}.rb-update-status p:empty{display:none}.rb-update-progress{width:min(520px,calc(100vw - 72px));text-align:center;padding:34px;line-height:1.55;overflow-wrap:anywhere}.rb-update-progress h2{margin:18px 0 8px;font-size:25px}.rb-update-progress .rb-update-actions{justify-content:center;margin-bottom:0}.rb-update-progress-icon{box-sizing:border-box;width:46px;height:46px;margin:0 auto;border:4px solid #d6e4ea;border-top-color:#235a88;border-radius:50%;animation:rb-update-spin .9s linear infinite}#updateProgressHint{color:#627780;font-size:14px}#updateProgressVersion{font-weight:600;color:#235a88}#updateProgressDetail{margin:22px 0;font-size:17px}.rb-update-progress.is-complete .rb-update-progress-icon,.rb-update-progress.is-error .rb-update-progress-icon{animation:none;border:0;background:#e0f0e7;color:#287245;font-size:29px;line-height:46px}.rb-update-progress.is-complete .rb-update-progress-icon:after{content:'✓'}.rb-update-progress.is-error .rb-update-progress-icon{background:#f6e4e2;color:#a12e31}.rb-update-progress.is-error .rb-update-progress-icon:after{content:'!'}.rb-update-progress.is-error #updateProgressDetail{color:#a12e31}@keyframes rb-update-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.rb-update-progress-icon{animation:none}}@media(max-width:650px){.rb-update-progress{margin:auto;padding:24px;width:calc(100vw - 84px)}.rb-update-progress h2{font-size:22px}}
/* Explicit centering survives the main application's universal margin reset. */
dialog.rb-update-dialog{position:fixed;inset:0;margin:auto;height:fit-content}
