#appUpdateDialog {
  box-sizing: border-box;
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  color: #172033;
  box-shadow: 0 24px 70px #17203330;
  text-align: left;
  font: 15px/1.7 system-ui, sans-serif;
}
#appUpdateDialog::backdrop { background: #15203555; }
#appUpdateDialog h2 { margin: 0 0 12px; color: inherit; font-size: 21px; }
#appUpdateDialog p { margin: 0 0 24px; color: #64748b; }
#appUpdateDialog .app-update-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
#appUpdateDialog button, #appUpdateReminder {
  width: auto; min-height: 42px; margin: 0; padding: 10px 16px;
  border: 1px solid #dbe3ef; border-radius: 10px;
  background: #fff; color: #334155; font: inherit; cursor: pointer;
}
#appUpdateDialog [data-update-refresh] { background: #2563eb; border-color: #2563eb; color: #fff; }
#appUpdateReminder { position: fixed; right: 20px; bottom: 20px; z-index: 10000; box-shadow: 0 4px 20px #17203320; color: #2563eb; font: 14px/1.5 system-ui, sans-serif; }
#appUpdateReminder[hidden] { display: none !important; }
#appUpdateDialog button:focus-visible, #appUpdateReminder:focus-visible { outline: 3px solid #93b4fa; outline-offset: 3px; }
