/* The established voice session is kept in the same DOM. Only its scrolled /
   internal-page presentation changes; the opening homepage artwork is untouched. */
body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) {
  --voice-art-width: 56px;
  --voice-art-height: 60px;
  position: fixed !important;
  inset: auto !important;
  left: auto !important;
  right: max(18px, env(safe-area-inset-right)) !important;
  bottom: max(18px, env(safe-area-inset-bottom)) !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 8px 10px !important;
  width: 308px !important;
  max-width: calc(100vw - 28px) !important;
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
  padding: 12px !important;
  border: 1px solid #024b5b24 !important;
  border-radius: 22px !important;
  background: #fffdf7f5 !important;
  box-shadow: 0 8px 30px #024b5b19 !important;
  backdrop-filter: blur(16px);
  text-align: left;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57))::after {
  content: none !important;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) #ask-launcher {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  margin: 0 !important;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-visible-actions {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-visible-actions button {
  min-width: 0 !important;
  min-height: 38px;
  margin: 0;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.35;
  white-space: normal;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-visible-actions .voice-stop {
  flex: 1 1 112px;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-visible-actions .voice-intro-toggle {
  flex: 1 1 100%;
  min-height: 32px;
  padding-block: 5px;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-captions {
  grid-column: 1 / -1;
  width: 100%;
  max-height: 100px;
  margin: 0;
  padding: 8px 2px 0;
  border-top: 1px solid #024b5b16;
  text-align: left;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-caption {
  padding: 2px 0 6px;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-caption p {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-caption > span {
  margin-bottom: 3px;
  font-size: 10px;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-hero-status {
  grid-column: 1 / -1;
  min-height: 0;
  max-width: 100%;
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
  overflow-wrap: anywhere;
}

body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57))[data-voice-help=true] .voice-compact {
  grid-column: 1 / -1;
  width: 100% !important;
  max-height: 180px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 12px;
  border-radius: 14px;
}

@media (max-width: 600px) {
  body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) {
    --voice-art-width: 48px;
    --voice-art-height: 54px;
    grid-template-columns: 48px minmax(0, 1fr);
    width: 296px !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    padding: 10px !important;
    gap: 7px 8px !important;
    border-radius: 19px !important;
  }

  body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-visible-actions button {
    min-height: 40px;
  }

  body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-visible-actions .voice-intro-toggle {
    min-height: 36px;
  }

  body .ask-dock.ask-nav-control.ask-floating56.voice-sculpture65:is(.is-away, :not(.ask-hero57)) .voice-captions {
    max-height: 84px;
  }
}
