/* Shared select-only combobox. Native selects retain form values and validation. */
body .themed-select{position:relative;display:inline-grid;grid-template-columns:minmax(0,1fr);vertical-align:middle;box-sizing:border-box;width:100%;min-width:0;margin-top:4px;font:14px/1.5 'Inter',sans-serif;text-align:left;letter-spacing:0}
body select.themed-select-source{position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;min-height:0!important;min-width:0!important;max-height:1px!important;margin:0!important;padding:0!important;opacity:0!important;clip-path:inset(50%)!important;overflow:hidden!important;pointer-events:none!important;border:0!important}
body .themed-select>.themed-select-trigger{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:44px;margin:0;padding:9px 12px;border:1px solid var(--select-border,#3b4b42);border-radius:8px;background:var(--select-bg,#121b22);color:var(--select-text,#edf4ef);font:400 14px/1.5 'Inter',sans-serif;text-align:left;letter-spacing:0;cursor:pointer}
.themed-select,.themed-select-menu{--select-bg:#121b22;--select-text:#edf4ef;--select-muted:#b1c0b8;--select-border:#3b4b42;--select-active:#233f2e;--select-accent:#a4efbb}
:root[data-theme=light] :is(.themed-select,.themed-select-menu){--select-bg:#fff;--select-text:#10181A;--select-muted:#4A5558;--select-border:#C9D2CB;--select-active:#EAF5EE;--select-accent:#0B7A3B}
.themed-select-value{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.themed-select-arrow{flex:0 0 14px;text-align:center;font-size:18px;line-height:1;color:var(--select-muted);pointer-events:none}
body .themed-select-trigger[aria-expanded=true]{border-color:var(--select-accent)}
body .themed-select-trigger:focus-visible{outline:2px solid var(--select-accent);outline-offset:2px}
body .themed-select-trigger:disabled{opacity:.5;cursor:not-allowed}
body .themed-select-trigger[aria-invalid=true]{border-color:#c44d41}
body .themed-select-menu{box-sizing:border-box;position:fixed;inset:auto;z-index:1000;min-width:0;max-width:calc(100vw - 16px);max-height:288px;margin:0;padding:5px;border:1px solid var(--select-border);border-radius:9px;overflow:auto;overscroll-behavior:contain;background:var(--select-bg);color:var(--select-text);box-shadow:0 8px 24px #0003;font:400 14px/1.5 'Inter',sans-serif;letter-spacing:0;text-align:left}
.themed-select-menu::backdrop{background:transparent;pointer-events:none}
.themed-select-menu>.themed-select-option{position:relative;display:block;box-sizing:border-box;min-height:40px;margin:0;padding:9px 10px 9px 30px;border:0;border-radius:5px;color:var(--select-text);font:inherit;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.themed-select-option.is-active{background:var(--select-active)}
.themed-select-menu>.themed-select-option[aria-selected=true]{font-weight:600;color:var(--select-accent)}
.themed-select-option[aria-selected=true]::before{content:'✓';position:absolute;left:9px}
.themed-select-option[aria-disabled=true]{opacity:.45;cursor:not-allowed}
.themed-select-group{padding:8px 10px 4px;color:var(--select-muted);font-size:12px;font-weight:600}
.themed-select-error{padding-top:4px;color:#cf6256;font-size:13px;line-height:1.5}
:root[data-theme=light] .themed-select-error{color:#a02b21}
.themed-select-menu[hidden],.themed-select-error[hidden]{display:none!important}
@media(max-width:650px){body .themed-select>.themed-select-trigger{font-size:16px}.themed-select-menu>.themed-select-option{min-height:44px;font-size:16px}}

.component-library-tools .themed-select{margin-top:0}
body .component-library-tools .themed-select-trigger{min-height:40px;padding-block:8px}
@media(max-width:650px){body .component-library-tools .themed-select-trigger{min-height:44px}}
