/* Shared accessible controls. Native selection semantics and keyboard handling preserved. */
body:has(.client-space),body:has([style*="/auth-art/"]),body:has(#contract-list){--cp-select-border:#d6dfed;--cp-select-focus:#2855ed;--cp-select-bg:#fff;--cp-select-ink:#16243b}
body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select:not([multiple]):not([size]):not([data-testid="studio-preview"] *):not([type=color]){appearance:none!important;-webkit-appearance:none!important;min-height:42px;padding:10px 38px 10px 13px!important;border:1px solid var(--cp-select-border)!important;border-radius:10px!important;background-color:var(--cp-select-bg)!important;background-image:linear-gradient(45deg,transparent 50%,#63748d 50%),linear-gradient(135deg,#63748d 50%,transparent 50%)!important;background-position:calc(100% - 19px) 50%,calc(100% - 14px) 50%!important;background-size:5px 5px,5px 5px!important;background-repeat:no-repeat!important;color:var(--cp-select-ink)!important;font:inherit;font-size:13px!important;line-height:1.4;box-shadow:0 1px 2px #10214004!important;cursor:pointer;transition:border-color .15s,box-shadow .15s;max-width:100%;text-overflow:ellipsis}
body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select:not([data-testid="studio-preview"] *):hover:not(:disabled){border-color:#9fb4dc!important}
body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select:not([data-testid="studio-preview"] *):focus-visible{outline:2px solid #2855ed!important;outline-offset:2px;box-shadow:0 0 0 4px #2855ed14!important}
body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select:disabled{background-color:#f2f4f8!important;color:#8190a4!important;cursor:not-allowed;opacity:.7}
body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select[aria-invalid=true]{border-color:#c4384b!important}
body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select option{background:#fff;color:#16243b;padding:10px 12px;font:inherit}
body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select option:checked{background:#edf2ff;color:#2855ed}
body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select:is([multiple],[size]){background:#fff;color:#16243b;border:1px solid #d6dfed;border-radius:10px;padding:6px}
body:has(.client-space) header .absolute[class*="bg-card-2"]{border:1px solid #e0e7f1;border-radius:14px;padding:6px;box-shadow:0 12px 38px #14243b16}
body:has(.client-space) [role=listbox]{background:#fff;color:#16243b;border:1px solid #e0e7f1;border-radius:12px;box-shadow:0 12px 38px #14243b16;padding:5px}
body:has(.client-space) [role=option]{min-height:38px;padding:9px 12px;border-radius:7px}
body:has(.client-space) [role=option][aria-selected=true]{background:#edf2ff;color:#2855ed}
@media(forced-colors:active){body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select{appearance:auto!important;background-image:none!important}}
/* Progressive enhancement: full popup styling where customizable selects exist. */
@supports (appearance:base-select){
 body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select:not([multiple]):not([size]):not([data-testid="studio-preview"] *){appearance:base-select!important;background-image:none!important;padding-right:13px!important}
 body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select::picker(select){appearance:base-select;background:#fff;border:1px solid #dde5f1;border-radius:12px;box-shadow:0 14px 42px #14243b1c;padding:5px;margin-top:6px;max-height:320px;overflow:auto;color:#16243b}
 body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select::picker-icon{color:#63748d;font-size:12px;transition:rotate .15s}
 body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select:open::picker-icon{rotate:180deg}
 body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select option{border-radius:7px;min-height:38px;padding:9px 12px;gap:12px}
 body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select option:hover{background:#f3f6fc}
 body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select option:checked{background:#edf2ff;color:#2855ed;font-weight:600}
 body:is(:has(.client-space),:has([style*="/auth-art/"]),:has(#contract-list)) select option::checkmark{color:#2855ed;margin-left:auto;order:1}
}
