:root { color-scheme: light; --background: #f6f5f4; --foreground: #2e3436; --muted-foreground: #5e5c64; --progress-label: #3d3846; --progress-track: #d5d3d1; --progress-fill: #3584e4; --error: #9c2f2f; --button: #1c71d8; --button-hover: #1a5fb4; --button-active: #174a8b; --focus-ring: #1a5fb4; } :root[data-theme="dark"] { color-scheme: dark; --background: #242424; --foreground: #ffffff; --muted-foreground: #c0bfbc; --progress-label: #deddda; --progress-track: #454545; --progress-fill: #78aeed; --error: #ffb4ab; --button: #1c71d8; --button-hover: #3584e4; --button-active: #1a5fb4; --focus-ring: #78aeed; } html, body, #root { box-sizing: border-box; height: 100%; margin: 0; padding: 0; overflow: hidden; -webkit-user-select: none; user-select: none; cursor: default; } body { background: var(--background); color: var(--foreground); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } button { font: inherit; } .update-window { box-sizing: border-box; display: flex; align-items: center; width: 100%; height: 100%; padding: 16px 18px; gap: 15px; background: var(--background); } .update-logo { flex: 0 0 auto; width: 48px; height: 48px; } .update-content, .update-status { min-width: 0; width: 100%; } .update-title { margin: 0; color: var(--foreground); font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; } .update-description { margin: 3px 0 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.4; } .progress-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 3px; } .progress-summary .update-description { margin: 0; } .progress-bar { position: relative; width: 100%; height: 6px; margin-top: 9px; overflow: hidden; border-radius: 3px; background-color: var(--progress-track); } .progress-fill { height: 100%; border-radius: 3px; background: var(--progress-fill); transition: width 180ms ease-out; } .progress-bar-indeterminate .progress-fill { width: 35%; animation: progress-indeterminate 1.4s ease-in-out infinite; } @keyframes progress-indeterminate { from { transform: translateX(-110%); } to { transform: translateX(300%); } } @media (prefers-reduced-motion: reduce) { .progress-fill { transition: none; } .progress-bar-indeterminate .progress-fill { animation: none; transform: translateX(90%); } } .progress-label { flex: 0 0 auto; color: var(--progress-label); font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; white-space: nowrap; } .error-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; } .error-status .update-title { color: var(--error); } .error-copy { min-width: 0; } .retry-button { min-width: 68px; padding: 4px 14px; border: 0; border-radius: 8px; background: var(--button); color: #ffffff; cursor: default; font-size: 12px; font-weight: 600; line-height: 1.5; } .retry-button:hover { background: var(--button-hover); } .retry-button:active { background: var(--button-active); } .retry-button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }