/* Focus-only voice input. Unique class names isolate this from older site/editor CSS. */
.ap-voice-field { display: block; position: relative; min-width: 0; width: 100%; }
.ap-voice-field > textarea { display: block; width: 100%; min-width: 0; box-sizing: border-box; padding-bottom: 76px !important; }
.ap-voice-toolbar {
  position: absolute;
  inset: auto 11px 10px 13px;
  min-height: 44px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.ap-voice-toolbar[hidden], .ap-voice-button[hidden] { display: none !important; }
.ap-voice-hint {
  flex: 1;
  min-width: 0;
  color: #75636c;
  font: 12px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
}
.ap-voice-hint:empty { display: none; }
.ap-voice-button {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid #e9d4dd;
  border-radius: 50%;
  color: #87244c;
  background: #f9edf2;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transform: none;
}
.ap-voice-button:hover { background: #f2dce6; color: #641a38; transform: none; }
.ap-voice-button:focus-visible { outline: 3px solid #87244c; outline-offset: 3px; }
.ap-voice-button svg { display: block; width: 20px; height: 20px; margin: 0; pointer-events: none; }
.ap-voice-button[aria-pressed="true"] { background: #87244c; color: #fff; border-color: #87244c; }
.ap-voice-button[aria-pressed="true"]:hover { background: #641a38; }
.ap-voice-button:disabled { opacity: .55; cursor: wait; }
@media (forced-colors: active) { .ap-voice-button { border: 1px solid ButtonText; } }
