/* Offline master import: modal only, respecting compact orange design. */
.dv-import-dialog {box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-height:min(92vh,900px);max-height:min(92dvh,900px);padding:0;border:1px solid #fed7aa;border-radius:18px;background:#fff;color:#243247;box-shadow:0 25px 90px #1e293b50;overflow:auto}
.dv-import-dialog::backdrop{background:rgba(13,27,48,.62)}
.dv-import-heading {display:flex;justify-content:space-between;align-items:start;gap:18px;padding:23px 24px 18px;border-bottom:1px solid #edf0f4}
.dv-import-heading h2{font-size:20px;line-height:1.3;margin:0 0 8px;color:#162337}
.dv-import-heading p{font-size:13px;color:#64748b;line-height:1.55;margin:0}
.dv-import-close{background:#f3f4f6;border:0;border-radius:9px;padding:4px 11px;font-size:24px;line-height:1.25;cursor:pointer}
.dv-import-content{padding:22px 24px;display:grid;gap:13px}
.dv-import-content label{font-weight:700;font-size:13px}
.dv-import-content input[type=file]{box-sizing:border-box;width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px;color:#243247;background:#fff}
.dv-import-content input[type=file]:focus{outline:2px solid #f97316;outline-offset:2px}
.dv-import-hint{font-size:12px;color:#64748b;line-height:1.65;margin:0}
.dv-import-totals{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.dv-import-totals span{background:#fff7ed;border:1px solid #ffedd5;border-radius:10px;padding:8px 12px;font-size:13px}
.dv-import-preview{display:grid;gap:12px}.dv-import-problems{border:1px solid #fecaca;border-radius:10px;padding:12px;background:#fef2f2;color:#9f1239;font-size:12px}.dv-import-problems ul{margin:7px 0 0;padding-left:18px}.dv-import-problems li{margin:5px 0}
.dv-import-table{max-height:220px;overflow:auto;border:1px solid #e2e8f0;border-radius:11px}.dv-import-table table{width:100%;border-collapse:collapse;font-size:12px}.dv-import-table th,.dv-import-table td{padding:10px 12px;border-bottom:1px solid #f1f5f9;text-align:left;word-break:break-word}.dv-import-table th{position:sticky;top:0;background:#f8fafc}
#dv-import-msg{font-size:12px;color:#475569;margin:0;line-height:1.5}#dv-import-msg.dv-import-error{color:#b91c1c}
.dv-import-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:16px 24px 22px;border-top:1px solid #f1f5f9}.dv-import-actions button[hidden]{display:none!important}
@media(max-width:600px){.dv-import-heading,.dv-import-content,.dv-import-actions{padding-left:16px;padding-right:16px}.dv-import-actions button{flex:1;min-width:120px}}
