:root{font:16px/1.5 system-ui,sans-serif;color:#20242a;background:#f4f6f8}*{box-sizing:border-box}body{margin:0;padding:40px 18px}main{max-width:900px;margin:auto}h1{font-size:2rem;margin-bottom:4px}.lead,.muted{color:#626b76}section{background:#fff;border:1px solid #dfe3e8;border-radius:12px;padding:22px;margin:22px 0}h2{font-size:1.2rem;margin:0 0 16px}label{display:block;font-weight:600;margin:10px 0 6px}input:not([type=checkbox]){width:100%;padding:10px;border:1px solid #bbc3cc;border-radius:6px;font:inherit}.row{display:flex;gap:8px}.row input{flex:1}button,.file{display:inline-block;background:#155eef;color:#fff;border:0;border-radius:7px;padding:10px 16px;font:inherit;font-weight:600;cursor:pointer}.file input{display:none}.field{padding:14px 0;border-bottom:1px solid #e8ebef}.field label:first-child{margin-top:0}.clear{font-weight:400;font-size:.9rem}.clear input{vertical-align:middle}.status{color:#246b3d}.error{color:#b42318;white-space:pre-wrap}.field input[type=file]{padding:7px}button:disabled{opacity:.6;cursor:wait}#download{margin-top:16px}#empty{color:#626b76}.table-editor{margin:20px 0;padding:16px;border:1px solid #dfe3e8;border-radius:8px;overflow-x:auto}.table-editor h3{margin:0 0 12px;font-size:1rem}.data-grid{width:100%;border-collapse:collapse;min-width:420px}.data-grid th,.data-grid td{padding:6px;border:1px solid #dfe3e8;text-align:left}.data-grid th{background:#f4f6f8}.data-grid td input{min-width:90px}.data-grid .row-action{width:1%;white-space:nowrap}.data-grid button,.grid-actions button{padding:7px 10px;font-size:.9rem}.grid-actions{margin-top:10px}.controls,.mode{min-inline-size:0;padding:0;border:0;margin:0}.mode{display:flex;flex-wrap:wrap;gap:8px}.mode legend{font-weight:600;padding:0;margin-bottom:6px}.mode label{margin:0;border:1px solid #bbc3cc;border-radius:6px;padding:7px 12px;cursor:pointer}.mode label:has(input:checked){background:#edf3ff;border-color:#155eef}.file{position:relative}.file input{display:block;position:absolute;width:1px;height:1px;opacity:0}.file:focus-within{outline:2px solid #20242a;outline-offset:3px}fieldset:disabled .file,fieldset:disabled label{opacity:.65;cursor:default}select{padding:7px;border:1px solid #bbc3cc;border-radius:6px;font:inherit;max-width:100%}#mapping,#validation,#row-errors,.status,.error{overflow-wrap:anywhere}#batch-error:empty,#row-errors:empty,#validation:empty,.status:empty,.error:empty{display:none}.preview{overflow-x:auto;margin:12px 0}.preview caption{caption-side:top;text-align:left;color:#626b76;padding-bottom:5px}.preview td,.preview th{min-width:6rem;max-width:18rem;white-space:pre-wrap;overflow-wrap:anywhere}.preview td:first-child,.preview th:first-child{min-width:0}.batch-progress progress{display:block;width:100%;accent-color:#155eef}[hidden]{display:none!important}
