.remote-updates-modal { z-index: 1600; }
.remote-updates-modal .remote-updates-content { width: 800px; max-width: calc(100vw - 24px); max-height: calc(100vh - 40px); display: flex; flex-direction: column; padding: 0; }
.remote-updates-body { overflow: auto; padding: 16px; min-height: 120px; }
.remote-updates-toolbar, .remote-updates-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.remote-updates-toolbar { margin-bottom: 12px; }
.remote-updates-toolbar label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-secondary); }
.remote-updates-list { list-style: none; padding: 0; margin: 0; }
.remote-update-row { display: grid; grid-template-columns: 18px minmax(0, 1.3fr) minmax(100px, 1fr) minmax(0, 1.1fr); gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--border-color); font-size: 13px; }
.remote-update-row input { margin-top: 3px; }
.remote-update-identity, .remote-update-result { display: flex; flex-direction: column; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.remote-update-identity strong { font-size: 13px; }
.remote-update-meta, .remote-update-result small { color: var(--text-muted); font-size: 12px; }
.remote-update-versions { color: var(--text-secondary); overflow-wrap: anywhere; }
.remote-update-result .text-btn { align-self: flex-start; min-height: 24px; padding: 2px 0; border: 0; background: transparent; color: var(--accent); }
.remote-update-result .text-btn:hover { text-decoration: underline; }
.remote-update-result progress { width: 100%; height: 5px; accent-color: var(--accent); }
.remote-update-success { color: var(--success); }
.remote-update-failed { color: var(--error); }
.remote-updates-footer { padding: 12px 16px; border-top: 1px solid var(--border-color); justify-content: flex-end; }
#remoteClientUpdates.has-updates { color: var(--accent); }
#remoteClientUpdates[hidden] { display: none; }
@media (max-width: 600px) {
    .remote-update-row { grid-template-columns: 18px minmax(0, 1fr); gap: 6px 10px; }
    .remote-update-row > input { grid-row: 1 / 4; }
    .remote-update-versions, .remote-update-result { grid-column: 2; }
    .remote-updates-content { max-height: calc(100vh - 24px); }
}
