.sh-help-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #4221a8;
  color: #fff;
  font:
    600 16px/1.4 system-ui,
    sans-serif;
  text-decoration: none;
  box-shadow: 0 4px 20px #24144c33;
}
.sh-help-launcher:hover {
  background: #32177f;
  color: #fff;
}
/* Keep consent controls unobstructed without changing consent preferences. */
body:has(#cookie-consent-banner) .sh-help-launcher {
  bottom: 200px;
}
html.sh-help-open {
  overflow: hidden;
}
.sh-help {
  box-sizing: border-box;
  position: fixed;
  inset: auto 24px 24px auto;
  width: min(540px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  margin: 0;
  padding: 0;
  border: 1px solid #ddd7ed;
  border-radius: 24px;
  background: #fff;
  color: #29243a;
  box-shadow: 0 24px 80px #17112840;
  font:
    400 16px/1.55 system-ui,
    sans-serif;
  text-align: left;
}
.sh-help[open] {
  display: flex;
  flex-direction: column;
}
.sh-help::backdrop {
  background: #17112866;
}
.sh-help * {
  box-sizing: border-box;
}
.sh-help-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 24px 24px 16px;
}
.sh-help-header h2 {
  font:
    650 24px/1.25 system-ui,
    sans-serif;
  margin: 6px 0 0;
  color: #29243a;
}
.sh-help-eyebrow {
  color: #675485;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.sh-help-close {
  flex-shrink: 0;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  font: 28px/1 system-ui;
  cursor: pointer;
  background: #f4f1f9;
  color: #423553;
}
.sh-help-search {
  padding: 0 24px 16px;
  border-bottom: 1px solid #eeeaf3;
}
.sh-help-search label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.sh-help-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #aea3c1;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: #29243a;
}
.sh-help-search p,
.sh-help-small {
  font-size: 12px;
  color: #665d73;
  margin: 8px 0 0;
}
.sh-help-body {
  min-height: 80px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 24px;
}
.sh-help-status {
  margin: 0 0 12px;
  font-size: 14px;
  color: #665d73;
}
.sh-help details {
  border: 1px solid #e4ddec;
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0 14px;
}
.sh-help summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  line-height: 1.45;
}
.sh-help details[open] {
  background: #faf8fe;
  border-color: #bcb0d6;
}
.sh-help details p {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.sh-help a {
  color: #4b269e;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sh-help details a {
  display: inline-block;
  padding: 0 0 14px;
}
.sh-help-footer {
  padding: 16px 24px;
  border-top: 1px solid #eeeaf3;
  background: #faf8fe;
}
.sh-help-footer p {
  margin: 0 0 8px;
  font-size: 14px;
}
.sh-help-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.sh-help-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}
.sh-help-footer .sh-help-small {
  font-size: 12px;
  margin: 8px 0 0;
}
.sh-help-retry {
  padding: 12px;
  border: 1px solid #aea3c1;
  border-radius: 8px;
  background: #fff;
  color: #4b269e;
  font: inherit;
  cursor: pointer;
}
.sh-help :focus-visible,
.sh-help-launcher:focus-visible {
  outline: 3px solid #7651c8;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .sh-help {
    inset: auto 12px 12px;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 20px;
  }
  .sh-help-launcher {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .sh-help-header {
    padding: 18px 18px 12px;
  }
  .sh-help-header h2 {
    font-size: 21px;
  }
  .sh-help-search {
    padding: 0 18px 12px;
  }
  .sh-help-body {
    padding: 12px 18px;
  }
  .sh-help-footer {
    padding: 12px 18px;
  }
}
@media (max-height: 500px) {
  .sh-help {
    inset: 8px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
  }
  .sh-help-body {
    min-height: 0;
    overflow-y: visible;
  }
  .sh-help[open] {
    display: block;
  }
  .sh-help-header,
  .sh-help-search,
  .sh-help-footer {
    flex-shrink: 0;
  }
}
