.upload-progress { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(360px, calc(100vw - 28px)); display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-height: 40vh; overflow-y: auto; z-index: 70; }
.upload-progress-item { min-width: 0; background: #fff; border: 1px solid #eee4da; border-radius: 15px; padding: 13px 15px; color: #36343a; box-shadow: 0 8px 30px #46382d21; }
.upload-progress-head { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.upload-progress-head strong { flex: 1; min-width: 0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-weight: 700; }
.upload-percent { flex: none; color: var(--action-primary); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.upload-dismiss { flex: none; padding: 0; width: 24px; height: 24px; border: 0; border-radius: 6px; color: #8c8585; background: transparent; font-size: 20px; }
.upload-progress progress { display: block; appearance: none; -webkit-appearance: none; width: 100%; height: 6px; margin: 10px 0 8px; border: 0; border-radius: 4px; overflow: hidden; background: #f3ebe3; accent-color: var(--action-primary); }
.upload-progress progress::-webkit-progress-bar { background: #f3ebe3; border-radius: 4px; }
.upload-progress progress::-webkit-progress-value { background: var(--action-primary); border-radius: 4px; }
.upload-progress progress::-moz-progress-bar { background: var(--action-primary); border-radius: 4px; }
.upload-stage { font-size: 11px; line-height: 1.6; color: #8d8681; overflow-wrap: anywhere; }
.upload-progress-item[data-phase="saving"] .upload-stage { color: #a76b2e; }
.upload-progress-item[data-phase="complete"] .upload-percent, .upload-progress-item[data-phase="complete"] .upload-stage { color: #23764a; }
.upload-progress-item[data-phase="complete"] progress::-webkit-progress-value { background: #359563; }
.upload-progress-item[data-phase="complete"] progress::-moz-progress-bar { background: #359563; }
.upload-progress-item[data-phase="error"] .upload-percent, .upload-progress-item[data-phase="error"] .upload-stage { color: #b74c49; }
.upload-progress.in-modal { position: static; transform: none; width: calc(100% - 32px); max-height: none; margin: 0 16px 16px; overflow: visible; }
.upload-progress.in-modal .upload-progress-item { box-shadow: none; background: #fdfaf6; }
@media (max-width: 720px) { .upload-progress { bottom: calc(76px + var(--safe-bottom)); } }
