/* Voice questions for Spectra (20 Nov 2026, spectra-voice.js): the mic button next to Send, and its one-line status. */
.svo-mic{flex:none;display:inline-grid;place-items:center;width:29px;height:29px;margin:0;padding:0;border:1px solid var(--border,#d9dde3);border-radius:7px;background:var(--surface,#fff);color:var(--text,#242829);cursor:pointer}
.svo-mic:hover{background:var(--hover,#f1f3f6)}
.svo-mic:focus-visible{outline:2px solid #2189c9;outline-offset:2px}
.svo-mic[data-state="rec"]{background:#c0392b;border-color:#c0392b;color:#fff;animation:svo-pulse 1.4s ease-in-out infinite}
.svo-mic[data-state="busy"]{cursor:default}
.svo-mic.svo-small{width:28px;height:28px;border-radius:8px}
.svo-spin{width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:svo-turn .8s linear infinite}
.svo-tip{flex:1 1 100%;order:9;margin:4px 2px 0;font-size:12px;line-height:1.4;color:var(--muted,#5b6270)}
.svo-tip.svo-err{color:#c0392b}
@keyframes svo-pulse{0%,100%{box-shadow:0 0 0 0 #c0392b55}50%{box-shadow:0 0 0 5px #c0392b00}}
@keyframes svo-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.svo-mic[data-state="rec"],.svo-spin{animation:none}}
:root[data-theme="dark"] .svo-mic:not([data-state="rec"]){background:#1f232a;border-color:#3a3f48;color:#e6e8eb}
:root[data-theme="dark"] .svo-tip.svo-err{color:#f08a7e}
@media(pointer:coarse){.svo-mic{width:36px;height:36px}}
/* the side panel's box: the status line goes under the text box and the buttons */
.prail-composer{flex-wrap:wrap}
.prail-composer .svo-tip{margin:2px 0 0}
/* the main Spectra box is a grid: its status line sits just under the box, lined up with it */
#composer + .svo-tip{display:block;box-sizing:border-box;width:100%;max-width:720px;margin:6px auto 0;padding:0 14px;text-align:left}
#composer + .svo-tip[hidden]{display:none}
