/* Quiet, shared upload states for the chat draft and Files workspace. */
.q-uploads{display:flex;gap:10px;flex-wrap:wrap}.q-uploads:empty{display:none}.q-upload{display:flex;align-items:center;gap:10px;width:260px;max-width:100%;padding:10px 12px;border:1px solid var(--border-default);border-radius:12px;background:var(--bg-subtle);color:var(--text-primary);min-height:72px}.q-upload>img,.q-upload-file{width:44px;height:44px;object-fit:cover;border-radius:8px;flex:none}.q-upload-file{display:grid;place-items:center;color:var(--text-secondary);font-size:24px}.q-upload-info{min-width:0;flex:1;display:grid;gap:5px}.q-upload-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.4}.q-upload-state{font-size:11px;line-height:1.4;color:var(--text-secondary)}.q-upload progress{display:block;width:100%;height:3px;border:0;border-radius:4px;overflow:hidden;accent-color:var(--text-primary)}.q-upload progress::-webkit-progress-bar{background:var(--border-default)}.q-upload progress::-webkit-progress-value{background:var(--text-primary)}.q-upload progress::-moz-progress-bar{background:var(--text-primary)}.q-upload-spinner{width:16px;height:16px;border:1.5px solid var(--border-default);border-top-color:var(--text-secondary);border-radius:50%;animation:q-upload-spin .8s linear infinite;flex:none}.q-upload>button{width:44px;height:44px;border:0;background:none;color:var(--text-secondary);font-size:20px;cursor:pointer}.q-upload.is-failed .q-upload-state{color:var(--negative)}.q-uploads:not(:empty){margin-bottom:12px}@keyframes q-upload-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.q-upload-spinner{animation:none}}@media(max-width:767px){.q-upload{width:100%}}

.q-upload-file svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}

.ai-uploads{max-height:164px;overflow:auto;overscroll-behavior:contain}@media(max-width:767px){.ai-uploads{max-height:140px}}
