/* Greenways agent voice — shared mic (STT) + read-aloud (TTS). Web Speech API. */
.gw-voice-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text, #e8edf8);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gw-voice-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}
.gw-voice-btn.is-active {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(248, 113, 113, 0.55);
  color: #fecaca;
}
.gw-voice-btn.is-speaking {
  background: rgba(40, 167, 69, 0.22);
  border-color: rgba(74, 222, 128, 0.45);
}
.gw-voice-btn.is-on {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(96, 165, 250, 0.55);
  color: #dbeafe;
}
.gw-voice-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.compose-row .gw-voice-btn {
  align-self: flex-end;
}
