.import-wizard{background:#f8fafc;min-height:calc(100vh - 64px);padding:24px}.import-steps{display:none}.import-step-content{animation:.35s ease-out fadeSlideIn}@keyframes fadeSlideIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.entity-selector-header{text-align:center;margin-bottom:28px}.entity-selector-header h2{color:#1e293b;margin:0 0 6px;font-size:22px;font-weight:700}.entity-selector-header p{color:#64748b;margin:0;font-size:14px}.entity-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;max-width:1000px;margin:0 auto;display:grid}.entity-card{cursor:pointer;background:#fff;border:2px solid #e2e8f0;border-radius:14px;padding:20px;transition:all .25s;position:relative;overflow:hidden}.entity-card:before{content:"";background:linear-gradient(90deg,#6366f1,#8b5cf6);height:3px;transition:transform .3s;position:absolute;top:0;left:0;right:0;transform:scaleX(0)}.entity-card:hover{border-color:#6366f1;transform:translateY(-2px);box-shadow:0 8px 25px #6366f11a}.entity-card:hover:before{transform:scaleX(1)}.entity-card.selected{background:linear-gradient(135deg,#f8f7ff,#eef2ff);border-color:#6366f1;box-shadow:0 4px 20px #6366f126}.entity-card.selected:before{transform:scaleX(1)}.entity-card-icon{color:#6366f1;background:linear-gradient(135deg,#eef2ff,#e0e7ff);border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;margin-bottom:12px;font-size:18px;display:flex}.entity-card h3{color:#1e293b;margin:0 0 6px;font-size:15px;font-weight:600}.entity-card p{color:#64748b;margin:0 0 12px;font-size:12.5px;line-height:1.5}.entity-card-meta{color:#94a3b8;gap:12px;font-size:11.5px;display:flex}.entity-card-meta span{align-items:center;gap:4px;display:flex}.entity-fields-panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;max-width:1000px;margin:24px auto 0;padding:20px;animation:.3s fadeSlideIn}.entity-fields-panel h3{color:#1e293b;align-items:center;gap:8px;margin:0 0 16px;font-size:14px;font-weight:600;display:flex}.field-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;display:grid}.field-item{color:#475569;background:#f8fafc;border-radius:8px;align-items:center;gap:8px;padding:8px 12px;font-size:12.5px;display:flex}.field-item .field-badge{text-transform:uppercase;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:600}.field-badge.required{color:#dc2626;background:#fef2f2}.field-badge.optional{color:#059669;background:#f0fdf4}.field-badge.type{color:#2563eb;background:#eff6ff}.upload-zone{max-width:700px;margin:0 auto}.upload-dropzone{text-align:center;cursor:pointer;background:#fff;border:2.5px dashed #cbd5e1;border-radius:16px;padding:48px 32px;transition:all .3s;position:relative}.upload-dropzone.dragging{background:#f8f7ff;border-color:#6366f1;box-shadow:0 0 0 4px #6366f11a}.upload-dropzone:hover{background:#fafafe;border-color:#6366f1}.upload-icon{color:#6366f1;background:linear-gradient(135deg,#eef2ff,#e0e7ff);border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 16px;font-size:24px;display:flex}.upload-dropzone h3{color:#1e293b;margin:0 0 8px;font-size:16px;font-weight:600}.upload-dropzone p{color:#64748b;margin:0;font-size:13px}.upload-dropzone .browse-link{color:#6366f1;cursor:pointer;font-weight:600;text-decoration:underline}.upload-meta{color:#94a3b8;justify-content:center;gap:16px;margin-top:12px;font-size:11.5px;display:flex}.file-preview{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-top:24px;overflow:hidden}.file-preview-header{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:14px 20px;display:flex}.file-preview-header .file-info{color:#1e293b;align-items:center;gap:10px;font-size:13px;font-weight:500;display:flex}.file-preview-header .file-info i{color:#10b981}.file-preview-header .file-stats{color:#64748b;gap:16px;font-size:12px;display:flex}.preview-table-wrap{max-height:260px;overflow-x:auto}.preview-table{border-collapse:collapse;width:100%;font-size:12.5px}.preview-table th{text-align:left;color:#475569;white-space:nowrap;z-index:1;background:#f1f5f9;border-bottom:1px solid #e2e8f0;padding:10px 14px;font-weight:600;position:sticky;top:0}.preview-table td{color:#334155;white-space:nowrap;text-overflow:ellipsis;border-bottom:1px solid #f1f5f9;max-width:200px;padding:9px 14px;overflow:hidden}.preview-table tr:hover td{background:#f8fafc}.mapper-container{max-width:900px;margin:0 auto}.template-banner{border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:14px 20px;font-size:13px;animation:.3s fadeSlideIn;display:flex}.template-banner.matched{color:#1e40af;background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #93c5fd}.template-banner.no-match{color:#9a3412;background:linear-gradient(135deg,#fff7ed,#ffedd5);border:1px solid #fdba74}.template-banner i{margin-right:8px}.template-banner .banner-actions{gap:8px;display:flex}.template-selector{align-items:center;gap:12px;margin-bottom:16px;display:flex}.template-selector label{color:#475569;white-space:nowrap;font-size:12.5px;font-weight:600}.template-selector select{color:#334155;cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:8px;flex:1;padding:8px 12px;font-size:13px}.template-selector select:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11a}.mapping-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}.mapping-table{border-collapse:collapse;width:100%}.mapping-table th{text-align:left;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;background:linear-gradient(135deg,#1e293b,#0f172a);padding:12px 16px;font-size:12px;font-weight:600}.mapping-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:12px 16px}.mapping-table tr:hover td{background:#fafbfe}.csv-column-cell{flex-direction:column;gap:4px;display:flex}.csv-column-name{color:#1e293b;font-size:13.5px;font-weight:600}.csv-column-preview{color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;max-width:200px;font-size:11px;font-style:italic;overflow:hidden}.mapping-select{color:#334155;cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:8px;width:100%;padding:8px 12px;font-size:13px;transition:all .2s}.mapping-select:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11a}.mapping-select.auto-mapped{background:#f0fdf4;border-color:#10b981}.mapping-select.template-mapped{background:#eff6ff;border-color:#3b82f6}.mapping-arrow{color:#cbd5e1;text-align:center;font-size:16px}.unmapped-warning{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:center;gap:8px;margin-top:16px;padding:12px 16px;font-size:12.5px;display:flex}.validation-container{max-width:1100px;margin:0 auto}.validation-review-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.validation-summary{scrollbar-width:none;background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:6px;min-width:0;max-width:100%;padding:4px;display:inline-flex;overflow-x:auto;box-shadow:0 1px 2px #0f172a0a}.validation-summary::-webkit-scrollbar{display:none}.validation-stat{color:#475569;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;flex:none;align-items:center;gap:6px;min-height:32px;padding:6px 12px;font-family:inherit;font-size:12px;line-height:1;transition:background .15s,border-color .15s,color .15s,box-shadow .15s;display:inline-flex}.validation-stat:hover{background:#f8fafc;border-color:#e2e8f0}.validation-stat:focus-visible{outline-offset:2px;outline:2px solid #93c5fd}.validation-stat.active{color:#1e293b;background:#f8fafc;border-color:#cbd5e1;box-shadow:0 1px 3px #0f172a14}.validation-stat-icon{border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;font-size:10px;display:inline-flex}.validation-stat.valid .validation-stat-icon{color:#059669;background:#dcfce7}.validation-stat.errors .validation-stat-icon{color:#dc2626;background:#fef2f2}.validation-stat.duplicates .validation-stat-icon{color:#d97706;background:#fff7ed}.validation-stat.empty .validation-stat-icon{color:#94a3b8;background:#f1f5f9}.validation-stat-value{color:#0f172a;text-align:right;min-width:16px;font-size:13px;font-weight:800}.validation-stat.empty .validation-stat-value{color:#64748b}.validation-stat-label{color:#64748b;font-weight:700}.validation-stat.active .validation-stat-label{color:#334155}.validation-export-actions{flex:none;justify-content:flex-end;align-items:center;gap:6px;display:flex}.validation-export-actions .sl-action-btn{padding:5px 10px;font-size:11px}.validation-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:auto}.validation-table{border-collapse:collapse;width:100%;font-size:12.5px}.validation-table th{text-align:left;color:#475569;white-space:nowrap;z-index:1;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:10px 14px;font-weight:600;position:sticky;top:0}.validation-table td{color:#334155;border-bottom:1px solid #f1f5f9;padding:9px 14px}.validation-table tr:hover td{background:#fafbfe}.cell-error{cursor:pointer;border:1px solid #fecaca;border-radius:4px;position:relative;background:#fef2f2!important}.cell-error-tooltip{color:#f1f5f9;white-space:nowrap;z-index:100;pointer-events:none;background:#1e293b;border-radius:6px;padding:6px 10px;font-size:11px;position:absolute;bottom:100%;left:0;box-shadow:0 4px 12px #00000026}.cell-editable{cursor:text}.cell-editable:hover{background:#eff6ff;border-radius:4px;outline:1.5px solid #93c5fd}.cell-editable input{color:#1e293b;background:0 0;border:none;outline:none;width:100%;padding:0;font-size:12.5px}.duplicate-reason{color:#d97706;font-size:11px;font-style:italic}.execution-container{text-align:center;max-width:600px;margin:0 auto}.progress-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-bottom:24px;padding:40px 32px}.progress-icon{border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 20px;font-size:28px;display:flex}.progress-icon.importing{color:#6366f1;background:linear-gradient(135deg,#eef2ff,#e0e7ff);animation:2s infinite pulse}.progress-icon.completed{color:#10b981;background:linear-gradient(135deg,#f0fdf4,#dcfce7)}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.progress-bar-wrap{background:#f1f5f9;border-radius:10px;height:12px;margin:20px 0 12px;overflow:hidden}.progress-bar-fill{background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:10px;height:100%;transition:width .5s}.progress-text{color:#64748b;font-size:14px}.progress-percent{color:#1e293b;margin:8px 0;font-size:28px;font-weight:700}.import-summary{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:32px;animation:.4s fadeSlideIn}.import-summary h3{color:#1e293b;margin:0 0 24px;font-size:18px;font-weight:700}.summary-stats{flex-direction:column;gap:12px;margin-bottom:28px;display:flex}.summary-stat{border-radius:10px;justify-content:space-between;align-items:center;padding:12px 16px;font-size:14px;display:flex}.summary-stat.imported{color:#059669;background:#f0fdf4}.summary-stat.errors{color:#dc2626;background:#fef2f2}.summary-stat.duplicates{color:#d97706;background:#fff7ed}.summary-stat.overwritten{color:#2563eb;background:#eff6ff}.summary-stat-value{font-size:18px;font-weight:700}.summary-actions{justify-content:center;gap:12px;display:flex}.import-btn{cursor:pointer;border:none;border-radius:10px;align-items:center;gap:8px;padding:10px 20px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.import-btn:disabled{opacity:.5;cursor:not-allowed}.import-btn.primary{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 2px 8px #6366f14d}.import-btn.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 14px #6366f166}.import-btn.success{color:#fff;background:linear-gradient(135deg,#10b981,#059669)}.import-btn.success:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 14px #10b98166}.import-btn.outline{color:#475569;background:#fff;border:1.5px solid #e2e8f0}.import-btn.outline:hover:not(:disabled){color:#6366f1;background:#f8f7ff;border-color:#6366f1}.import-btn.danger{color:#fff;background:linear-gradient(135deg,#ef4444,#dc2626)}.import-btn.small{border-radius:6px;padding:6px 12px;font-size:12px}.wizard-actions{z-index:20;background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:14px 20px;display:flex;position:sticky;top:0;box-shadow:0 1px 4px #0000000a}.wizard-actions-left,.wizard-actions-right{align-items:center;gap:10px;display:flex}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;animation:.2s fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:16px;width:440px;max-width:90vw;padding:28px;animation:.25s scaleIn;box-shadow:0 20px 60px #0003}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal-content h3{color:#1e293b;margin:0 0 16px;font-size:16px;font-weight:700}.modal-content .form-group{margin-bottom:14px}.modal-content label{color:#475569;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:600;display:block}.modal-content input[type=text]{color:#1e293b;border:1.5px solid #e2e8f0;border-radius:8px;outline:none;width:100%;padding:10px 14px;font-size:14px;transition:border-color .2s}.modal-content input[type=text]:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.modal-content .checkbox-row{color:#475569;align-items:center;gap:8px;margin-top:10px;font-size:13px;display:flex}.modal-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}@media (width<=1024px){.import-steps{padding:14px 16px}.import-step-item{gap:6px;padding:8px 10px}.import-step-label{font-size:11px}.import-step-connector{width:20px}}@media (width<=768px){.import-steps{flex-wrap:wrap;justify-content:flex-start;gap:6px;padding:12px}.import-step-connector{display:none}.import-step-item{gap:6px;padding:6px 10px}.import-step-number{width:24px;height:24px;font-size:11px}.import-step-label{font-size:11px}.entity-grid{grid-template-columns:1fr}.wizard-actions{flex-wrap:wrap;gap:8px;padding:10px 14px}.wizard-actions-left,.wizard-actions-right{flex-wrap:wrap;gap:6px}.import-btn{padding:8px 14px;font-size:12px}.entity-selector-header h2{font-size:18px}.entity-selector-header p{font-size:12px}.upload-dropzone{padding:28px 16px}.upload-icon{width:48px;height:48px;font-size:18px}.upload-meta{flex-wrap:wrap;justify-content:center;gap:8px}.mapping-table th,.mapping-table td{padding:8px 10px;font-size:12px}.validation-review-toolbar{flex-direction:column;align-items:flex-start}.validation-summary{width:100%}.validation-export-actions{justify-content:flex-start}}.import-wizard-embedded{min-height:unset;padding:0 24px}.import-wizard-embedded .upload-zone,.import-wizard-embedded .execution-container{max-width:520px;margin-left:auto;margin-right:auto}.import-wizard-embedded .wizard-steps{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-top:8px;margin-bottom:12px;padding:8px 12px}.import-wizard-embedded .wizard-step-circle{width:18px;height:18px;font-size:9px}.import-wizard-embedded .wizard-step-label{font-size:9px}.import-wizard-embedded .wizard-step-connector{width:10px;margin:0 2px}.import-wizard-embedded .wizard-step-item{gap:4px;padding:4px 6px}.import-wizard-embedded .wizard-action-bar{margin-bottom:10px;padding:8px 14px}.import-wizard-embedded .mapper-container,.import-wizard-embedded .validation-container{max-width:100%}.import-wizard-embedded .mapping-table th{padding:8px 10px;font-size:10px}.import-wizard-embedded .mapping-table td{padding:8px 10px}.import-wizard-embedded .mapping-select{padding:6px 8px;font-size:12px}.import-wizard-embedded .validation-table th,.import-wizard-embedded .validation-table td{padding:7px 10px;font-size:11.5px}.import-wizard-embedded .preview-table th,.import-wizard-embedded .preview-table td{padding:6px 10px;font-size:11.5px}.import-wizard-embedded .file-preview{margin-top:16px}.import-wizard-embedded .progress-section{padding:24px}.import-wizard-embedded .upload-meta{flex-wrap:wrap;gap:8px}.import-wizard-embedded .template-banner{flex-wrap:wrap;gap:8px;font-size:12px}.import-wizard-embedded .validation-review-toolbar{flex-direction:column;align-items:flex-start;gap:8px}.import-wizard-embedded .validation-summary{width:100%}.import-wizard-embedded .validation-stat{min-height:30px;padding:6px 10px;font-size:11.5px}.import-entity-card{cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:16px;flex-direction:column;gap:16px;padding:24px;transition:all .25s;display:flex}.import-entity-card:hover{border-color:#6366f1;transform:translateY(-2px);box-shadow:0 8px 30px #6366f11f}.import-entity-card-header{align-items:flex-start;gap:14px;display:flex}.import-entity-card-icon{border-radius:12px;justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;font-size:18px;display:flex}.import-entity-card-header h3{color:#1e293b;margin:0 0 4px;font-size:16px;font-weight:700}.import-entity-card-header p{color:#64748b;margin:0;font-size:12.5px;line-height:1.4}.import-entity-card-meta{color:#64748b;gap:16px;font-size:11.5px;display:flex}.import-entity-card-meta span{align-items:center;gap:5px;display:flex}.import-entity-card-meta i{font-size:9px}.import-entity-card-fields{flex-wrap:wrap;gap:6px;display:flex}.import-field-tag{color:#475569;background:#f1f5f9;border-radius:6px;padding:3px 9px;font-size:10.5px;font-weight:500}.import-field-tag.required{color:#dc2626;background:#fef2f2;font-weight:600}.import-field-tag.more{color:#6366f1;background:#eef2ff;font-weight:600}.import-entity-card-actions{gap:10px;margin-top:auto;display:flex}.import-btn-sm{cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:7px 14px;font-size:12px;font-weight:600;transition:all .2s;display:flex}.import-btn-sm.outline{color:#475569;background:#fff;border:1.5px solid #e2e8f0}.import-btn-sm.outline:hover{color:#6366f1;border-color:#6366f1}.import-btn-sm.primary{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none}.import-btn-sm.primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #6366f159}.header-selector-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:12px;max-width:920px;max-height:460px;margin:0 auto;overflow:auto;box-shadow:0 2px 8px #0000000a}.header-selector-table{border-collapse:collapse;width:100%;font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px}.header-selector-table tr{cursor:pointer;transition:background .15s}.hdr-row-num{text-align:center;z-index:1;background:#f8fafc;border-right:2px solid #e2e8f0;width:54px;min-width:54px;padding:6px 8px;position:sticky;left:0}.hdr-row-badge{color:#94a3b8;border-radius:4px;align-items:center;gap:3px;padding:2px 6px;font-family:-apple-system,BlinkMacSystemFont,Inter,sans-serif;font-size:10px;font-weight:600;display:inline-flex}.hdr-row-badge.selected{color:#fff;background:#6366f1;font-size:10px}.hdr-cell{white-space:nowrap;text-overflow:ellipsis;border-bottom:1px solid #f1f5f9;border-right:1px solid #f1f5f9;max-width:180px;padding:6px 10px;overflow:hidden}.hdr-cell-empty{color:#cbd5e1;font-style:italic}.hdr-row-meta .hdr-cell{color:#94a3b8;background:#fafbfc}.hdr-row-meta .hdr-row-num{background:#fafbfc}.hdr-row-meta:hover{background:#f0f4ff!important}.hdr-row-meta:hover .hdr-cell,.hdr-row-meta:hover .hdr-row-num{background:#f0f4ff}.hdr-row-selected{background:#eef2ff!important}.hdr-row-selected .hdr-cell{color:#3730a3;letter-spacing:.02em;background:#eef2ff;border-bottom:2px solid #6366f1;font-family:-apple-system,BlinkMacSystemFont,Inter,sans-serif;font-size:11px;font-weight:700}.hdr-row-selected .hdr-row-num{background:#e0e7ff;border-bottom:2px solid #6366f1}.hdr-row-data .hdr-cell{color:#334155;background:#fff}.hdr-row-data:hover{background:#f0f4ff!important}.hdr-row-data:hover .hdr-cell,.hdr-row-data:hover .hdr-row-num{background:#f0f4ff}.hdr-row:hover{background:#f0f4ff!important}.hdr-row:hover .hdr-cell,.hdr-row:hover .hdr-row-num{background:#f0f4ff}
