/* The import editor uses the existing glass palette and modal. */
.add-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:26px 0}
.add-option-grid .btn{min-height:68px;font-size:15px}
.import-resume-list{display:grid;gap:10px}
.smart-import{display:grid;gap:16px;min-width:0}
.smart-import p,.smart-import h3{margin:0}
.smart-import .import-provider,.smart-import #bulkProgress{font-size:13px;line-height:1.55}
.smart-import .import-source{border:0;padding:0;margin:0}
.smart-import .modal-head{margin-bottom:0}
.smart-import label{display:grid;gap:7px;min-width:0}
.smart-import textarea,.smart-import input:not([type=checkbox]):not([type=file]),.smart-import select{width:100%;min-width:0;font-size:16px}
.smart-import .bulk-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.smart-import .bulk-rows{display:grid;gap:18px}
.smart-import .bulk-row{padding:18px;border:1px solid var(--line,#443552);border-radius:20px;background:rgba(178,154,230,.045);display:grid;gap:12px}
.smart-import .bulk-row.needs-review{border-color:#bea05c}
.smart-import .bulk-row header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.smart-import .bulk-row header select{max-width:230px}
.smart-import .bulk-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.smart-import .bulk-fields label:last-child{grid-column:1/-1}
.smart-import .bulk-row-select,.smart-import .import-filter{display:flex;align-items:center;gap:9px}
.smart-import input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:#a37bef}
.smart-import summary{cursor:pointer;padding:10px 0;font-weight:650}
.smart-import .import-source[open]{display:grid;gap:14px}
.smart-import .import-images{display:grid;gap:9px}
.smart-import .import-image-item{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--line,#443552);border-radius:14px}
.smart-import .import-image-item span,.smart-import .import-quote{overflow-wrap:anywhere}
.smart-import .import-quote{white-space:pre-wrap}
.smart-import .photo-file{position:relative;display:flex;overflow:hidden}
.smart-import .photo-file input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.smart-import .bulk-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px}
.smart-import .import-save-bar{position:sticky;bottom:-20px;padding:14px 0;background:var(--panel,#191322);z-index:2;border-radius:14px}
.smart-import .import-save-bar button{width:100%;min-height:48px}
.smart-import .import-warnings,.smart-import .import-duplicate,.smart-import .import-result{padding:14px;border:1px solid var(--line,#443552);border-radius:15px}
.smart-import .import-warnings{color:#f2d38c}
.smart-import .import-confirm{display:grid;gap:14px;padding:16px;border:1px solid var(--accent,#a37bef);border-radius:16px;background:var(--panel,#191322)}
.smart-import .import-validation:empty,.smart-import [hidden]{display:none}
.smart-import .btn,.smart-import select,.smart-import .text-btn{min-height:44px}
.smart-import .import-row-preview{display:grid;gap:7px;overflow-wrap:anywhere}
.smart-import .import-row-preview strong{font-size:19px;line-height:1.45}
.smart-import .import-row-preview small{color:var(--muted,#b9aecb);line-height:1.5}
.smart-import .import-edit[open]{display:grid;gap:12px}
.smart-import .import-result{display:grid;gap:10px;background:rgba(161,120,240,.09)}
.smart-import .import-view-tabs .btn[aria-pressed=true]{border-color:var(--accent,#a37bef);background:rgba(161,120,240,.18)}
.smart-import .import-save-bar{display:grid;gap:8px}
.smart-import .import-save-bar small,.smart-import .import-empty{color:var(--muted,#b9aecb);line-height:1.5}
.import-library-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;margin-bottom:20px;border:1px solid var(--line,#443552);border-radius:18px;background:rgba(161,120,240,.09)}
.import-library-banner p{margin:6px 0 0;color:var(--muted,#b9aecb)}
@media(max-width:560px){.import-library-banner{align-items:stretch;flex-direction:column}.smart-import .import-view-tabs{display:grid;grid-template-columns:1fr 1fr}.smart-import .import-result .bulk-toolbar .btn{flex:1}}
@media(max-width:560px){.add-option-grid{grid-template-columns:1fr}.smart-import .bulk-fields{grid-template-columns:1fr}.smart-import .bulk-row{padding:13px}.smart-import .bulk-row header{align-items:flex-start;flex-direction:column}.smart-import .bulk-row header select{max-width:none}.smart-import .import-image-item{grid-template-columns:1fr auto}.smart-import .import-image-item span{grid-column:1/-1}}
