/* Resume intake shares the A button, form, type and spacing tokens. */
#dialog.resume-form-dialog:has(.batch-import-body) {width:min(1000px,calc(100vw - 40px));}
#dialog .batch-import-body {padding:0;}
.batch-upload-zone {display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:145px;border:1px dashed var(--ui-action-line);border-radius:9px;background:#fdfcfe;cursor:pointer;margin:15px 0;}
.batch-upload-zone>span {color:var(--ui-action);font-size:24px;}
.batch-upload-zone>strong {font-size:15px;font-weight:550;color:var(--ui-ink);}
.batch-upload-zone>p {font-size:12px;color:var(--ui-muted);}
.batch-upload-zone:hover,.batch-upload-zone:focus-visible {border-color:var(--ui-action);background:var(--ui-action-soft);}
.batch-file-heading {display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:16px 0 7px;font-size:13px;}
.batch-file-heading>span {font-size:12px;color:var(--ui-muted);}
.batch-file-list {list-style:none;margin:0;padding:0;max-height:275px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--ui-border) transparent;}
.batch-file-list li {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--ui-border);}
.batch-file-list li>div {min-width:0;}
.batch-file-list strong {font-size:13px;font-weight:450;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.batch-file-list .text-button {flex-shrink:0;font-size:12px;}
.batch-samples {display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;}
.batch-import-body>.dialog-actions {position:sticky;bottom:0;z-index:1;background:white;padding-top:16px;padding-bottom:4px;}
.batch-review-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 16px;}
.batch-review-heading h3 {font-size:16px;color:var(--ui-ink);font-weight:600;}
.batch-review-heading p {font-size:12px;color:var(--ui-muted);margin-top:5px;}
.batch-table-scroll {overflow:auto;max-height:360px;scrollbar-width:thin;scrollbar-color:var(--ui-border) transparent;border:1px solid var(--ui-border);border-radius:8px;}
.batch-review-table {width:100%;min-width:780px;table-layout:fixed;border-collapse:collapse;font-size:12px;}
.batch-review-table th {position:sticky;top:0;background:#faf9fc;z-index:1;padding:10px;color:var(--ui-body);font-weight:500;text-align:left;}
.batch-review-table td {padding:10px;border-top:1px solid var(--ui-border);vertical-align:top;}
.batch-review-table th:first-child {width:36px;}.batch-review-table th:nth-child(2){width:24%;}.batch-review-table th:nth-child(3){width:13%;}.batch-review-table th:nth-child(4){width:20%;}.batch-review-table th:nth-child(5){width:22%;}.batch-review-table th:last-child{width:85px;}
.batch-review-table input:not([type=checkbox]) {width:100%;min-width:0;min-height:34px;padding:6px 8px;font-size:13px;}
.batch-review-table input[type=checkbox] {accent-color:var(--ui-action);width:15px;height:15px;margin:8px 0 0;}
.batch-review-table th input[type=checkbox] {margin:0;}
.batch-review-table td>strong {display:block;font-size:12px;font-weight:450;overflow-wrap:anywhere;line-height:1.7;}
.batch-review-table td:last-child>small {display:block;font-size:11px;color:var(--ui-muted);margin-top:3px;}
.batch-review-table .is-excluded input:not([type=checkbox]) {color:var(--ui-muted);}
.batch-analysis-ready {color:var(--ui-execute);font-size:16px;font-variant-numeric:tabular-nums;}
.batch-analysis-ready small {font-size:11px;margin-left:2px;color:var(--ui-muted);}
.batch-error {font-size:12px;color:var(--ui-danger);line-height:1.7;margin-top:5px;overflow-wrap:anywhere;}
.batch-review-note,.batch-confirm-note {font-size:12px;color:var(--ui-muted);line-height:1.8;margin-top:13px;}
.batch-footer-count {margin-right:auto;font-size:12px;color:var(--ui-body);}
.batch-confirm-summary {display:flex;gap:15px;align-items:baseline;margin:8px 0 22px;flex-wrap:wrap;}
.batch-confirm-summary strong {font-size:19px;font-weight:600;color:var(--ui-ink);}
.batch-confirm-summary span {font-size:12px;color:var(--ui-execute);}
.batch-confirm-people {display:flex;gap:10px 25px;flex-wrap:wrap;padding:16px 0;margin-top:16px;border-top:1px solid var(--ui-border);font-size:13px;}
.batch-confirm-people small {font-size:12px;color:var(--ui-muted);margin-left:7px;}
.batch-flow-preview {margin-top:15px;}
@media(max-width:680px){
 #dialog.resume-form-dialog:has(.batch-import-body) {width:calc(100vw - 24px);}
 .batch-upload-zone {padding:12px;text-align:center;}
 .batch-review-heading {flex-wrap:wrap;}
 .batch-footer-count {width:100%;}
 .batch-file-heading {flex-wrap:wrap;gap:4px;}
}
.batch-import-body .form-grid {grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));}
@media(max-width:680px){.batch-import-body .form-grid {grid-template-columns:1fr;}}
.batch-table-scroll {max-height:clamp(150px,calc(100dvh - 450px),360px);}
#dialog.resume-form-dialog:has(.batch-import-body) {max-width:calc(100vw - 24px);}
@media(max-width:680px){
 .batch-import-body>.dialog-actions {flex-wrap:wrap;gap:9px;}
 .batch-table-scroll {max-height:clamp(140px,calc(100dvh - 580px),280px);}
}
