#historyImports{--hi-ink:#36465e;--hi-muted:#77859a;--hi-line:#dfe6ee;color:var(--hi-ink)}.hi-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.hi-title{margin-right:auto}.hi-heading h2{margin:0 0 5px;font-size:22px}.hi-heading p{margin:0;font-size:13px}.hi-status{padding:12px 16px;background:#f2f6fa;border-left:3px solid #738fa9;border-radius:4px;font-size:13px}.hi-controls,.hi-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:15px 0}.hi-controls label{display:flex;align-items:center;gap:6px}.hi-controls select{max-width:200px}.hi-jobs-table{width:100%;table-layout:fixed;border-collapse:collapse}.hi-jobs-table th{font-size:12px;text-align:left;color:#78869a;padding:12px 10px;background:#f5f7fb;border-bottom:1px solid var(--hi-line)}.hi-jobs-table td{padding:19px 10px;vertical-align:middle;border-bottom:1px solid var(--hi-line);overflow-wrap:anywhere;font-size:13px}.hi-jobs-table th:nth-child(1){width:44px}.hi-jobs-table th:nth-child(2){width:27%}.hi-jobs-table th:nth-child(3){width:18%}.hi-jobs-table th:nth-child(4){width:20%}.hi-jobs-table th:nth-child(5){width:14%}.hi-jobs-table th:nth-child(6){width:150px}.hi-jobs-table td strong{font-weight:600;font-size:14px}.hi-jobs-table small,.hi-detail small{display:block;color:#78869a;font-size:11px;line-height:1.6;margin-top:4px}.hi-jobs-table progress{display:block;width:100%;height:5px;margin:9px 0;accent-color:#5a819f}.hi-count{padding:4px 7px!important;margin:3px 4px 3px 0;font-size:11px!important;min-height:0!important;background:#f5f7fa}.hi-count.success,.hi-detail .success{color:#268263}.hi-count.failed,.hi-detail .failed{color:#bd4566}.hi-count.existing,.hi-detail .existing{color:#6c7791}.hi-row-actions button{margin:3px 5px 3px 0;padding:5px 8px;font-size:12px}.hi-empty{padding:52px 24px;text-align:center;color:#78869a;border:1px dashed var(--hi-line);border-radius:8px}.hi-dialog{width:min(680px,calc(100vw - 40px));max-height:86vh;border:1px solid #d8e1eb;border-radius:12px;padding:26px;color:#36465e}.hi-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px}.hi-form-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px}.hi-form-grid label:first-child{grid-column:1/-1}.hi-form-grid input,.hi-form-grid select{width:100%;box-sizing:border-box}.hi-dialog h2{margin:0 0 23px;font-size:19px}.hi-dialog .muted{font-size:12px;line-height:1.7}.hi-presets{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.hi-presets button{font-size:11px;padding:4px 9px}.hi-actions{justify-content:flex-end}.hi-detail{width:min(1220px,calc(100vw - 44px));max-height:85vh;border:1px solid #d8e1eb;border-radius:12px;padding:24px}.hi-detail .hi-heading{margin-bottom:8px}.hi-detail h2{font-size:19px}.hi-table-scroll{overflow:auto;max-height:58vh}.hi-detail table{width:100%;min-width:780px;border-collapse:collapse;text-align:left;font-size:12px}.hi-detail th{position:sticky;top:0;background:#f4f7fa;padding:10px}.hi-detail td{padding:13px 10px;vertical-align:top;border-bottom:1px solid #e3e9f0;max-width:320px;overflow-wrap:anywhere}.hi-detail details p{font-size:11px;max-width:260px;color:#78869a}.hi-detail summary{cursor:pointer;white-space:nowrap}.hi-detail a{color:#467c9e}#hiMessage:empty{display:none}#hiJobs{overflow:auto}#historyImports input[type=checkbox]{width:15px;height:15px;accent-color:#617d9a}button:focus-visible,summary:focus-visible{outline:2px solid #5182a6;outline-offset:2px}@media(max-width:900px){.hi-jobs-table{min-width:1000px}.hi-heading{flex-wrap:wrap}.hi-title{width:100%}}@media(max-width:540px){.hi-form-grid{grid-template-columns:1fr}.hi-dialog{padding:18px}.hi-form-grid label:first-child{grid-column:auto}}@media(prefers-reduced-motion:reduce){#historyImports *{scroll-behavior:auto}}
/* Keep the complete job table inside the existing dashboard width. */
.hi-jobs-table,.hi-jobs-table *{box-sizing:border-box}.hi-jobs-table th:nth-child(1){width:4%}.hi-jobs-table th:nth-child(2){width:28%}.hi-jobs-table th:nth-child(3){width:16%}.hi-jobs-table th:nth-child(4){width:20%}.hi-jobs-table th:nth-child(5){width:14%}.hi-jobs-table th:nth-child(6){width:18%}.hi-jobs-table th,.hi-jobs-table td{padding-left:8px;padding-right:8px}.hi-jobs-table .hi-count{width:calc(50% - 5px);margin:3px 3px 3px 0;font-size:11px!important;white-space:nowrap}.hi-jobs-table .hi-row-actions button{font-size:11px;white-space:nowrap;padding:5px 7px}.hi-form-grid label:first-child{grid-column:1/-1}.hi-form-grid label[hidden],.hi-presets[hidden]{display:none}
#historyImports .hi-jobs-table,#historyImports .hi-jobs-table th,#historyImports .hi-jobs-table td{white-space:normal}#historyImports .hi-row-actions{white-space:normal}
#historyImports .hi-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:100%}#historyImports .hi-result-grid .hi-count{display:block;width:100%;min-width:0;margin:0!important;white-space:normal;line-height:1.4;padding:5px 4px!important}#historyImports .hi-action-grid{display:flex;flex-wrap:wrap;align-items:center;gap:6px}#historyImports .hi-action-grid button{margin:0;max-width:100%}
.hi-detail table{table-layout:fixed;min-width:680px}.hi-detail th,.hi-detail td,.hi-detail small,.hi-detail details p{white-space:normal;overflow-wrap:anywhere;word-break:normal}.hi-detail th:nth-child(1){width:7%}.hi-detail th:nth-child(2){width:22%}.hi-detail th:nth-child(3){width:21%}.hi-detail th:nth-child(4){width:32%}.hi-detail th:nth-child(5){width:18%}.hi-detail td small{line-height:1.65}.hi-detail summary{white-space:normal}

.hi-detail .hi-retry{display:block;margin-top:8px;padding:5px 10px;font-size:12px}.hi-live-progress{color:#467c9e!important;font-weight:500}
