/* Owner 2026-11-15: the upload bar shown by upload-progress.js on every page. */
.upload-progress { position: fixed; left: 50%; bottom: 22px; z-index: 2147483000; width: min(440px, calc(100vw - 24px)); transform: translateX(-50%); display: grid; gap: 8px; padding: 14px 16px; border: 1px solid rgba(20, 39, 74, .18); border-top: 3px solid #c8281e; border-radius: 14px; background: #fff; color: #14274a; box-shadow: 0 18px 44px rgba(10, 20, 40, .28); font: 600 14px/1.4 inherit; }
.upload-progress__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.upload-progress__row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.upload-progress__row b { flex: none; font-size: 18px; font-variant-numeric: tabular-nums; color: #c8281e; }
.upload-progress__bar { height: 10px; border-radius: 999px; background: #e6ebf5; overflow: hidden; }
.upload-progress__bar i { display: block; width: 0; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1f3f7a, #c8281e); transition: width .15s linear; }
.upload-progress small { color: #5a6782; font-size: 12.5px; font-weight: 600; }
.upload-progress.is-error { border-top-color: #b3261e; }
.upload-progress.is-error .upload-progress__bar { display: none; }
.upload-progress.is-error small { color: #14274a; font-size: 13.5px; }
.upload-progress button { justify-self: end; padding: 7px 16px; border: 1px solid rgba(20, 39, 74, .25); border-radius: 9px; background: #fff; color: #14274a; font: inherit; font-weight: 800; cursor: pointer; }
:root[data-theme='dark'] .upload-progress { background: #14213d; color: #eaf0fb; border-color: rgba(234, 240, 251, .2); border-top-color: #e2574c; }
:root[data-theme='dark'] .upload-progress__bar { background: #23345c; }
:root[data-theme='dark'] .upload-progress__row b { color: #ffb4ab; }
:root[data-theme='dark'] .upload-progress small { color: #b8c4dc; }
:root[data-theme='dark'] .upload-progress.is-error small { color: #eaf0fb; }
:root[data-theme='dark'] .upload-progress button { background: #1c2c50; color: #eaf0fb; border-color: rgba(234, 240, 251, .3); }
