.vendor-map-dialog{width:min(1600px,96vw);max-width:96vw;height:92dvh;max-height:92dvh;padding:0;border:1px solid #dbe6ed;border-radius:20px;overflow:hidden;color:#253b48;box-shadow:0 24px 100px #1b35433b}.vendor-map-dialog[open]{display:flex;flex-direction:column}.vendor-map-dialog::backdrop{background:#19334366;backdrop-filter:blur(5px)}
.vm-header{margin:0;display:flex;align-items:center;justify-content:space-between;padding:22px 26px 12px;background:#fff}.vm-header h1{font-size:23px;letter-spacing:.02em;margin:0 0 5px}.vm-status{font-size:12px;color:#66808e}.vm-tools{display:flex;align-items:center;gap:8px;padding:10px 26px 16px;border-bottom:1px solid #e4ebf0;background:white}.vm-tools input{max-width:360px;margin-right:auto}.vm-tools button{white-space:nowrap;font-size:13px;padding:9px 12px}.vm-feedback{margin:0;padding:8px 26px;color:#9d3b21;background:#fff4e9;font-size:13px}.vm-feedback:empty{display:none}.vm-body{display:grid;grid-template-columns:minmax(0,1fr) 250px;flex:1;min-height:0}.vm-viewport{overflow:auto;overscroll-behavior:contain;background-color:#f6f9fc;background-image:radial-gradient(#ccdce6 1px,transparent 1px);background-size:20px 20px;min-width:0;outline-offset:-3px}.vm-stage{width:max-content;min-width:100%;min-height:100%;padding:38px 42px;box-sizing:border-box}.vm-tree{display:flex;align-items:center;width:max-content;min-height:100%}.vm-tree ul{list-style:none;padding:0 0 0 36px;margin:0}.vm-tree li{display:flex;align-items:center;position:relative;padding:9px 0 9px 0;min-height:52px}.vm-tree li:before{content:'';position:absolute;left:-18px;top:0;bottom:0;border-left:1.5px solid #b9cedb}.vm-tree li:first-child:before{top:50%}.vm-tree li:last-child:before{bottom:50%}.vm-tree li:after{content:'';position:absolute;left:-18px;width:18px;top:50%;border-top:1.5px solid #b9cedb}.vm-tree ul:before{content:'';position:absolute}.vm-tree .vm-node:has(+ul):after,.vm-root:after{content:'';position:absolute;left:100%;width:18px;top:50%;border-top:1.5px solid #b9cedb}.vm-root{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:19px 20px;width:140px;background:#256c90;color:#fff;border-radius:17px;box-shadow:0 5px 14px #2457751a;flex-shrink:0}.vm-root strong{font-size:18px}.vm-root>span{font-size:12px;color:#d8eaf4}.vm-root>button{position:absolute;right:9px;bottom:9px;border:0;background:#ffffff25;color:#fff;padding:3px 9px;border-radius:7px}.vm-node{position:relative;display:flex;align-items:center;gap:7px;width:220px;min-height:49px;padding:6px 8px 6px 12px;box-sizing:border-box;border:1px solid #d8e4eb;border-radius:12px;background:#fff;box-shadow:0 2px 5px #274f6908;flex-shrink:0;transition:box-shadow 120ms,border-color 120ms,background 120ms}.vm-node.vm-category{border-left:3px solid #6daccd}.vm-node.vm-vendor{border-radius:9px;min-height:42px;background:#ffffffdc}.vm-node .vm-node-name{min-height:32px;flex:1;min-width:0;border:0;background:transparent;text-align:left;padding:7px 0;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;color:inherit;cursor:grab;box-shadow:none}.vm-vendor .vm-node-name{font-weight:400}.vm-node-name:active{cursor:grabbing}.vm-count{font-size:11px;color:#7893a4;flex-shrink:0}.vm-node .vm-toggle{min-height:28px;padding:3px 7px;min-width:24px;border:0;background:#eef4f8;color:#537185;border-radius:6px;font-size:14px;box-shadow:none}.vm-toggle:disabled{visibility:hidden}.vm-node.selected{border-color:#2684b4;box-shadow:0 0 0 3px #78b6db2b}.vm-category.vm-drop{background:#dff2e7;border-color:#348460;box-shadow:0 0 0 4px #43997736}.vm-root.vm-drop{color:#204c39}.vm-drag-preview{position:fixed;z-index:1000;pointer-events:none;max-width:240px;padding:12px 17px;border-radius:10px;background:#256c90;color:#fff;box-shadow:0 8px 28px #18374944;font-size:13px}
.vm-inspector{overflow:auto;border-left:1px solid #e0e9ef;background:white;padding:22px 18px}.vm-inspector h2{font-size:16px;margin:0 0 20px}.vm-inspector label{display:block;font-size:12px;font-weight:600;margin-top:20px}.vm-inspector input,.vm-inspector select{display:block;width:100%;margin:7px 0 8px}.vm-inspector button{font-size:12px;margin:4px 5px 0 0;padding:8px 11px}.vm-inspector .muted{font-size:13px;line-height:1.6}.vm-memberships{margin:18px 0;display:grid;gap:6px}.vm-memberships>div{display:flex;align-items:center;justify-content:space-between;background:#f2f7fa;border-radius:8px;padding:6px 8px;gap:5px;font-size:12px;line-height:1.5}.vm-memberships button{border:0;background:transparent;margin:0;padding:2px 5px;color:#738b98}.vendor-map-dialog .help-tip-text{left:auto;right:0}.vendor-map-dialog button:focus-visible{outline:2px solid #2983ad;outline-offset:3px}.vendor-map-dialog button:active{transform:translateY(1px)}
@media(max-width:800px){.vendor-map-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.vm-header{padding:16px}.vm-header h1{font-size:19px}.vm-tools{padding:10px 16px;flex-wrap:wrap}.vm-tools input{max-width:none;flex:1 1 100%;margin-right:0}.vm-body{grid-template-columns:1fr;grid-template-rows:minmax(220px,1fr) auto}.vm-inspector{max-height:210px;border-left:0;border-top:1px solid #e0e9ef;padding:14px 18px}.vm-inspector h2{margin-bottom:10px}.vm-inspector label{margin-top:10px}.vm-stage{padding:25px}.vm-node{width:180px}.vm-feedback{padding:8px 16px}}
@media(prefers-reduced-motion:reduce){.vm-node{transition:none}.vendor-map-dialog button:active{transform:none}}

.vm-inspector .vm-delete{display:block;margin-top:26px;color:#a83c32;border-color:#edc8c2;background:#fff}.vm-delete-confirm{margin-top:14px;padding:12px;background:#fff6f3;border:1px solid #efd8d2;border-radius:10px}.vm-delete-confirm p{font-size:13px;line-height:1.5;margin:0 0 8px}

.vm-profile-editor{margin-top:1rem}.vm-profile-editor summary{cursor:pointer;font-weight:600}.vm-profile-editor label{display:block;margin-top:.8rem}.vm-profile-editor textarea{width:100%;min-height:5rem;resize:vertical}.vm-vendor>.help-tip{flex-shrink:0}.vm-vendor .help-tip-text{font-size:.85rem}.vm-vendor:hover,.vm-vendor:focus-within{z-index:5}

.vm-tools{flex-wrap:wrap}.vm-views{display:flex;gap:0;white-space:nowrap}.vm-views button{border-radius:0}.vm-views button:first-child{border-radius:9px 0 0 9px}.vm-views button:last-child{border-radius:0 9px 9px 0}.vm-views button[aria-pressed=true]{background:#dceef8;color:#195d81;border-color:#8dbad3}.vm-table-wide{grid-template-columns:minmax(0,1fr)}.vm-table-mode .vm-viewport{background:#fff}.vm-table-mode .vm-stage{padding:0;min-height:0;width:100%}.vm-sheet{border-collapse:separate;border-spacing:0;table-layout:fixed;width:1720px;font-size:13px}.vm-sheet caption{text-align:left;padding:12px 16px;color:#607987;position:sticky;left:0;width:max-content}.vm-sheet th,.vm-sheet td{min-width:210px;width:210px;max-width:210px;border-right:1px solid #e4ebf0;border-bottom:1px solid #e4ebf0;padding:8px;vertical-align:top;background:#fff}.vm-sheet th{position:sticky;top:0;z-index:2;background:#edf4f8;text-align:left}.vm-sheet th:first-child,.vm-sheet td:first-child{position:sticky;left:0;min-width:250px;width:250px;max-width:250px;z-index:1;box-shadow:2px 0 4px #1837490a}.vm-sheet th:first-child{z-index:3}.vm-sheet th button{background:transparent;border:0;padding:4px;font-size:12px;color:#3c5a6d}.vm-sheet tr:nth-child(even) td{background:#f7fafc}.vm-sheet td:focus-within{background:#eff8fd}.vm-sheet input,.vm-sheet textarea{display:block;box-sizing:border-box;width:100%;min-height:38px;margin:0;padding:7px 8px;border:1px solid transparent;background:transparent;color:inherit;font:inherit;line-height:1.5;border-radius:5px}.vm-sheet textarea{height:58px;resize:vertical}.vm-sheet input:hover,.vm-sheet textarea:hover{border-color:#c6dce9}.vm-sheet input:focus,.vm-sheet textarea:focus{outline:2px solid #6ca8cb;background:white;border-color:transparent}.vm-sheet textarea:focus{min-height:110px}.vm-sheet .vm-sheet-category{display:block;width:100%;text-align:left;white-space:normal;margin:0 0 4px;padding:6px 8px;font-size:12px;line-height:1.5;background:#eef5f9;border:0;border-radius:6px}.vm-sheet-actions{display:flex;gap:8px;margin-top:4px}.vm-sheet-actions button{border:0;background:transparent;color:#50798f;font-size:11px;padding:2px 8px}.vm-sheet-actions button:last-child{color:#a4534b}.vm-inspector[hidden]{display:none}@media(max-width:800px){.vm-table-wide{grid-template-rows:1fr}.vm-sheet th:first-child,.vm-sheet td:first-child{min-width:180px;width:180px;max-width:180px}}
.vm-table-mode:not(.vm-company-details) .vm-sheet{width:100%;min-width:740px;table-layout:fixed}.vm-table-mode:not(.vm-company-details) .vm-sheet th:last-child,.vm-table-mode:not(.vm-company-details) .vm-sheet td:last-child{width:auto;max-width:none;min-width:280px}.vm-sheet textarea{height:42px;min-height:42px}.vm-sheet-actions{margin-top:0}.vm-sheet caption{font-variant-numeric:tabular-nums}

.vm-vendor>.help-tip{position:static}
