.hc-voice{--hc-voice:oklch(0.6 0.19 285);--hc-voice-soft:oklch(0.6 0.19 285/0.16);--hc-voice-level:0;position:relative}.dark .hc-voice{--hc-voice:oklch(0.74 0.14 285);--hc-voice-soft:oklch(0.74 0.14 285/0.22)}@property --hc-voice-spin{syntax:"<angle>";inherits:false;initial-value:0deg}.hc-voice:before{content:"";position:absolute;inset:-1.5px;z-index:1;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--hc-voice-spin),transparent 0turn,var(--hc-voice) .14turn,transparent .32turn,transparent .5turn,color-mix(in oklch,var(--hc-voice) 55%,transparent) .64turn,transparent .82turn);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .35s ease;pointer-events:none}.hc-voice[data-voice=listening]:before{opacity:1;animation:hc-voice-spin 3.2s linear infinite}@keyframes hc-voice-spin{to{--hc-voice-spin:360deg}}.hc-voice-input{transition:border-color .25s ease,box-shadow .25s ease,padding-left .32s cubic-bezier(.2,.8,.2,1)}.hc-voice[data-voice=listening] .hc-voice-input{border-color:color-mix(in oklch,var(--hc-voice) 30%,var(--border));box-shadow:0 0 0 calc(3px + var(--hc-voice-level) * 7px) var(--hc-voice-soft),0 14px 34px -14px color-mix(in oklch,var(--hc-voice) calc(25% + var(--hc-voice-level) * 50%),transparent);transition:border-color .25s ease,box-shadow .08s linear,padding-left .32s cubic-bezier(.2,.8,.2,1)}.hc-voice[data-voice=listening] .hc-voice-input,.hc-voice[data-voice=settling] .hc-voice-input{color:transparent;caret-color:transparent;padding-left:var(--hc-voice-left-recording)}.hc-voice[data-voice=listening] .hc-voice-input::placeholder{color:color-mix(in oklch,var(--hc-voice) 70%,var(--muted-foreground))}.hc-voice-search-icon{transition:opacity .22s ease,transform .32s cubic-bezier(.2,.8,.2,1)}.hc-voice[data-voice=listening] .hc-voice-search-icon,.hc-voice[data-voice=settling] .hc-voice-search-icon{opacity:0;transform:scale(.6)}.hc-voice-words{left:var(--hc-voice-left);visibility:hidden;transition:left .32s cubic-bezier(.2,.8,.2,1)}.hc-voice[data-voice=listening] .hc-voice-words,.hc-voice[data-voice=settling] .hc-voice-words{left:var(--hc-voice-left-recording);visibility:visible}.hc-voice-word{transition:color .25s ease}.hc-voice[data-voice=settling] .hc-voice-word{color:var(--foreground)}.hc-voice-word-in{display:inline-block;animation:hc-voice-word-in .34s cubic-bezier(.2,.8,.2,1) both}@keyframes hc-voice-word-in{0%{opacity:0;filter:blur(5px);transform:translateY(4px)}to{opacity:1;filter:none;transform:none}}.hc-voice-meter{width:0;opacity:0;transition:width .4s cubic-bezier(.2,.8,.2,1),opacity .25s ease}.hc-voice[data-voice=listening] .hc-voice-meter{width:var(--hc-voice-meter-width,6rem);opacity:1}.hc-voice-mic>*{grid-area:1/1;transition:opacity .2s ease,transform .25s cubic-bezier(.2,.8,.2,1)}.hc-voice-mic .hc-voice-stop{border-radius:2.5px;opacity:0;transform:scale(.4)}.hc-voice[data-voice=listening] .hc-voice-mic{background:var(--foreground);color:var(--background);border-radius:9999px}.hc-voice[data-voice=listening] .hc-voice-mic .hc-voice-mic-icon{opacity:0;transform:scale(.5)}.hc-voice[data-voice=listening] .hc-voice-mic .hc-voice-stop{opacity:1;transform:none}.hc-voice-live-dot{background:var(--hc-voice);animation:hc-voice-blink 1.2s ease-in-out infinite}@keyframes hc-voice-blink{50%{opacity:.3}}@media (prefers-reduced-motion:reduce){.hc-voice-live-dot,.hc-voice-word-in,.hc-voice[data-voice=listening]:before{animation:none}.hc-voice-input,.hc-voice-meter,.hc-voice-mic>*,.hc-voice-search-icon,.hc-voice-words{transition:none}}