.site-shell {
  overflow: visible;
}

html {
  scrollbar-color: #b9d8ff rgba(232, 242, 255, 0.8);
}

body::-webkit-scrollbar,
.help-sidebar::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track,
.help-sidebar::-webkit-scrollbar-track {
  background: rgba(232, 242, 255, 0.8);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb,
.help-sidebar::-webkit-scrollbar-thumb {
  border: 2px solid rgba(232, 242, 255, 0.8);
  border-radius: 999px;
  background: #b9d8ff;
}

body::-webkit-scrollbar-thumb:hover,
.help-sidebar::-webkit-scrollbar-thumb:hover {
  background: #91c1ff;
}

.support-page--help [data-float-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--hover-lift, 0px), 0) translateY(56px);
  will-change: opacity, transform;
}

.support-page--help [data-float-reveal].is-visible {
  animation-delay: var(--float-delay, 0ms);
}

.help-directory-shell .section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.help-directory-shell .help-search-panel {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
  min-width: 0;
}

.help-directory-shell .help-search-field {
  justify-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 48px;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(14, 37, 69, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.44);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.help-directory-shell .help-search-field:hover,
.help-directory-shell .help-search-field:focus-within {
  transform: translateY(-1px);
  border-color: rgba(10, 99, 230, 0.18);
  box-shadow:
    0 18px 38px rgba(14, 37, 69, 0.12),
    0 0 0 1px rgba(10, 99, 230, 0.12) inset;
}

.help-directory-shell .help-search-status {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
}

.help-directory-shell {
  padding: 80px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.help-search-status {
  min-height: 22px;
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.help-search-page .help-search-status {
  justify-self: center;
  width: min(100%, 880px);
  text-align: center;
}

[data-help-search][hidden],
[data-help-collection][hidden] {
  display: none !important;
}

.help-spotlight-grid,
.help-directory-grid,
.help-list-grid,
.help-pager-grid {
  display: grid;
  gap: 16px;
}

.help-spotlight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.help-directory-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-spotlight-card, .help-directory-card, .help-list-card, .help-panel, .help-pager-card {
  border-radius: 24px;
  border: 1px solid #ffffff;
  background: radial-gradient(circle at top left, rgba(23, 104, 255, 0.05), transparent 24%), linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.95));
  box-shadow: var(--shadow-sm);
}

.help-spotlight-card,
.help-directory-card,
.help-panel,
.help-pager-card {
  padding: 24px;
}

.help-spotlight-card,
.help-list-card,
.help-side-card,
.help-toc-card,
.help-related-card {
  display: grid;
  gap: 0;
}

.help-side-card__body {
  display: grid;
  gap: 0px;
}

.help-toc-card__content {
  display: grid;
  gap: 0px;
}

.help-related-card__content {
  display: grid;
  gap: 0;
}

.help-side-card .help-card__eyebrow + *,
.help-toc-card .help-card__eyebrow + *,
.help-related-card .help-card__eyebrow + * {
  margin-top: 16px;
}

.help-directory-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  gap: 8px;
}

.help-spotlight-card strong,
.help-directory-card strong,
.help-list-card strong,
.help-page-head h1,
.help-doc-block__header h2,
.help-article-body h1,
.help-article-body h2,
.help-side-card strong,
.help-toc-card strong,
.help-related-card strong,
.help-pager-card strong {
  color: var(--text);
  letter-spacing: -0.04em;
}

.help-spotlight-card strong,
.help-directory-card strong,
.help-related-card strong,
.help-side-card strong,
.help-toc-card strong,
.help-pager-card strong {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

.help-side-card strong + p,
.help-toc-card strong + p,
.help-related-card strong + p {
  margin-top: 12px;
}

.help-spotlight-card--compact {
  align-items: center;
  min-height: 88px;
  padding: 16px 18px;
  gap: 0;
}

.help-spotlight-card--compact strong {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  line-height: 1.22;
}

.help-spotlight-card p,
.help-directory-card p,
.help-list-card p,
.help-side-card p,
.help-page-head p,
.help-doc-block__header p,
.help-article-body p,
.help-article-body li {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.78;
}

.help-meta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.help-meta-inline span {
  display: inline-flex;
  align-items: center;
  min-height: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(10, 99, 230, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.help-directory-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 12px;
}

.help-directory-card__title {
  min-width: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.04em;
  transition: color 0.18s ease;
}

.help-directory-card__title:hover {
  color: var(--primary);
}

.help-directory-card__head .card-link {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.help-directory-card__head .card-link:hover {
  color: var(--primary);
}

.help-side-card .card-link {
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.help-side-card .card-link:hover {
  color: var(--primary);
}

.help-directory-card__links,
.help-side-links,
.help-sidebar__articles {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  gap: 12px;
}

.help-directory-card__links {
  display: flex;
  flex-direction: column;
}

.help-side-links a {
  display: inline-flex;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
  text-decoration: underline;
  text-decoration-color: rgba(10, 99, 230, 0.16);
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease, transform 0.18s ease;
}

.help-side-links a:hover {
  color: var(--primary);
  text-decoration-color: rgba(10, 99, 230, 0.45);
  transform: translateX(2px);
}

.help-toc-card .help-side-links a.is-active {
  color: var(--primary);
  text-decoration-color: rgba(10, 99, 230, 0.5);
  font-weight: 600;
}

.help-side-links,
.help-sidebar__articles {
  display: grid;
}

.help-directory-card__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(10, 99, 230, 0.08);
  background: rgba(10, 99, 230, 0.05);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.help-directory-card__empty {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px dashed rgba(10, 99, 230, 0.16);
  background: rgba(10, 99, 230, 0.035);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.help-directory-card__link-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.help-directory-card__links a::after {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid var(--text-muted);
  border-bottom: 1.8px solid var(--text-muted);
  transform: rotate(-45deg);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.help-directory-card__links a:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 99, 230, 0.16);
  background: rgba(10, 99, 230, 0.08);
  box-shadow: 0 10px 22px rgba(14, 37, 69, 0.08);
  color: var(--primary);
}

.help-directory-card__links a:hover::after {
  border-color: var(--primary);
}

.help-doc-section {
  padding-top: 80px;
}

.help-doc-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 260px;
  grid-template-areas: 'sidebar main side';
  gap: 18px;
  align-items: start;
}

.help-sidebar,
.help-page-side {
  position: sticky;
  top: calc(var(--header-height, 0px) + 28px);
}

.help-sidebar {
  grid-area: sidebar;
  display: grid;
  gap: 20px;
  row-gap: 20px;
  max-height: calc(100vh - var(--header-height, 0px) - 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: #b9d8ff rgba(232, 242, 255, 0.8);
  scrollbar-width: thin;
}

.help-sidebar__group {
  display: grid;
  margin: 0;
  gap: 0px;
}

.help-sidebar__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  transition: transform 0.18s ease;
}

.help-sidebar__summary::-webkit-details-marker {
  display: none;
}

.help-sidebar__summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 1.8px solid rgba(16, 35, 62, 0.6);
  border-bottom: 1.8px solid rgba(16, 35, 62, 0.6);
  transform: rotate(45deg);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.help-sidebar__group[open] .help-sidebar__summary::after {
  transform: rotate(-135deg) translateY(-1px);
  border-color: var(--primary);
}

.help-sidebar__summary:hover {
  transform: translateX(2px);
}

.help-sidebar__summary:hover::after {
  border-color: var(--primary);
}

.help-sidebar__category {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.18s ease;
}

.help-sidebar__summary:hover .help-sidebar__category {
  color: var(--primary);
}

.help-sidebar__category.is-active,
.help-sidebar__article.is-active {
  color: var(--primary);
}

.help-sidebar__group-body {
  display: grid;
  gap: 12px;
}

.help-sidebar__article {
  display: block;
  padding-left: 14px;
  position: relative;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
  transition: color 0.18s ease, transform 0.18s ease;
}

.help-sidebar__article::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(10, 99, 230, 0.2);
  transition: background 0.18s ease;
}

.help-sidebar__article:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.help-sidebar__article:hover::before {
  background: var(--primary);
}

.help-doc-main {
  grid-area: main;
  display: grid;
  gap: 20px;
}

.help-article-card {
  display: grid;
  gap: 24px;
}

.help-page-head {
  display: grid;
  gap: 16px;
}

.help-page-head h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.5;
  font-weight: 600;
}

.help-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.help-breadcrumbs a {
  color: var(--text-soft);
}

.help-doc-block {
  display: grid;
  gap: 18px;
}

.help-category-page .help-page-head.help-panel,
.help-category-page .help-doc-block.help-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.help-doc-block__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.help-doc-block__header h2,
.help-article-body h1,
.help-article-body h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.5;
  font-weight: 600;
}

.help-doc-block__header p {
  max-width: 36ch;
}

.help-list-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 24px;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.help-list-card__copy {
  display: grid;
  gap: 10px;
}

.help-article-body {
  display: grid;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(12, 24, 44, 0.08);
}

.help-article-section {
  display: grid;
  gap: 14px;
  scroll-margin-top: calc(var(--header-height, 0px) + 28px);
}

.help-article-body ol,
.help-article-body ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.help-page-side {
  grid-area: side;
  display: grid;
  gap: 20px;
}

.help-pager-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.help-pager-card {
  width: 100%;
  min-width: 0;
  min-height: auto;
  padding: 12px 14px;
  gap: 4px;
  border-radius: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  align-items: center;
}

.help-pager-card:hover,
.help-spotlight-card:hover,
.help-directory-card:hover,
.help-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 99, 230, 0.14);
  box-shadow: 0 18px 36px rgba(14, 37, 69, 0.1);
}

.help-pager-card span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.help-pager-card strong {
  font-size: 15px;
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.help-empty {
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .help-doc-section {
    padding-top: 40px;
  }

  .help-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-doc-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      'main'
      'sidebar'
      'side';
  }

  .help-sidebar,
  .help-page-side {
    position: static;
  }

  .help-sidebar {
    max-height: none;
    overflow-y: visible;
    overscroll-behavior: auto;
  }
}

@media (max-width: 920px) {
  .help-directory-shell {
    padding-top: 40px;
  }

  .help-directory-shell .section-intro {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .help-directory-shell .help-search-panel {
    width: 100%;
  }

  .help-doc-block__header {
    display: grid;
    align-items: start;
  }

  .help-list-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .help-directory-shell {
    padding-top: 0;
  }

  .help-spotlight-grid,
  .help-directory-grid,
  .help-pager-grid {
    grid-template-columns: 1fr;
  }

  .help-directory-grid,
  .help-directory-card {
    width: 100%;
    max-width: 100%;
  }

  .help-directory-shell .help-search-panel {
    display: block;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .help-directory-shell .help-search-clear {
    width: 100%;
  }

  .help-spotlight-grid {
    gap: 10px;
  }

  .help-spotlight-card,
  .help-directory-card,
  .help-panel,
  .help-pager-card {
    padding: 24px;
    border-radius: 24px;
  }

  .help-page-head h1 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .help-spotlight-card--compact {
    min-height: 74px;
    padding: 12px 16px;
    border-radius: 18px;
  }

  .help-spotlight-card--compact strong {
    font-size: 17px;
    line-height: 1.2;
  }

  .help-doc-block__header h2,
  .help-article-body h2 {
    font-size: 24px;
  }

  .help-pager-card {
    width: 100%;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .help-pager-card strong {
    font-size: 14px;
  }

  .help-meta-inline {
    gap: 8px;
  }

  .help-meta-inline span {
    font-size: 11px;
  }
}
