.voice-dictation-actions{
  display:inline-flex;
  align-items:stretch;
  gap:10px;
  max-width:100%;
  vertical-align:middle;
}
.voice-dictation-actions > button:first-child{
  flex:1 1 auto;
  width:auto!important;
  margin-top:0!important;
}
.voice-dictation-button{
  width:48px;
  min-width:48px;
  height:48px;
  min-height:48px;
  padding:0;
  border:1px solid var(--oms-border-strong, #b8c9dc);
  border-radius:13px;
  background:var(--oms-surface, #fff);
  color:var(--oms-primary, #123f70);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  cursor:pointer;
  box-shadow:0 5px 14px rgba(20,58,95,.08);
  transition:background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.voice-dictation-button:hover:not(:disabled){
  border-color:var(--oms-primary, #123f70);
  transform:translateY(-1px);
}
.voice-dictation-button svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
.voice-dictation-button.is-recording{
  color:#fff;
  background:#d92d20;
  border-color:#d92d20;
  box-shadow:0 0 0 5px rgba(217,45,32,.16), 0 8px 18px rgba(145,28,20,.24);
  animation:voice-dictation-pulse 1.35s ease-in-out infinite;
}
.voice-dictation-button.is-transcribing{
  color:#fff;
  background:var(--oms-primary, #123f70);
  border-color:var(--oms-primary, #123f70);
  cursor:wait;
  opacity:.78;
}
.voice-dictation-button:disabled{
  cursor:wait;
  opacity:.62;
}
.ai-inline-actions > .voice-dictation-actions{
  margin-right:auto;
}
.ai-inline-actions .voice-dictation-actions .ai-improve-btn{
  margin-right:0!important;
}
.mobile-add-note-card > .voice-dictation-actions,
.mobile-notes-card > .voice-dictation-actions,
.driver2-service-add > .voice-dictation-actions{
  display:flex;
  width:100%;
}
.driver2-service-add > .voice-dictation-actions{
  margin-top:12px;
}
.mobile-add-note-card .voice-dictation-actions .mobile-btn,
.mobile-notes-card .voice-dictation-actions .mobile-btn,
.driver2-service-add .voice-dictation-actions .driver2-button{
  width:auto!important;
  margin-top:0!important;
}
@keyframes voice-dictation-pulse{
  0%,100%{box-shadow:0 0 0 4px rgba(217,45,32,.14), 0 8px 18px rgba(145,28,20,.2)}
  50%{box-shadow:0 0 0 8px rgba(217,45,32,.08), 0 8px 22px rgba(145,28,20,.3)}
}
@media(max-width:720px){
  .voice-dictation-actions{
    display:flex;
    width:100%;
  }
  .voice-dictation-button{
    width:var(--rh-mobile-action-height,52px);
    min-width:var(--rh-mobile-action-height,52px);
    height:auto;
    min-height:var(--rh-mobile-action-height,52px);
    align-self:stretch;
    border-radius:var(--rh-mobile-action-radius,17px);
  }
}
@media(prefers-reduced-motion:reduce){
  .voice-dictation-button{
    transition:none;
  }
  .voice-dictation-button.is-recording{
    animation:none;
  }
}
