/* Multi-step WebSklad importer. CSS only, no inline style required. */
.ws-import-progress{margin-top:13px;border:1px solid #e6dff1;padding:14px;border-radius:15px;background:#fff}
.ws-import-progress[hidden]{display:none}
.ws-import-meter{height:8px;border-radius:999px;background:#ede7f6;overflow:hidden}
.ws-import-meter span{display:block;height:100%;width:var(--ws-step-progress,12%);border-radius:inherit;background:linear-gradient(90deg,#6847a1,#9b7ada);transition:width .3s ease}
.ws-import-progress ol{display:flex;flex-wrap:wrap;gap:8px 15px;list-style:none;padding:12px 0 0;margin:0;color:#8c8397;font-size:12px}
.ws-import-progress li{font-weight:500}.ws-import-progress li.active{color:#5a3c8b;font-weight:800}.ws-import-progress li.done{color:#2e7555}
.supplier-import [data-ws-status].error{color:#b13d4c}
.ws-open-source{display:inline-flex;align-items:center;gap:6px;border:1px solid #d8cbea;border-radius:13px;padding:8px 12px;background:#f6f0ff;color:#5a407d;font-weight:700}
.ws-open-source .ico{width:15px;height:15px}

.ws-import-progress[data-stage="main"] .ws-import-meter span{width:12%}
.ws-import-progress[data-stage="alternate"] .ws-import-meter span{width:58%}
.ws-import-progress[data-stage="finish"] .ws-import-meter span{width:92%}

/* Duplicate WebSklad link warning */
.ws-duplicate-alert{display:flex;align-items:flex-start;gap:13px;margin:13px 0;padding:15px 17px;border:1px solid #f2b4bd;background:linear-gradient(115deg,#fff7f8,#fff1f3);border-radius:17px;box-shadow:0 5px 20px rgba(160,37,58,.07);color:#8e2337}
.ws-duplicate-alert[hidden]{display:none!important}.ws-duplicate-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#fae0e5;color:#bd2947;font-weight:900;font-size:21px}
.ws-duplicate-copy{flex:1;min-width:0}.ws-duplicate-copy strong{display:block;font-size:14px;line-height:1.35}.ws-duplicate-copy p{margin:4px 0 9px;font-size:12px;line-height:1.5;color:#984959;overflow-wrap:anywhere}.ws-duplicate-copy a{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid #e9aeba;border-radius:11px;color:#9a1e38;background:#fff;text-decoration:none;font-weight:750;font-size:12px}.ws-duplicate-copy a:hover{background:#ffe9ee}
.ws-duplicate-close{flex:0 0 28px;width:28px;height:28px;border:0;border-radius:9px;background:transparent;color:#a54e64;font-size:23px;line-height:1;cursor:pointer}.ws-duplicate-close:hover{background:#f9dce4}
