/* An open-microphone conversation, integrated with the YOO chat. */
.eco-voice{margin:0 0 .85rem;color:var(--eco-ink,#292b25);font:400 16px/1.45 var(--sans,Arial,sans-serif)}
.eco-voice [hidden]{display:none!important}
.eco-voice-intro{display:grid;gap:.6rem}
.eco-voice-intro>p{font-size:14px!important;line-height:1.5!important;color:#645e50;margin:0!important}
.eco-voice button{font-family:inherit;border-radius:0;cursor:pointer}
.eco-voice-start{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:48px;padding:.7rem 1rem;border:1px solid #07543b;background:#07543b;color:#fff9ed;font:400 16px/1.3 var(--sans,Arial,sans-serif)}
.eco-voice svg{width:20px;height:20px;flex:none}
.eco-voice-start:hover{background:#003e2a;border-color:#003e2a}
.eco-voice-start:disabled{opacity:.55;cursor:default}
.eco-voice-disclosure{font-size:14px!important;line-height:1.5!important;color:#6a6254;margin:.65rem 0 0!important}
.eco-voice.is-active{border:1px solid #b9c8aa;background:#edf1e5;padding:1rem}
.eco-voice.is-active .eco-voice-intro{display:none}
.eco-voice-live{display:flex;align-items:center;gap:.85rem;min-height:58px}
.eco-voice-live>div{display:grid;gap:.3rem;min-width:0}
.eco-voice-label{font-size:18px;font-weight:400;color:#07543b;line-height:1.25}
.eco-voice-hint{font-size:14px;color:#506044;line-height:1.5}
.eco-voice-wave{width:42px;min-width:42px;height:40px;display:flex;align-items:center;justify-content:center;gap:4px;color:#07543b}
.eco-voice-wave i{display:block;width:3px;height:8px;background:currentColor;border-radius:0;transform-origin:center}
.eco-voice-wave i:nth-child(2),.eco-voice-wave i:nth-child(4){height:18px}
.eco-voice-wave i:nth-child(3){height:29px}
.eco-voice[data-state=listening] .eco-voice-wave i,.eco-voice[data-state=speaking] .eco-voice-wave i{animation:eco-voice-pulse 1.25s ease-in-out infinite alternate}
.eco-voice-wave i:nth-child(2){animation-delay:-.4s!important}.eco-voice-wave i:nth-child(3){animation-delay:-.7s!important}.eco-voice-wave i:nth-child(4){animation-delay:-.2s!important}.eco-voice-wave i:nth-child(5){animation-delay:-.6s!important}
.eco-voice[data-state=speaking] .eco-voice-wave{color:#d44718}
.eco-voice[data-state=connecting] .eco-voice-wave,.eco-voice[data-state=processing] .eco-voice-wave{opacity:.55}
.eco-voice[data-state=paused] .eco-voice-wave{color:#777765}
.eco-voice-controls{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:1rem}
.eco-voice-controls button{display:flex;align-items:center;justify-content:center;gap:.45rem;min-height:46px;padding:.65rem .65rem;border:1px solid #aebb9d;background:#fffaf0;color:#07543b;font:400 14px/1.3 var(--sans,Arial,sans-serif)}
.eco-voice-controls button:hover:not(:disabled){border-color:#07543b;background:#dfe8d8}
.eco-voice-controls button:disabled{opacity:.45;cursor:default}
.eco-voice-controls .eco-voice-end{grid-column:1/-1;background:#07543b;border-color:#07543b;color:#fffaf0}
.eco-voice-controls .eco-voice-end:hover{background:#003d29;color:#fffaf0}
.eco-voice-mute[aria-pressed=true]{box-shadow:inset 0 0 0 1px #07543b;background:#dce5d1}
.eco-voice-write,.eco-voice-play{display:block;min-height:44px;padding:.55rem 0;border:0;background:transparent;font:400 14px/1.4 var(--sans,Arial,sans-serif);text-decoration:underline;text-underline-offset:4px;color:#07543b}
.eco-voice-write{margin:.3rem auto -.3rem}
.eco-voice-play{margin:.45rem 0 0}
.eco-voice-feedback{margin:.7rem 0 0!important;font-size:14px!important;line-height:1.5!important;color:#853a19}
.eco-voice :focus-visible{outline:3px solid #be461c;outline-offset:3px}
@keyframes eco-voice-pulse{from{transform:scaleY(.5)}to{transform:scaleY(1)}}
@media(max-width:420px){.eco-voice.is-active{padding:.8rem}.eco-voice-live{gap:.65rem}.eco-voice-controls{gap:.45rem}.eco-voice-controls button{padding:.55rem .35rem;gap:.35rem}.eco-voice-controls svg{width:17px;height:17px}.eco-voice-wave{width:36px;min-width:36px;gap:3px}.eco-voice-label{font-size:18px}}
@media(prefers-reduced-motion:reduce){.eco-voice-wave i{animation:none!important}}
