.frg-import { max-width: 1180px; }
.frg-import-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:0 0 20px; padding:0; list-style:none; }
.frg-import-steps li { display:flex; align-items:center; gap:9px; color:#718096; font-size:.84rem; font-weight:700; }
.frg-import-steps li::before { content:""; height:3px; flex:1; order:2; border-radius:3px; background:#e5e9ee; }
.frg-import-steps li:last-child::before { display:none; }
.frg-import-steps li.is-active { color:#876d3f; }
.frg-import-steps li.is-active::before { background:#b99a5f; }
.frg-import-card { border:1px solid #e4e8ec; border-radius:18px; background:#fff; box-shadow:0 12px 38px rgba(26,39,49,.07); padding:24px; }
.frg-import-upload { display:grid; gap:16px; max-width:680px; }
.frg-import-upload label { display:grid; gap:7px; color:#34444f; font-weight:750; }
.frg-import-upload input[type="text"],.frg-import-upload select { min-height:44px; border:1px solid #ccd4da; border-radius:10px; background:#fff; padding:0 12px; }
.frg-import-drop { min-height:150px; place-content:center; text-align:center; border:1px dashed #acb8c0; border-radius:14px; background:#f8fafb; padding:24px; }
.frg-import-upload button,.frg-import-actions button { min-height:42px; border:1px solid #c8d0d6; border-radius:10px; background:#fff; padding:0 18px; font-weight:750; cursor:pointer; }
.frg-import-upload button.is-primary,.frg-import-actions button.is-primary { border-color:#173e36; background:#173e36; color:#fff; }
.frg-import-summary { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:16px; }
.frg-import-mapping { margin-bottom:22px; padding-bottom:22px; border-bottom:1px solid #e7ebed; }
.frg-import-mapping h2 { margin:3px 0 14px; font-size:1.15rem; }
.frg-import-template-bar { display:flex; align-items:end; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
.frg-import-template-bar label { display:grid; gap:5px; min-width:260px; color:#52616b; font-size:.78rem; font-weight:750; }
.frg-import-template-bar select,.frg-import-template-bar button { min-height:40px; border:1px solid #ccd4da; border-radius:9px; background:#fff; padding:0 11px; }
.frg-import-map-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:10px; }
.frg-import-map-grid label,.frg-import-defaults label { display:grid; gap:5px; color:#52616b; font-size:.78rem; font-weight:750; }
.frg-import-map-grid select,.frg-import-defaults select,.frg-import-defaults input { min-height:40px; border:1px solid #ccd4da; border-radius:9px; background:#fff; padding:0 10px; }
.frg-import-defaults { display:flex; align-items:end; flex-wrap:wrap; gap:10px; margin-top:14px; }
.frg-import-defaults label { min-width:190px; }
.frg-import-defaults button { min-height:40px; border:0; border-radius:9px; background:#e9efed; color:#173e36; padding:0 16px; font-weight:800; cursor:pointer; }
.frg-import-xref { margin-top:16px; border-radius:10px; background:#f7f9f9; padding:12px 14px; }
.frg-import-xref summary { cursor:pointer; color:#173e36; font-weight:800; }
.frg-import-xref>div { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:9px; align-items:end; margin-top:12px; }
.frg-import-xref label { display:grid; gap:4px; color:#52616b; font-size:.76rem; font-weight:750; }
.frg-import-xref input,.frg-import-xref select,.frg-import-xref button { min-height:39px; border:1px solid #ccd4da; border-radius:8px; background:#fff; padding:0 9px; }
.frg-import-summary>* { border-radius:999px; background:#eef3f2; padding:7px 12px; }
.frg-import-table-wrap { overflow:auto; border:1px solid #e3e7ea; border-radius:12px; }
.frg-import-table { width:100%; border-collapse:collapse; min-width:720px; }
.frg-import-table th,.frg-import-table td { padding:12px; border-bottom:1px solid #edf0f2; text-align:left; vertical-align:top; }
.frg-import-table th { background:#f7f9fa; color:#53636e; font-size:.76rem; text-transform:uppercase; letter-spacing:.05em; }
.frg-import-table td:last-child span { display:block; color:#8b4b3e; font-size:.82rem; }
.frg-import-table td:last-child .is-ready { color:#27705d; }
.frg-import-table tr.has-error { background:#fff8f6; }
.frg-import-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:18px; }
.frg-import-feedback { min-height:24px; margin:15px 0 0; color:#53636e; }
.frg-import-feedback[data-kind="error"] { color:#a23c31; }
.frg-import-feedback[data-kind="success"] { color:#27705d; }
.frg-import-prospects { margin-top:22px; border:1px solid #e4e8ec; border-radius:18px; background:#fff; box-shadow:0 12px 38px rgba(26,39,49,.07); padding:24px; }
.frg-import-prospects>header { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.frg-import-prospects h2 { margin:2px 0; font-size:1.25rem; }
.frg-import-prospects>header button,.frg-prospect-actions button { min-height:38px; border:1px solid #c8d0d6; border-radius:9px; background:#fff; padding:0 13px; font-weight:750; cursor:pointer; }
.frg-prospect-grid { display:grid; gap:10px; margin-top:18px; }
.frg-prospect { display:flex; justify-content:space-between; align-items:center; gap:18px; border:1px solid #e4e8ec; border-radius:12px; padding:14px; }
.frg-prospect>div:first-child { display:grid; gap:3px; min-width:0; }
.frg-prospect span,.frg-prospect small { overflow-wrap:anywhere; color:#667680; }
.frg-prospect small { text-transform:capitalize; }
.frg-prospect-actions { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.frg-prospect-actions button:first-child { border-color:#173e36; background:#173e36; color:#fff; }
.frg-prospect-actions button.is-danger { border-color:#d7a7a1; color:#922f27; }
.frg-import-empty { margin-top:16px; border-radius:12px; background:#f7f9f9; padding:18px; color:#667680; text-align:center; }
@media (max-width:700px) {
  .frg-import-steps span { display:none; }
  .frg-import-card,.frg-import-prospects { padding:16px; }
  .frg-prospect { align-items:flex-start; flex-direction:column; }
  .frg-prospect-actions { width:100%; justify-content:stretch; }
  .frg-prospect-actions button { flex:1 1 150px; }
}
