/* Scoped to the update popup; all native update/download actions stay in place. */
.update-modal-v2{max-width:calc(100vw - 32px);color:var(--ui-text,#172536)}
.update-modal-v2 .ant-modal-content{padding:0!important;border:1px solid var(--ui-border,#e2e8f0);border-radius:18px!important;background:var(--ui-surface,#fff)!important;box-shadow:0 24px 70px #0f172a26;overflow:hidden}
.update-modal-v2 .ant-modal-body{padding:28px!important}
.update-modal-v2 .ant-modal-close{top:16px;right:16px;width:30px;height:30px;border-radius:8px;color:var(--ui-muted,#657487);background:var(--ui-subtle,#f7f9fc)}
.update-modal-v2 .update-hero-v2{display:flex;align-items:center;gap:16px;padding:2px 0 22px}
.update-modal-v2 .update-icon-v2{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:17px;background:linear-gradient(145deg,#edf3ff,#e2ecff);color:#2563eb}
.update-modal-v2 .update-heading-v2{min-width:0;flex:1}
.update-modal-v2 .update-eyebrow-v2{margin:0 0 3px;color:var(--ui-text,#172536);font-size:15px;font-weight:600}
.update-modal-v2 .update-version-v2{margin:0;font-size:29px;line-height:1.3;font-weight:700;letter-spacing:-.6px;color:var(--ui-text,#172536);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.update-modal-v2 .update-current-v2{display:block;margin-top:5px;font-size:12px;color:var(--ui-muted,#657487)}
.update-modal-v2 .update-kind-v2{align-self:flex-end;flex-shrink:0;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:500;line-height:1.5;margin-bottom:2px}
.update-modal-v2 .update-kind-v2.optional{color:var(--ui-accent,#2563eb);background:var(--ui-accent-soft,#edf3ff)}
.update-modal-v2 .update-kind-v2.required{color:var(--ui-gold,#956111);background:var(--ui-gold-soft,#fff9ee)}
.update-modal-v2 .update-notice-v2{margin:0 0 20px;padding:11px 13px;border-radius:9px;font-size:12px;line-height:1.7;background:var(--ui-subtle,#f7f9fc);color:var(--ui-muted,#657487)}
.update-modal-v2 .update-notice-v2.required{background:var(--ui-gold-soft,#fff9ee);color:var(--ui-gold,#956111);border:1px solid var(--ui-gold-border,#ead7b1)}
.update-modal-v2 .update-notes-title-v2{margin:0 0 10px;font-size:14px;font-weight:600;color:var(--ui-text,#172536)}
.update-modal-v2 .update-notes-v2{box-sizing:border-box;max-height:min(320px,calc(100vh - 350px));min-height:64px;padding:16px 18px;background:var(--ui-subtle,#f7f9fc);border:1px solid var(--ui-border,#e2e8f0);border-radius:10px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.85;color:var(--ui-muted,#657487);overscroll-behavior:contain;scrollbar-width:thin}
.update-modal-v2 .update-notes-v2:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.update-modal-v2 .update-actions-v2{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:20px;border-top:1px solid var(--ui-border,#e2e8f0)}
.update-modal-v2 .update-actions-v2 .ant-btn{height:40px;min-width:102px;padding:0 18px;border-radius:9px;box-shadow:none;font-size:13px}
.update-modal-v2 .update-actions-v2 .ant-btn:not(.ant-btn-primary){background:var(--ui-surface,#fff)!important;border-color:var(--ui-border,#e2e8f0)!important;color:var(--ui-muted,#657487)!important}
.update-modal-v2 .update-actions-v2 .ant-btn-primary{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important;box-shadow:0 3px 10px #2563eb24}
.update-modal-v2 .update-actions-v2 .ant-btn-primary:hover{background:#1d4ed8!important;border-color:#1d4ed8!important}
.update-modal-v2 .update-download-v2{padding:20px 18px 18px;background:var(--ui-subtle,#f7f9fc);border:1px solid var(--ui-border,#e2e8f0);border-radius:12px}
.update-modal-v2 .update-download-v2>div:first-child{margin-bottom:18px!important;text-align:left;font-weight:600!important;font-size:14px;color:var(--ui-text,#172536)!important}
.update-modal-v2 .update-download-v2 .ant-progress-text{color:var(--ui-text,#172536)}
.update-modal-v2 .update-download-meta-v2{display:flex;justify-content:space-between;gap:12px;margin-top:13px;font-size:12px;color:var(--ui-muted,#657487);font-variant-numeric:tabular-nums}
html[data-theme="dark"] .update-modal-v2 .update-icon-v2{background:#233553;color:#91b5ff}
@media(max-width:620px){.update-modal-v2 .ant-modal-body{padding:22px!important}.update-modal-v2 .update-hero-v2{gap:12px}.update-modal-v2 .update-icon-v2{width:48px;height:48px;flex-basis:48px;border-radius:14px}.update-modal-v2 .update-version-v2{font-size:26px}.update-modal-v2 .update-notes-v2{padding:13px 14px}}
@media(max-width:390px){.update-modal-v2 .ant-modal-body{padding:18px!important}.update-modal-v2 .update-kind-v2{font-size:10px;padding:3px 5px}.update-modal-v2 .update-download-meta-v2{flex-direction:column;gap:4px}.update-modal-v2 .update-actions-v2 .ant-btn{min-width:0;flex:1;padding:0 8px}}
