/* Imports: bringing work over from another tool (public/js/imports.js). Everything sits under .imports. */
.imports .pagehd h1 { overflow-wrap: anywhere; }
.imports .panel > .hd .step { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--paper);
  font: 500 11px/1 var(--font-mono); }
.imports .panel > .bd { display: flex; flex-direction: column; gap: 14px; }

/* 1. upload */
.imports .srcs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.imports .srcs .pickcard { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; }
.imports .srcs .pickcard b { font-size: 14px; }
.imports ol.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; color: var(--text-2); max-width: 72ch; }
.imports .dropzone { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 16px; border: 1px dashed var(--border-strong); border-radius: var(--radius);
  background: var(--paper-warm); text-align: center; }
.imports .dropzone > .ico svg { color: var(--text-3); }
.imports .dropzone.over { border-color: var(--accent); background: var(--hover); }
.imports .dropzone.busy { opacity: .6; pointer-events: none; }
.imports .sheet { display: flex; flex-direction: column; gap: 6px; }
.imports .sheet input { flex: 1; min-width: 0; max-width: 520px; }
.imports a.workrow { text-decoration: none; color: inherit; }

/* 2 and 3. the first rows and the columns */
.imports .scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.imports table.list th { position: static; }
.imports table.list tr:last-child td { border-bottom: 0; }
.imports table.preview td { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.imports table.maptable td:nth-child(2) { max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.imports .maprow { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.imports .maprow .what { flex: 0 1 260px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.imports .maprow .count { width: 52px; text-align: right; }
.imports .maprow > .ico { color: var(--text-3); }

/* 4. what it will do, and what it did */
.imports .stats p { color: var(--text-2); max-width: 80ch; }
.imports .stats p.big { font: 600 16px/1.3 var(--font-head); color: var(--text); }
.imports .stats ul { margin: 0; padding-left: 18px; }

@media (max-width: 820px) {
  .imports .maprow { flex-wrap: wrap; }
  .imports .maprow .what { flex-basis: 100%; }
}
