.voiceComposer {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #dce9fc;
  border-radius: 12px;
  background: #f6f9ff;
}
.voiceStatus {
  display: block;
  font-size: 13px;
  color: #516580;
  margin-top: 8px;
}
.voiceComposer .voiceRecord {
  color: #075ee5;
}
.voiceDraft {
  margin-top: 12px;
}
.voiceDraft[hidden] {
  display: none !important;
}
.voiceComposer audio,
.voiceMessage audio {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 46px;
  margin: 8px 0;
}
.voiceActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.voiceError {
  color: #b42335;
  font-size: 14px;
  margin: 8px 0 0;
}
.voiceError:empty {
  display: none;
}
.voiceComposer button:disabled {
  opacity: 0.55;
  cursor: default;
}
.voiceMessage {
  min-width: 0;
  max-width: 100%;
  margin: 8px 0;
}
.voiceMessage span {
  font-size: 14px;
}
.voiceMessage small {
  font-size: 11px;
  color: #64748b;
}
.messageList article {
  min-width: 0;
}
.voiceActions button {
  flex: 1;
}
@media (max-width: 480px) {
  .voiceComposer {
    padding: 10px;
  }
  .voiceActions button {
    padding: 10px 8px;
    font-size: 14px;
  }
}

.voiceComposer .voiceRecord {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 11px;
  border-radius: 50%;
  background: #fff;
}
.voiceRecord svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.voiceComposer .voiceRecord.isRecording {
  color: #b42335;
  background: #fff1f2;
  border-color: #b42335;
}
.voiceRecord.isRecording svg {
  fill: currentColor;
  stroke: none;
}
