#resumableUploadPanel { margin: 14px 0; padding: 14px; border: 1px solid var(--surface-border, #e1e5eb); border-radius: 12px; background: var(--surface-muted, #f1f3f6); color: var(--surface-text, #34394e); }
#resumableUploadPanel[hidden], #uploadSubmit[hidden], #resumableUploadPanel button[hidden] { display: none !important; }
.resumable-upload-name { font-size: .85rem; font-weight: 600; overflow-wrap: anywhere; }
#resumableUploadProgress { display: block; width: 100%; height: 8px; margin: 12px 0; border: 0; border-radius: 8px; accent-color: #1e7b4c; }
#resumableUploadProgress::-webkit-progress-bar { border-radius: 8px; background: var(--surface-border, #e1e5eb); }
#resumableUploadProgress::-webkit-progress-value { border-radius: 8px; background: #1e7b4c; }
#resumableUploadStatus { margin-bottom: 8px; font-size: .8rem; line-height: 1.7; overflow-wrap: anywhere; }
.resumable-upload-hint { color: #68758a; font-size: .74rem; line-height: 1.7; }
.resumable-upload-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.resumable-upload-controls button { border: 1px solid var(--surface-border, #e1e5eb); border-radius: 8px; padding: 8px 12px; background: var(--surface-card, #fff); color: inherit; font-size: .8rem; }
.resumable-upload-controls button:focus-visible { outline: 2px solid var(--surface-focus, #7b8bac); outline-offset: 2px; }
.resumable-upload-controls button:disabled { opacity: .55; cursor: wait; }
html[data-background-theme="dark"] .resumable-upload-hint { color: #aab8cc; }
