.excel-import{width:min(1320px,calc(100vw - 40px));max-width:calc(100vw - 40px);max-height:calc(100dvh - 20px);overflow-y:auto;padding-bottom:20px}.excel-import [hidden]{display:none!important}.excel-import__layout{padding:0 24px}.excel-import__step{font-weight:600}.excel-import__hint{color:#626a74;margin:10px 0}.excel-import__error{color:#a31b2c;background:#fff1f2;border-radius:6px;padding:10px 12px;overflow-wrap:anywhere}.excel-import__drop{border:2px dashed #bcc8d5;border-radius:8px;padding:20px;margin:16px 0;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.excel-import__drop.is-dragging{border-color:#3248a8;background:#f0f3ff}.excel-import__file-buttons,.excel-import__csv,.excel-import__review-controls,.excel-import__pagination,.excel-import__actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.excel-import__file-label{position:relative;overflow:hidden;cursor:pointer}.excel-import__file-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.excel-import__select-field{display:flex;gap:8px;align-items:center;min-width:0}.excel-import .nice-select{float:none;max-width:100%;min-width:0;transition:border-color .2s,box-shadow .2s}.excel-import .nice-select .current{display:block;overflow:hidden;text-overflow:ellipsis}.excel-import .nice-select.open{z-index:6}.excel-import .nice-select .list{max-width:calc(100vw - 64px)}.excel-import .nice-select .option{white-space:normal}.excel-import__option{display:flex;align-items:center;gap:8px;margin:12px 0}.excel-import__option input{flex:0 0 auto}.excel-import__option>.order-checkbox-container{flex:0 0 17px}.excel-import__option input:focus-visible+label:after{outline:2px solid #1f4173;outline-offset:2px}.excel-import__progress{background:#eef2ff;border-radius:6px;padding:12px}.excel-import__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.excel-import__summary>div{border:1px solid #dce2eb;border-radius:6px;padding:10px}.excel-import__summary dt{color:#626a74}.excel-import__summary dd{font-size:22px;font-weight:600;margin:3px 0 0}.excel-import__table-scroll{overflow:auto;max-height:min(50dvh,520px);border:1px solid #dce2eb;margin-top:12px;isolation:isolate}.excel-import__table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px}.excel-import__table th,.excel-import__table td{padding:10px;vertical-align:top;min-width:130px;max-width:340px;overflow-wrap:anywhere;border-bottom:1px solid #e6eaf0;background:#fff;text-transform:none}.excel-import__table th{position:sticky;top:0;z-index:2;background:#f2f5f9;white-space:normal}.excel-import__table th:first-child,.excel-import__table td:first-child{position:sticky;left:0;width:72px;min-width:72px;max-width:72px;box-sizing:border-box;z-index:1;white-space:nowrap}.excel-import__table th:nth-child(2),.excel-import__table td:nth-child(2){position:sticky;left:72px;width:190px;min-width:190px;max-width:190px;z-index:1;box-shadow:2px 0 2px #dce2eb}.excel-import__table th:first-child,.excel-import__table th:nth-child(2){z-index:3}.excel-import__table th small{display:block;font-weight:400;color:#626a74;margin-top:4px}.excel-import .excel-import__table th,.excel-import .excel-import__table th small{text-transform:none!important}.excel-import__table tr.has-errors td{background:#fff5f5}.excel-import__badge{display:inline-block;padding:3px 7px;border-radius:4px;background:#eaf5ed;color:#25623a;font-weight:600}.excel-import__badge--update,.excel-import__badge--restore{background:#fff4df;color:#795411}.excel-import__badge--error{background:#ffe1e5;color:#9a162b}.excel-import__badge--skip{background:#edf0f4;color:#525d6c}.excel-import__row-message{display:block;margin-top:6px;font-size:12px}.excel-import__pagination{justify-content:center;margin:12px 0}.excel-import__actions{justify-content:flex-end;margin-top:18px;padding:12px 0 0;position:sticky;bottom:0;z-index:5;background:#fff;border-top:1px solid #e6eaf0}.excel-import__report{margin-right:auto}.excel-import button:disabled,.excel-import input:disabled{cursor:default;opacity:.55}@media(max-width:650px){.excel-import{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}.excel-import__layout{padding:0 12px}.excel-import__summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.excel-import__drop{padding:12px}.excel-import__csv .excel-import__select-field{width:100%;flex-wrap:wrap}.excel-import__review-controls .excel-import__select-field{width:100%}.excel-import__review-controls .nice-select{flex:1}.excel-import__actions>button{flex:1 1 40%}}
