
/* B workbench: scoped to new-lead forms only. */
.xw-workbench-b .product-clue-modal:not(.xw-choice-panel){width:min(1240px,calc(100vw - 40px))!important;height:min(820px,calc(100dvh - 40px))!important;max-height:calc(100dvh - 40px)!important;border-radius:14px!important;color:#253044}
.xw-workbench-b .product-clue-modal-head{padding:20px 28px!important;min-height:66px;border:0!important}
.xw-workbench-b .product-clue-modal-head-copy strong{font-size:22px;color:#202a3b}
.xw-workbench-b .product-clue-modal-body{padding:0!important;overflow:hidden!important}
.xw-workbench-b .link-lead-types{flex:0 0 49px!important;display:flex!important;gap:22px!important;margin:0 28px!important;padding:0!important;background:white!important;border:0!important;border-bottom:1px solid #e7eaf0!important;border-radius:0!important}
.xw-workbench-b .link-lead-types button{flex:0 0 auto!important;padding:10px 12px!important;border-radius:0!important;border:0!important;border-bottom:3px solid transparent!important;background:transparent!important;color:#667085!important;font-size:14px!important;box-shadow:none!important}
.xw-workbench-b .link-lead-types button[aria-pressed=true]{color:#315fef!important;background:transparent!important;border-bottom-color:#315fef!important}
.xw-workbench-b .product-clue-form{display:grid!important;grid-template-columns:minmax(0,36fr) minmax(0,64fr);gap:0!important;height:100%!important;min-height:0}
.xw-workbench-b .xw-b-fields{padding:24px 26px 18px 28px;display:flex;flex-direction:column;gap:22px;min-width:0;min-height:0;overflow-y:auto;border-right:1px solid #e7eaf0}
.xw-workbench-b .xw-b-preview{padding:22px 28px 18px 24px;min-width:0;min-height:0;display:flex;flex-direction:column;gap:16px;overflow:hidden}
.xw-workbench-b .xw-b-preview-title{margin:0;color:#253044;font-size:18px;font-weight:650;line-height:26px;flex:none}
.xw-workbench-b .xw-b-field,.xw-workbench-b .xw-asin-source{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;font-size:13px!important;color:#344054!important;font-weight:600;min-width:0;width:100%}
.xw-workbench-b .xw-link-input{display:flex!important;flex-direction:column!important;gap:14px!important;width:100%;flex:none}
.xw-workbench-b input:not([type=checkbox]),.xw-workbench-b select,.xw-workbench-b textarea{border-color:#dce1e8!important;border-radius:7px!important;background:white!important;font-size:13px!important;color:#344054!important;width:100%!important;box-sizing:border-box}
.xw-workbench-b .xw-link-input input,.xw-workbench-b .xw-link-input select,.xw-workbench-b .xw-target-shop input{height:40px!important}
.xw-workbench-b input::placeholder,.xw-workbench-b textarea::placeholder{color:#98a2b3!important}
.xw-workbench-b .product-clue-btn{border-radius:7px!important;border-color:#dce1e8!important;min-height:38px!important;box-shadow:none!important;font-size:13px!important}
.xw-workbench-b .product-clue-btn.primary{background:#315fef!important;border-color:#315fef!important}
.xw-workbench-b .xw-link-input .product-clue-btn{align-self:flex-end;color:#315fef!important;border-color:#c3cff8!important}
.xw-workbench-b .xw-reason{font-size:13px!important;color:#344054!important;gap:10px!important}
.xw-workbench-b .xw-reason small{left:62px;color:#98a2b3!important}
.xw-workbench-b .xw-reason textarea{height:112px!important;min-height:90px!important;line-height:1.65}
.xw-workbench-b .xw-target-shop{white-space:normal;gap:9px!important}
.xw-workbench-b .xw-target-shop input{width:100%!important}
.xw-workbench-b .product-clue-modal-foot{display:flex!important;align-items:center;gap:10px;padding:15px 28px!important;border-top:1px solid #e7eaf0!important}
.xw-workbench-b .xw-b-visibility{margin-right:auto;display:flex;align-items:center;gap:8px;font-size:12px;color:#667085;white-space:nowrap}
.xw-workbench-b .xw-b-visibility select{width:auto!important;min-width:120px;height:38px}
.xw-workbench-b [hidden],.xw-workbench-b .xw-collection-summary,.xw-workbench-b .xw-link-footer-copy{display:none!important}
.xw-workbench-b .xw-source-results{flex:1;min-height:0;border:0;padding:0}
.xw-workbench-b .xw-link-heading{flex:0 0 auto;min-height:36px;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.xw-workbench-b .xw-link-heading>span{display:none}
.xw-workbench-b .xw-link-heading strong{font-size:12px;font-weight:500;color:#667085}
.xw-workbench-b .xw-link-heading .xw-b-selected{color:#315fef;font-weight:600}
.xw-workbench-b .xw-link-heading input{width:160px!important;min-width:100px;height:34px!important;flex:1}
.xw-workbench-b .xw-only-selected{padding:7px 9px;font-size:12px;background:#fff;border-color:#dce1e8;border-radius:6px}
.xw-workbench-b .xw-link-table-wrap{border:1px solid #e9edf2!important;border-radius:8px!important;min-height:80px}
.xw-workbench-b .xw-link-table{min-width:650px!important;width:100%;table-layout:fixed}
.xw-workbench-b .xw-link-table col:nth-child(1){width:32px!important}.xw-workbench-b .xw-link-table col:nth-child(2){width:44px!important}.xw-workbench-b .xw-link-table col:nth-child(4){width:70px!important}.xw-workbench-b .xw-link-table col:nth-child(5){width:62px!important}.xw-workbench-b .xw-link-table col:nth-child(6){width:100px!important}.xw-workbench-b .xw-link-table col:nth-child(7){width:90px!important}
.xw-workbench-b .xw-link-table th{height:39px;background:#f6f7f9!important;color:#667085;font-size:12px}
.xw-workbench-b .xw-link-table td{height:80px!important;font-size:12px;color:#344054}
.xw-workbench-b .xw-link-product{gap:10px}.xw-workbench-b .xw-link-product img{width:48px;height:50px;border-radius:5px;background:#f8f9fb;object-fit:contain}
.xw-workbench-b .xw-link-product a{font-size:12px;color:#344054;line-height:1.5}.xw-workbench-b .xw-link-product small{color:#98a2b3;font-size:10px}
.xw-workbench-b .xw-link-table tr.is-selected{background:#f0f5ff!important}
.xw-workbench-b .xw-link-source{flex:none;background:#f8f9fb!important;border:1px solid #edf0f4!important;border-radius:8px;padding:12px 14px!important;min-height:68px;height:auto}
.xw-workbench-b .xw-link-source input{background:transparent!important;border:0!important;padding:0!important;font-size:15px!important;font-weight:600;height:auto!important}
.xw-workbench-b .xw-link-source small{color:#98a2b3!important}.xw-workbench-b .xw-link-source>i{color:#667085!important;font-size:25px}
.xw-workbench-b .xw-store-manual{flex:none}.xw-workbench-b .xw-b-help{font-size:11px;color:#98a2b3;line-height:1.5;flex:none}
.xw-workbench-b .xw-asin-result{background:#fff!important;border:0!important;padding:0!important;border-radius:0;min-height:0;flex:1;overflow:auto!important;display:block}
.xw-workbench-b .xw-rich-product>img,.xw-workbench-b .xw-rich-product>.xw-asin-photo-empty{width:180px!important;height:190px!important;flex:0 0 180px!important;background:#f8f9fb;border:1px solid #edf0f4;border-radius:9px;object-fit:contain;padding:14px}
.xw-workbench-b .xw-rich-product{gap:20px;align-items:center}.xw-workbench-b .xw-rich-product header{flex-direction:column;gap:12px}.xw-workbench-b .xw-rich-product header a{font-size:17px;line-height:1.6;color:#253044;-webkit-line-clamp:4}
.xw-workbench-b .xw-group-core{margin-top:22px;padding:16px;background:#f7f8fa;border:0;border-radius:8px;gap:14px}
.xw-workbench-b .xw-group-core b{font-size:21px!important;color:#253044!important}.xw-workbench-b .xw-group-core>div>span{font-size:12px;color:#667085}
.xw-workbench-b .xw-compact-rank,.xw-workbench-b .xw-group-date,.xw-workbench-b .xw-group-spec{padding:14px 0;border-color:#edf0f4;background:white}
.xw-workbench-b .xw-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xw-workbench-b .xw-rich-editor>header{background:#fff}
.xw-workbench-b .xw-form-error,.xw-workbench-b .link-lead-error{font-size:12px;line-height:1.6;flex:none;white-space:normal;color:#b54747}
.xw-workbench-b .xw-form-error:empty,.xw-workbench-b .link-lead-error:empty{display:none!important}
@media(max-height:800px){.xw-workbench-b .xw-b-fields{gap:16px;padding-top:18px}.xw-workbench-b .xw-reason textarea{height:90px!important;min-height:70px!important}.xw-workbench-b .xw-rich-product>img{width:140px!important;height:150px!important;flex-basis:140px!important}.xw-workbench-b .xw-group-core{margin-top:14px}}
@media(max-width:900px){.xw-workbench-b .product-clue-form{grid-template-columns:minmax(0,38fr) minmax(0,62fr)}.xw-workbench-b .xw-b-fields,.xw-workbench-b .xw-b-preview{padding:18px}.xw-workbench-b .xw-rich-product{flex-direction:column;align-items:start}.xw-workbench-b .xw-rich-product>img{width:120px!important;height:120px!important;flex-basis:120px!important}}
@media(max-width:650px){.xw-workbench-b .product-clue-modal:not(.xw-choice-panel){width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important}.xw-workbench-b .product-clue-modal-body{overflow:auto!important}.xw-workbench-b .product-clue-form{display:flex!important;height:auto!important;overflow:visible}.xw-workbench-b .xw-b-fields{overflow:visible;border-right:0;flex:none}.xw-workbench-b .xw-b-preview{min-height:370px;overflow:visible;flex:none;border-top:1px solid #edf0f4}.xw-workbench-b .xw-source-results{height:380px;flex:none}.xw-workbench-b .product-clue-modal-foot{flex-wrap:wrap;padding:12px!important;gap:7px}.xw-workbench-b .xw-b-visibility{width:100%}.xw-workbench-b .product-clue-modal-foot .product-clue-btn{flex:1;padding:8px!important;font-size:12px!important}.xw-workbench-b .link-lead-types{margin:0 16px!important;gap:12px!important}.xw-workbench-b .xw-rich-product{flex-direction:row}.xw-workbench-b .xw-asin-result{min-height:300px}}

.product-clue-modal-backdrop.xw-workbench-b{padding:20px!important;box-sizing:border-box;align-items:center!important;justify-content:center!important}
@media(max-width:650px){.product-clue-modal-backdrop.xw-workbench-b{padding:8px!important}}
