.ops-dialog{width:min(1120px,calc(100vw - 32px));max-width:none;height:min(760px,calc(100dvh - 32px));max-height:none;padding:0;border:1px solid #d8e2e8;border-radius:12px;color:#294052;background:#fff;box-shadow:0 22px 70px #14293640}.ops-dialog[open]{display:flex;flex-direction:column}.ops-dialog::backdrop{background:#10233066}.ops-dialog *{box-sizing:border-box}.ops-head,.ops-search,.ops-tools,.ops-foot{display:flex;align-items:center;gap:12px;padding:12px 18px;flex:none}.ops-head{justify-content:space-between;border-bottom:1px solid #e0e7ec}.ops-head h2{font-size:19px;margin:0}.ops-head p{font-size:12px;margin:5px 0 0;color:#6e7e8b}.ops-head>button{font-size:25px;padding:0 10px!important}.ops-dialog button{border:1px solid #cfdae3;border-radius:6px;background:#fff;color:#34556e;padding:7px 11px;cursor:pointer;font-size:12px}.ops-dialog button:disabled{opacity:.45;cursor:default}.ops-dialog button:focus-visible,.ops-dialog input:focus-visible,.ops-dialog select:focus-visible,.ops-dialog summary:focus-visible{outline:2px solid #3773a1;outline-offset:2px}.ops-search{padding-bottom:8px}.ops-search>label:first-child{flex:1;display:flex;align-items:center;gap:10px;font-size:13px}.ops-search input[type=search]{width:100%;min-width:0;padding:9px 12px;border:1px solid #c8d5df;border-radius:6px;font-size:14px}.ops-only{display:flex;gap:5px;white-space:nowrap;font-size:12px}.ops-tools{padding-top:0;font-size:12px}.ops-tools>span{flex:1;color:#6c7d88}.ops-list{min-height:0;overflow:auto;flex:1;border-block:1px solid #e0e7ec}.ops-list table{width:100%;border-collapse:collapse;table-layout:fixed}.ops-list th{position:sticky;top:0;background:#f1f5f8;z-index:1;font-size:12px;text-align:left;padding:10px}.ops-list th:nth-child(1){width:46px}.ops-list th:nth-child(2){width:42%}.ops-list th:nth-child(3){width:18%}.ops-list td{padding:12px 10px;border-bottom:1px solid #e5ebef;vertical-align:top;overflow-wrap:anywhere;font-size:13px}.ops-list td>input{width:17px;height:17px;margin:7px 0}.ops-product{display:flex;align-items:flex-start;gap:12px;min-width:0}.ops-product>div{min-width:0}.ops-product .op-product-picture{width:64px;flex:none}.ops-product .op-product-picture img,.ops-product .op-image-empty{width:64px;height:64px}.ops-product .op-product-picture figcaption{font-size:9px}.ops-name{display:block;font-size:14px;line-height:1.55;margin-bottom:4px;overflow-wrap:anywhere}.ops-product small,.ops-relation{display:block;font-size:12px;line-height:1.6;color:#70818d}.ops-store{display:block;margin:4px 0;font-size:12px}.ops-scope{font-size:13px;font-weight:500}.ops-list details{margin-top:7px}.ops-list summary{font-size:12px;color:#416a87;cursor:pointer}.ops-list .op-variant-fields{display:grid;grid-template-columns:1fr;gap:7px;margin:8px 0}.ops-list .op-variant-fields label{font-size:12px;display:grid;gap:4px}.ops-list select{max-width:100%;width:100%;padding:7px;border:1px solid #d1dde5;border-radius:5px;font-size:12px;background:#fff}.ops-list .pic-code{margin:5px 0;max-width:100%}.ops-list td>button{margin-top:8px}.ops-warning{font-size:12px;line-height:1.6;color:#895c36}.ops-empty{text-align:center;padding:30px!important;color:#73828d}.ops-method{padding:8px 18px;font-size:11px;color:#71818d;flex:none}.ops-method p{margin:8px 0;line-height:1.7}.ops-foot{border-top:1px solid #dce5eb;background:#f8fafb}.ops-foot>div:first-child{margin-right:auto}.ops-foot strong{display:block;font-size:13px}.ops-foot small{display:block;font-size:11px;color:#70818b;margin-top:4px}.ops-pages{display:flex;align-items:center;gap:7px;font-size:11px}.ops-foot #opsApply{background:#2f526c;color:#fff;white-space:nowrap}.op-selection-entry{display:grid;gap:5px;align-content:start}.op-selection-entry>span{font-size:12px;color:#6e8090}.op-selection-entry>button{min-height:38px;text-align:left}.op-selection-entry>small{font-size:11px;color:#6e8090;line-height:1.5}.op-selection-entry #opAllProducts{min-height:0;padding:2px 0!important;border:0;background:none;justify-self:start;font-size:11px}.op-sku-count>small{display:block}.op-spec .pic-spec{font-size:13px!important}
@media(max-width:640px){.ops-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:9px}.ops-head,.ops-search,.ops-tools,.ops-foot{padding:10px;gap:8px}.ops-head h2{font-size:17px}.ops-head p{font-size:11px}.ops-search{flex-wrap:wrap}.ops-search>label:first-child{flex-basis:calc(100% - 60px);display:block;font-size:11px}.ops-search input[type=search]{margin-top:4px}.ops-only{margin-right:auto}.ops-tools{flex-wrap:wrap}.ops-tools>span{flex-basis:100%}.ops-list table,.ops-list tbody,.ops-list tr,.ops-list td{display:block;width:auto}.ops-list thead{display:none}.ops-list tr{position:relative;padding:10px 10px 10px 39px;border-bottom:1px solid #dce4eb}.ops-list td{padding:0;border:0;min-width:0}.ops-list td:first-child{position:absolute;left:11px;top:10px}.ops-list td:nth-child(3){display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:7px 0}.ops-list td:nth-child(4){padding-left:0}.ops-relation{flex-basis:100%}.ops-name{font-size:14px}.ops-product .op-product-picture{width:54px}.ops-product .op-product-picture img,.ops-product .op-image-empty{width:54px;height:54px}.ops-list .ops-scope{display:block;font-size:13px}.ops-foot{flex-wrap:wrap}.ops-foot>div:first-child{flex-basis:100%;display:flex;justify-content:space-between;align-items:center}.ops-foot small{max-width:190px;font-size:10px;margin:0}.ops-pages{margin-right:auto}.ops-pages button{font-size:11px;padding:6px}.ops-foot>button{padding:8px;font-size:12px}.ops-list .pic-code{font-size:11px}.ops-method{padding:7px 10px}}
/* The shared site footer and form layout must not leak into this modal. */
.ops-dialog .ops-foot{margin:0!important;width:100%!important;min-width:0;max-width:100%;align-self:stretch;grid-column:auto;padding:12px 18px!important}.ops-dialog .ops-list td{vertical-align:top!important}.ops-dialog .ops-search>label:first-child{white-space:nowrap}.ops-dialog .ops-only{display:flex!important;flex-direction:row!important;align-items:center;min-width:auto!important;width:auto!important}.ops-dialog .ops-only input{margin:0}.ops-dialog .ops-list tr{background:#fff}.ops-dialog .ops-list tr:has(input[data-ops-select]:checked){background:#f2f6fa}.ops-dialog .ops-product .op-product-picture figcaption{color:#71818d}.ops-dialog .ops-tools{align-items:center}.ops-dialog{--op-taobao:#365f8e;--op-xhs:#b56e42;--op-line:#dce4ec;--op-muted:#697b8a;--op-ink:#263d53}
@media(max-width:640px){.ops-dialog .ops-foot{padding:9px 10px!important}.ops-dialog .ops-search>label:first-child{width:100%!important;min-width:0!important}.ops-dialog .ops-list td{padding:0!important}.ops-dialog .ops-foot .ops-pages{min-width:0;gap:4px}.ops-dialog .ops-foot>button{flex:none}.ops-dialog .ops-pages button{padding:6px 5px}.ops-dialog .ops-pages span{font-size:10px}.ops-dialog .ops-foot>div:first-child{margin:0;flex-basis:100%}.ops-dialog .ops-foot small{display:none}.ops-dialog .ops-tools{padding-top:0}.ops-dialog .ops-list tr{margin:0}.ops-dialog .ops-list .ops-store{margin:0}}
.ops-dialog .ops-foot{display:flex!important;flex-direction:row!important;min-height:0!important;height:auto!important;position:static!important;gap:10px!important}.ops-dialog .ops-search{display:flex!important;grid-template-columns:none!important}.ops-dialog .ops-list table{min-width:0!important}.ops-dialog .ops-list td{background:transparent!important}.ops-dialog .ops-list th{background:#f1f5f8!important}
@media(max-width:640px){.ops-dialog .ops-foot{display:grid!important;grid-template-columns:1fr auto auto!important;gap:7px!important}.ops-dialog .ops-foot>div:first-child{grid-column:1/-1!important;justify-content:flex-start}.ops-dialog .ops-foot .ops-pages{grid-column:1;justify-content:flex-start}.ops-dialog .ops-foot>button{grid-column:auto!important}.ops-dialog .ops-search>label:first-child{display:block!important;flex:1 1 calc(100% - 60px)!important}.ops-dialog .ops-search>button{align-self:flex-end}.ops-dialog .ops-only{flex-basis:100%!important}}
.ops-dialog input[type=checkbox]{appearance:auto!important;min-width:16px!important;min-height:16px!important;width:16px!important;height:16px!important;flex:none!important;margin:0!important;padding:0!important}.ops-dialog .ops-only{justify-content:flex-start!important}
@media(max-width:640px){body .ops-dialog .ops-search>label:first-child{display:grid!important;grid-template-columns:1fr!important;gap:3px!important}body .ops-dialog .ops-only{display:flex!important;justify-content:flex-start!important;gap:6px!important}}
