/* Atlas v6.13.8 — Voice Search */
.atlas-search-field,
.a18-home-search,
.a18-results-form{
  position:relative!important;
}

.atlas-voice-button{
  position:relative!important;
  flex:0 0 auto!important;
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:0!important;
  border-radius:13px!important;
  background:transparent!important;
  color:#8c9099!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:background .16s ease,color .16s ease,transform .16s ease!important;
  -webkit-tap-highlight-color:transparent!important;
}

.atlas-voice-button svg{
  position:relative!important;
  z-index:2!important;
  width:20px!important;
  height:20px!important;
}

.atlas-voice-button:hover{
  background:#f0f0ee!important;
  color:#2c2e35!important;
}

.atlas-voice-button:active{
  transform:scale(.96)!important;
}

.atlas-voice-button:focus-visible{
  outline:0!important;
  box-shadow:0 0 0 4px rgba(91,92,226,.10)!important;
}

.atlas-voice-button .atlas-voice-pulse{
  position:absolute!important;
  inset:6px!important;
  z-index:1!important;
  border-radius:10px!important;
  background:rgba(97,83,211,.10)!important;
  opacity:0!important;
  transform:scale(.72)!important;
  pointer-events:none!important;
}

.atlas-voice-button.is-listening{
  background:#f0edff!important;
  color:#6554d2!important;
}

.atlas-voice-button.is-listening .atlas-voice-pulse{
  opacity:1!important;
  animation:atlasVoicePulse 1.15s ease-out infinite!important;
}

@keyframes atlasVoicePulse{
  0%{transform:scale(.72);opacity:.62}
  72%{transform:scale(1.35);opacity:.08}
  100%{transform:scale(1.46);opacity:0}
}

.atlas-voice-button.is-unsupported{
  opacity:.48!important;
}

.atlas-voice-input-listening{
  caret-color:#6654d2!important;
}

.atlas-home-search .atlas-voice-button{
  width:48px!important;
  height:48px!important;
  border-radius:16px!important;
}

.atlas-home-search .atlas-voice-button svg{
  width:22px!important;
  height:22px!important;
}

.atlas-results-form .atlas-voice-button{
  width:36px!important;
  height:36px!important;
  border-radius:10px!important;
}

.atlas-results-form .atlas-voice-button svg{
  width:18px!important;
  height:18px!important;
}

/* Floating listening/status pill. */
.atlas-voice-toast{
  position:fixed!important;
  left:50%!important;
  bottom:26px!important;
  z-index:12000!important;
  width:min(430px,calc(100vw - 28px))!important;
  min-height:58px!important;
  padding:10px 14px!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  align-items:center!important;
  gap:11px!important;
  border:1px solid rgba(224,224,231,.94)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 22px 70px rgba(31,32,45,.16)!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
  color:#383a48!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  opacity:0!important;
  transform:translate(-50%,14px) scale(.985)!important;
  transition:opacity .18s ease,transform .18s ease!important;
  pointer-events:none!important;
}

.atlas-voice-toast.is-visible{
  opacity:1!important;
  transform:translate(-50%,0) scale(1)!important;
}

.atlas-voice-toast-icon{
  width:38px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:12px!important;
  background:#f0edff!important;
  color:#6555d1!important;
}

.atlas-voice-toast-icon svg{
  width:18px!important;
  height:18px!important;
}

.atlas-voice-toast>div{
  min-width:0!important;
  display:grid!important;
  gap:2px!important;
}

.atlas-voice-toast b{
  margin:0!important;
  color:#343643!important;
  font-size:10px!important;
  font-weight:720!important;
}

.atlas-voice-toast div>span{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#898d98!important;
  font-size:8.5px!important;
}

.atlas-voice-toast.is-listening .atlas-voice-toast-icon{
  position:relative!important;
  background:#eeeaff!important;
  color:#6554d2!important;
}

.atlas-voice-toast.is-listening .atlas-voice-toast-icon::after{
  content:""!important;
  position:absolute!important;
  inset:-4px!important;
  border:1px solid rgba(101,84,210,.22)!important;
  border-radius:15px!important;
  animation:atlasVoiceToastRing 1.25s ease-out infinite!important;
}

@keyframes atlasVoiceToastRing{
  0%{transform:scale(.82);opacity:.8}
  100%{transform:scale(1.28);opacity:0}
}

.atlas-voice-toast.is-success .atlas-voice-toast-icon{
  background:#edf8f2!important;
  color:#31865c!important;
}

.atlas-voice-toast.is-error .atlas-voice-toast-icon{
  background:#fff0f0!important;
  color:#bb4d54!important;
}

@media(max-width:680px){
  .atlas-home-search .atlas-voice-button{
    width:42px!important;
    height:42px!important;
    border-radius:13px!important;
  }

  .atlas-home-search .atlas-voice-button svg{
    width:20px!important;
    height:20px!important;
  }

  .atlas-results-form .atlas-voice-button{
    width:34px!important;
    height:34px!important;
  }

  .atlas-voice-toast{
    bottom:18px!important;
    min-height:54px!important;
    border-radius:15px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .atlas-voice-button .atlas-voice-pulse,
  .atlas-voice-toast.is-listening .atlas-voice-toast-icon::after{
    animation:none!important;
  }
}


/* v6.19.12: current A18 search markup */
.a18-home-search .atlas-voice-button{width:42px!important;height:42px!important;border-radius:13px!important}
.a18-results-form .atlas-voice-button{width:34px!important;height:34px!important;border-radius:10px!important}
.atlas-voice-button.is-listening::after{content:"";position:absolute;inset:5px;border-radius:inherit;background:rgba(101,84,210,.10);animation:atlasVoicePulse 1.15s ease-out infinite;pointer-events:none}
.atlas-voice-button.is-listening svg{z-index:3!important}
@media(prefers-reduced-motion:reduce){.atlas-voice-button.is-listening::after{animation:none!important}}
