/* Creator colors from Artificial Analysis apply to icons and model names. */
.model-brand-label { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; vertical-align: middle; font-weight: inherit; line-height: inherit; }
.model-brand-icon { flex: 0 0 18px; width: 18px; height: 18px; object-fit: contain; padding: 2px; border-radius: 4px; background: white; border-bottom: 2px solid var(--model-brand-color); }
.model-brand-label[data-model-brand] .model-name { color: var(--model-brand-color); }
.model-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.model-effort { flex: 0 0 auto; display: inline-block; padding: 1px 5px; border: 1px solid; border-radius: 4px; font: 650 9px/14px Inter, ui-sans-serif, sans-serif; letter-spacing: .02em; white-space: nowrap; color: #475569; background: #f1f5f9; border-color: #cbd5e1; }
.model-effort[data-effort="low"] { color: #0f655d; background: #e6f6f2; border-color: #acdcd0; }
.model-effort[data-effort="medium"] { color: #2456a0; background: #edf3ff; border-color: #bfd1f5; }
.model-effort[data-effort="high"] { color: #7042a0; background: #f4edff; border-color: #d8c4f2; }
.model-effort[data-effort="xhigh"] { color: #a13f71; background: #fceef5; border-color: #edbfd4; }
.model-effort[data-effort="max"], .model-effort[data-effort="ultra"] { color: #974c16; background: #fff3e3; border-color: #eecb9e; }
.model-effort[data-effort="thinking"] { color: #7042a0; background: #f4edff; border-color: #d8c4f2; }
.model-accessible-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Searchable model pickers match Compare's popup style on every page. */
.model-select { position: relative; min-width: 0; width: 100%; }
.model-select-trigger { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; min-height: 42px; padding: 9px 12px; border: 1px solid #cbd0db; border-radius: 8px; background: white; color: #172b3b; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.model-select-trigger > .model-brand-label { flex: 1; }
.model-select-trigger:focus-visible, .model-select-trigger[aria-expanded="true"] { border-color: #6875d9; outline: 2px solid #e9ecff; }
.model-select-trigger:disabled { cursor: not-allowed; opacity: .55; }
.model-select .model-select-arrow { flex: none; display: inline; margin: 0; }
.model-select-popup { position: absolute; top: calc(100% + 7px); left: 0; z-index: 50; width: min(max(100%, 380px), calc(100vw - 32px)); box-sizing: border-box; padding: 10px; border: 1px solid #bdc5dc; border-radius: 10px; background: white; box-shadow: 0 12px 28px #18203325; }
.model-select .model-select-popup > input { width: 100%; min-width: 0; min-height: 37px; box-sizing: border-box; padding: 9px 10px; margin: 0; border: 1px solid #cbd0db; border-radius: 6px; background: white; color: #172b3b; font: inherit; font-size: 12px; }
.model-select-options { max-height: min(320px, 50vh); overflow-y: auto; margin: 8px 0 0; padding: 0; }
.model-select-option { display: flex; width: 100%; padding: 10px 6px; border: 0; border-radius: 6px; background: white; color: #172b3b; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.model-select-option:hover, .model-select-option[aria-selected="true"], .model-select-option[data-active="true"] { background: #f4f4ff; }
.model-select-option .model-name { white-space: normal; overflow-wrap: anywhere; }
.model-select-options > p { padding: 10px 6px; font-size: 12px; }
/* Page label styles must not turn model names and tags into full-width blocks. */
.model-picker .model-brand-label, .model-select .model-brand-label { display: inline-flex; margin: 0; letter-spacing: normal; }
.model-picker .model-name, .model-select .model-name { display: inline; margin: 0; letter-spacing: normal; }
.model-picker .model-effort, .model-select .model-effort { display: inline-block; width: auto; margin: 0; letter-spacing: .02em; }
