.word-microphone{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 18px;border:1px solid #d8af60;border-radius:6px;background:#241b11;color:#fff2d5;font:600 16px/1.3 system-ui,sans-serif;cursor:pointer;text-decoration:none;max-width:100%}
.word-microphone svg{width:22px;height:22px;flex-shrink:0}.word-microphone:hover{background:#3a2b18}.word-microphone:focus-visible{outline:3px solid #fff2d5;outline-offset:4px}.word-microphone:disabled{opacity:.65;cursor:default}.word-microphone[data-mic-state=listening]{background:#39261a;border-color:#ffd47a;box-shadow:0 0 0 2px #ffd47a55}.word-microphone[data-mic-state=starting]{border-style:dashed}.mic-entry-tools{margin:14px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:12px}.mic-entry-tools .word-microphone{flex-shrink:0}.microphone-status{font-size:16px;line-height:1.5;color:#ead9b7;max-width:52ch;margin:10px 0}.microphone-status:empty{display:none}
@media(max-width:620px){.mic-entry-tools .word-microphone{width:100%}}

/* Entry surfaces keep the voice toggle inside the editable word field. */
.word-input-wrap{position:relative;display:block;min-width:0;flex:1 1 180px;width:100%}
.word-input-wrap input,.word-entry .word-input-wrap input,.entry-input-row .word-input-wrap input{width:100%;padding-right:58px;margin-bottom:0}
.word-input-wrap .word-microphone,.entry-input-row .word-input-wrap .word-microphone{position:absolute;right:7px;top:7px;display:inline-flex;align-items:center;justify-content:center;gap:0;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px solid transparent;border-radius:5px;background:transparent;color:#d8af60;box-shadow:none;cursor:pointer}
.word-input-wrap .word-microphone svg{width:22px;height:22px}
.word-input-wrap .word-microphone [data-mic-label]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.word-input-wrap .word-microphone:hover{background:#d8af601a}
.word-input-wrap .word-microphone:focus-visible{outline:2px solid #fff2d5;outline-offset:1px}
.word-input-wrap .word-microphone[data-mic-state=listening]{background:#d8af6022;border-color:#ffd47a;color:#fff2d5}
.word-input-wrap .word-microphone[data-mic-state=starting],.word-input-wrap .word-microphone[data-mic-state=queued]{border-color:#d8af60;border-style:dashed}
.word-input-wrap .word-microphone[data-mic-state=off]{color:#a99d87;opacity:.8}
.word-input-wrap .word-microphone[data-mic-state=off] svg{opacity:.65}
.word-input-wrap .word-microphone:disabled{cursor:default}
@media(max-width:900px){.entry-input-row .word-input-wrap{flex-basis:100%}}
@media(max-width:620px){.entry-input-row .word-input-wrap{margin-bottom:12px}}
.word-input-wrap .word-microphone[data-mic-state=armed]{border:1px dashed #d8af60;background:#d8af6014}
.word-input-wrap .word-microphone[data-mic-state=idle]{color:#a99d87}
.word-input-wrap .word-microphone[data-mic-state=idle]::after{content:"";position:absolute;width:25px;height:2px;background:currentColor;transform:rotate(-45deg);box-shadow:0 1px 0 #17140f}
