.product-import-dialog{width:min(1220px,96vw);max-width:96vw;max-height:94dvh;overflow:auto;padding:24px}
.product-import-head,.product-import-review-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.product-import-head h2,.product-import-review-head h3{margin:0 0 8px}
.product-import-head p,.product-import-review-head p{margin:4px 0 12px;color:#687b86}
.product-import-actions,.product-import-paging{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}
.product-import-file{display:inline-flex;align-items:center;cursor:pointer;padding:10px 14px;border-radius:8px}
.product-import-file input{position:absolute;width:1px;height:1px;opacity:0}
.product-import-dialog [data-status]{min-height:24px;color:#16704a}
.product-import-dialog [data-status].error,.product-import-error{color:#b83f47!important}
.product-import-layout{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}
.product-import-layout label,.product-import-mapping label{display:grid;gap:5px;min-width:130px}
.product-import-mapping{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:12px 0 20px}
.product-import-mapping select{max-width:100%}
.product-import-fields{display:flex;gap:12px 20px;flex-wrap:wrap;margin:12px 0 20px}
.product-import-fields label{white-space:nowrap}
.product-import-table{max-height:54dvh;overflow:auto}
.product-import-table table{min-width:860px}
.product-import-table td{vertical-align:top}
.product-import-table td small,.product-import-history-item small{display:block;color:#687b86;margin-top:4px}
.product-import-table td select{max-width:220px}
.product-import-table td details{margin-top:6px}
.product-import-table td details input{max-width:180px}
.product-import-table td details label{display:grid;gap:3px;margin:6px 0;font-size:12px}
.product-import-table td details button{margin-top:4px}
.product-import-table td:last-child button{display:block;margin-top:6px}
.product-import-history-item{display:flex;gap:12px;align-items:center;border-bottom:1px solid #dde5ea;padding:9px 0}
.product-import-history-item strong{min-width:180px;overflow-wrap:anywhere}
@media(max-width:600px){.product-import-dialog{padding:14px;width:100vw;max-width:100vw;max-height:100dvh}.product-import-head,.product-import-review-head{display:block}.product-import-head>button{float:right}.product-import-history-item{display:grid;grid-template-columns:1fr auto}.product-import-history-item small{grid-column:1/-1}.product-import-layout label{flex:1 1 130px}}

.product-import-dialog{width:min(1180px,96vw);color:#10293b}
.product-import-head [data-close]{flex:none;min-width:40px}
.product-import-file-summary{padding:12px 16px;border:1px solid #c9dce6;background:#f3f9fb;border-radius:10px;font-weight:700;overflow-wrap:anywhere}
.product-import-layout{margin:14px 0 20px}
.product-import-layout label{gap:6px;min-width:150px;font-size:13px;font-weight:600;color:#385367}
.product-import-layout input,.product-import-layout select{width:100%}
.product-import-layout-help{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:-9px 0 15px;color:#506b7c;font-size:13px}
.product-import-layout-help button{padding:6px 10px;font-size:12px}
.product-import-layout-error{margin:0 0 14px;padding:10px 12px;border:1px solid #e5a2a6;border-radius:8px;background:#fff3f3;color:#a62931;font-size:13px;font-weight:600}
.product-import-layout [aria-invalid="true"]{border-color:#b83f47;box-shadow:0 0 0 2px #b83f4720}
.product-import-step{margin:20px 0 24px}
.product-import-step h3{margin:0 0 4px;font-size:18px}
.product-import-step-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:12px}
.product-import-step-head p{margin:3px 0 0;color:#5d7180}
.product-import-step-head [data-preview-count]{white-space:nowrap;color:#385367;font-size:13px}
.product-import-source-scroll{max-width:100%;overflow:auto;max-height:320px;border:1px solid #d9e5eb;border-radius:10px;background:#fff}
.product-import-source{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;font-size:12px;line-height:1.3}
.product-import-source th,.product-import-source td{min-width:145px;max-width:145px;padding:8px 10px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-right:1px solid #e6edf0;border-bottom:1px solid #e6edf0}
.product-import-source thead th{position:sticky;top:0;z-index:2;background:#eaf3f7;color:#39596d;font-weight:700}
.product-import-source th:first-child{position:sticky;left:0;z-index:1;min-width:44px;max-width:44px;background:#f3f7f9;color:#557082;text-align:center}
.product-import-source thead th:first-child{z-index:3;background:#eaf3f7}
.product-import-source-header td{background:#f6fafc;font-weight:600}
.product-import-source-data:nth-child(even) td{background:#fbfdfe}
.product-import-mapping{display:block;border:1px solid #d9e5eb;border-radius:10px;overflow:hidden;margin:0}
.product-import-mapping-heading,.product-import-mapping-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(230px,2fr) minmax(160px,1.5fr);gap:12px;align-items:center;padding:9px 14px}
.product-import-mapping-heading{background:#edf5f8;color:#496476;font-size:12px}
.product-import-mapping-row+.product-import-mapping-row{border-top:1px solid #e6edf0}
.product-import-mapping-row strong{font-size:13px}
.product-import-mapping-row select{width:100%;min-width:0}
.product-import-example{font-size:13px;color:#506b7c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-import-options{padding:14px 16px;border:1px solid #d9e5eb;border-radius:10px;background:#fafcfd}
.product-import-options summary{cursor:pointer;font-weight:700}
.product-import-options p{color:#5d7180;font-size:13px}
.product-import-submit{position:sticky;bottom:-24px;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0 0;margin-top:18px;background:#fff;border-top:1px solid #d9e5eb;color:#557082;font-size:13px}
.product-import-submit button{flex:none}
@media(max-width:680px){.product-import-dialog{padding:14px;width:100vw;max-width:100vw;max-height:100dvh}.product-import-head{display:block;padding-right:40px}.product-import-head>button{position:absolute;right:14px;top:14px;float:none}.product-import-layout label{flex:1 1 130px}.product-import-mapping-heading{display:none}.product-import-mapping-row{grid-template-columns:1fr;gap:5px;padding:12px}.product-import-example{font-size:12px}.product-import-example:before{content:'Пример: ';font-weight:700}.product-import-submit{bottom:-14px;display:grid;padding:12px 0 0}.product-import-submit button{width:100%}}
.product-import-review-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 22px}
.product-import-review-choice{border:1px solid #d9e5eb;border-radius:10px;padding:16px;background:#f9fcfd}
.product-import-review-choice:first-child{border-color:#a9c6ec;background:#f4f8ff}
.product-import-review-choice h4{margin:0 0 8px;font-size:15px}
.product-import-review-choice p{min-height:54px;margin:0 0 12px;color:#506b7c;font-size:13px;line-height:1.45}
.product-import-review-choice button:not(.link){width:100%}
.product-import-review-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.product-import-review-links button{font-size:12px}
.product-import-dialog [hidden]{display:none!important}
@media(max-width:680px){.product-import-review-choices{grid-template-columns:1fr}.product-import-review-choice p{min-height:0}}
.product-import-actions{justify-content:flex-end;margin:4px 0 10px}
.product-import-progress{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;list-style:none;margin:4px 0 18px;padding:0;overflow-x:auto}
.product-import-progress li{display:flex;align-items:center;gap:7px;min-width:0;padding:9px 8px;border-bottom:2px solid #d9e5eb;color:#6d8290;font-size:12px;white-space:nowrap}
.product-import-progress li b{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:#e9f0f4;color:#496476;font-size:12px}
.product-import-progress li.is-current{border-color:#2563eb;color:#123d8d;font-weight:700}
.product-import-progress li.is-current b{background:#2563eb;color:#fff}
.product-import-progress li.is-done{border-color:#25c98b;color:#315c52}
.product-import-progress li.is-done b{background:#dcf8eb;color:#16704a}
.product-import-intro{max-width:680px;padding:24px;border:1px solid #d9e5eb;border-radius:12px;background:#f9fcfd}
.product-import-intro h3,.product-import-dialog [data-setup] h3,.product-import-dialog [data-review] h3,.product-import-dialog [data-confirm] h3{margin:0 0 8px}
.product-import-intro p,.product-import-dialog [data-layout-controls]>p,.product-import-dialog [data-confirm]>p{color:#506b7c;line-height:1.45}
.product-import-intro .product-import-file{margin:12px 0 2px}
.product-import-step-nav{position:sticky;bottom:-24px;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding:14px 0 0;border-top:1px solid #d9e5eb;background:#fff}
.product-import-step-nav .primary{margin-left:auto}
.product-import-dialog [data-setup][data-phase=mapping] .product-import-source-scroll{max-height:170px}
.product-import-dialog [data-setup][data-phase=mapping] .product-import-step{margin:14px 0}
.product-import-dialog [data-setup][data-phase=mapping]{display:flex;flex-direction:column}
.product-import-dialog [data-setup][data-phase=mapping] [data-file-summary]{order:1}
.product-import-dialog [data-setup][data-phase=mapping] [data-mapping-step]{order:2}
.product-import-dialog [data-setup][data-phase=mapping] .product-import-step:not([data-mapping-step]){order:3}
.product-import-dialog [data-setup][data-phase=mapping] .product-import-step-nav{order:4}
.product-import-options h4{margin:0 0 6px}
.product-import-options .product-import-fields{margin-bottom:0}
.product-import-review-choice{display:block;cursor:pointer}
.product-import-review-choice:first-child{border-color:#d9e5eb;background:#f9fcfd}
.product-import-choice-title{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px;font-size:15px}
.product-import-choice-title input{flex:none;margin:3px 0 0;width:18px;height:18px}
.product-import-review-choice>span:last-child{display:block;color:#506b7c;font-size:13px;line-height:1.45}
.product-import-review-choice:has(input:checked){border-color:#2563eb;background:#f4f8ff;box-shadow:0 0 0 1px #2563eb}
.product-import-review-choice:has(input:disabled){cursor:not-allowed;opacity:.62}
.product-import-confirm-summary{padding:13px 15px;border:1px solid #a9c6ec;border-radius:9px;background:#f4f8ff;color:#244a76!important;font-weight:600}
.product-import-confirm-check{display:flex;align-items:flex-start;gap:9px;line-height:1.4}
.product-import-confirm-check input{flex:none;width:18px;height:18px;margin:2px 0 0}
@media(max-width:680px){.product-import-progress{grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.product-import-progress li{min-width:0;white-space:normal;font-size:11px;padding:7px 5px}.product-import-intro{padding:16px}.product-import-step-nav{bottom:-14px;display:grid;grid-template-columns:1fr;padding:12px 0 0}.product-import-step-nav button{width:100%}.product-import-step-nav .primary{margin-left:0}}
.product-import-report-actions{display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0 12px}
.product-import-report-actions label{display:grid;gap:5px;min-width:180px;color:#385367;font-size:13px;font-weight:600}
.product-import-report-table{max-height:54dvh;overflow:auto}
.product-import-report-table table{min-width:760px}
.product-import-report-table td{vertical-align:top;overflow-wrap:anywhere}
.product-import-report-table td small{display:block;margin-top:4px;color:#687b86}
@media(max-width:680px){.product-import-report-actions label,.product-import-report-actions button{width:100%}}
