.csv-import .card {display:flex;flex-direction:column;gap:16px;border:0;}
.csv-import h2 {font-size:20px;font-weight:500;}
.csv-import .card > p {max-width:72ch;}
.csv-import .card > button {align-self:flex-start;}
.csv-import details {padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.csv-import summary {cursor:pointer;font-weight:500;}
.csv-import details p,.csv-import dl {margin-top:12px;}
.csv-import dl {display:grid;grid-template-columns:1fr 2fr;gap:8px 16px;}
.csv-import input[type=file] {display:block;margin-top:8px;max-width:100%;}
.csv-import .csv-results {overflow:auto;max-height:40vh;}
.csv-import table {width:100%;border-collapse:collapse;text-align:left;font-size:12px;}
.csv-import th {font-weight:500;color:var(--muted);}
.csv-import th,.csv-import td {padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;}
.csv-import th:first-child,.csv-import td:first-child {padding-left:0;}
.csv-import th:nth-child(2) {width:28%;}
.csv-import td:last-child {min-width:200px;}

.csv-logo {display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:160px;}
.csv-logo img {width:48px;height:48px;object-fit:contain;}
.csv-logo label {display:block;}
.csv-logo-upload input {max-width:190px;font-size:11px;}
.csv-logo span {color:var(--muted);}
.csv-import [hidden] {display:none !important;}
.csv-import th:nth-child(3),.csv-import td:nth-child(3) {white-space:nowrap;min-width:5ch;}
