main:has(> .ch-help) {
  display: flow-root;
  background: #231f20;
}
.ch-help {
  --ch-purple: #6762cb;
  --ch-ink: #231f20;
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px 28px 35px;
  color: var(--ch-ink);
  font-family:
    Outfit,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}
.ch-help,
.ch-help * {
  box-sizing: border-box;
}
.ch-help:has(.ch-crumbs) {
  background: #fff;
  border: 1px solid #e5e0f3;
  border-radius: 18px;
  width: calc(100% - 36px);
  margin: 40px auto;
  padding: 40px;
}
.ch-help:has(.ch-hero) > .ch-help-footer {
  color: #c5bdd9;
  border-color: #514857;
}
.ch-help a {
  color: inherit;
  text-decoration: none;
}
.ch-help a:focus-visible,
.ch-help button:focus-visible,
.ch-help input:focus-visible {
  outline: 3px solid #8c83ee;
  outline-offset: 5px;
}
.ch-hero {
  text-align: center;
  border-radius: 22px;
  padding: 64px 40px 58px;
  background: linear-gradient(145deg, #f0edfc, #faf9fd);
  border: 1px solid #e5e0f3;
}
.ch-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #6d62a4;
  margin: 0 0 20px;
}
.ch-help h1,
.ch-help h2,
.ch-help h3 {
  font-family: inherit;
  letter-spacing: -0.035em;
  text-transform: none;
  color: var(--ch-ink);
  font-weight: 650;
}
.ch-hero h1 {
  font-size: clamp(38px, 5.3vw, 62px);
  line-height: 1.1;
  margin: 0 0 24px;
}
.ch-hero > p:not(.ch-eyebrow) {
  color: #756b85;
  font-size: 17px;
}
.ch-search {
  display: flex;
  gap: 7px;
  background: white;
  border: 1px solid #dcd5ec;
  box-shadow: 0 8px 26px #4232650b;
  border-radius: 11px;
  padding: 7px;
  margin: 30px auto 0;
  max-width: 680px;
}
.ch-search input {
  min-width: 0;
  flex: 1;
  background: none;
  border: 0;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  padding: 12px;
  color: #231f20;
  margin: 0;
}
.ch-search button {
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  border: 0;
  border-radius: 7px;
  padding: 12px 21px;
  background: #6762cb;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
}
.ch-search button:hover {
  background: #524bb4;
}
.ch-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}
.ch-category {
  padding: 27px;
  border: 1px solid #e4deec;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
  background: white;
}
.ch-category:hover {
  border-color: #a49bdf;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #3420570a;
}
.ch-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  background: #f0edfa;
  font-size: 23px;
  margin-bottom: 23px;
}
.ch-category h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 12px;
}
.ch-category p {
  font-size: 14px;
  line-height: 1.6;
  color: #82768c;
  flex: 1;
  margin: 0 0 25px;
}
.ch-category small {
  display: flex;
  justify-content: space-between;
  color: #7564ba;
  font-size: 12px;
  font-weight: 550;
}
.ch-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  line-height: 1.5;
  font-size: 12px;
  color: #897f95;
  margin: 0 0 38px;
}
.ch-crumbs a {
  color: #6e5eb0;
}
.ch-crumbs > span:last-child {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ch-section-heading h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 18px;
}
.ch-section-heading > p {
  color: #85788e;
}
.ch-section-heading .ch-search {
  margin: 25px 0 35px;
}
.ch-article-list {
  border: 1px solid #e5dfed;
  border-radius: 12px;
  overflow: hidden;
  margin: 25px 0;
}
.ch-article-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  background: white;
  border-bottom: 1px solid #eee9f3;
}
.ch-article-list > a:last-child {
  border-bottom: 0;
}
.ch-article-list > a:hover {
  background: #f7f5fd;
}
.ch-article-list strong {
  font-weight: 550;
  display: block;
  line-height: 1.5;
  font-size: 16px;
}
.ch-article-list small {
  display: block;
  font-size: 13px;
  color: #8c8098;
  margin-top: 7px;
}
.ch-article-list > a > span:last-child {
  color: #8470bf;
}
.ch-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 200px;
  gap: 60px;
}
.ch-article-heading h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 20px;
}
.ch-article-heading > p {
  font-size: 12px;
  color: #8c8098;
  border-bottom: 1px solid #e8e1ee;
  padding-bottom: 25px;
  margin-bottom: 30px;
}
.ch-body,
.tiptap,
.preview-body {
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  color: #39323f;
}
.ch-body p,
.tiptap p,
.preview-body p {
  margin: 0 0 18px;
}
.ch-body h2,
.tiptap h2,
.preview-body h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 38px 0 17px;
  letter-spacing: -0.025em;
}
.ch-body h3,
.tiptap h3,
.preview-body h3 {
  font-size: 21px;
  line-height: 1.4;
  margin: 28px 0 14px;
}
.ch-body h4,
.tiptap h4,
.preview-body h4 {
  font-size: 18px;
  margin: 24px 0 12px;
}
.ch-body a,
.tiptap a,
.preview-body a {
  color: #6762cb;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ch-body img,
.tiptap img,
.preview-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.ch-body figure,
.tiptap figure,
.preview-body figure {
  margin: 25px 0;
}
.ch-body figcaption,
.tiptap figcaption,
.preview-body figcaption {
  font-size: 12px;
  text-align: center;
  color: #8d8099;
  margin-top: 10px;
}
.ch-body iframe,
.ch-body video,
.tiptap iframe,
.tiptap video,
.preview-body iframe,
.preview-body video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  border: 0;
  border-radius: 9px;
  margin: 24px 0;
}
.ch-body table,
.tiptap table,
.preview-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  table-layout: fixed;
}
.ch-body th,
.ch-body td,
.tiptap th,
.tiptap td,
.preview-body th,
.preview-body td {
  border: 1px solid #ded7e8;
  padding: 13px;
  text-align: left;
  vertical-align: top;
  min-width: 60px;
}
.ch-body th,
.tiptap th,
.preview-body th {
  background: #f3effa;
  font-weight: 600;
}
.ch-body td p:last-child,
.tiptap td p:last-child {
  margin-bottom: 0;
}
.ch-body ul,
.ch-body ol,
.tiptap ul,
.tiptap ol,
.preview-body ul,
.preview-body ol {
  padding-left: 26px;
  margin: 18px 0 24px;
}
.ch-body li,
.tiptap li,
.preview-body li {
  margin: 8px 0;
}
.ch-body pre,
.tiptap pre,
.preview-body pre {
  background: #28212e;
  color: #eee7fa;
  border-radius: 8px;
  padding: 20px;
  white-space: pre-wrap;
  font:
    13px/1.7 ui-monospace,
    monospace;
}
.ch-body code,
.tiptap code,
.preview-body code {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
}
.ch-body blockquote,
.tiptap blockquote,
.preview-body blockquote {
  margin: 24px 0;
  border-left: 3px solid #8c7ad1;
  padding: 12px 24px;
  background: #f7f4fc;
}
.ch-body [data-type="callout"],
.tiptap [data-type="callout"],
.preview-body [data-type="callout"] {
  padding: 22px 25px;
  border: 1px solid #e1d8f3;
  background: #f7f3ff;
  border-radius: 10px;
  margin: 24px 0;
}
.ch-body [data-type="callout"] > :last-child,
.tiptap [data-type="callout"] > :last-child {
  margin-bottom: 0;
}
.ch-body details,
.preview-body details {
  margin: 20px 0;
  border: 1px solid #ded7e8;
  border-radius: 9px;
  padding: 16px 20px;
}
.ch-body summary,
.preview-body summary {
  cursor: pointer;
  font-weight: 600;
}
.ch-body details[open] > summary {
  margin-bottom: 16px;
}
.ch-body hr,
.tiptap hr,
.preview-body hr {
  border: 0;
  border-top: 1px solid #e3dcea;
  margin: 35px 0;
}
.ch-toc {
  position: sticky;
  top: 110px;
  height: max-content;
  border-left: 1px solid #e5deed;
  padding-left: 23px;
  font-size: 12px;
}
.ch-toc:empty {
  display: none;
}
.ch-toc strong {
  display: block;
  margin-bottom: 17px;
  font-weight: 600;
}
.ch-toc a {
  display: block;
  color: #8b7f95;
  margin: 12px 0;
  line-height: 1.5;
}
.ch-toc a:hover {
  color: #6762cb;
}
.ch-body :is(h2, h3, h4) {
  scroll-margin-top: 120px;
}
.ch-article-contact {
  background: #f7f4fc;
  border-radius: 12px;
  padding: 26px;
  margin: 45px 0 35px;
}
.ch-article-contact strong {
  font-size: 18px;
}
.ch-article-contact p {
  margin: 7px 0 0;
  font-size: 14px;
  color: #81718e;
}
.ch-article-contact a {
  color: #6762cb;
  text-decoration: underline;
}
.ch-related > h2 {
  font-size: 22px;
}
.ch-related .ch-article-list strong {
  font-size: 14px;
}
.ch-help-footer {
  border-top: 1px solid #e9e2ef;
  margin-top: 55px;
  padding-top: 25px;
  display: flex;
  gap: 27px;
  justify-content: center;
  font-size: 12px;
  color: #8c7e98;
}
.ch-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.ch-help
  :is(
    .ch-category p,
    .ch-article-list small,
    .ch-section-heading > p,
    .ch-article-heading > p,
    .ch-article-contact p,
    .ch-body figcaption
  ) {
  color: #6e6279;
}
.ch-table-scroll {
  overflow: auto;
}
@media (max-width: 900px) {
  .ch-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ch-reading-layout {
    display: block;
  }
  .ch-toc {
    display: none;
  }
  .ch-help {
    max-width: 800px;
  }
}
@media (max-width: 550px) {
  .ch-help:has(.ch-crumbs) {
    padding: 26px 18px;
    margin: 22px auto;
    width: calc(100% - 24px);
    border-radius: 14px;
  }
  .ch-help {
    padding: 25px 18px;
  }
  .ch-hero {
    padding: 37px 19px;
    border-radius: 16px;
  }
  .ch-hero h1 {
    font-size: 37px;
  }
  .ch-hero > p:not(.ch-eyebrow) {
    font-size: 14px;
  }
  .ch-search {
    padding: 5px;
  }
  .ch-search input {
    font-size: 12px;
    padding: 10px 7px;
  }
  .ch-search button {
    padding: 10px 12px;
    font-size: 12px;
  }
  .ch-search button span {
    display: none;
  }
  .ch-category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }
  .ch-category {
    padding: 24px;
  }
  .ch-category-icon {
    margin-bottom: 17px;
  }
  .ch-category p {
    margin-bottom: 18px;
  }
  .ch-help-footer {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .ch-article-list > a {
    padding: 19px;
  }
  .ch-article-list strong {
    font-size: 14px;
  }
  .ch-section-heading h1 {
    font-size: 32px;
  }
  .ch-body {
    font-size: 15px;
  }
  .ch-body h2 {
    font-size: 23px;
  }
  .ch-body th,
  .ch-body td {
    padding: 10px;
    font-size: 12px;
  }
  .ch-crumbs {
    margin-bottom: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ch-category {
    transition: none;
  }
}

/* Article visuals remain editable content; original files open without a script. */
.ch-body figure[id^="help-visual-"] {
  margin: 30px auto;
  max-width: 720px;
}
.ch-body figure[id^="help-visual-"] img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 740px;
  margin: 0 auto;
  border-radius: 12px;
}
.ch-body figure[id^="help-visual-"] figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #625a71;
}
.ch-body details[id^="help-visual-"] {
  margin: 24px 0;
  padding: 16px 20px;
  border: 1px solid #ded6ed;
  border-radius: 12px;
}
.ch-body details[id^="help-visual-"] > summary {
  cursor: pointer;
  font-weight: 600;
  color: #6651bd;
}
