
.th-select{position:relative;display:inline-grid;vertical-align:middle;max-width:100%;min-width:0}
.field>.th-select,.auth-field>.th-select,.sidebar-site-picker>.th-select{display:grid;width:100%}
.th-select>select{grid-area:1/1;opacity:0!important;pointer-events:none!important;max-width:100%;min-width:0}
.th-select-trigger{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%;height:100%;margin:0;padding-inline-end:8px;border:1px solid #dedcf0;border-radius:12px;background:#fff;color:#242840;font:inherit;text-align:start;cursor:pointer;box-sizing:border-box}
.th-select-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.th-select-arrow{display:flex;flex:none;margin-inline-start:auto;color:inherit}
.th-select-arrow svg,.th-dropdown-check svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.th-select-trigger[aria-expanded=true] .th-select-arrow{transform:rotate(180deg)}
.th-select-trigger:hover:not(:disabled){filter:brightness(.985)}
.th-select-trigger:focus-visible{outline:2px solid #7568e8;outline-offset:2px}
.th-select-trigger[aria-invalid=true]{border-color:#bd3c52!important}
.th-select-trigger:disabled{cursor:not-allowed;opacity:.6}
.th-select-error{display:block;margin-top:6px;color:#bd3c52;font-size:12px;line-height:1.45}
.th-dropdown{--dd-bg:#fff;--dd-ink:#242840;--dd-muted:#70758b;--dd-rule:#e3e0ef;--dd-wash:#f1eeff;--dd-accent:#5c48dc;position:fixed;z-index:1800;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;padding:6px;border:1px solid var(--dd-rule);border-radius:12px;background:var(--dd-bg);color:var(--dd-ink);box-shadow:0 16px 40px rgba(36,29,77,.17);font:14px/1.4 "Geist",Inter,ui-sans-serif,system-ui,sans-serif;text-align:start;animation:th-dropdown-in .12s ease-out}
.th-dropdown[data-theme=dark]{--dd-bg:#202133;--dd-ink:#f1f0fa;--dd-muted:#aaa7c0;--dd-rule:#3d3d54;--dd-wash:#34304f;--dd-accent:#c4b6ff;box-shadow:0 16px 40px rgba(0,0,0,.3)}
.th-dropdown-options{overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#c8c1e8 transparent}
.th-dropdown-option,.th-dropdown-action{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;box-sizing:border-box;margin:0;padding:10px 12px;border:0;border-radius:7px;background:transparent;color:var(--dd-ink);font:inherit;text-align:start;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}
.th-dropdown-option>span:first-child{min-width:0}
.th-dropdown-option[aria-selected=true],.th-dropdown-option.is-active,.th-dropdown-action.is-active,.th-dropdown-action:hover{background:var(--dd-wash);color:var(--dd-accent)}
.th-dropdown-option[aria-selected=true]{font-weight:650}
.th-dropdown-option:disabled{color:var(--dd-muted);opacity:.65;cursor:not-allowed}
.th-dropdown-check{display:flex;flex:none;width:18px;visibility:hidden}
.th-dropdown-option[aria-selected=true] .th-dropdown-check{visibility:visible}
.th-dropdown-search{flex:none;width:100%;min-height:44px;box-sizing:border-box;margin:0 0 6px;padding:10px 12px;border:1px solid var(--dd-rule);border-radius:8px;background:var(--dd-bg);color:var(--dd-ink);font:inherit;font-size:16px;outline-offset:-2px}
.th-dropdown-search:focus-visible{outline:2px solid var(--dd-accent)}
.th-dropdown-group{padding:10px 12px 6px;color:var(--dd-muted);font-size:11px;font-weight:700}
.th-dropdown-empty{margin:0;padding:12px;color:var(--dd-muted);font-size:13px}
@keyframes th-dropdown-in{from{opacity:0}to{opacity:1}}
@media(max-width:620px){.overview-summary-controls>.th-select{width:100%}.site-focus-card .data-card-heading>.th-select{width:100%}.th-dropdown{font-size:14px}}
@media(prefers-reduced-motion:reduce){.th-dropdown{animation:none}}
