/* Voice notes — warm paper, quiet ink, generous touch targets. */
:root .row .bubble.voice-message{background:#f4ece1;color:#59483c;border-color:#aa80652b}
:root .row .bubble.voice-message .vb-transcript{background:transparent;color:inherit;border-color:#aa80652b}
:root .row .bubble.voice-message .vb-transcript-toggle{color:#806550}
:root[data-night="true"] .row .bubble.voice-message{background:#30231b;color:#eadccb;border-color:#d0a07530}
:root[data-night="true"] .row .bubble.voice-message .vb-transcript-toggle{color:#c5aa8c}
.voice-bar{position:relative;min-width:min(140px,45vw);max-width:min(210px,60vw);padding:4px 10px 4px 4px;gap:7px;border:1px solid #aa80652b;border-radius:18px;background:#f4ece1;color:#94694c;box-shadow:0 3px 9px #62452b08;touch-action:manipulation}
:root[data-night="true"] .voice-bar{background:#30231b;border-color:#d0a07530;color:#e0ad77}
.voice-bar .vb-btn{width:26px;height:26px;flex-basis:26px;background:#aa775518;color:inherit}
.voice-bar .vb-btn svg{fill:currentColor;width:12px;height:12px}
.voice-bar .vb-btn:active{background:#aa775532}
.voice-bar .vb-wave{height:18px;gap:2px}
.voice-bar .vb-wave span{background:currentColor;opacity:.28;width:2px;flex-shrink:0;border-radius:2px}
.voice-bar.playing .vb-wave span{opacity:.35}
.voice-bar .vb-wave span.vb-played{opacity:1}
.voice-bar .vb-dur{font:500 10.5px/1.4 ui-monospace,monospace;color:inherit;opacity:.85;min-width:28px;text-align:right}
.voice-bar.playing{border-color:currentColor}
:root .bubble.voice-message .voice-bar{min-width:0;width:100%;max-width:100%;box-sizing:border-box;padding:0;gap:6px;border:0;border-radius:0;background:transparent;box-shadow:none}
:root .bubble.voice-message .vb-btn{background:transparent}
:root .bubble.voice-message .vb-btn:active{background:#aa775524}
.voice-bar:focus-visible,.voice-bar .vb-btn:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.vb-transcript-toggle{padding:4px 3px!important;font-size:10px!important;letter-spacing:.03em}
@media(prefers-reduced-motion:reduce){.voice-bar *{transition:none!important}}
