/* Keep the lab shortcut above the mobile quick actions, including iOS safe areas. */
.ask-aerem {
  position: fixed;
  z-index: 190;
  right: max(1rem, calc(env(safe-area-inset-right, 0px) + .75rem));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-block-size: 46px;
  padding: .55rem .9rem;
  border: 1px solid #58b9b0;
  border-radius: 999px;
  background: #106367;
  color: #fff;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 5px 20px #071a3540;
}
.ask-aerem:hover { background: #0b5054; color: #fff; }
.ask-aerem:focus-visible { outline: 3px solid #286197; outline-offset: 3px; }
.ask-aerem svg { flex: none; }
.page-enquiry:has(#lab-assistant:target) .ask-aerem { display: none; }
@media (max-width: 760px) {
  .ask-aerem {
    bottom: calc(max(78px, 4.875rem) + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-height: 340px) {
  .ask-aerem { position: relative; right: auto; bottom: auto; margin: .5rem 1rem; }
}
@media print { .ask-aerem { display: none; } }
