/* v23.12 scoped stability improvements. No global storefront overrides. */
.sx21-editor .sx2310-partners-panel .sx239-editor{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:22px;padding:clamp(16px,2vw,28px)}
.sx21-editor .sxfix-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.sx21-editor .sxfix-entry{background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 8px 24px #0000000a}
.sx21-editor .sxfix-entry b{display:block;font-size:15px;margin-bottom:7px}
.sx21-editor .sxfix-entry input{background:var(--panel);color:var(--ink);border:1px solid var(--line);min-height:43px}
.sx21-editor .sxfix-entry input:focus-visible{outline:2px solid #8064e9;outline-offset:2px}
.sx21-editor .sxfix-add{background:#6650df;color:#fff;border:0;border-radius:12px;padding:12px 20px;font:inherit;font-weight:800;cursor:pointer;margin:4px 0 22px}
.sx21-editor .sxfix-add:hover{background:#4c38c1}
.sx21-editor .sx21-setting:has(input[name="link_marketplace"]){background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:18px;flex-wrap:wrap}
.sx21-editor .sx21-setting input[name="link_marketplace"]{background:#64748b!important;outline:2px solid #334155;outline-offset:2px}
.sx21-editor .sx21-setting input[name="link_marketplace"]:checked{background:#5541da!important}
.sx21-editor .sxfix-switch-state{font-style:normal;font-weight:800;font-size:12px;color:var(--ink);background:var(--panel);padding:7px 12px;border:1px solid var(--line);border-radius:12px}
.sx20-root .sx20-brand-row:not(.sx2310-expanded){max-height:135px!important;overflow:hidden!important}
.sx20-root .sx20-brand-row.sx2310-expanded{max-height:none!important;overflow:visible!important}
.sx20-root .sx2310-more-brands{position:relative;z-index:2;cursor:pointer}
/* Center: scope to dark theme class, not all tables on the site */
body.dark .sx140,html.dark .sx140,body[data-theme="dark"] .sx140{color:#eaf0fa}
body.dark .sx140 table,html.dark .sx140 table,body[data-theme="dark"] .sx140 table{background:#162338!important;color:#eaf0fa!important;border-color:#34435b!important}
body.dark .sx140 th,body.dark .sx140 td,html.dark .sx140 th,html.dark .sx140 td,body[data-theme="dark"] .sx140 th,body[data-theme="dark"] .sx140 td{background:#162338!important;color:#eaf0fa!important;border-color:#34435b!important}
body.dark .sx140 tr:nth-child(even) td,html.dark .sx140 tr:nth-child(even) td{background:#1c2b42!important}
body.dark .sx140 input,body.dark .sx140 select,html.dark .sx140 input,html.dark .sx140 select{background:#18273e!important;color:#eaf0fa!important;border-color:#42536d!important}
@media(max-width:720px){.sx21-editor .sxfix-editor-grid{grid-template-columns:1fr}.sx20-root .sx20-brand-row:not(.sx2310-expanded){max-height:120px!important}}

/* v23.12.1: explicit high-contrast switch, independent of browser/theme defaults */
.sx21-editor .sx21-setting input[type="checkbox"][name="link_marketplace"]{
 appearance:none!important;-webkit-appearance:none!important;display:inline-block!important;
 width:58px!important;min-width:58px!important;height:32px!important;min-height:32px!important;
 border:2px solid #64748b!important;border-radius:999px!important;
 background:#cbd5e1!important;position:relative!important;cursor:pointer!important;
 box-shadow:inset 0 1px 3px #0002,0 0 0 2px #fff!important;opacity:1!important;
 vertical-align:middle;flex-shrink:0;transition:background .2s ease!important
}
.sx21-editor .sx21-setting input[type="checkbox"][name="link_marketplace"]::before{
 content:""!important;position:absolute!important;top:3px!important;left:3px!important;
 width:22px!important;height:22px!important;border-radius:50%!important;background:#fff!important;
 box-shadow:0 2px 5px #0004!important;transition:transform .2s ease!important
}
.sx21-editor .sx21-setting input[type="checkbox"][name="link_marketplace"]:checked{
 background:#6345e9!important;border-color:#4d32c5!important
}
.sx21-editor .sx21-setting input[type="checkbox"][name="link_marketplace"]:checked::before{transform:translateX(26px)!important}
.sx21-editor .sx21-setting input[type="checkbox"][name="link_marketplace"]:focus-visible{outline:3px solid #f59e0b!important;outline-offset:4px!important}
.sx21-editor .sxfix-switch-state{color:#111827!important;background:#fff!important;border-color:#94a3b8!important}
