.pxl-dropdown { position: relative; display: inline-block; max-width: 385px }
.pxl-dropdown .pxl-dropdown__fallback-label { display: none; }
.pxl-dropdown__control { display: inline-flex; align-items: center; width: 100%; min-height: 35px; border: 1px solid #e9e9e9; border-radius: 8px; background: #fff; color: #222; }
.pxl-dropdown__control.is-active { background: #241b23; border-color: #241b23; color: #fff; }
.pxl-dropdown__trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 33px; width: 100%; padding: 5px 11px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.pxl-dropdown__clear { box-sizing: border-box; flex: 0 0 35px; align-self: stretch; width: 35px; padding: 0 9px; border: 0; border-left: 1px solid rgba(255,255,255,.25); border-radius: 0 8px 8px 0; background: transparent; color: inherit; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.pxl-dropdown__clear[hidden] { display: none; }
.pxl-dropdown__trigger:focus-visible, .pxl-dropdown__clear:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.pxl-dropdown__arrow { display: inline-flex; flex: none; width: 16px; height: 16px; }
.pxl-dropdown__arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pxl-dropdown__trigger[aria-expanded="true"] .pxl-dropdown__arrow { transform: rotate(180deg); }
.pxl-dropdown__trigger .pxl-dropdown__title { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxl-dropdown__value:not(:empty)::before { content: ' : '; white-space: pre; }
.pxl-dropdown__value-row { display: inline-flex; max-width: 100%; align-items: baseline; }
.pxl-dropdown__count { flex: none; white-space: nowrap; margin-left: 4px; }
.pxl-dropdown__count[hidden] { display: none; }
.pxl-dropdown__panel { position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; width: max-content; min-width: 220px; max-width: min(90vw, 420px); max-height: min(60vh, 400px); overflow: auto; padding: 12px 16px; border-radius: 8px; background: #fff; box-shadow: 0 12px 42px rgba(0, 0, 0, .1); }
.pxl-dropdown__panel--portal { position: absolute; top: 0; left: 0; z-index: 10; box-sizing: border-box; }
.pxl-dropdown__panel[hidden] { display: none; }
.pxl-dropdown__option { display: flex; align-items: center; gap: 8px; min-height: 36px; color: #666; cursor: pointer; outline-offset: -2px; }
.pxl-dropdown--plain .pxl-dropdown__option { min-height: 42px; margin-inline: -16px; padding-inline: 16px; }
.pxl-dropdown__option[aria-selected="true"] { color: #222; }
.pxl-dropdown__option[data-all] { color: #666; }
.pxl-dropdown__option:not([aria-disabled="true"]):is(:hover, :focus-visible, .is-hovered) { color: #222; }
.pxl-dropdown--plain .pxl-dropdown__option.is-active { background: #f1f1f1; color: #222; border-radius: 4px; }
.pxl-dropdown__option[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.pxl-dropdown__mark { position: relative; flex: 0 0 24px; width: 24px; height: 24px; border: 2px solid #dadada; background: #f8f8f8; }
.pxl-dropdown__input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; pointer-events: none; }
.pxl-dropdown--radio .pxl-dropdown__mark { box-sizing: border-box; border-radius: 50%; transition: background-color .2s ease, border-color .2s ease; }
.pxl-dropdown--checkbox .pxl-dropdown__mark { border-radius: 3px; }
.pxl-checkbox { border-radius: 3px; }
.pxl-dropdown__option:not([aria-disabled="true"]):is(:hover, :focus-visible, .is-hovered) .pxl-dropdown__mark,
.pxl-filter__switch--checkbox:is(:hover, :has(input:focus-visible)) .pxl-checkbox { background-color: #241b23; }
.pxl-dropdown--radio .pxl-dropdown__option[aria-selected="true"] .pxl-dropdown__mark { background: #241b23; border-color: #241b23; }
.pxl-dropdown--radio .pxl-dropdown__mark::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .2s ease; }
.pxl-dropdown--radio .pxl-dropdown__option[aria-selected="true"] .pxl-dropdown__mark::after { opacity: 1; transform: scale(1); }
.pxl-dropdown__check { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); opacity: 0; }
.pxl-dropdown__check path { fill: none; stroke: #241b23; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pxl-dropdown--checkbox .pxl-dropdown__option[aria-selected="true"] .pxl-dropdown__check,
.pxl-filter__switch--checkbox input:checked + .pxl-checkbox .pxl-checkbox__check { opacity: 1; }
.pxl-dropdown--checkbox .pxl-dropdown__option.is-check-animating .pxl-dropdown__check path,
.pxl-filter__switch--checkbox input:checked + .pxl-checkbox .pxl-checkbox__check path { animation: pxl-dropdown-draw-check .3s ease-out both; }
@keyframes pxl-dropdown-draw-check { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .pxl-dropdown--checkbox .pxl-dropdown__option.is-check-animating .pxl-dropdown__check path, .pxl-filter__switch--checkbox input:checked + .pxl-checkbox .pxl-checkbox__check path { animation: none; } .pxl-dropdown--radio .pxl-dropdown__mark, .pxl-dropdown--radio .pxl-dropdown__mark::after { transition: none; } }
.pxl-dropdown__native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
