[data-record-dock] { min-width: 0; }
[data-record-dock] > [hidden], [data-voice-picker][hidden], .voice-picker [hidden], .record-bar[hidden] {display:none!important}
.record-info {padding:.5rem .7rem; color:var(--text); font-size:.86rem; line-height:1.4}
.voice-picker, .voice-picker-actions, [data-voice-preview]{display:flex;gap:.55rem;flex-wrap:wrap;align-items:center}
.voice-picker{flex-direction:column;align-items:stretch}
.voice-picker [data-voice-preview] audio,[data-record-listen]{width:min(100%,360px);height:40px}
[data-record-alternative],.voice-picker-actions label{position:relative;cursor:pointer}
[data-record-alternative] input,.voice-picker-actions input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.audio-delivery{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;font-size:.85rem;padding:4px 0}
.audio-delivery select{max-width:100%;min-height:34px}
.record-bar{display:flex;gap:clamp(4px,1.3vw,12px);align-items:center;padding:6px 8px;border-radius:28px;background:var(--raised);color:var(--text)}
.record-bar button{flex:0 0 40px;min-height:40px;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;font-size:23px;display:grid;place-items:center;line-height:1}
.record-bar [data-record-trash] svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.record-bar [data-record-pause]{position:relative;font-size:0}
.record-bar:not(.is-paused) [data-record-pause]::before,.record-bar:not(.is-paused) [data-record-pause]::after{content:"";position:absolute;top:11px;width:4px;height:18px;background:currentColor;border-radius:2px}
.record-bar:not(.is-paused) [data-record-pause]::before{left:14px}.record-bar:not(.is-paused) [data-record-pause]::after{right:14px}
.record-bar.is-paused [data-record-pause]::after{content:"";border-left:12px solid currentColor;border-top:8px solid transparent;border-bottom:8px solid transparent;margin-left:2px}
.record-bar button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.record-bar [data-record-send]{background:var(--mv-blue);color:var(--mv-on-action)}
.record-bar [data-record-send] svg{width:20px;height:20px;fill:currentColor;stroke:currentColor;stroke-width:1;stroke-linejoin:round}.record-bar [data-record-pause]{color:#f06069}
.record-dot{width:8px;height:8px;background:#ec5964;border-radius:50%;flex:none}.is-paused .record-dot{opacity:.4}
[data-record-clock]{font-variant-numeric:tabular-nums;min-width:2.7rem;font-size:.9rem}
[data-record-wave]{flex:1;min-width:20px;max-width:100%;height:30px;color:var(--text)}
.composer:has(.record-bar:not([hidden])) .compose-box{justify-content:flex-end;min-height:0;padding:0;border:0;background:transparent}
.composer:has(.record-bar:not([hidden])) .compose-box>:not(.voice-btn){display:none}
.composer:has(.record-bar:not([hidden])) .compose-box .voice-btn{width:auto;min-height:28px;height:auto;padding:3px 8px;border:0;border-radius:6px;font-size:0;background:transparent;color:var(--mv-soft)}
.composer:has(.record-bar:not([hidden])) .compose-box .voice-btn::after{content:"Concluir no rascunho";font-size:.76rem}
