.smart-import-card{border:2px solid rgba(30,89,163,.18);background:linear-gradient(180deg,#ffffff,#f7fbff)}
.smart-import-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;flex-wrap:wrap}.smart-import-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.smart-import-badge{border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:850}.smart-import-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.smart-wizard{display:grid;grid-template-columns:250px minmax(0,1fr);gap:14px}.smart-steps{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px}.smart-step{padding:10px;border-radius:12px;font-weight:850;color:#64748b;margin-bottom:6px}.smart-step.active{background:#0f4c81;color:#fff}.smart-grid-toolbar{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin-bottom:10px}.smart-grid-wrap{max-height:64vh;overflow:auto;border:1px solid #dbe2ea;border-radius:14px;background:#fff}.smart-grid{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:12px}.smart-grid th{position:sticky;top:0;z-index:5;background:#eaf2fb;color:#17375e;text-align:center;border-bottom:1px solid #cbd5e1;padding:8px;white-space:nowrap}.smart-grid td{border-bottom:1px solid #edf2f7;border-right:1px solid #edf2f7;padding:0}.smart-grid .smart-row-num{position:sticky;left:0;z-index:4;background:#f8fafc;width:48px;text-align:center;font-weight:800;color:#64748b}.smart-grid .smart-group-col{position:sticky;left:48px;z-index:4;background:#f8fafc;min-width:160px;font-weight:800;color:#334155;padding:7px}.smart-grid .smart-account-col{position:sticky;left:208px;z-index:4;background:#fff;min-width:270px;font-weight:850;color:#0f172a;padding:7px}.smart-grid th.smart-row-num,.smart-grid th.smart-group-col,.smart-grid th.smart-account-col{z-index:8}.smart-grid input.smart-cell{width:112px;border:0;background:transparent;padding:7px 8px;text-align:right;font:inherit;outline:0}.smart-grid input.smart-meta{border:0;background:transparent;padding:7px 8px;font:inherit;outline:0;width:100%;box-sizing:border-box;font-weight:850;color:inherit}.smart-grid input.smart-row-input{text-align:center}.smart-grid input.smart-cell:focus,.smart-grid input.smart-meta:focus{background:#fff7ed;box-shadow:inset 0 0 0 2px #f97316}.smart-title-row td,.smart-title-row .smart-account-col{background:#e2e8f0!important;font-weight:950}.smart-result-row td,.smart-result-row .smart-account-col{background:#dbeafe!important;font-weight:950}.smart-validation{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;margin:12px 0}.smart-vbox{border:1px solid #e2e8f0;background:#fff;border-radius:14px;padding:12px}.smart-vbox b{display:block;color:#64748b;font-size:12px}.smart-vbox strong{display:block;margin-top:4px;font-size:18px}.smart-paste-box{width:100%;min-height:110px;border:1px dashed #93c5fd;border-radius:12px;padding:10px;font-family:Consolas,monospace}.smart-help{font-size:12px;color:#64748b;line-height:1.45}.smart-error{color:#b91c1c;font-weight:850}.smart-ok{color:#15803d;font-weight:850}

/* Importação Inteligente: ações por linha sem perda de rolagem */
.smart-grid .smart-actions-col{position:sticky;left:0;z-index:6;background:#f8fafc;min-width:165px;width:165px;text-align:left;padding:6px 7px}
.smart-grid th.smart-actions-col{z-index:10;background:#eaf2fb;text-align:center}
.smart-grid .smart-row-num{left:165px}
.smart-grid .smart-group-col{left:213px}
.smart-grid .smart-account-col{left:373px}
.smart-row-actions{display:flex;gap:4px;align-items:center;justify-content:flex-start;white-space:nowrap}
.smart-row-actions .btn.small{height:28px;padding:0 8px;font-size:12px;border-radius:8px}
.smart-row-actions .btn.danger{background:#fff5f5;color:#b42318;border-color:#fecaca}
