/* Shared dropdown surface, independent of browser-native option rendering. */
select.radar-native-select{display:none!important}
.radar-select{display:inline-block;vertical-align:middle;min-width:0;max-width:100%;font-size:14px}
.radar-select[hidden],.radar-select-panel[hidden]{display:none!important}
.radar-select-control{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:42px;max-width:100%;margin:0;padding:9px 12px;border:1px solid #dce6f2;border-radius:10px;background:#fff;box-shadow:none;color:#37485c;font-family:inherit;font-size:14px;font-weight:400;line-height:1.5;text-align:left;cursor:pointer;transform:none}
.radar-select-control:hover,.radar-select-control[aria-expanded=true]{background:#f7faff;border-color:#9bbfe8;transform:none}
.radar-select-control:focus-visible{outline:2px solid #77ace7;outline-offset:3px}
.radar-select-caption{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}
.radar-select-caret{width:7px;height:7px;flex:0 0 7px;border:solid #7f91a7;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-4px 3px 0 0}
.radar-select-control[aria-expanded=true] .radar-select-caret{transform:rotate(225deg);margin-top:4px}
.radar-select-panel{position:fixed;inset:auto;margin:0;z-index:2000;display:flex;flex-direction:column;gap:9px;width:300px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:12px;border:1px solid #dbe6f3;border-radius:14px;background:#fff;box-shadow:0 14px 42px #2845651c,0 2px 8px #28456508;box-sizing:border-box;color:#34475d;font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;text-align:left}
.radar-select-panel::backdrop{background:transparent;pointer-events:none}
.radar-select-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding-left:3px;font-size:13px;color:#596b81}
.radar-select-heading strong{font-size:13px;font-weight:500;max-width:calc(100% - 38px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.radar-select-close{display:grid;place-items:center;flex:0 0 26px;width:26px;min-height:26px;height:26px;padding:0;border:0;border-radius:7px;background:#f4f7fc;color:#7f90a5;font-family:inherit;font-size:20px;line-height:1;box-shadow:none}
.radar-select-search[hidden]{display:none!important}
.radar-select-search{display:block;flex-shrink:0;width:100%;max-width:none;height:39px;min-height:39px;margin:0;padding:8px 11px;border:1px solid #e1e9f3;border-radius:8px;background:#f8fafd;box-sizing:border-box;font:inherit;font-size:14px;color:#334a65}
.radar-select-search:focus{outline:2px solid #c4dcf9;outline-offset:0}
.radar-select-list{overflow:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#c6d4e4 transparent;overscroll-behavior-y:auto}
.radar-select-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;margin:2px 0;padding:9px 11px;border:1px solid transparent;border-radius:8px;background:#fff;box-shadow:none;color:#405269;font-family:inherit;font-size:13px;font-weight:400;line-height:1.5;text-align:left;cursor:pointer;transform:none}
.radar-select-option-text{overflow-wrap:anywhere;min-width:0}
.radar-select-option:hover,.radar-select-option.is-active{background:#f3f7fc;border-color:#e8eef6;transform:none}
.radar-select-option[aria-selected=true]{background:#eaf3ff;color:#2472be;border-color:#dbeaff}
.radar-select-option:disabled{opacity:.45;cursor:default}
.radar-select-check{flex:0 0 6px;width:6px;height:10px;margin:0 4px 3px;border:solid transparent;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.radar-select-option[aria-selected=true] .radar-select-check{border-color:#3584cd}
.radar-select-group{padding:10px 9px 5px;color:#90a0b3;font-size:11px;font-weight:500}
.radar-select-empty{padding:16px 11px;color:#8e9caf;font-size:13px;margin:0}
.radar-select-footer{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:10px;border-top:1px solid #edf2f8;padding:7px 3px 0;color:#94a2b3;font-size:11px}
.radar-select-more{padding:3px 8px;min-height:24px;border:0;border-radius:6px;background:#f0f6ff;color:#4a85bf;font-size:11px;font-weight:400;box-shadow:none}
.candidate-toolbar>.radar-select,.constraint-grid label>.radar-select,.profile-field>.radar-select,.task-match-toolbar>.radar-select,.model-settings label>.radar-select,.pair-filter-toolbar label>.radar-select{width:100%}
.benchmark-cap-filters{display:flex;flex-wrap:nowrap;gap:10px}
.benchmark-cap-filters>.radar-select{flex:1 1 0;width:0;min-width:0;max-width:none}
.filters>.radar-select{min-width:135px;flex:0 1 auto}.benchmark-cap-filters>.radar-select .radar-select-control{min-height:40px;font-size:13px}
.pair-setting-toolbar>.radar-select,.panel>.radar-select,.viz-controls .radar-select{max-width:100%}.pair-benchmark-option>.radar-select{width:100%}
.model-choice-toolbar>.radar-select{max-width:245px}.viz-controls .radar-select{max-width:230px}.model-settings .radar-select{min-width:180px}
@media(max-width:700px){.filters>.radar-select{flex:1 1 140px}.radar-select-control{font-size:13px;min-height:40px}.model-settings .radar-select{min-width:0}.pair-setting-toolbar>.radar-select{width:100%}}

@keyframes radar-select-enter{from{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){
 .radar-select-panel:not([hidden]){animation:radar-select-enter 150ms cubic-bezier(.2,.75,.25,1)}
 .radar-select-control,.radar-select-option,.radar-select-close,.radar-select-more{transition:background-color 130ms ease,border-color 130ms ease,color 130ms ease,box-shadow 150ms ease}
 .radar-select-caret{transition:transform 160ms cubic-bezier(.2,.75,.25,1),margin-top 160ms ease}
 .radar-select-check{transition:border-color 120ms ease}
 .radar-select-search{transition:border-color 150ms ease,background-color 150ms ease,outline-color 150ms ease}
}
