#dealer-import-dialog{width:min(1120px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--border,#d8e2ea);border-radius:16px;background:var(--card,#fff);color:var(--ink,#26343c);margin:auto;box-sizing:border-box;box-shadow:0 24px 90px #0004;font-family:inherit;font-size:14px;line-height:1.5}
#dealer-import-dialog::backdrop{background:#122130b3}#dealer-import-dialog [hidden]{display:none!important}.di-shell{padding:26px}.di-shell header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.di-shell h2{margin:4px 0;font-size:28px}.di-shell h3{margin:24px 0 12px}.di-shell p{margin:7px 0}.di-kicker{font-size:11px;letter-spacing:.12em;font-weight:800;color:var(--accent,#58738f)}
.di-shell button,.di-shell input,.di-shell select,.di-shell textarea{font:inherit;box-sizing:border-box;border:1px solid var(--border,#cbd5df);border-radius:8px;padding:10px;background:var(--surface,#f7f9fb);color:inherit;min-height:42px}.di-shell button{cursor:pointer}.di-shell button:disabled{cursor:default;opacity:.5}.di-shell button:focus-visible,.di-shell input:focus-visible,.di-shell select:focus-visible,.di-shell textarea:focus-visible{outline:2px solid #58738f;outline-offset:2px}.di-shell .di-primary{background:#58738f;color:white;border-color:#58738f;padding:12px 20px;font-weight:700}.di-shell header>button{font-size:24px;width:44px;flex:none}.di-settings,.di-mapping{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.di-shell label{display:flex;flex-direction:column;gap:5px;font-weight:600;min-width:0}.di-shell label small{font-weight:400;color:var(--ink-60,#596b76);overflow-wrap:anywhere}.di-shell label :is(input,select,textarea){width:100%}.di-upload{padding:22px;text-align:center;border:2px dashed var(--border,#c3cfdb);border-radius:12px;background:var(--surface,#f6f8fa)}.di-upload.dragging{border-color:#58738f}.di-upload label{cursor:pointer}.di-upload label b{font-size:20px}.di-upload label span{font-weight:400}.di-upload input{max-width:100%;margin:12px auto}.di-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin:12px 0}.di-help{margin:14px 0}.di-help summary{cursor:pointer;font-weight:600}#di-message{padding:12px 14px;background:var(--surface,#edf3f8);border-radius:8px;overflow-wrap:anywhere}.di-row{display:flex;align-items:flex-start;gap:15px;padding:16px 0;border-bottom:1px solid var(--border,#d8e2ea)}.di-row-main{flex:1;min-width:0;overflow-wrap:anywhere}.di-row-main>span,.di-row-main>small{display:block}.di-row-main>strong{font-size:17px}.di-row-select{width:85px;flex:none}.di-shell input[type=checkbox]{width:19px;height:19px;min-height:19px;flex:none;accent-color:#58738f}.di-row-status{font-weight:700}.di-error{color:#b52e31}.di-warning{color:#866020}.di-published .di-row-status{color:#29704c}.di-shell .di-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:10px;padding:18px 0;font-weight:400}.di-editor{width:100%}.di-editor textarea{resize:vertical}#di-stop{margin-top:15px}html[data-theme=dark] .di-error{color:#ff9c9c}html[data-theme=dark] .di-warning{color:#e3c581}html[data-theme=dark] .di-published .di-row-status{color:#8fddb5}
@media(max-width:800px){.di-settings,.di-mapping{grid-template-columns:repeat(2,minmax(0,1fr))}.di-shell{padding:18px}}
@media(max-width:480px){.di-settings,.di-mapping{grid-template-columns:1fr}.di-shell{padding:14px}.di-shell h2{font-size:23px}.di-row{flex-wrap:wrap;gap:10px}.di-row-select{width:62px}.di-row>button{margin-left:72px}.di-shell input,.di-shell select,.di-shell textarea{font-size:16px}.di-tools>button{flex:1}.di-shell>.di-primary,#di-publish{width:100%}}

.di-thumb{width:96px;height:72px;object-fit:cover;float:right;margin:0 0 10px 12px;border-radius:7px;background:var(--surface)}
@media(max-width:480px){.di-row{display:grid;grid-template-columns:1fr auto;gap:12px}.di-shell .di-row-select{grid-column:1;grid-row:1;flex-direction:row;align-items:center;width:auto}.di-row-main{grid-column:1/-1;grid-row:2}.di-row>button{grid-column:2;grid-row:1;margin:0}.di-editor{grid-column:1/-1}.di-thumb{width:82px;height:62px}}

#di-progress{position:sticky;top:0;z-index:3;background:var(--card,#fff);padding:4px 0}#di-progress #di-stop{margin:0 0 8px}#di-preview{scroll-margin-top:100px}
