#jlt-chatbot-root {
  left: auto;
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(8px + env(safe-area-inset-bottom));
}
#jlt-chatbot-root button.jlt-chat-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}
#jlt-chatbot-root .jlt-chat-toggle > span { display: none; }
#jlt-chatbot-root .jlt-chat-toggle::before {
  content: "Click Me For Enquiries";
  padding: 7px 10px;
  border: 1px solid #b16a43;
  border-radius: 14px 14px 2px 14px;
  background: #fff9ed;
  color: #503320;
  font: 600 12px/1.25 Arial, sans-serif;
}
#jlt-chatbot-root .jlt-chat-toggle::after {
  content: "";
  width: 52px;
  height: 52px;
  background: url("buddy.webp") center / contain no-repeat;
}
#jlt-chatbot-root .jlt-chat-toggle:focus-visible {
  outline: 3px solid #185e90;
  outline-offset: 2px;
}
#jlt-chatbot-root .jlt-chat-toggle[aria-expanded="true"]::before { content: "Close chat"; }
@media (max-width: 480px) {
  #jlt-chatbot-root .jlt-chat-toggle::after { width: 44px; height: 44px; }
}
/* Hide the Services tab and give Chat and Help Centre equal space */
#jlt-chatbot-root .jlt-chat-tabs .jlt-tab-services {
  display: none !important;
}

#jlt-chatbot-root .jlt-chat-tabs {
  display: flex;
}

#jlt-chatbot-root .jlt-chat-tabs > button {
  flex: 1 1 0;
  width: auto;
}

/* Enlarge Biscuit Buddy beside the enquiry bubble */
#jlt-chatbot-root .jlt-chat-toggle::after {
  width: 120px;
  height: 120px;
}

@media (max-width: 480px) {
  #jlt-chatbot-root .jlt-chat-toggle::after {
    width: 64px;
    height: 64px;
  }
}
/* Hide the mascot and “Close chat” pill while the chat window is open. */
#jlt-chatbot-root button.jlt-chat-toggle[aria-expanded="true"] {
  display: none !important;
}

/* Give the closed launcher a clear background, including on hover. */
#jlt-chatbot-root button.jlt-chat-toggle[aria-expanded="false"] {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}

/* Make Biscuit Buddy larger and prevent the button from shrinking it. */
#jlt-chatbot-root button.jlt-chat-toggle::after {
  width: 80px !important;
  height: 80px !important;
  flex: 0 0 80px !important;
  background-size: contain !important;
}

@media (max-width: 480px) {
  #jlt-chatbot-root button.jlt-chat-toggle::after {
    width: 64px !important;
    height: 64px !important;
    flex-basis: 64px !important;
  }
}

/* Show only Chat and Help Centre. */
#jlt-chatbot-root .jlt-chat-tabs button.jlt-tab-services {
  display: none !important;
}

#jlt-chatbot-root .jlt-chat-tabs {
  display: flex;
}

#jlt-chatbot-root .jlt-chat-tabs > button {
  flex: 1 1 0;
  width: auto;
}