/* Unuploaded — audio-joiner queue list (route-local; kit tokens only).
   The list IS the play order, so it reads like the result rows in
   convert.css rather than like a form: mono face, one row per file. */

.queue {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.queue-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 0.5rem 0.7rem;
  margin: 0 0 0.45rem;
}

.queue-item[draggable="true"] { cursor: grab; }
.queue-item.dragging { opacity: 0.5; }
.queue-item.drag-over {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Refused files are an actual failure state, so they get the fail color
   the kit reserves for exactly that. */
.queue-item.failed { border-left: 3px solid var(--fail); }
.queue-item.failed .q-meta { color: var(--fail); }

.q-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  min-width: 1.7rem;
}

.q-name {
  font-family: var(--mono);
  font-size: 0.82rem;
  word-break: break-all;
  flex: 1 1 12rem;
}

.q-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.q-actions {
  display: inline-flex;
  gap: 0.3rem;
  margin-left: auto;
}

.q-btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.22rem 0.6rem;
  font: inherit;
  line-height: 1.2;
}

.q-hint {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 0.7rem 0 0;
}

/* Adjustment reports (clamps, remixes) list one line per adjustment —
   they compose, so the box has to hold more than one. */
.note.warn ul { margin: 0.35rem 0 0; padding-left: 1.1rem; }
.note.warn li { margin: 0.15rem 0; }
