/* Spoken replies dock (speech.js): Echo's voice status, mute, spoken-turn counter, the explicit
   "Device voice (not Echo's)" toggle, conversation mode and the autoplay / resume chips.
   Uses the composer palette; it does not restyle the orb, voice bar, ESH or Creative Studio. */
.speech-dock{display:grid;gap:6px;padding:10px 12px;border:1px solid #2f5a49;border-radius:10px;background:#0d1d19cc;font-size:11px;color:#a9c9b9}
.speech-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.speech-voice{display:inline-flex;align-items:center;min-height:26px;padding:3px 10px;border:1px solid #2f5a49;border-radius:999px;background:#10241d;color:#9fd9bd;font-size:10px;letter-spacing:.2px;max-width:100%;overflow-wrap:anywhere}
.speech-voice.unavailable{border-color:#7a5a3a;color:#e6c08a;background:#241a10}
.speech-dock .speech-button,.speech-actions .quiet-button{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border:1px solid #486a57;border-radius:7px;background:#183126;color:#cff0df;font-size:11px;white-space:normal;text-align:left}
.speech-dock .speech-button:hover,.speech-actions .quiet-button:hover{border-color:#7ed7ae}
.speech-dock .speech-button[aria-pressed=true],.speech-dock .speech-button[role=switch][aria-checked=true],.speech-actions .quiet-button[aria-pressed=true]{background:#1f4a39;border-color:#7ed7ae;color:#eafff5}
.speech-dock .speech-chip{min-height:32px;padding:6px 14px;border-radius:999px;border:1px solid #7ed7ae;background:linear-gradient(120deg,#1f4a39,#163b2f);color:#eafff5;font-weight:600;box-shadow:0 0 18px #64e5af33;animation:speech-pulse 1.6s ease-in-out infinite}
@keyframes speech-pulse{0%,100%{box-shadow:0 0 10px #64e5af22}50%{box-shadow:0 0 22px #64e5af55}}
.speech-count{color:#7fa593;font-size:10px;margin-left:auto;white-space:nowrap}
.speech-dock .check{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#bfe0cf}
.speech-dock .check input{width:16px;height:16px;accent-color:#a7f5dd}
.speech-status{display:block;font-size:10px;line-height:1.5;color:#8fb5a2;overflow-wrap:anywhere}
.speech-status:empty{display:none}
.speech-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
@media(prefers-reduced-motion:reduce){.speech-dock .speech-chip{animation:none}}
@media(max-width:800px){
 .speech-dock .speech-button,.speech-actions .quiet-button{min-height:40px}
 .speech-count{margin-left:0}
}
