/* Upload, preview and confirmation share the approved import design. */
.import-card{width:100%;max-width:960px;margin:6px auto;padding:34px 36px;border:1px solid #dfe5ee;border-radius:22px;background:#fff;box-shadow:0 3px 12px #17344d03}
.import-card.has-preview{max-width:1140px}.import-heading h1,.import-complete>h1{font-size:30px;line-height:1.25;letter-spacing:-1px;margin:0 0 7px;color:#0b2037}.import-heading p,.import-complete>p{margin:0;color:#536780;font-size:14px;line-height:1.6}
.import-steps{display:flex;justify-content:space-between;list-style:none;max-width:620px;padding:0;margin:35px auto 38px;counter-reset:none}.import-steps li{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:9px;color:#697a90;font-size:13px}.import-steps li:not(:last-child):after{content:'';position:absolute;left:calc(50% + 20px);right:calc(-50% + 20px);top:17px;height:1px;background:#d9e2ed}.import-steps span{display:grid;place-items:center;width:35px;height:35px;background:#f2f5f9;border:1px solid #dbe3ed;border-radius:50%;font-size:14px;font-weight:600}.import-steps strong{font-weight:500}.import-steps .current{color:#112e50}.import-steps .current span{background:#102b4b;border-color:#102b4b;color:white;box-shadow:0 3px 8px #17375916}.import-steps .current strong{font-weight:700}.import-steps .complete span{background:#eaf2f7;color:#315a73}
.import-source-field{margin-bottom:30px}.import-source-field>span{font-size:13px;font-weight:650;color:#162f4b;margin-bottom:6px}.import-source-field .select-trigger{min-height:45px;border-radius:12px;font-weight:500}
.import-dropzone{min-height:300px;border:1.5px dashed #c5d1e0;border-radius:18px;background:#fcfdff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 20px;transition:background .2s,border-color .2s,box-shadow .2s}.import-dropzone.dragover{border-color:#627d9b;background:#edf4fa;box-shadow:inset 0 0 0 3px #6e8ca116}.import-dropzone>svg{width:66px;height:66px;color:#17385a;margin-bottom:18px}.import-dropzone h2{font-size:23px;font-weight:650;line-height:1.35;letter-spacing:-.5px;margin:0 0 9px;color:#102a47}.import-dropzone p{font-size:14px;color:#60718b;overflow-wrap:anywhere;margin:0 0 22px}.import-card .btn.primary{background:#102d4e;border-color:#102d4e;color:#fff;border-radius:11px;box-shadow:0 3px 6px #102d4e0a;min-height:44px;padding:10px 20px;font-size:13px;font-weight:650}.import-dropzone .btn.primary{min-width:154px;font-size:15px;min-height:48px}.import-card .btn:disabled{background:#e1e5ec;border-color:#e1e5ec;color:#7b8799;opacity:1;box-shadow:none;transform:none;cursor:not-allowed}.import-limit{text-align:center;margin:17px 0 0;font-size:12px;color:#64758c}
.import-file-strip{display:flex;align-items:center;gap:14px;padding:15px 18px;border:1px solid #dce4ee;border-radius:13px;background:#fbfcfe}.import-file-strip>.icon{width:29px;height:29px;flex:none;color:#29445f}.import-file-strip>div{flex:1;min-width:0}.import-file-strip strong{display:block;font-size:14px;overflow-wrap:anywhere}.import-file-strip small{display:block;font-size:12px;color:#65758b;margin-top:3px}.import-file-strip .text-button{font-size:12px;white-space:nowrap;color:#143859}
.import-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:17px 0}.import-metrics>span{display:flex;align-items:center;gap:9px;background:#f0f3f7;padding:12px 14px;border-radius:11px;font-size:12px;line-height:1.5}.import-metrics .icon{width:21px;height:21px;flex:none}.import-metrics strong{font-weight:600}.import-metrics .ready,.import-metrics .clear{background:#edf7ef;color:#326543}.import-metrics .attention{background:#fff5e2;color:#9b6326}
.import-preview{border:1px solid #dfe5ee;border-radius:16px;padding:17px 15px 5px;overflow:hidden}.import-preview h2{font-size:16px;letter-spacing:-.3px;margin-bottom:12px}.import-preview-tabs{display:flex;gap:9px;margin-bottom:16px}.import-preview-tabs button{border:1px solid #dce3ed;background:#f7f9fc;color:#64748b;padding:7px 12px;border-radius:10px;font-size:11px;cursor:pointer;display:flex;align-items:center;gap:8px}.import-preview-tabs button[aria-pressed="true"]{border-color:#8c9fb4;background:#fff;color:#17334e;font-weight:650}.import-preview-tabs span{padding:1px 6px;background:#e8edf4;border-radius:5px}
.import-table-scroll{overflow:auto;max-height:460px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ccd5df transparent}.import-preview table{width:100%;table-layout:fixed}.import-preview th{background:#f0f3f7;color:#30465e;text-transform:none;letter-spacing:0;font-size:11px;font-weight:650;padding:11px 10px;position:sticky;top:0;z-index:1}.import-preview th:nth-child(1){width:16%}.import-preview th:nth-child(2){width:17%}.import-preview th:nth-child(3){width:16%}.import-preview th:nth-child(4){width:31%}.import-preview th:nth-child(5){width:20%}.import-preview td{font-size:12px;padding:13px 10px;line-height:1.55;vertical-align:top;border-bottom:1px solid #edf1f5;overflow-wrap:anywhere}.import-preview td strong{font-weight:500}.import-preview td small{display:block;font-size:10px;color:#77879a;margin-top:4px}.import-preview tr:last-child td{border-bottom:0}.import-preview .has-issues td{background:#fff7e9}.import-row-status{display:inline-flex;align-items:center;gap:5px;line-height:1.5;font-size:10px;font-weight:600;padding:4px 8px;border-radius:20px}.import-row-status .icon{width:13px;height:13px;flex:none}.import-row-status.ready{background:#e7f3e9;color:#347046}.import-row-status.attention{background:#ffedca;color:#975c22}
.import-issues{display:flex;gap:10px;padding:13px 15px;background:#fff6e6;border:1px solid #f3e3c2;border-radius:12px;color:#8d5a26;font-size:12px;line-height:1.6;margin-top:16px}.import-issues>.icon{width:19px;height:19px;flex:none;margin-top:2px}.import-issues p{margin:0}.import-issues p+p{margin-top:6px}.import-new-cases{font-size:12px;color:#62758a;margin:15px 0 0}.import-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-top:25px}.import-footer .btn{min-height:42px;border-radius:10px;padding:9px 15px;font-size:13px}.import-footer>div{text-align:right}.import-footer small{display:block;margin-top:8px;font-size:11px;color:#718199}.import-error{padding:12px 15px;background:#fff2ef;border:1px solid #ecd7d2;border-radius:11px;font-size:12px;line-height:1.6;color:#984c3d;margin-top:18px}.import-success{padding:35px 15px 45px;text-align:center}.import-success>.icon{width:52px;height:52px;color:#3b7956;background:#eaf5ee;padding:12px;border-radius:50%;margin-bottom:15px}.import-success h2{font-size:23px}.import-success p{margin-top:12px;font-size:13px;color:#64778b}
@media(max-width:760px){.import-card{padding:25px 18px;margin:0;border-radius:18px}.import-heading h1,.import-complete>h1{font-size:26px}.import-heading p{font-size:13px}.import-steps{margin:28px 0 30px}.import-steps li{font-size:11px}.import-dropzone{min-height:285px;padding:28px 15px}.import-dropzone h2{font-size:21px}.import-dropzone p{font-size:13px}.import-metrics{gap:6px}.import-metrics>span{padding:9px 7px;gap:5px;font-size:10px;align-items:flex-start}.import-metrics .icon{width:16px;height:16px}.import-file-strip{padding:12px;gap:9px}.import-file-strip strong{font-size:12px}.import-file-strip small{font-size:10px}.import-file-strip .text-button{font-size:10px}.import-preview{padding:14px 10px 5px}.import-preview table{min-width:640px}.import-footer{gap:10px}.import-footer .btn{font-size:11px;padding:9px 12px}.import-footer small{max-width:180px;font-size:10px}.import-issues{font-size:11px;padding:11px}.import-source-field .select-trigger{min-height:44px}}
@media(prefers-reduced-motion:reduce){.import-dropzone{transition:none}}

.import-guide{margin-top:22px;font-size:12px;color:#536780;line-height:1.7}.import-guide summary{cursor:pointer;font-weight:600}.import-guide p{margin-top:12px}.import-guide code{display:block;overflow-wrap:anywhere;background:#f4f7fa;padding:12px;border-radius:10px}
