.cp-help-hub,
.cp-help-article-shell {
  --cp-help-ink: #172033;
  --cp-help-muted: #667085;
  --cp-help-line: #dfe4ec;
  --cp-help-soft: #f4f6f9;
  --cp-help-dark: #171d2b;
  --cp-help-yellow: #f6c72e;
  --cp-help-orange: #ef6435;
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
  color: var(--cp-help-ink);
}

.cp-help-hub { padding: 54px 0 88px; }
.cp-help-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 60px;
  align-items: center;
  padding: clamp(38px, 6vw, 72px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 20%, rgba(246,199,46,.2), transparent 27%),
    linear-gradient(135deg, #171d2b 0%, #252e42 75%);
  color: #fff;
  box-shadow: 0 30px 80px rgba(22,29,43,.18);
}
.cp-help-hero > div > span,
.cp-help-assistant > div > span,
.cp-help-proof > header > span,
.cp-help-library > header > span {
  color: var(--cp-help-orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
}
.cp-help-hero h1 { max-width: 760px; margin: 12px 0 18px; color: #fff; font-size: clamp(38px, 5vw, 67px); line-height: 1.02; letter-spacing: -.045em; }
.cp-help-hero p { max-width: 690px; margin: 0; color: #c7cfdb; font-size: 18px; line-height: 1.65; }
.cp-help-search { position: relative; }
.cp-help-search label { display: block; margin-bottom: 10px; color: #fff; font-size: 14px; font-weight: 750; }
.cp-help-search > div:first-of-type { display: flex; padding: 7px; border-radius: 15px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.cp-help-search input { min-width: 0; flex: 1; min-height: 50px; border: 0; outline: 0; padding: 0 15px; background: transparent; color: var(--cp-help-ink); font-size: 16px; }
.cp-help-search button { width: 52px; border: 0; border-radius: 11px; background: var(--cp-help-yellow); color: #121827; cursor: pointer; font-size: 24px; font-weight: 900; }
.cp-help-search-results { position: absolute; z-index: 12; top: calc(100% + 8px); right: 0; left: 0; max-height: min(560px, calc(100vh - 190px)); overflow-x: hidden; overflow-y: auto; border: 1px solid var(--cp-help-line); border-radius: 14px; background: #fff; box-shadow: 0 28px 70px rgba(12,18,30,.24); overscroll-behavior: contain; }
.cp-help-search-results a { display: grid; gap: 3px; padding: 14px 17px; color: var(--cp-help-ink); text-decoration: none; }
.cp-help-search-results a + a { border-top: 1px solid #edf0f4; }
.cp-help-search-results a:hover { background: #fff8e4; }
.cp-help-search-results span { color: var(--cp-help-muted); font-size: 13px; }
.cp-help-search-empty { margin: 10px 0 0; color: #f8d8cd !important; font-size: 13px !important; }

.cp-help-proof { margin: 34px 0; padding: clamp(28px, 4.6vw, 52px); border: 1px solid #e2ddd1; border-radius: 24px; background: linear-gradient(135deg, #fff9eb, #fff); }
.cp-help-proof > header { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 52px; align-items: end; }
.cp-help-proof > header > span { grid-column: 1 / -1; }
.cp-help-proof h2 { margin: 8px 0 0; font-size: clamp(29px, 3vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.cp-help-proof > header p { margin: 0; color: var(--cp-help-muted); line-height: 1.65; }
.cp-help-proof-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.cp-help-proof-grid > div { min-width: 0; padding: 18px 14px; border: 1px solid rgba(23,32,51,.09); border-radius: 13px; background: rgba(255,255,255,.78); }
.cp-help-proof-grid strong { display: block; color: var(--cp-help-ink); font-size: clamp(24px, 2.4vw, 34px); line-height: 1; letter-spacing: -.04em; }
.cp-help-proof-grid span { display: block; margin-top: 9px; color: #697184; font-size: 11px; line-height: 1.35; }
.cp-help-proof-note { margin: 18px 0 0; color: #77664a; font-size: 12px; }

.cp-help-assistant { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; margin: 34px 0 70px; padding: 34px; border: 1px solid var(--cp-help-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 55px rgba(27,38,59,.07); }
.cp-help-assistant h2,
.cp-help-library h2 { margin: 8px 0 10px; font-size: clamp(29px, 3vw, 42px); letter-spacing: -.035em; }
.cp-help-assistant p { margin: 0; color: var(--cp-help-muted); line-height: 1.65; }
.cp-help-assistant-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.cp-help-assistant-form label { color: #39445a; font-size: 12px; font-weight: 750; }
.cp-help-assistant-form select { display: block; width: 100%; min-height: 48px; margin-top: 7px; border: 1px solid #cfd5df; border-radius: 9px; padding: 0 12px; overflow: hidden; background: #fff; color: var(--cp-help-ink); text-overflow: ellipsis; }
.cp-help-assistant-form button { grid-column: 1 / -1; min-height: 48px; border: 0; border-radius: 9px; padding: 0 18px; background: var(--cp-help-yellow); color: #182033; cursor: pointer; font-weight: 850; }
.cp-help-recommendation { grid-column: 1 / -1; margin-top: 5px; }
.cp-help-recommendation a { display: grid; gap: 4px; padding: 17px 19px; border-left: 4px solid var(--cp-help-orange); border-radius: 9px; background: #fff3ee; color: var(--cp-help-ink); text-decoration: none; }
.cp-help-recommendation span { color: var(--cp-help-muted); font-size: 14px; }

.cp-help-library > header { margin-bottom: 30px; }
.cp-help-library h2 { color: #fff; }
.cp-help-group + .cp-help-group { margin-top: 50px; }
.cp-help-group > h3 { margin: 0 0 17px; color: #c8d0de; font-size: 18px; }
.cp-help-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cp-help-card { display: flex; min-height: 245px; flex-direction: column; padding: 25px; border: 1px solid var(--cp-help-line); border-radius: 18px; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.cp-help-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(25,35,54,.09); }
.cp-help-card > span { color: var(--cp-help-orange); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.cp-help-card h4 { margin: 10px 0 9px; font-size: 22px; line-height: 1.2; }
.cp-help-card h4 a { color: var(--cp-help-ink); text-decoration: none; }
.cp-help-card p { margin: 0; color: var(--cp-help-muted); line-height: 1.58; }
.cp-help-card-link { margin-top: auto; padding-top: 20px; color: #355bc6; font-size: 13px; font-weight: 800; text-decoration: none; }

.cp-help-article-shell { padding: 42px 0 90px; }
.cp-help-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; color: #8f99aa; font-size: 13px; }
.cp-help-breadcrumb a { color: #b5c0d0; text-decoration: none; }
.cp-help-breadcrumb b { max-width: 560px; overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; }
.cp-help-article-header { padding: clamp(38px, 6vw, 70px); border-radius: 28px; background: linear-gradient(135deg, #171d2b, #2d374d); color: #fff; }
.cp-help-article-header > span { color: var(--cp-help-yellow); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.cp-help-article-header h1 { max-width: 900px; margin: 13px 0 17px; color: #fff; font-size: clamp(39px, 5.8vw, 68px); line-height: 1.04; letter-spacing: -.05em; }
.cp-help-article-header p { max-width: 780px; margin: 0; color: #c7cfdb; font-size: 18px; line-height: 1.65; }
.cp-help-version { margin-top: 24px; color: #aeb9ca; font-size: 12px; }
.cp-help-version b { color: #fff; }
.cp-help-article-layout { display: grid; grid-template-columns: 230px minmax(0, 790px); justify-content: center; gap: 56px; margin-top: 52px; }
.cp-help-toc { position: sticky; top: 112px; align-self: start; padding: 20px; border: 1px solid var(--cp-help-line); border-radius: 14px; background: var(--cp-help-soft); }
.cp-help-toc strong { font-size: 13px; }
.cp-help-toc ol { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.cp-help-toc a { color: #5c6678; font-size: 13px; line-height: 1.4; text-decoration: none; }
.cp-help-toc a:hover { color: #244fb5; }
.cp-help-article-content { min-width: 0; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--cp-help-line); border-radius: 20px; background: #fff; box-shadow: 0 24px 65px rgba(0,0,0,.16); font-size: 17px; line-height: 1.76; }
.cp-help-article-content h2 { scroll-margin-top: 110px; margin: 58px 0 16px; color: var(--cp-help-ink); font-size: clamp(29px, 3vw, 40px); letter-spacing: -.035em; }
.cp-help-article-content h2:first-child { margin-top: 0; }
.cp-help-article-content h3 { margin: 34px 0 12px; color: #303b52; font-size: 23px; }
.cp-help-article-content p,
.cp-help-article-content li { color: #505b70; }
.cp-help-article-content .wp-block-image { margin: 32px 0; }
.cp-help-article-content .wp-block-image img { display: block; width: 100%; height: auto; border: 1px solid #dce1e8; border-radius: 15px; box-shadow: 0 22px 55px rgba(20,28,43,.12); }
.cp-help-article-content figcaption { margin-top: 9px; color: #7c8595; font-size: 12px; text-align: left; }
.cp-help-article-content blockquote { margin: 25px 0; border-left: 4px solid #5da77a; padding: 15px 18px; background: #eef8f2; color: #315d43; }
.cp-help-article-content code { border-radius: 4px; padding: 2px 5px; background: #eef1f5; color: #2f405d; }
.cp-help-related,
.cp-help-feedback { width: min(1020px, 100%); margin-inline: auto; }
.cp-help-related { margin-top: 68px; }
.cp-help-related h2 { color: #fff; font-size: 28px; }
.cp-help-related > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.cp-help-related a { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--cp-help-line); border-radius: 13px; background: #fff; color: var(--cp-help-ink); text-decoration: none; }
.cp-help-related span { color: var(--cp-help-muted); font-size: 13px; }
.cp-help-feedback { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 30px; padding: 22px; border-radius: 14px; background: var(--cp-help-soft); }
.cp-help-feedback button { min-width: 70px; border: 1px solid #c8d0dd; border-radius: 8px; padding: 8px 13px; background: #fff; color: #27334a; cursor: pointer; }

@media (max-width: 960px) {
  .cp-help-hero,
  .cp-help-assistant { grid-template-columns: 1fr; }
  .cp-help-proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cp-help-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-help-article-layout { grid-template-columns: 1fr; gap: 28px; }
  .cp-help-toc { position: static; }
}

@media (max-width: 680px) {
  .cp-help-hub,
  .cp-help-article-shell { width: min(100% - 22px, 1180px); }
  .cp-help-hub { padding-top: 12px; }
  .cp-help-hero { gap: 34px; padding: 31px 22px; border-radius: 18px; }
  .cp-help-hero h1,
  .cp-help-article-header h1 { font-size: 37px; }
  .cp-help-proof { padding: 26px 20px; }
  .cp-help-proof > header { grid-template-columns: 1fr; gap: 12px; }
  .cp-help-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-help-assistant { margin-top: 20px; padding: 23px; }
  .cp-help-assistant-form,
  .cp-help-card-grid,
  .cp-help-related > div { grid-template-columns: 1fr; }
  .cp-help-card { min-height: 0; }
  .cp-help-article-header { padding: 34px 23px; border-radius: 18px; }
  .cp-help-article-content { padding: 24px 20px; border-radius: 16px; }
  .cp-help-feedback { flex-wrap: wrap; }
}
