.cat-selector{position:relative;width:100%}.cat-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.5rem;cursor:pointer;background:var(--bo-surface, #fff);text-align:left}.cat-trigger[aria-expanded=true]{border-color:var(--bo-focus, #2563eb);box-shadow:0 0 0 calc(var(--bo-focus-ring-width, 2px) + 1px) color-mix(in srgb,var(--bo-focus, #2563eb) 18%,transparent)}.cat-trigger.placeholder{color:var(--bo-text-muted, #6b7280)}.cat-trigger-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cat-trigger-icon{flex-shrink:0;color:var(--bo-text-muted, #6b7280)}.cat-trigger-icon.open{transform:rotate(180deg)}.cat-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--bo-surface-elevated, #fff);border:1px solid var(--bo-border, #d1d5db);border-radius:var(--bo-radius-md, 6px);box-shadow:var(--bo-shadow-2, 0 4px 12px rgba(0, 0, 0, .08));z-index:100;display:flex;flex-direction:column;max-height:320px;overflow:hidden}.cat-search{display:flex;align-items:center;gap:.5rem;margin:.375rem;padding:0 .625rem;min-block-size:var(--bo-control-height, 2rem);border:1px solid var(--bo-border-subtle, #e5e7eb);border-radius:var(--bo-radius-md, 6px);background:var(--bo-surface-subtle, #f9fafb)}.cat-search:focus-within{border-color:var(--bo-focus, #2563eb);background:var(--bo-surface, #fff)}.cat-search-icon{flex-shrink:0;color:var(--bo-text-muted, #6b7280);width:14px;height:14px}.cat-search-input,.cat-search-input:focus-visible{border:none;border-radius:0;outline:none;box-shadow:none;width:100%;min-width:0;block-size:auto;padding:0;font-family:inherit;font-size:var(--bo-text-body, 14px);color:var(--bo-text, #111827);background:transparent}.cat-search-input::placeholder{color:var(--bo-text-muted, #6b7280)}.cat-list{overflow-y:auto;padding:0 .375rem .375rem}.cat-empty{padding:.75rem;text-align:center;color:var(--bo-text-muted, #6b7280);font-size:var(--bo-text-table, 13px)}.cat-item{display:flex;align-items:center;min-block-size:var(--bo-control-height, 2rem);padding-right:.5rem;border-radius:var(--bo-radius-sm, 4px);font-size:var(--bo-text-table, 13px);cursor:pointer;color:var(--bo-text, #111827)}.cat-item.focused,.cat-item:hover{background:var(--bo-surface-interactive, #f3f4f6)}.cat-item.parent{font-weight:600}.cat-item.selected{background:var(--bo-accent-subtle, #eff6ff);color:var(--bo-accent-text, #1d4ed8);font-weight:500}.cat-chevron{background:transparent;border:none;border-radius:var(--bo-radius-sm, 4px);padding:4px;margin-right:4px;color:var(--bo-text-muted, #6b7280);cursor:pointer;display:flex;align-items:center;justify-content:center}.cat-chevron:hover{color:var(--bo-text, #111827)}.cat-chevron.expanded{transform:rotate(90deg)}.cat-radio{display:flex;align-items:center;justify-content:center;margin-right:10px;color:var(--bo-border-strong, #9ca3af);flex-shrink:0;margin-left:1rem}.cat-radio svg{width:16px;height:16px}.cat-item.selected .cat-radio{color:var(--bo-accent, #2563eb)}
