.ax-enquiry-launcher {
  position: fixed;
  z-index: 35;
  right: calc(16px + env(safe-area-inset-right, 0px));
  /* A page with bottom navigation can set --ax-sticky-footer-height on its body. */
  bottom: calc(28px + env(safe-area-inset-bottom, 0px) + var(--ax-sticky-footer-height, 0px));
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #075e54;
  color: #fff;
  box-shadow: 0 3px 12px rgb(16 24 40 / 22%);
  font: 600 14px/1 system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.ax-enquiry-launcher svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: inherit;
}

@media (hover: hover) and (pointer: fine) {
  .ax-enquiry-launcher:hover {
    background: #064c44;
    color: #fff;
    transform: translateY(-2px);
  }
}

.ax-enquiry-launcher:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #075e54;
}

.ax-enquiry-launcher:disabled {
  opacity: .75;
}

html.sh-locked .ax-enquiry-launcher,
body:has(.connection-toast.visible) .ax-enquiry-launcher {
  visibility: hidden;
}

@media (max-width: 960px) {
  body:has(.ck) .ax-enquiry-launcher {
    visibility: hidden;
  }
}

@media (max-width: 640px) {
  .ax-enquiry-launcher {
    width: 56px;
    height: 56px;
    padding: 0;
  }

  .ax-enquiry-launcher svg {
    width: 26px;
    height: 26px;
  }

  .ax-enquiry-launcher span {
    display: none;
  }

  body:has(main form :is(input, textarea, select):focus) .ax-enquiry-launcher {
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-enquiry-launcher {
    transition: none;
  }

  .ax-enquiry-launcher:hover {
    transform: none;
  }
}
