.dropzone {
  border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 34px; text-align: center; background: #fbfcfd;
  transition: border-color .15s, background .15s;
}
.dropzone.over { border-color: var(--accent); background: var(--accent-bg); }
.dropzone p { color: var(--ink-faint); margin-bottom: 12px; }

.filetable { margin-top: 16px; font-size: 14px; }
.filetable th {
  text-align: left; padding: 8px 10px; border-bottom: 2px solid var(--line);
  font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-faint);
}
.filetable td { padding: 8px 10px; border-bottom: 1px solid var(--line-soft); }
.filetable tr.bad td { background: var(--err-bg); }

/* ---- Step 4: drop zone LEFT, file list RIGHT, messages BELOW both ------
   Adding a file must not push the rest of the page down, so the list sits
   beside the zone rather than under it. */
.upload-split {
  display: flex; gap: 20px; align-items: stretch;
}
.upload-left  { flex: 0 0 300px; display: flex; }
.upload-left .dropzone {
  flex: 1; padding: 20px 16px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}
.upload-left .dropzone p { margin: 0; font-size: 13.5px; }
.upload-right {
  flex: 1 1 auto; min-width: 0;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 12px 14px; background: #fbfcfd;
  max-height: 260px; overflow-y: auto;
}
.upload-right-title {
  font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-faint); margin-bottom: 8px; font-weight: 650;
}

.filelist { font-size: 13.5px; }
.filelist li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; border-bottom: 1px solid var(--line-soft);
}
.filelist li:last-child { border-bottom: none; }
.filelist li.bad .fl-name { color: var(--err); }
.fl-name {
  flex: 0 0 auto; max-width: 42%; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fl-kind {
  flex: 1 1 auto; min-width: 0; color: var(--ink-faint); font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.filelist li.fl-detail { display: block; font-size: 12.5px; padding-left: 4px; }
.fl-totals { margin-top: 10px; font-size: 12.5px; }
