.gleam-help,
.gleam-help * {
  box-sizing: border-box;
  line-height: 1.5;
}

.gleam-help {
  min-height: 1900px;
  padding: 42px 0 112px;
  color: #111827;
  background:
    radial-gradient(
      ellipse 36% 28% at 8% 17%,
      rgba(125, 77, 255, 0.13),
      transparent 72%
    ),
    radial-gradient(
      ellipse 34% 25% at 92% 10%,
      rgba(34, 212, 255, 0.13),
      transparent 72%
    ),
    linear-gradient(180deg, #f5f6ff, #fff 64%);
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.gleam-help_layout {
  display: grid;
  grid-template-columns: 328px minmax(0, 916px);
  gap: 32px;
  width: 1274px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  align-items: start;
}

/* sidebar */
.gleam-help_sidebar {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  padding: 22px 20px 28px;
  overflow: auto;
  scrollbar-width: thin;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(125, 77, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0px 18px 44px 0px rgba(50, 44, 130, 0.08);
}

.gleam-help_back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 15px;
  text-decoration: none;
  font-size: 16px;
  color: #000000;
}

.gleam-help_back:before {
  width: 15px;
  height: 15px;
  margin-right: 8px;
  content: "";
  background: url("/resource/image/help/back@2x.png") center / 15px 15px
    no-repeat;
}

.gleam-help_search {
  position: relative;
  margin-bottom: 20px;
}

.gleam-help_search:before {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 18px;
  content: "";
  pointer-events: none;
  background: url("/resource/image/help/search@2x.png") center / 18px 18px
    no-repeat;
  transform: translateY(-50%);
}

.gleam-help_search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 38px;
  color: #111827;
  font: inherit;
  font-size: 13px;
  background: #f2f5ff;
  border: 1px solid #f2f5ff;
  border-radius: 8px;
  outline: 0;
}

.gleam-help_search input:focus {
  border-color: rgba(102, 111, 255, 0.58);
  /* box-shadow: 0 0 0 3px rgba(102, 111, 255, 0.12); */
}

.gleam-help_search input::placeholder {
  color: #050711;
}

.gleam-help_nav-section {
  margin: 0 0 15px;
}

.gleam-help_nav-heading,
.gleam-help_nav-subheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  color: #243047;
  font: inherit;
  font-weight: 700;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}

.gleam-help_nav-heading {
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
}

.gleam-help_nav-subheading {
  margin: 0 0 8px;
  padding-left: 14px;
  font-size: 14px;
}

.gleam-help_nav-heading:after,
.gleam-help_nav-subheading:after {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-right: 0;
  content: "";
  background: url("/resource/image/help/arrow@2x.png") center / 16px 16px
    no-repeat;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.gleam-help_nav-section.is-collapsed > .gleam-help_nav-heading:after,
.gleam-help_nav-group.is-collapsed > .gleam-help_nav-subheading:after {
  transform: rotate(180deg);
}

.gleam-help_nav-content {
  max-height: 900px;
  overflow: hidden;
  border-left: 1px solid #e7e8ef;
  opacity: 1;
  transition:
    max-height 0.28s ease,
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.gleam-help_nav-links {
  display: grid;
  gap: 3px;
  max-height: 700px;
  padding-left: 14px;
  overflow: hidden;
  opacity: 1;
  transition:
    max-height 0.25s ease,
    opacity 0.2s ease;
}

.gleam-help_nav-section.is-collapsed > .gleam-help_nav-content,
.gleam-help_nav-group.is-collapsed > .gleam-help_nav-links {
  max-height: 0;
  opacity: 0;
}

.gleam-help_nav-section.is-collapsed > .gleam-help_nav-content {
  border-left-color: transparent;
}

.gleam-help_nav-group + .gleam-help_nav-group {
  margin-top: 14px;
}

.gleam-help_nav-link {
  position: relative;
  display: block;
  padding: 7px 12px 7px 18px;
  color: #526071;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
}

.gleam-help_nav-link:before {
  position: absolute;
  top: 50%;
  left: 7px;
  width: 4px;
  height: 4px;
  content: "";
  background: rgba(125, 77, 255, 0.34);
  border-radius: 50%;
  transform: translateY(-50%);
}

.gleam-help_nav-link:hover {
  color: #6254ec;
  background: #f6f4ff;
}

.gleam-help_nav-link.is-active {
  color: #fff;
  background: linear-gradient(94deg, #4f6bff 0%, #7d4dff 48%, #22d4ff 100%);
  border-radius: 4px;
}

.gleam-help_nav-link.is-active:before {
  background: #fff;
}

.gleam-help_nav-empty {
  padding: 14px;
  color: #7b8495;
  font-size: 13px;
  text-align: center;
}

.gleam-help_nav-empty[hidden] {
  display: none;
}

.gleam-help_legal {
  padding: 16px 14px;
  margin-top: 24px;
  background: linear-gradient(130deg, #f0f6ff, #f1fbff);
  border-radius: 7px;
}

.gleam-help_legal b {
  display: block;
  margin-bottom: 7px;
  color: #65809e;
  font-size: 14px;
  text-transform: uppercase;
}

.gleam-help_legal p {
  margin: 0;
  color: #647286;
  font-size: 13px;
}

.gleam-help_usage-box {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid #ececf4;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(30, 42, 76, 0.06);
}

.gleam-help_usage-box > .gleam-help_tabs {
  min-height: 56px;
  padding: 7px 16px;
  margin-top: 0;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #ececf4;
}

.gleam-help_usage-box > .gleam-help_tab-panel {
  margin-top: 0;
}

.gleam-help_usage-box .gleam-help_config-grid {
  margin-top: 0;
  border: 0;
  border-radius: 0;
}

.gleam-help_usage-box .gleam-help_format-panel {
  border-radius: 0;
}

.gleam-help_usage-box .gleam-help_format-panel .gleam-help_code {
  min-height: 120px;
}

.gleam-help_format-box {
  margin-top: 20px;
  overflow: hidden;
  /* background: #f9faff; */
  border: 1px solid #ececf4;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(30, 42, 76, 0.06);
}

.gleam-help_format-box .gleam-help_tabs {
  padding: 7px 16px;
  margin-top: 0;
  align-items: center;
  border-bottom: 1px solid #ececf4;
}

.gleam-help_tabs {
  display: flex;
  gap: 6px;
  margin-top: 20px;
  border-bottom: 1px solid #ececf4;
}

.gleam-help_tab {
  min-height: 42px;
  padding: 0 14px;
  color: #697386;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.gleam-help_tab:hover {
  color: #6254ec;
  background: #f0efff;
}

.gleam-help_tab.is-active {
  color: #fff;
  background: linear-gradient(94deg, #4f6bff 0%, #7d4dff 48%, #22d4ff 100%);
  box-shadow: 0 12px 28px rgba(92, 86, 255, 0.28);
  transform: translateY(-1px);
}

.gleam-help_tab-panel {
  display: none;
}

.gleam-help_tab-panel.is-active {
  display: block;
}

.gleam-help_format-panel {
  background: #0d172b;
}

.gleam-help_format-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 20px;
  color: #9fc7ff;
  font-size: 14px;
  border-bottom: 1px solid rgba(202, 220, 255, 0.13);
}

.gleam-help_code-copy {
  padding: 7px 14px;
  color: #d6e4ff;
  font: inherit;
  font-size: 13px;
  background: transparent;
  border: 1px solid rgba(190, 211, 255, 0.24);
  border-radius: 7px;
  cursor: pointer;
}

.gleam-help_code-copy:hover {
  color: #fff;
  border-color: rgba(190, 211, 255, 0.55);
}

.gleam-help_format-panel .gleam-help_code {
  padding: 26px 22px;
  margin-top: 0;
  border-radius: 0;
}

.gleam-help_session-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.gleam-help_session-rule {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 16px;
  border: 1px solid #ececf4;
  border-radius: 12px;
  background: #fff;
}

.gleam-help_session-rule code {
  display: grid;
  width: 50px;
  height: 38px;
  place-items: center;
  color: #6457f5;
  font-size: 16px;
  font-weight: 700;
  background: #f0efff;
  border-radius: 9px;
}

.gleam-help_session-rule b,
.gleam-help_session-rule span {
  display: block;
}

.gleam-help_session-rule b {
  margin-bottom: 5px;
  color: #111827;
  font-size: 16px;
}

.gleam-help_session-rule span {
  color: #6b7394;
  font-size: 15px;
}

.gleam-help_session-example {
  margin-top: 18px;
  overflow: hidden;
  color: #dfe8ff;
  background: #0d1629;
  border: 1px solid #202d47;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(18, 28, 55, 0.12);
}

.gleam-help_session-example-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 24px;
  color: #a9c9ff;
  font-size: 14px;
  border-bottom: 1px solid rgba(204, 220, 255, 0.13);
}

.gleam-help_session-copy {
  padding: 7px 14px;
  color: #d5e3ff;
  font: inherit;
  font-size: 13px;
  background: transparent;
  border: 1px solid rgba(190, 211, 255, 0.24);
  border-radius: 7px;
  cursor: pointer;
}

.gleam-help_session-copy:hover {
  color: #fff;
  border-color: rgba(190, 211, 255, 0.55);
}

.gleam-help_session-example pre {
  padding: 10px 0;
  margin: 0;
  overflow: auto;
  color: #fff;
  font:
    16px/24px Consolas,
    monospace;
}

.gleam-help_session-example p {
  padding: 10px 0;
  color: #8bb8ff;
  font-size: 14px !important;
}

.gleam-help_session-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.gleam-help_session-type {
  padding: 16px 24px;
  border: 1px solid #ececf4;
  border-radius: 12px;
  background: #fff;
}

.gleam-help_session-type-sticky {
  border-color: #cfc6ff;
  background: linear-gradient(145deg, #fff, #fbfaff);
}

.gleam-help_session-type h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.gleam-help_recommended {
  padding: 4px 7px;
  margin-left: 5px;
  color: #6654f5;
  font-size: 12px;
  background: #eeebff;
  border-radius: 5px;
}

.gleam-help_session-type > p {
  color: #657286;
  font-size: 16px;
}

.gleam-help_session-type ul {
  padding: 16px 0 0 20px;
  margin: 20px 0 0;
  color: #758097;
  font-size: 15px;
  border-top: 1px solid #ececf4;
}

.gleam-help_config-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #ececf4;
  border-radius: 8px;
}

.gleam-help_config {
  min-height: 68px;
  padding: 14px 16px;
}

.gleam-help_config:nth-child(odd) {
  border-right: 1px solid #ececf4;
}

.gleam-help_config:nth-child(-n + 4) {
  border-bottom: 1px solid #ececf4;
}

.gleam-help_config b {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
}

.gleam-help_config span {
  color: #36435a;
  font-size: 15px;
}

.gleam-help_check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.gleam-help_check {
  position: relative;
  min-height: 72px;
  padding: 15px 14px 15px 52px;
  background: linear-gradient(135deg, #fff, #fbfcff);
  border: 1px solid #ececf4;
  border-radius: 9px;
}

.gleam-help_check:before {
  position: absolute;
  top: 16px;
  left: 15px;
  display: grid;
  width: 25px;
  height: 25px;
  content: "\2713";
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #4f6bff, #7d4dff 55%, #22d4ff);
  border-radius: 50%;
  box-shadow: 0 7px 16px rgba(92, 86, 255, 0.22);
}

.gleam-help_check b {
  display: block;
  margin-bottom: 3px;
  color: #263247;
  font-size: 16px;
  font-weight: 700;
}

.gleam-help_check p {
  font-size: 15px !important;
}

.gleam-help_document {
  min-height: 1420px;
  padding: 38px 32px 42px;
  background: #fff;
  border: 1px solid rgba(125, 77, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0px 18px 44px 0px rgba(17, 24, 39, 0.06);
}

.gleam-help_breadcrumb {
  margin: 0 0 24px;
  color: #7a8395;
  font-size: 12px;
}

.gleam-help_breadcrumb b {
  font-size: 12px;
  font-weight: 700;
  color: transparent;
  background-image: linear-gradient(
    91deg,
    #4f6bff 0%,
    #7d4dff 52%,
    #22d4ff 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.gleam-help_document h1 {
  margin: 20px 0;
  font-size: 40px;
  font-weight: 700;
  color: #111827;
}

.gleam-help_lead {
  max-width: 820px;
  margin: 20px 0 30px;
  color: #596678;
  font-size: 16px;
}

.gleam-help_doc-section {
  scroll-margin-top: 28px;
  margin-top: 20px;
}

.gleam-help_doc-section + .gleam-help_doc-section {
  margin-top: 35px;
}

.gleam-help_document h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.gleam-help_document h3 {
  margin: 0 0 8px;
  color: #131a28;
  font-size: 16px;
  font-weight: 700;
}

.gleam-help_document h4 {
  margin: 22px 0 7px;
  color: #4d5a70;
  font-size: 17px;
}

.gleam-help_document p {
  margin: 0;
  font-size: 16px;
  color: #526071;
}

.gleam-help_steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #ececf4;
  border-radius: 7px;
}

.gleam-help_step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  min-height: 96px;
  padding: 20px 16px;
}

.gleam-help_step:nth-child(odd) {
  border-right: 1px solid #ececf4;
}

.gleam-help_step:nth-child(-n + 2) {
  border-bottom: 1px solid #ececf4;
}

.gleam-help_step-index {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 7px;

  background: linear-gradient(105deg, #4f6bff 0%, #7d4dff 48%, #22d4ff 100%);
  box-shadow: 0px 12px 30px 0px rgba(79, 107, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gleam-help_step h3 {
  margin: 1px 0 3px;
  font-size: 16px;
  font-weight: 700;
}

.gleam-help_step p {
  font-size: 15px;
}

.gleam-help_notice {
  position: relative;
  padding: 18px 18px 18px 56px;
  margin-top: 0;
  background: linear-gradient(100deg, #f2f2ff, #f3fbff);
  border: 1px solid #cfd1ff;
  border-radius: 7px;
}

.gleam-help_notice:before {
  position: absolute;
  top: 18px;
  left: 19px;
  display: grid;
  width: 22px;
  height: 22px;
  content: "i";
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  background: linear-gradient(135deg, #7254ff, #4c65ff);
  border-radius: 50%;
}

.gleam-help_notice h3 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.gleam-help_notice p {
  font-size: 15px;
  color: #526071;
}

.gleam-help_region-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 18px 0 12px;
}

.gleam-help_region-search {
  width: 280px;
  height: 40px;
  padding: 0 14px;
  color: #263247;
  font: inherit;
  font-size: 14px;
  background: #f7f8ff;
  border: 1px solid #e1e5ed;
  border-radius: 8px;
  outline: 0;
}

.gleam-help_region-search:focus {
  border-color: #7563f5;
  box-shadow: 0 0 0 3px rgba(117, 99, 245, 0.12);
}

.gleam-help_region-table-wrap {
  max-height: 1200px;
  overflow: auto;
  border: 1px solid #e0e4eb;
  border-radius: 10px;
}

.gleam-help_region-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.gleam-help_region-table col:nth-child(2) {
  width: 140px;
}

.gleam-help_region-table thead {
  background: linear-gradient(100deg, #111827, #0f3444);
  position: sticky;
  z-index: 1;
  top: 0;
}

.gleam-help_region-table th {
  padding: 13px 15px;
  color: #fff;
  font-size: 15px;
  text-align: left;
}

.gleam-help_region-table td {
  padding: 12px 15px;
  color: #566276;
  font-size: 16px;
  border-top: 1px solid #ececf4;
}

.gleam-help_region-table td + td,
.gleam-help_region-table th + th {
  border-left: 1px solid #ececf4;
}

.gleam-help_region-row.is-hidden {
  display: none;
}

.gleam-help_region-empty {
  padding: 20px;
  color: #7a8495;
  text-align: center;
}

.gleam-help_region-empty[hidden] {
  display: none;
}

.gleam-help_support-band {
  padding: 24px 33px;
  margin-top: 25px;
  color: #111827;
  background: #fff;
  border: 1px solid rgba(125, 77, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
}

.gleam-help_support-content {
  width: 100%;
}

.gleam-help_support-band h2 {
  width: 560px;
  max-width: 100%;
  margin: 0 0 10px;
  color: #111827;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.gleam-help_support-band p {
  width: 860px;
  max-width: 100%;
  margin: 0 0 15px;
  color: #526071;
  font-size: 16px;
  font-weight: 400;
}

.gleam-help_support-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 42px;
  padding: 0;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(94deg, #4f6bff 0%, #7d4dff 48%, #22d4ff 100%);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(92, 86, 255, 0.31);
  cursor: pointer;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.gleam-help_support-back:hover {
  box-shadow: 0 16px 34px rgba(92, 86, 255, 0.38);
  transform: translateY(-1px);
}

.gleam-help_support-back img {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  object-fit: contain;
  transform: rotate(270deg);
  transition: transform 0.2s ease;
}

.gleam-help_faq-list {
  margin-top: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ececf4;
  border-radius: 12px;
}

.gleam-help_faq-item + .gleam-help_faq-item {
  border-top: 1px solid #ececf4;
}

.gleam-help_faq-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 82px;
  padding: 16px 72px 16px 24px;
  color: #172033;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  background: #fff;
  border: 0;
  cursor: pointer;
}

.gleam-help_faq-trigger:after {
  position: absolute;
  top: 50%;
  right: 24px;
  display: grid;
  width: 34px;
  height: 34px;
  content: "+";
  place-items: center;
  color: #6659f5;
  font-size: 22px;
  font-weight: 400;
  background: #f1f0ff;
  border-radius: 8px;
  transform: translateY(-50%) rotate(0);
  transition:
    transform 0.22s ease,
    background-color 0.2s ease;
}

.gleam-help_faq-item.is-open .gleam-help_faq-trigger:after {
  background: #eeedff;
  transform: translateY(-50%) rotate(45deg);
}

.gleam-help_faq-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.3s ease,
    opacity 0.24s ease;
}

.gleam-help_faq-content-inner {
  min-height: 0;
  overflow: hidden;
}

.gleam-help_faq-item.is-open .gleam-help_faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
}

.gleam-help_faq-copy {
  padding: 0 24px 24px;
  color: #657287;
  font-size: 15px;
}

.gleam-help_faq-copy b {
  color: #536177;
}

.gleam-help_faq-copy ol {
  padding-left: 26px;
  margin: 12px 0 0;
}

.gleam-help_faq-copy code {
  padding: 2px 6px;
  color: #6557f5;
  background: #f0efff;
  border-radius: 4px;
}

.gleam-help_gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.gleam-help_gateway-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 154px;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid #ececf4;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(30, 42, 76, 0.04);
}

.gleam-help_gateway-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #14bba5, #21c8ed);
  border-radius: 14px;
}

.gleam-help_gateway-icon-west {
  background: linear-gradient(135deg, #7356ff, #9b4eff);
}

.gleam-help_gateway-card small {
  display: block;
  margin-bottom: 8px;
  color: #7d899b;
  font-size: 15px;
}

.gleam-help_gateway-card h3 {
  margin: 0 0 7px;
  color: #121927;
  font-size: 16px;
  font-weight: 700;
}

.gleam-help_gateway-card p {
  color: #69768b;
  font-size: 15px;
}

.gleam-help_gateway-copy {
  padding: 6px 13px;
  color: #6256e8;
  font: inherit;
  font-size: 13px;
  background: #fff;
  border: 1px solid #ececf4;
  border-radius: 7px;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.gleam-help_gateway-copy:hover {
  color: #fff;
  background: linear-gradient(94deg, #4f6bff 0%, #7d4dff 48%, #22d4ff 100%);
  border: 0;
  box-shadow: 0 7px 16px rgba(92, 86, 255, 0.31);
  cursor: pointer;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.gleam-help_gateway-copy:active {
  box-shadow: 0 4px 10px rgba(92, 86, 255, 0.16);
  transform: translateY(0);
}

.gleam-help_gateway-copy:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.gleam-help_gateway-note {
  margin-top: 14px !important;
  color: #78869b !important;
}

.gleam-help_features {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-top: 24px;
}

.gleam-help_features-item {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 14px;
  align-content: start;
  align-items: start;
  flex: 1;
  min-width: 0;
  min-height: 108px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #ececf4;
  border-radius: 12px;
}

.gleam-help_features-index {
  grid-row: 1 / span 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #5f5cf3;
  font-size: 14px;
  font-weight: 700;
  background: #f0efff;
  border-radius: 50%;
}

.gleam-help_features-item h3 {
  grid-column: 2;
  margin: 0 0 7px;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
}

.gleam-help_features-item p {
  grid-column: 2;
  color: #69768b;
  font-size: 15px;
}

.gleam-help_auth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.gleam-help_auth-card {
  min-height: 200px;
  padding: 28px;
  background: #fff;
  border: 1px solid #ececf4;
  border-radius: 12px;
}

.gleam-help_auth-card:last-child {
  background: linear-gradient(145deg, #fff, #fbfaff);
}

.gleam-help_auth-tag {
  display: block;
  margin-bottom: 20px;
  color: #6857f2;
  font-size: 13px;
  font-weight: 700;
}

.gleam-help_auth-card h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
}

.gleam-help_auth-card p {
  color: #657287;
  font-size: 15px;
}

.gleam-help_feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid #ececf4;
  border-radius: 7px;
}

.gleam-help_feature {
  min-height: 104px;
  padding: 20px 16px;
}

.gleam-help_feature + .gleam-help_feature {
  border-left: 1px solid #ececf4;
}

.gleam-help_feature b {
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 7px;
  background: linear-gradient(105deg, #4f6bff 0%, #7d4dff 48%, #22d4ff 100%);
  box-shadow: 0px 12px 30px 0px rgba(79, 107, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.gleam-help_feature p {
  font-size: 16px;
}

.gleam-help_code {
  padding: 18px 20px;
  margin-top: 18px;
  overflow: auto;
  color: #cbd8f5;
  font:
    15px/24px Consolas,
    monospace;
  background: #091121;
  border-radius: 8px;
}

.gleam-help_table {
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e0e4eb;
  border-radius: 12px;
}

.gleam-help_table thead {
  background: linear-gradient(91deg, #111827 38%, #151d34 48%, #0f3444 100%);
}

.gleam-help_table th {
  padding: 16px;
  color: #fff;
  font-size: 15px;
  text-align: left;
  border: 1px solid #0f3444;
}

.gleam-help_table td {
  border-top: 1px solid #e0e4eb;
  font-size: 16px;
  font-weight: 400;
  color: #111827;
  padding: 24px 16px;
}

.gleam-help_table td + td,
.gleam-help_table th + th {
  border-left: 1px solid #e0e4eb;
}

.gleam-help_table td:first-child {
  font-size: 13px;
  font-weight: 700;
}

.gleam-help_cta {
  width: 916px;
  max-width: 100%;
  padding: 28px 32px;
  margin: 48px 0 0 358px;
  background: #fff;
  border: 1px solid #e4e6ef;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(52, 62, 110, 0.08);
}

.gleam-help_cta h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.gleam-help_cta p {
  margin: 0 0 20px;
  color: #637084;
  font-size: 15px;
}

.gleam-help_cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(95deg, #6954ff, #2cc8ed);
  border-radius: 7px;
  box-shadow: 0 12px 25px rgba(92, 86, 255, 0.24);
}

@media (max-width: 1050px) {
  .gleam-help_layout {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .gleam-help_cta {
    width: auto;
    margin-left: 302px;
  }
}

@media (max-width: 760px) {
  .gleam-help_support-band {
    width: 100%;
    height: auto;
    min-height: 213px;
    padding: 24px;
  }

  .gleam-help_support-back {
    height: 46px;
  }

  .gleam-help_session-rules,
  .gleam-help_session-types,
  .gleam-help_gateway-grid,
  .gleam-help_auth-grid {
    grid-template-columns: 1fr;
  }

  .gleam-help_features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gleam-help_features-item {
    padding: 20px;
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .gleam-help_features-item:after {
    display: none;
  }

  .gleam-help_gateway-card {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .gleam-help_gateway-copy {
    grid-column: 2;
    justify-self: start;
  }

  .gleam-help {
    padding-top: 20px;
  }

  .gleam-help_layout {
    grid-template-columns: 1fr;
    max-width: calc(100% - 32px);
  }

  .gleam-help_sidebar {
    position: relative;
    top: 0;
    max-height: none;
  }

  .gleam-help_document {
    padding: 28px 20px;
  }

  .gleam-help_document h1 {
    font-size: 32px;
  }

  .gleam-help_steps,
  .gleam-help_feature-row {
    grid-template-columns: 1fr;
    border: none;
  }

  .gleam-help_step:nth-child(n),
  .gleam-help_feature + .gleam-help_feature {
    border: 0;
    border-top: 1px solid #ececf4;
  }

  .gleam-help_step:first-child,
  .gleam-help_feature:first-child {
    border-top: 0;
  }

  .gleam-help_cta {
    margin: 30px 16px 0;
  }

  .gleam-help_table {
    display: block;
    overflow-x: auto;
  }
}

.gleam-help_mobile-toc {
  display: none;
}

/* Mobile help documentation layout based on the supplied 375px prototype. */
@media (max-width: 767px) {
  .gleam-help {
    min-height: 0;
    padding: 20px 0 35px;
    background: linear-gradient(180deg, #f5f6ff 0%, #fff 28%);
  }

  .gleam-help_layout {
    display: block;
    width: 100%;
    max-width: none;
    padding-right: max(8px, env(safe-area-inset-right, 0px));
    padding-left: max(8px, env(safe-area-inset-left, 0px));
  }

  .gleam-help_mobile-toc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    color: #111827;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    background: #fff;
    border: 1px solid #dfe3eb;
    border-radius: 8px;
    cursor: pointer;
  }

  .gleam-help_mobile-toc span {
    color: #6254ec;
    font-size: 13px;
  }

  .gleam-help_sidebar {
    position: relative;
    top: 0;
    display: none;
    max-height: min(72vh, 620px);
    padding: 18px 16px 22px;
    margin-top: 8px;
    overflow-y: auto;
    border-color: #dfe3eb;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(50, 44, 130, 0.08);
    -webkit-overflow-scrolling: touch;
  }

  .gleam-help_layout.is-mobile-toc-open .gleam-help_sidebar {
    display: block;
  }

  .gleam-help_back {
    margin-bottom: 18px;
    color: #6254ec;
    font-size: 13px;
  }

  .gleam-help_nav-heading,
  .gleam-help_nav-subheading {
    min-height: 36px;
  }

  .gleam-help_nav-link {
    min-height: 38px;
    padding: 10px 12px 10px 18px;
    font-size: 13px;
  }

  .gleam-help_legal {
    display: none;
  }

  .gleam-help_document {
    width: 100%;
    padding: 22px 8px 0;
    margin-top: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .gleam-help_breadcrumb {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .gleam-help_document h1 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .gleam-help_lead {
    margin-top: 12px;
    font-size: 14px;
  }

  .gleam-help_doc-section {
    padding-top: 15px;
    scroll-margin-top: 35px;
  }

  .gleam-help_doc-section + .gleam-help_doc-section {
    margin-top: 0;
  }

  .gleam-help_document h2 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .gleam-help_document h3 {
    font-size: 14px;
  }

  .gleam-help_document h4 {
    font-size: 14px;
  }

  .gleam-help_document p,
  .gleam-help_document li {
    font-size: 14px !important;
  }

  .gleam-help_steps,
  .gleam-help_feature-row,
  .gleam-help_features,
  .gleam-help_session-rules,
  .gleam-help_session-types,
  .gleam-help_gateway-grid,
  .gleam-help_auth-grid,
  .gleam-help_config-grid,
  .gleam-help_check-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gleam-help_step,
  .gleam-help_features-item,
  .gleam-help_session-rule,
  .gleam-help_session-type,
  .gleam-help_gateway-card,
  .gleam-help_auth-card,
  .gleam-help_check {
    min-height: 0;
    padding: 10px 14px;
    border: 1px solid #e2e6ee !important;
    border-radius: 7px;
  }

  .gleam-help_step {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }

  .gleam-help_step-index,
  .gleam-help_features-index {
    width: 24px;
    height: 24px;
    font-size: 10px;
    border-radius: 5px;
  }

  .gleam-help_step:nth-child(n) {
    border: 1px solid #e2e6ee !important;
  }

  .gleam-help_session-rule {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .gleam-help_session-rule code {
    width: 44px;
    height: 32px;
    font-size: 14px;
  }

  .gleam-help_session-rule b {
    margin-bottom: 0;
    font-size: 14px;
  }

  .gleam-help_session-rule span {
    font-size: 14px;
  }

  .gleam-help_gateway-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .gleam-help_gateway-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .gleam-help_gateway-card small {
    margin-bottom: 0;
    color: #7d899b;
    font-size: 14px;
  }

  .gleam-help_check::before {
    display: none;
    content: "";
  }

  .gleam-help_check b {
    font-size: 14px;
  }

  .gleam-help_auth-tag {
    margin-bottom: 7px;
  }

  .gleam-help_session-type ul {
    padding: 10px 0 0 10px;
    margin: 10px 0 0;
  }

  .gleam-help_step h3,
  .gleam-help_features-item h3 {
    margin: 0 0 4px;
  }

  .gleam-help_notice,
  .gleam-help_format-box,
  .gleam-help_usage-box,
  .gleam-help_session-example,
  .gleam-help_gateway-note {
    padding: 14px;
    border-radius: 7px;
  }

  .gleam-help_notice {
    padding-left: 46px;
  }

  .gleam-help_notice::before {
    top: 14px;
    left: 14px;
    width: 22px;
    height: 22px;
  }

  .gleam-help_notice h3 {
    margin: 0 0 5px;
    font-size: 16px;
  }

  .gleam-help_notice p {
    font-size: 14px !important;
  }

  .gleam-help_tabs {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 !important;
    min-height: 48px !important;
  }

  .gleam-help_tabs::-webkit-scrollbar {
    display: none;
  }

  .gleam-help_tab {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .gleam-help_code,
  .gleam-help_session-example pre {
    max-width: 100%;
    overflow-x: auto;
    font-size: 10px;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
    padding: 10px !important;
  }

  .gleam-help_format-code-head,
  .gleam-help_session-example-head {
    gap: 8px;
    font-size: 13px;
    padding: 0;
    height: 35px;
  }
  .gleam-help_format-code-head {
    padding: 0 10px;
  }

  .gleam-help_code-copy,
  .gleam-help_session-copy,
  .gleam-help_gateway-copy {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .gleam-help_config-grid {
    overflow: hidden;
    border: 1px solid #e2e6ee;
    border-radius: 7px;
  }

  .gleam-help_config {
    grid-template-columns: 42% minmax(0, 1fr);
    min-height: 58px;
    padding: 10px;
    border: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e2e6ee !important;
  }

  .gleam-help_config:last-child {
    border-bottom: 0 !important;
  }

  .gleam-help_config b,
  .gleam-help_config span {
    font-size: 13px;
  }

  .gleam-help_table,
  .gleam-help_region-table {
    display: table;
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 13px;
  }

  .gleam-help_table:has(th:nth-child(4)),
  .gleam-help_region-table:has(th:nth-child(4)) {
    min-width: 620px;
    table-layout: auto;
  }

  .gleam-help_doc-section:has(> .gleam-help_table),
  .gleam-help_region-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .gleam-help_table th,
  .gleam-help_table td,
  .gleam-help_region-table th,
  .gleam-help_region-table td {
    padding: 9px 8px;
    overflow-wrap: anywhere;
    font-size: 13px;
  }

  .gleam-help_region-search {
    width: 100%;
    height: 38px;
    font-size: 14px;
  }

  .gleam-help_faq-list {
    margin-top: 12px;
  }

  .gleam-help_faq-trigger {
    min-height: 48px;
    padding: 10px 46px 10px 12px;
    font-size: 13px;
  }

  .gleam-help_faq-trigger::after {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }

  .gleam-help_faq-copy {
    padding: 0 12px 12px;
    font-size: 12px;
  }

  .gleam-help_support-band {
    width: 100%;
    min-height: 0;
    padding: 20px;
    border-radius: 8px;
  }

  .gleam-help_support-band h2 {
    font-size: 18px;
  }

  .gleam-help_support-back,
  .gleam-help_cta a {
    width: 100%;
    height: 36px;
    font-size: 13px;
  }

  .gleam-help_cta {
    width: auto;
    padding: 20px;
    margin: 30px 0 0;
    border-radius: 8px;
  }
}
