/* Voice input: the microphone at the corner of every text box, and the guide's three-mode send button. */
.c4voice-field{position:relative;display:block;width:100%}
.c4voice-field>textarea{width:100%;padding-right:58px!important;box-sizing:border-box}
.c4voice-btn{position:absolute;right:10px;bottom:10px;width:42px;height:42px;border-radius:50%;border:1px solid var(--line,#dfe5ee);background:var(--surface,#fff);color:var(--brand,#0b5cad);display:grid;place-items:center;padding:0;margin:0;cursor:pointer;box-shadow:0 1px 4px rgba(16,33,58,.10);transition:transform .15s ease,background .15s ease,color .15s ease,border-color .15s ease}
.c4voice-btn:hover{transform:translateY(-1px);border-color:var(--brand,#0b5cad)}
.c4voice-btn:focus-visible{outline:2px solid var(--brand,#0b5cad);outline-offset:2px}
.c4voice-btn svg,.c4ai-send[data-mode] svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.c4voice-btn svg rect,.c4ai-send[data-mode] svg rect{fill:currentColor;stroke:none}
.c4voice-recording .c4voice-btn,.c4voice-recording .c4ai-send{background:var(--brand,#0b5cad);color:#fff;border-color:var(--brand,#0b5cad);animation:c4voice-pulse 1.4s ease-out infinite}
.c4voice-status{margin:8px 0 0;font-size:12px;line-height:1.55;color:var(--muted,#5b6b82)}
.c4voice-status[hidden]{display:none}
.c4voice-status.c4voice-error,.c4ai-composer>p.c4voice-error{color:var(--me,#a11c1c)}
.c4ai-composer>p{transition:color .15s ease}
@keyframes c4voice-pulse{0%{box-shadow:0 0 0 0 rgba(11,92,173,.45)}100%{box-shadow:0 0 0 14px rgba(11,92,173,0)}}
@media(prefers-reduced-motion:reduce){.c4voice-recording .c4voice-btn,.c4voice-recording .c4ai-send{animation:none}}
@media(max-width:700px){.c4voice-btn{width:44px;height:44px;right:8px;bottom:8px}}

/* Inside a React-owned form: the box keeps its place; the button sits at its corner by measurement. */
.c4voice-host{position:relative}
.c4voice-host>.c4voice-ta{padding-right:58px!important;box-sizing:border-box}
.c4voice-host>.c4voice-btn{position:absolute;right:10px;z-index:2}
