/* Scoped to SkinGPT chat; also loaded inside the storefront's shadow root. */
.sgpt-voice[hidden]{display:none}
.sgpt-voice{flex-shrink:0;border-top:1px solid var(--line,#d9dde1);padding:8px 12px;color:var(--ink,#202329);background:#fff;font-size:12px;line-height:1.4}
.sgpt-voice-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.sgpt-voice button,.sgpt-voice select,.sgpt-read{font:inherit;color:inherit;background:#fff;border:1px solid #c5cbd1;border-radius:7px;padding:7px;cursor:pointer}
.sgpt-voice button{min-height:34px}.sgpt-voice button[hidden]{display:none}
.sgpt-voice label{display:flex;align-items:center;gap:4px;font-size:11px}
.sgpt-voice select{max-width:115px;font-size:11px}.sgpt-voice input{width:62px;min-width:0;margin:0;accent-color:#336e81}
.sgpt-voice output{min-width:32px;font-variant-numeric:tabular-nums}
.sgpt-voice .sgpt-output{margin-top:7px;width:fit-content}
.sgpt-voice .sgpt-output input{width:16px;height:16px;margin-right:3px}
.sgpt-voice .sgpt-player{display:block;width:100%;height:34px;margin-top:7px}
.sgpt-voice .sgpt-player[hidden]{display:none}
.sgpt-voice-status{margin:6px 0 0;font-size:11px;color:#535b64;line-height:1.4}
.sgpt-read{display:block;width:fit-content;margin-top:7px;font-size:11px;padding:4px 8px}
.sgpt-voice button:focus-visible,.sgpt-voice select:focus-visible,.sgpt-voice input:focus-visible,.sgpt-read:focus-visible{outline:3px solid #336e81;outline-offset:2px}
.sgpt-voice button:disabled{opacity:.5;cursor:wait}
.chat-panel .chat-log{min-height:60px}.chat-panel .chat-form textarea{min-width:0}
@media(max-width:400px){.sgpt-voice-tools{gap:5px}.sgpt-voice select{max-width:100px}}
/* The way into voice: a microphone between the question box and Send (skingpt-voice.js) */
.chat-form .sgpt-mic{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border:1px solid #c5cbd1;border-radius:8px;background:#fff;color:#202329;cursor:pointer}
.chat-form .sgpt-mic[aria-pressed=true]{background:#202329;color:#fff;border-color:#202329}
.chat-form .sgpt-mic[data-state=hearing]{background:#216476;border-color:#216476}
.chat-form .sgpt-mic:disabled{opacity:.5;cursor:wait}
.chat-form .sgpt-mic:focus-visible{outline:3px solid #336e81;outline-offset:2px}
/* Phones and tablets. Under 16px iOS Safari zooms the page into the box being typed in, pushing Send off the
   screen; and 100vh there is the screen without the browser's bars, so the full chat's foot sat under them */
@media(max-width:800px),(pointer:coarse){.chat-panel .chat-form textarea{font-size:16px}}
@media(max-width:800px){.chat-panel:not(.is-peek){height:calc(100dvh - 16px)}.chat-panel .chat-log{overscroll-behavior:contain}}
