.material-import{width:min(960px,100%);color:var(--text,#f4f7f9);color-scheme:dark;--muted:#bdcdd7;--line:#35566a}
.material-import .tiny{font-size:13px;line-height:1.55}
.import-toolbar{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line,#35566a)}
.import-toolbar label,.import-new-check{display:flex;align-items:center;gap:8px;font-size:13px}
.material-import input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:none;accent-color:#8ed6ff}
.import-cards{display:grid;gap:16px;margin:16px 0}
.import-card{border:1px solid var(--line,#35566a);border-radius:12px;padding:16px;background:var(--panel2,#102635);color:var(--text,#f4f7f9)}
.import-card[hidden]{display:none}
.import-card label{display:flex;flex-direction:column;gap:6px;margin-top:12px;font-size:14px;line-height:1.5;color:var(--text,#f4f7f9)}
.import-card .import-new-check{flex-direction:row;align-items:center}
.import-card input,.import-card select{width:100%;min-width:0;background:#0c202d;color:#f4f7f9;border-color:#638498}
.import-card input::placeholder{color:#bdcdd7;opacity:1}
.import-card input:focus-visible,.import-card select:focus-visible{outline:2px solid #8ed6ff;outline-offset:2px}
.import-card-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.import-card-heading>b{font-size:16px;line-height:1.45}
.import-card-heading span{font-size:12px;line-height:1.5;font-weight:700;color:#d9e7ee;background:#1b3a4d;border-radius:6px;padding:4px 8px;align-self:flex-start}
.import-card[data-status=new] .import-card-heading span,.import-card[data-status=update] .import-card-heading span{color:#adf1c5;background:#123e35}
.import-card[data-status=pending] .import-card-heading span{color:#ffdb94;background:#453214}
.import-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.import-problem{color:#ffdb94;font-size:14px;line-height:1.55;margin-top:10px}
.import-problem:empty,.import-result:empty{display:none}
.import-card[data-status=pending]{border-color:#d3a05a}
.material-import .import-result{margin-top:12px;padding:10px 12px;line-height:1.6;font-size:14px;background:#0b1e2b;border:1px solid var(--line,#35566a);border-radius:8px;color:#f4f7f9}
.import-result>div{padding:5px 0}
.material-import .modal-actions{flex-wrap:wrap}
@media(max-width:540px){.import-fields{grid-template-columns:1fr}.import-card{padding:12px}.material-import .modal-actions button{flex:1 1 100%}.v18-material-panel>.panel-header{flex-wrap:wrap;gap:8px}}
