@layer components{.search-box{box-sizing:border-box;border:1px solid var(--input);border-radius:var(--radius-md);background:var(--background);width:100%;height:2.25rem;color:var(--foreground);font-size:.875rem;font-family:var(--font-sans);box-shadow:var(--shadow-xs);cursor:text;align-items:center;gap:.5rem;padding-inline:.75rem .375rem;transition:border-color .15s,box-shadow .15s;display:flex;&:focus-within{border-color:var(--ring);box-shadow:0 0 0 2px oklch(from var(--ring) l c h / .2)}&>:is(svg,i,.search-box-icon){width:1em;height:1em;color:var(--muted-foreground);flex:none}&>input{min-width:0;height:100%;color:inherit;font:inherit;appearance:none;background:0 0;border:0;outline:none;flex:1;margin:0;padding:0;&::placeholder{color:var(--muted-foreground)}&::-webkit-search-cancel-button,&::-webkit-search-decoration{appearance:none;display:none}&:disabled{cursor:not-allowed}}&:has(>input:disabled){background:var(--muted);color:var(--muted-foreground);box-shadow:none;cursor:not-allowed}&:has(>input[aria-invalid=true]){border-color:var(--destructive);&:focus-within{box-shadow:0 0 0 2px oklch(from var(--destructive) l c h / .2)}}&>.search-box-clear{width:1.5rem;height:1.5rem;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:999px;flex:none;margin:0;padding:0;transition:background-color .15s,color .15s;display:none;position:relative;&:before,&:after{content:"";background:currentColor;border-radius:1px;width:.75rem;height:1.5px;position:absolute;inset:50% auto auto 50%;translate:-50% -50%;rotate:45deg}&:after{rotate:-45deg}&:hover{background:var(--accent);color:var(--accent-foreground)}&:focus-visible{outline:2px solid var(--ring);outline-offset:1px}}&:is([data-state-name=filled],[data-state-name=searching]){&>.search-box-clear{display:block}&>:is(kbd,.search-box-hint){display:none}}&>:is(kbd,.search-box-hint){flex:none;margin-inline-end:.125rem}&>.search-box-hint{color:var(--muted-foreground);font-size:.75em}&:before{content:"";box-sizing:border-box;border:2px solid color-mix(in oklch, var(--muted-foreground) 30%, transparent);border-top-color:var(--muted-foreground);border-radius:50%;flex:none;width:1em;height:1em;animation:.7s linear infinite search-box-spin;display:none}&[data-state-name=searching]{&:before{display:block}&>:is(svg,i,.search-box-icon){display:none}}&[data-variant=muted]{background:var(--muted);box-shadow:none;border-color:#0000}&[data-shape=pill]{border-radius:999px;padding-inline-start:.875rem}&[data-size=sm]{height:2rem;padding-inline:.625rem .25rem;font-size:.8125rem;&>.search-box-clear{width:1.25rem;height:1.25rem}}&[data-size=lg]{height:2.75rem;padding-inline:1rem .5rem;font-size:1rem;&>.search-box-clear{width:1.75rem;height:1.75rem}}}.filter{interpolate-size:allow-keywords;border:0;flex-wrap:wrap;align-items:center;row-gap:.375rem;min-width:0;margin:0;padding:0;display:flex;&>input{appearance:none;box-sizing:border-box;border:1px solid var(--input);border-radius:var(--radius-md);background:var(--background);width:auto;min-width:0;height:2rem;color:var(--foreground);font:500 .875rem/1 var(--font-sans);white-space:nowrap;cursor:pointer;box-shadow:var(--shadow-xs);transition:background-color .15s, color .15s, border-color .15s, width .25s ease, padding .25s ease, margin .25s ease, border-width .25s ease, opacity .2s, scale .25s ease, visibility .25s allow-discrete;flex:none;justify-content:center;align-items:center;margin:0 .375rem 0 0;padding:0 .875rem;display:inline-flex;overflow:hidden;&:is([type=radio],[type=checkbox]):not(.filter-reset):after{content:attr(aria-label)}&[type=checkbox]:before{content:"";box-sizing:border-box;opacity:.7;border:1.5px solid;border-radius:.25em;flex:none;width:.875em;height:.875em;margin-inline-end:.5em}&[type=checkbox]:checked:before{opacity:1;background:currentColor;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(#000 0 0);mask-position:50%,0 0;mask-size:85%,auto;mask-repeat:no-repeat,repeat;mask-clip:border-box,border-box;mask-origin:border-box,border-box;mask-composite:exclude;mask-mode:match-source,match-source}&:hover{background:var(--accent);color:var(--accent-foreground)}&:focus-visible{outline:2px solid var(--ring);outline-offset:2px}&:checked{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}&:disabled{opacity:.5;cursor:not-allowed;&:hover{background:var(--background);color:var(--foreground)}}}&>:is(input[type=reset],.filter-reset){width:2rem;color:var(--muted-foreground);padding:0;font-size:1.25rem;font-weight:400}&>.filter-reset:after{content:"×"}&[data-variant=secondary]>input:checked{background:var(--secondary);border-color:var(--secondary);color:var(--secondary-foreground)}&[data-variant=outline]>input:checked{background:var(--background);border-color:var(--foreground);color:var(--foreground);box-shadow:inset 0 0 0 1px var(--foreground)}&[data-shape=pill]>input{border-radius:999px}&[data-size=sm]>input{height:1.75rem;padding-inline:.625rem;font-size:.75rem;&:is([type=reset],.filter-reset){width:1.75rem;padding:0;font-size:1rem}}&[data-size=lg]>input{height:2.5rem;padding-inline:1.125rem;font-size:1rem;&:is([type=reset],.filter-reset){width:2.5rem;padding:0;font-size:1.5rem}}&:not(:has(>input:checked:not(.filter-reset)))>:is(input[type=reset],.filter-reset),&:not([data-multiple]):has(>input:checked:not(.filter-reset))>input:not(:checked,.filter-reset,[type=reset]){opacity:0;width:0;box-shadow:none;visibility:hidden;pointer-events:none;border-inline-width:0;margin-inline-end:0;padding-inline:0;scale:.8}}@keyframes search-box-spin{to{rotate:360deg}}@media (prefers-reduced-motion:reduce){.search-box,.search-box>.search-box-clear,.filter>input{transition:none}.search-box:before{animation-duration:2s}}@media (prefers-contrast:more){.search-box{border-color:var(--foreground)}.search-box>.search-box-clear{color:var(--foreground)}.filter>input{border-color:var(--foreground)}}@media (forced-colors:active){.search-box{border:1px solid canvastext}.search-box:focus-within{outline:2px solid highlight}.search-box>.search-box-clear:before,.search-box>.search-box-clear:after{background:buttontext}.filter>input{border:1px solid buttontext}.filter>input:checked{color:highlighttext;forced-color-adjust:none;background:highlight}}}