#truehost-help {
  --th-help-ink: #10295b;
  --th-help-accent: #174cb6;
  --th-help-gap: 16px;
  --th-help-edge: max(var(--th-help-gap), env(safe-area-inset-right));
  --th-help-bottom: calc(var(--th-help-gap) + env(safe-area-inset-bottom, 0px) + var(--th-help-clearance, 0px));
}

#truehost-help[hidden],
.th-help-active .woot-widget-bubble:not(.woot--close),
.th-help-social-bridged .qlwapp__container {
  display: none !important;
}

.th-help-dock {
  position: fixed;
  right: var(--th-help-edge);
  bottom: calc(var(--th-help-bottom) + var(--th-help-pricing-offset, 0px));
  z-index: 1045;
  pointer-events: none;
}

.th-help-dock.th-help-over-pricing .th-help-trigger:not(:focus) {
  visibility: hidden;
}

.th-help-chat-open .th-help-dock {
  visibility: hidden;
}

.th-help-button {
  cursor: pointer;
  font: inherit;
}

.th-help-button:focus-visible {
  outline: 3px solid #275dc0;
  outline-offset: 3px;
}

.th-help-trigger {
  display: inline-flex;
  pointer-events: auto;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: var(--th-help-ink);
  box-shadow: 0 6px 18px #10295b33;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.th-help-trigger:hover,
.th-help-trigger:focus {
  background: var(--th-help-accent);
  color: #fff;
}

.th-help-nav.nav-link,
.th-help-pricing {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #174cb6;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.th-help-nav.nav-link {
  width: 100%;
  padding: 10px 0;
  text-align: left;
}

.th-help-pricing {
  padding: 7px 0;
  text-align: left;
}

#truehost-help-dialog {
  position: fixed;
  inset: auto var(--th-help-edge) var(--th-help-bottom) auto;
  box-sizing: border-box;
  width: min(340px, calc(100% - 2 * var(--th-help-gap)));
  max-width: none;
  max-height: calc(100dvh - var(--th-help-bottom) - 16px);
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid #d6e2f5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 48px #10295b3d;
  color: var(--th-help-ink);
}

#truehost-help-dialog::backdrop {
  background: transparent;
}

.th-help-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.th-help-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#truehost-help-title {
  margin: 0;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1.35;
}

.th-help-dismiss {
  flex: 0 0 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf3fd;
  color: inherit;
  font-size: 1.65rem;
  line-height: 1;
}

.th-help-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 8px 12px;
  border: 1px solid #d6e2f5;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  line-height: 1.35;
  text-align: left;
}

#truehost-help-dialog .th-help-option:hover,
#truehost-help-dialog .th-help-option:focus,
#truehost-help-dialog .th-help-dismiss:hover,
#truehost-help-dialog .th-help-dismiss:focus {
  background: #edf3fd;
  color: var(--th-help-ink);
}

.th-help-option i {
  flex: 0 0 30px;
  color: #174cb6;
  font-size: 1.25rem;
  text-align: center;
}

.th-help-option .fa-whatsapp {
  color: #087653;
}

.th-help-option small {
  display: block;
  color: #49596e;
}

@media (max-width: 767px) {
  #truehost-help-dialog {
    inset: auto 0 var(--th-help-clearance, 0px);
    width: 100%;
    max-height: calc(100dvh - var(--th-help-clearance, 0px) - 16px);
    padding:
      0
      env(safe-area-inset-right, 0px)
      env(safe-area-inset-bottom, 0px)
      env(safe-area-inset-left, 0px);
    border-radius: 20px 20px 0 0;
  }

  #truehost-help-dialog::backdrop {
    background: #10213b55;
  }
}
