.report-importer{background:#fff;border:1px solid rgba(23,48,38,.14);border-radius:18px;box-shadow:0 12px 34px rgba(23,48,38,.07);padding:24px;display:grid;gap:18px}.report-importer-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.report-importer-heading h3{font-size:clamp(1.35rem,2.6vw,2rem);margin:.35rem 0 .55rem}.report-importer-heading p{margin:0;color:#5d665f;line-height:1.6;max-width:760px}.importer-private-chip{border-radius:99px;padding:8px 12px;background:#edf4ef;color:#173026;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}.importer-safety-grid,.importer-storage-status{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.importer-safety-grid>div,.importer-storage-status>div{border:1px solid rgba(23,48,38,.12);background:#f8f6ef;border-radius:12px;padding:14px;display:grid;gap:4px}.importer-safety-grid strong,.importer-storage-status strong{color:#173026}.importer-safety-grid span,.importer-storage-status span{font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#5b675f}.importer-safety-grid span{font-size:.8rem;font-weight:500;text-transform:none;letter-spacing:0;line-height:1.45}.importer-storage-status{grid-template-columns:1fr 1fr}.importer-storage-status small{line-height:1.4;color:#69736c}.importer-storage-status strong.pending{color:#9a6200}.report-import-drop{position:relative;border:2px dashed #91a79b;background:#f8fbf8;border-radius:15px;min-height:112px;display:grid;place-items:center;text-align:center;cursor:pointer;transition:.2s ease}.report-import-drop:hover,.report-import-drop.dragging{border-color:#173026;background:#f0f8f1;transform:translateY(-1px)}.report-import-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.report-import-drop span{display:grid;gap:6px;padding:20px}.report-import-drop strong{font-size:1rem;color:#173026}.report-import-drop small{color:#667169}.report-import-queue{display:grid;gap:14px}.import-file-card{border:1px solid rgba(23,48,38,.14);border-radius:14px;overflow:hidden}.import-file-summary{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:16px;background:#f7f5ee}.import-file-summary h4{margin:3px 0 5px;font-size:1rem}.import-file-summary p{margin:0;color:#68716a;font-size:.82rem}.import-file-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.import-file-badges span{border-radius:99px;background:#fff;padding:5px 8px;border:1px solid rgba(23,48,38,.12);font-size:.68rem;font-weight:900;text-transform:uppercase}.import-file-badges .review{background:#fff2d9;color:#7a4b00}.import-file-badges .ready{background:#e6f5df;color:#315c19}.import-file-warning{margin:0;padding:11px 16px;background:#fff5df;color:#714a08;font-size:.82rem;border-top:1px solid #f0d9a7}.import-record-list{padding:14px;display:grid;gap:12px}.import-record{border:1px solid #d8ded9;border-radius:12px;background:#fff}.import-record>summary{list-style:none;cursor:pointer;padding:14px;display:flex;justify-content:space-between;gap:16px;align-items:center}.import-record>summary::-webkit-details-marker{display:none}.import-record>summary strong{display:block}.import-record>summary small{display:block;color:#69736c;margin-top:3px}.import-record>summary b{font-size:.72rem;text-transform:uppercase;color:#59655d}.import-record[open]>summary{border-bottom:1px solid #e1e5e2}.import-review-form{padding:15px;display:grid;gap:14px}.import-review-form .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.import-result-review{width:100%;min-height:130px;resize:vertical}.import-critical-check{background:#fff8e7;border:1px solid #e7c77d;border-radius:10px;padding:12px!important}.import-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-top:1px solid rgba(23,48,38,.12);background:#fbfaf6}.import-actions>div{display:flex;flex-wrap:wrap;gap:8px}.import-actions small{color:#69736c;max-width:420px;line-height:1.4}.import-actions button{cursor:pointer}.import-actions button:disabled{opacity:.55;cursor:wait}.import-progress{padding:22px;text-align:center;color:#4f5d54}.import-progress strong{display:block;color:#173026;margin-bottom:5px}.import-duplicate{background:#fff1ed;color:#8a2d19}.import-complete{padding:15px 16px;background:#e9f7e4;color:#27571e;border-top:1px solid #bdd9b3;font-weight:750}.import-error{padding:15px 16px;background:#fff1ed;color:#8a2d19;border-top:1px solid #efc5bb}.import-source-pages{font-size:.75rem;color:#657168}.importer-unknown{padding:18px}.importer-unknown strong{display:block;margin-bottom:5px}.importer-unknown p{margin:0;color:#69736c;line-height:1.5}.import-file-card.is-busy{opacity:.72;pointer-events:none}
.import-source-classification{display:grid;grid-template-columns:minmax(260px,460px) 1fr;gap:16px;align-items:end;padding:14px 16px;border-top:1px solid rgba(23,48,38,.1);border-bottom:1px solid rgba(23,48,38,.1);background:#fbfaf6}.import-source-classification label{font-weight:750;color:#173026}.import-source-classification select{margin-top:6px}.import-source-classification small{color:#69736c;line-height:1.45;padding-bottom:7px}
.import-batch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid rgba(23,48,38,.14);border-radius:12px;background:#f7f5ee;padding:12px 14px}.import-batch-toolbar>div{display:grid;gap:2px}.import-batch-toolbar strong{color:#173026}.import-batch-toolbar span{font-size:.8rem;color:#68716a}.import-file-badges button{border:0;background:transparent;color:#8a2d19;font:inherit;font-size:.7rem;font-weight:850;text-decoration:underline;cursor:pointer;padding:5px 4px}.import-complete{display:flex;align-items:center;justify-content:space-between;gap:16px}.import-complete>div:first-child{display:grid;gap:4px}.import-complete span{font-size:.82rem;font-weight:500;line-height:1.45}.import-complete>div:last-child,.report-library-actions{display:flex;flex-wrap:wrap;gap:8px}.import-complete .button{background:#fff}.import-complete .button.primary{background:#173026;color:#fff}.report-library-actions{justify-content:flex-end}
@media(max-width:900px){.report-importer-heading{flex-direction:column}.importer-safety-grid,.import-source-classification{grid-template-columns:1fr}.import-review-form .form-grid{grid-template-columns:1fr 1fr}.import-actions{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.report-importer{padding:18px}.importer-storage-status,.import-review-form .form-grid{grid-template-columns:1fr}.import-file-summary,.import-record>summary,.import-batch-toolbar,.import-complete{align-items:flex-start;flex-direction:column}.import-file-badges{justify-content:flex-start}.import-actions>div,.import-complete>div:last-child{width:100%}.import-actions button,.import-complete .button{width:100%}}
