.ancud-voice{--ancud-accent:#84c73d;position:fixed;right:24px;bottom:24px;z-index:999999;display:flex;flex-direction:column-reverse;align-items:flex-end;gap:12px;font-family:Arial,sans-serif;color:#3d3d3d}.ancud-voice *{box-sizing:border-box}.ancud-voice button,.ancud-voice input{font:inherit}.ancud-voice__launch{min-height:60px;padding:0 24px;border:0;border-radius:32px;background:var(--ancud-accent);color:#fff;display:flex;align-items:center;gap:12px;box-shadow:0 14px 38px rgba(35,55,15,.3);cursor:pointer;transition:.2s}.ancud-voice__launch:hover{transform:translateY(-2px);filter:brightness(.94)}.ancud-voice__launch:focus-visible,.ancud-voice button:focus-visible,.ancud-voice input:focus-visible{outline:3px solid #315f08;outline-offset:3px}.ancud-voice__panel{width:min(460px,calc(100vw - 32px));padding:26px;border:1px solid #e5e5e0;border-radius:20px;background:rgba(255,255,255,.98);box-shadow:0 28px 80px rgba(20,20,20,.23);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(18px) scale(.96);transform-origin:bottom right;transition:opacity .2s,transform .24s cubic-bezier(.2,.8,.2,1),visibility 0s .24s}.ancud-voice__panel.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition-delay:0s}.ancud-voice__panel header{display:flex;justify-content:space-between;align-items:flex-start}.ancud-voice__panel header small{color:#777;font-weight:700;letter-spacing:.12em}.ancud-voice__panel h2{margin:6px 0 0;font-size:28px;line-height:1.15}.ancud-voice__panel header button{width:42px;height:42px;border:0;border-radius:50%;background:#f1f1ed;color:#666;font-size:30px;cursor:pointer}.ancud-voice__languages{padding-top:28px;text-align:center}.ancud-voice__languages>p{font-size:22px;line-height:1.35}.ancud-voice__languages>p span{color:#888;font-size:16px}.ancud-voice__languages>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ancud-voice__languages button{min-height:100px;border:1px solid #ddd;border-radius:12px;background:#fff;display:flex;flex-direction:column;justify-content:center;gap:6px;cursor:pointer}.ancud-voice__languages button:hover{border-color:var(--ancud-accent);background:#f4faec}.ancud-voice__languages span{color:#777;font-size:12px}.ancud-voice__wave{height:58px;display:flex;align-items:center;justify-content:center;gap:6px}.ancud-voice__wave i{width:6px;height:14px;border-radius:4px;background:var(--ancud-accent)}.ancud-voice__wave.is-active i{animation:ancud-wave .85s infinite ease-in-out}.ancud-voice__wave.is-active i:nth-child(2){animation-delay:.1s}.ancud-voice__wave.is-active i:nth-child(3){animation-delay:.2s}.ancud-voice__wave.is-active i:nth-child(4){animation-delay:.3s}.ancud-voice__wave.is-active i:nth-child(5){animation-delay:.4s}@keyframes ancud-wave{50%{height:42px}}.ancud-voice__messages{height:260px;padding:14px;overflow:auto;background:#f6f6f3;border:1px solid #e5e5df;border-radius:13px;display:flex;flex-direction:column;gap:12px}.ancud-voice__message{max-width:88%;padding:12px 14px;border-radius:12px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08)}.ancud-voice__message.is-user{align-self:flex-end;background:#eaf7da}.ancud-voice__message span{display:block;margin-bottom:5px;color:#777;font-size:10px;font-weight:700;letter-spacing:.09em}.ancud-voice__message p{margin:0;font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.ancud-voice__message.is-live p:after{content:'';display:inline-block;width:5px;height:14px;margin-left:4px;background:var(--ancud-accent);animation:ancud-blink .8s infinite}@keyframes ancud-blink{50%{opacity:.2}}.ancud-voice__hint{min-height:18px;margin:8px 2px;color:#777;font-size:12px}.ancud-voice form{display:flex;gap:8px}.ancud-voice form input{min-width:0;height:48px;padding:0 14px;flex:1;border:1px solid #d6d6d1;border-radius:10px}.ancud-voice form button{width:48px;border:0;border-radius:10px;background:var(--ancud-accent);color:#fff;font-size:22px;cursor:pointer}.ancud-voice__or{display:flex;align-items:center;gap:9px;margin:14px 0 12px;color:#999;font-size:11px;font-weight:700;text-transform:uppercase}.ancud-voice__or:before,.ancud-voice__or:after{content:'';height:1px;flex:1;background:#ddd}.ancud-voice__hold,.ancud-voice__end{width:100%;min-height:58px;border:0;border-radius:10px;color:#fff;font-weight:700;cursor:pointer}.ancud-voice__hold{background:var(--ancud-accent)}.ancud-voice__hold.is-recording{background:#e45740;transform:scale(.99)}.ancud-voice__end{min-height:48px;margin-top:10px;background:#3d3d3d}.ancud-voice button:disabled,.ancud-voice input:disabled{opacity:.45;cursor:not-allowed}.ancud-voice audio{display:none}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.ancud-voice{right:16px;bottom:16px}.ancud-voice__launch{width:58px;padding:0;justify-content:center}.ancud-voice__launch strong{position:absolute;width:1px;height:1px;overflow:hidden}.ancud-voice__panel{padding:20px}.ancud-voice__messages{height:230px}}@media(prefers-reduced-motion:reduce){.ancud-voice__panel,.ancud-voice__launch{transition:none}.ancud-voice__wave.is-active i{animation:none}}
/* Keep mobile push-to-talk stable while the finger moves on the button. */
.ancud-voice__hold{touch-action:none;user-select:none;-webkit-user-select:none}
.ancud-voice audio{display:block!important;position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.ancud-voice__audio-unlock{width:100%;min-height:44px;margin:0 0 10px;border:0;border-radius:10px;background:#3d3d3d;color:#fff;font-weight:700;cursor:pointer}
.ancud-voice__stop{width:100%;min-height:46px;margin:0 0 10px;border:2px solid #d94b3d;border-radius:10px;background:#fff;color:#b62f24;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:700;cursor:pointer;transition:background .18s,color .18s,transform .18s}
.ancud-voice__stop:hover{background:#fff1ef;color:#8d2119}
.ancud-voice__stop:active{transform:scale(.99)}
.ancud-voice__stop span{width:14px;height:14px;border-radius:2px;background:currentColor}
.ancud-voice__stop[hidden]{display:none!important}
