.brand a { color: inherit; text-decoration: none; }

.drop.big { padding: 40px 20px; text-align: center; place-items: center; }
.drop.big .drop-title { font-size: 19px; }

.queue { margin-top: 24px; }
.queue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}
.item.ready { border-left-color: var(--accent); }
.item.attention { border-left-color: var(--warning); }
.item.error { border-left-color: var(--danger); }
.item.done { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); }

.item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.item-file { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.item-size { font-size: 12px; color: var(--muted); font-weight: 400; }

.item-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.item-grid label { margin-bottom: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.item-grid select, .item-grid input[type="date"], .item-grid input[type="text"] {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.item-grid .wide { grid-column: 1 / -1; }

.item-note { margin: 0; font-size: 13px; color: var(--muted); }
.item-note strong { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.item-note.warn { color: var(--warning); }
.item-note.err { color: var(--danger); }

.item-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.item-actions .btn-open { flex: 0 1 auto; }
.bar { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }

.page-drop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border: 4px dashed var(--accent);
  pointer-events: none;
}
.page-drop span { padding: 14px 22px; font-size: 20px; font-weight: 700; background: var(--surface); border-radius: var(--r-md); }

@media (max-width: 640px) {
  .item-grid { grid-template-columns: 1fr; }
}
