.queue-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
}
.queue-head h2 { margin: 0 0 3px; font-size: 17px; font-weight: 500; }
.queue-head p { margin: 0; color: var(--text-muted); font-size: 13px; }
.clear-queue { border: 0; background: none; color: var(--text-muted); cursor: pointer; font-size: 13px; padding: 5px 0; }
.clear-queue:hover { color: var(--heat); }
.queue { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 7px; }
.queue:empty { display: none; }
.queue-item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--border-faint); border-radius: 10px; background: var(--surface); }
.queue-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--alpha-4); color: var(--text-muted); font-family: var(--mono); flex: 0 0 auto; }
.queue-item.processing .queue-icon { color: var(--heat); animation: queue-spin 1s linear infinite; }
.queue-item.done .queue-icon { background: rgba(25, 150, 90, .12); color: #16804c; }
.queue-item.error .queue-icon { background: rgba(235, 52, 36, .1); color: var(--error); }
.queue-file { min-width: 0; display: grid; gap: 1px; flex: 1; }
.queue-file strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 450; }
.queue-file small { color: var(--text-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-status { color: var(--text-muted); font-size: 12px; white-space: nowrap; }
@keyframes queue-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .queue-item.processing .queue-icon { animation: none; } }
@media (max-width: 575px) { .queue-head { align-items: start; } .queue-status { display: none; } }
