.smx-voice-page {
  box-sizing: border-box;
  grid-column: 1 / -1;
  width: 100%;
  max-width: 570px;
}

.smx-voice {
  min-width: 0;
  color: var(--bx-text, #dbe7ff);
}

.smx-voice .smx-voice-note {
  margin: 4px 0 9px;
  color: var(--bx-sub, #aebed9);
  font-size: 12px;
  line-height: 1.4;
}

.smx-voice .smx-voice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 8px;
  align-items: center;
  margin: 0;
  padding: 6px 0;
  border-top: 1px solid var(--bx-card-line, #314360);
}

.smx-voice-status {
  color: var(--bx-sub, #aebed9);
  font-size: 11.5px;
  grid-column: 1 / -1;
}

.smx-voice .smx-voice-input {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  height: 34px;
  padding: 4px 8px;
}

.smx-voice .smx-voice-button {
  min-height: 34px;
  white-space: nowrap;
}

.smx-voice .smx-voice-button:disabled {
  cursor: default;
  opacity: .55;
}

.smx-voice .smx-voice-button[hidden] {
  display: none;
}

.smx-voice-status:not(:empty) {
  margin-top: 3px;
}

.smx-voice .smx-voice-error {
  color: var(--bx-danger-text, #ffb1b7);
}

