.voice-reply-panel { box-sizing:border-box; padding:20px; margin:18px 0; min-width:0; border:1px solid var(--app-line,#dfe6ef); border-radius:14px; background:var(--app-panel,#fff); color:var(--app-ink,#1c2d47); font:400 13px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.voice-reply-panel[hidden],.voice-reply-panel [hidden] { display:none !important; }
.voice-reply-heading { display:flex; align-items:center; gap:11px; margin-bottom:18px; }
.voice-reply-icon { display:grid; place-items:center; width:40px; height:40px; flex:none; border-radius:12px; color:var(--app-blue,#1957d7); background:var(--app-tint,#edf3ff); }
.voice-reply-panel svg { width:20px; height:20px; flex:none; }
.voice-reply-panel h3 { font-size:16px; line-height:1.4; letter-spacing:-.025em; margin:0; font-weight:600; }
.voice-reply-panel .voice-reply-heading p { margin:2px 0 0; font-size:11px; color:var(--app-muted,#65768d); }
.voice-reply-panel .voice-reply-close { display:grid; place-items:center; margin-left:auto; width:40px; min-height:40px; flex:none; border:0; border-radius:8px; padding:0; background:var(--app-soft,#f1f4fa); color:var(--app-muted,#65768d); font-size:24px; cursor:pointer; }
.voice-reply-studio { padding:18px 14px 12px; border-radius:11px; background:var(--app-soft,#f3f6fb); border:1px solid var(--app-line,#e3e9f1); }
.voice-reply-studio canvas { display:block; width:100%; height:72px; }
.voice-reply-clock { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; font-size:11px; color:var(--app-muted,#65768d); }
.voice-reply-time { font-size:17px; color:var(--app-ink,#26364e); font-weight:550; font-variant-numeric:tabular-nums; white-space:nowrap; }
.voice-reply-time small { color:var(--app-muted,#65768d); font-weight:400; font-size:11px; }
.voice-reply-panel[data-voice-phase=recording] .voice-reply-state::before { content:''; display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:#d63d4e; }
.voice-reply-language { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin:14px 0; font-size:11px; color:var(--app-muted,#65768d); }
.voice-reply-panel .voice-reply-language select { box-sizing:border-box; width:auto; max-width:100%; min-width:0; min-height:40px; border:1px solid var(--app-line,#dfe6ef); border-radius:8px; padding:7px 9px; background:var(--app-panel,#fff); color:var(--app-ink,#26364e); font:inherit; }
.voice-reply-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.voice-reply-panel .voice-reply-actions button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 13px; border:1px solid var(--app-line,#dfe6ef); border-radius:8px; background:var(--app-panel,#fff); color:var(--app-ink,#26364e); font:550 12px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; }
.voice-reply-panel .voice-reply-actions :is([data-voice=start],[data-voice=send]) { background:#1957d7; border-color:#1957d7; color:#fff; }
.voice-reply-panel .voice-reply-actions [data-voice=stop] { color:#b42339; border-color:#f1c7ce; }
.voice-reply-panel .voice-reply-actions button:disabled { cursor:default; opacity:.6; }
.voice-reply-panel .voice-reply-status,.voice-reply-panel .voice-reply-storage { margin:12px 0 0; font-size:11px; color:var(--app-muted,#65768d); line-height:1.7; }
.voice-reply-panel .voice-reply-status.error { color:#b42339; }
.voice-reply-panel .voice-reply-storage { padding:9px; background:var(--app-soft,#f3f6fb); border-radius:7px; }
.voice-reply-panel .voice-reply-listen { margin:16px 0 7px; color:var(--app-muted,#65768d); font-size:11px; }
.voice-reply-panel audio { display:block; width:100%; max-width:100%; height:44px; margin:0 0 12px; }
.voice-reply-panel .voice-reply-download { font-size:11px; color:var(--app-blue,#1957d7); text-decoration:none; padding:10px 0; }
.voice-reply-transcript { border-top:1px solid var(--app-line,#e3e9f1); padding-top:16px; margin-top:16px; }
.voice-reply-transcript h4 { font-size:12px; margin:0 0 7px; font-weight:600; }
.voice-reply-transcript p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; line-height:1.75; }
.voice-reply-panel :is(button,a,select):focus-visible { outline:2px solid #1957d7; outline-offset:3px; }
@media(max-width:480px){.voice-reply-panel{padding:16px}.voice-reply-heading{gap:8px}.voice-reply-icon{width:34px;height:34px}.voice-reply-panel h3{font-size:15px}.voice-reply-panel .voice-reply-heading p{font-size:10px}}
.inline-media-reply [data-video-clock] canvas { display:none; }
.inline-media-reply [data-video-clock] { margin-top:12px; padding:10px 12px; }
.inline-media-reply [data-video-clock] .voice-reply-clock { margin:0; }
.inline-media-reply .reply-capture-preview { display:block; width:100%; aspect-ratio:16/9; object-fit:contain; border-radius:9px; background:#101827; }
.inline-media-reply .reply-microphone-option { display:flex; align-items:center; gap:8px; margin:12px 0; color:#526785; font-size:12px; }
.inline-media-reply .reply-microphone-option input { width:16px; height:16px; min-height:0; margin:0; accent-color:#1957d7; }
.inline-media-reply .reply-camera-hint { margin-left:auto; color:var(--app-muted,#65768d); font-size:10px; }
.inline-media-reply video[data-reply-playback] { display:block; width:100%; height:auto; max-height:280px; aspect-ratio:16/9; object-fit:contain; border-radius:9px; background:#101827; margin-bottom:12px; }

.voice-reply-panel .reply-author { margin:0 0 13px; font-size:11px; color:#5c7191; overflow-wrap:anywhere; }
