.app-update-dialog { width: min(520px, calc(100vw - 48px)); max-height: calc(100vh - 64px); padding: 28px; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; color: #172033; box-shadow: 0 24px 80px #0f172a38; font-family: Arial, "Microsoft YaHei", sans-serif; overflow: auto; }
.app-update-dialog::backdrop { background: #0f172a80; }
.app-update-head { display: flex; align-items: center; gap: 15px; }
.app-update-icon { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 15px; background: #eff6ff; color: #2563eb; font-size: 30px; }
.app-update-eyebrow { margin: 0 0 5px; color: #64748b; font-size: 12px; }
.app-update-dialog h2 { margin: 0; font-size: 22px; }
.app-update-summary { margin: 18px 0; font-size: 13px; color: #64748b; overflow-wrap: anywhere; }
.app-update-notes { padding: 17px 18px; background: #f8fafc; border: 1px solid #edf1f7; border-radius: 12px; }
.app-update-notes h3 { font-size: 14px; margin: 0 0 11px; }
.app-update-notes [data-update-notes] { max-height: 230px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; font-size: 13px; color: #475569; }
.app-update-progress-label { display: flex; justify-content: space-between; gap: 12px; margin: 20px 0 8px; font-size: 13px; }
.app-update-dialog progress { display: block; width: 100%; height: 9px; border: 0; border-radius: 8px; appearance: none; overflow: hidden; }
.app-update-dialog progress::-webkit-progress-bar { background: #e8eef8; }
.app-update-dialog progress::-webkit-progress-value { background: #2563eb; border-radius: 8px; }
.app-update-transfer, .app-update-status { font-size: 12px; line-height: 1.7; color: #64748b; }
.app-update-status { margin: 16px 0 20px; }
.app-update-error { color: #b91c1c; background: #fef2f2; border-radius: 8px; padding: 10px 12px; font-size: 13px; line-height: 1.7; }
.app-update-actions { display: flex; justify-content: flex-end; gap: 10px; }
.app-update-actions button { padding: 10px 18px; border-radius: 9px; font-size: 14px; cursor: pointer; }
.app-update-secondary { background: #fff; border: 1px solid #d9e1ec; color: #475569; }
.app-update-primary { background: #2563eb; border: 1px solid #2563eb; color: #fff; }
.app-update-actions button:disabled { opacity: .55; cursor: default; }
.app-update-actions button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
