.voice-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:6px 0 12px;max-width:100%}.voice-controls button{display:inline-flex;align-items:center;gap:6px;font-size:12px;min-height:32px;padding:5px 10px}.voice-hint{font-size:12px;color:var(--muted,#b2becb);line-height:1.5}.voice-controls .voice-hint{flex-basis:100%}#voice-panel{position:fixed;z-index:80;right:20px;bottom:16px;width:min(440px,calc(100vw - 32px));max-height:70dvh;overflow-y:auto;padding:16px;border:1px solid var(--line,#384654);border-radius:10px;background:var(--panel,#18232f);color:var(--text,#edf1f5);box-sizing:border-box}#voice-panel p{margin:10px 0}#voice-panel textarea{width:100%;min-height:110px;box-sizing:border-box}.voice-head,.voice-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.voice-actions button{font-size:13px}.voice-head strong{font-size:15px}#voice-panel button:focus-visible,.voice-controls button:focus-visible{outline:2px solid var(--accent,#aacbff);outline-offset:2px}#voice-panel [hidden]{display:none}html[data-theme=light] #voice-panel{background:#fff;color:#172230}html[data-theme=light] .voice-hint{color:#4c5e70}@media(max-width:799px){#voice-panel{right:8px;bottom:8px;width:calc(100vw - 16px);max-height:60dvh;padding:12px}.voice-controls button,.voice-actions button,.voice-head button{min-height:44px}.voice-controls{gap:8px}}
:host .voice-hint{color:#48576b}
/* CR169 : mêmes commandes compactes pour chaque champ rédactionnel. */
.voice-controls.voice-compact{justify-content:flex-end;gap:3px;margin:4px 0 10px}
.voice-controls.voice-compact button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;min-width:32px;min-height:32px;padding:5px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted,#b2becb)}
.voice-controls.voice-compact button:hover{background:var(--soft,#283746);color:var(--text,#edf1f5)}
.voice-send-mark{position:absolute;right:0;bottom:1px;background:var(--field,#121820);border-radius:3px}
textarea.voice-input{font-weight:400;line-height:1.55;border-radius:10px}
.text-composer{box-sizing:border-box;border:1px solid var(--line,#384654);border-radius:12px;background:var(--field,#121820);padding:10px;min-width:0;margin:12px 0 8px}
.text-composer .text-composer-field>label{display:block;font-size:12px;color:var(--muted,#b2becb);margin:0 3px 6px;font-weight:400}
.text-composer .text-composer-field>textarea{box-sizing:border-box;display:block;width:100%;min-height:90px;max-height:280px;margin:0;padding:5px 3px 8px;border:0;border-radius:4px;background:transparent;font-family:inherit;font-size:inherit;font-weight:400;line-height:1.55;resize:vertical}
.text-composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;flex-wrap:wrap}
.text-composer-toolbar .voice-controls{margin:0;justify-content:flex-start}
.text-composer .composer-submit{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:5px 10px;font-size:12px;border-radius:7px}
.text-composer .composer-hint{font-size:11px;line-height:1.45;margin:7px 3px 1px;color:var(--muted,#b2becb)}
.text-composer textarea:focus-visible{outline:2px solid var(--accent,#aacbff);outline-offset:2px}
@media(max-width:799px),(pointer:coarse){.voice-controls.voice-compact button,.text-composer .composer-submit{min-height:44px}.voice-controls.voice-compact button{width:38px;min-width:38px}}
:host .voice-controls.voice-compact button{color:var(--muted,#48576b)}
