.contact-import[hidden] { display: none !important; }
.contact-import { margin: 16px 0; padding: 16px; border: 1px solid #a8bbd0; border-radius: 12px; background: #f8fafc; color: #203548; }
.contact-import > summary { cursor: pointer; color: #173d86; }
.contact-import > summary span { display: block; margin-top: 5px; font-size: 12px; color: #526a80; }
.contact-import p { line-height: 1.5; }
.contact-import label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.contact-import input,.contact-import select { max-width: 100%; padding: 9px; border: 1px solid #a8bbd0; border-radius: 7px; background: #fff; color: #203548; font: inherit; }
.contact-import-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 16px 0; }
.contact-import-mapping { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 14px 0; }
.contact-import-preview { max-height: 370px; overflow: auto; border: 1px solid #d2deea; border-radius: 8px; }
.contact-import-preview table { width: 100%; border-collapse: collapse; background: #fff; font-size: 12px; }
.contact-import-preview th,.contact-import-preview td { padding: 9px; border-bottom: 1px solid #d2deea; text-align: left; overflow-wrap: anywhere; min-width: 80px; }
.contact-import-preview th { position: sticky; top: 0; background: #eef4fa; color: #173d86; }
.contact-import-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 15px; }
.contact-import-actions button { padding: 11px 15px; border: 1px solid #a8bbd0; border-radius: 8px; background: #fff; color: #173d86; cursor: pointer; font: inherit; font-weight: 700; }
.contact-import-actions #clientImportChoose,.contact-import-actions #clientImportRun { background: #173d86; color: #fff; }
.contact-import button:disabled { opacity: .55; cursor: default; }
.contact-import button[aria-busy="true"] { cursor: wait; }
.contact-import-history { margin: 12px 0; color: #526a80; }
.contact-import-history > summary { cursor: pointer; font-size: 13px; }
.contact-import-history .v152-import-actions button:disabled { cursor: default; }
.contact-import-history .v152-import-actions button[data-import-busy="1"] { cursor: wait; }
.contact-import-history button[hidden] { display: none !important; }
.contact-import progress { width: 100%; margin-top: 14px; }
.contact-import #clientImportStatus { min-height: 1.5em; font-weight: 600; }
@media(max-width:700px) { .contact-import-grid,.contact-import-mapping { grid-template-columns: 1fr; } .contact-import { padding: 12px; } .contact-import-actions button { width: 100%; } }
