.support-kb {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #262626;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.support-kb *,
.support-kb *::before,
.support-kb *::after {
  box-sizing: border-box;
}

.support-kb [hidden] {
  display: none !important;
}

.support-kb h1,
.support-kb h2,
.support-kb h3,
.support-kb p {
  margin: 0;
}

.support-kb a {
  color: inherit;
  text-decoration: none;
}

.support-kb a:hover {
  color: #4f46e5;
}

.support-hero {
  background: linear-gradient(120deg, #f3f2ff 0%, #f8f8fb 58%, #fff 100%);
  padding-bottom: 54px;
}

.support-header-wrap {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 30px;
}

.support-header {
  width: min(100% - 48px, 1100px);
  margin: 0 auto;
  padding: 25px 0;
}

.support-header img {
  max-width: 225px;
  width: auto;
  height: auto;
  max-height: 38px;
  object-fit: contain;
  object-position: left center;
}

.support-hero-title {
  margin: 38px auto 24px;
  text-align: center;
  font-size: 36px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
}

.support-search-wrap {
  position: relative;
  width: min(100% - 48px, 680px);
  margin: 0 auto;
  z-index: 5;
}

.support-search {
  display: block;
  width: 100%;
  min-height: 48px;
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 12px #0000000b;
  padding: 12px 16px !important;
  color: #262626 !important;
  font-size: 15px !important;
}

.support-search:focus {
  outline: 2px solid #4f46e5 !important;
  outline-offset: 1px;
}

.support-search-results {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  max-height: min(65vh, 520px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 12px 30px #0000001a;
}

.support-search-result {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 17px;
  border-bottom: 1px solid #f1f1f1;
}

.support-search-result:last-child {
  border-bottom: 0;
}

.support-search-result:hover {
  background: #f8f8ff;
}

.support-search-result-collection,
.support-muted {
  color: #737373;
}

.support-no-results {
  display: block;
  padding: 15px 17px;
}

.support-main {
  width: min(100% - 48px, 1100px);
  margin: 0 auto;
  padding: 40px 0 80px;
  flex: 1;
}

.support-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.support-collection-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 22px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.support-collection-card:hover {
  border-color: #c7c5f8;
  box-shadow: 0 4px 16px #0000000c;
}

.support-collection-card h3 {
  font-size: 17px;
  font-weight: 600;
}

.support-collection-card p {
  color: #525252;
  line-height: 1.45;
}

.support-collection-card p:last-child {
  margin-top: auto;
  color: #737373;
}

.support-collection-icon {
  width: 25px;
  height: 25px;
  color: #4f46e5;
  margin-bottom: 2px;
}

.support-collection-icon svg {
  width: 100%;
  height: 100%;
}

.support-popular {
  max-width: 800px;
  margin: 56px auto 0;
}

.support-popular h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.support-list {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
}

.support-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 14px 20px;
  border-bottom: 1px solid #e5e5e5;
}

.support-list-row:last-child {
  border-bottom: 0;
}

.support-list-row:hover {
  background: #fafaff;
}

.support-list-row > :last-child {
  color: #737373;
  font-size: 23px;
}

.support-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  color: #737373;
  font-size: 14px;
}

.support-page-title {
  font-size: 32px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  margin-bottom: 10px;
}

.support-description {
  display: block;
  margin-bottom: 32px;
  color: #737373;
}

.support-updated {
  display: block;
  margin: 3px 0 32px;
}

.support-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(180px, 260px);
  justify-content: space-between;
  gap: 48px;
}

.support-article-body {
  overflow-wrap: anywhere;
  line-height: 1.7;
}

.support-article-body p {
  margin: 0 0 16px;
}

.support-article-body p:empty {
  display: none;
}

.support-article-body h2,
.support-article-body h3 {
  font-weight: 650;
  line-height: 1.3;
  margin: 28px 0 12px;
}

.support-article-body h2 {
  font-size: 23px;
}

.support-article-body h3 {
  font-size: 19px;
}

.support-article-body ul,
.support-article-body ol {
  margin: 0 0 18px 24px;
  padding-left: 14px;
}

.support-article-body ul {
  list-style: disc;
}

.support-article-body ol {
  list-style: decimal;
}

.support-article-body li {
  margin: 3px 0;
}

.support-article-body li p {
  margin-bottom: 2px;
}

.support-article-body a {
  color: #2563eb;
  text-decoration: underline;
}

.support-article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
}

.support-article-body img[data-width="50%"] {
  width: 50%;
}

.support-article-body img[data-width="75%"] {
  width: 75%;
}

.support-article-body blockquote {
  margin: 18px 0;
  padding: 8px 18px;
  border-left: 3px solid #c7c5f8;
  background: #fafaff;
}

.support-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.support-article-body td,
.support-article-body th {
  border: 1px solid #e5e5e5;
  padding: 10px;
  vertical-align: top;
}

.support-article-body code {
  padding: 1px 4px;
  border-radius: 3px;
  background: #f5f5f5;
}

.support-related {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid #e5e5e5;
  padding-left: 22px;
  font-size: 14px;
}

.support-related h3 {
  margin-bottom: 6px;
  color: #525252;
}

.support-footer {
  display: flex;
  width: min(100% - 48px, 1100px);
  min-height: 92px;
  align-items: center;
  margin: 0 auto;
  border-top: 1px solid #e5e5e5;
}

@media (max-width: 800px) {
  .support-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-article-layout {
    grid-template-columns: 1fr;
  }

  .support-related {
    border-left: 0;
    border-top: 1px solid #e5e5e5;
    padding: 20px 0 0;
  }
}

@media (max-width: 540px) {
  .support-header,
  .support-main,
  .support-footer {
    width: min(100% - 32px, 1100px);
  }

  .support-search-wrap {
    width: min(100% - 32px, 680px);
  }

  .support-collection-grid {
    grid-template-columns: 1fr;
  }

  .support-hero-title {
    font-size: 29px !important;
  }

  .support-page-title {
    font-size: 26px !important;
  }
}
