.cp-web-manual { padding-bottom: 96px; }
.cp-web-manual .cp-help-hero { margin-bottom: 32px; }
.cp-web-manual .cp-help-hero h1 { max-width: 690px; }
.cp-web-search { align-self: center; }
.cp-web-search label { display: block; margin-bottom: 10px; color: #fff; font-size: 14px; font-weight: 750; }
.cp-web-search > div { display: flex; gap: 8px; padding: 7px; border-radius: 15px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.cp-web-search input { min-width: 0; flex: 1; min-height: 50px; border: 0; outline: 0; padding: 0 15px; background: transparent; color: #172033; font-size: 16px; }
.cp-web-search button { width: 52px; border: 0; border-radius: 11px; background: #f6c72e; color: #121827; cursor: pointer; font-size: 22px; font-weight: 900; }
.cp-web-search-status { min-height: 20px; margin: 10px 0 0; color: #c7cfdb !important; font-size: 13px !important; }

.cp-web-manual-figure { overflow: hidden; margin: 26px 0 34px; border: 1px solid #e2e7ef; border-radius: 18px; background: #f7f8fa; box-shadow: 0 18px 48px rgba(23,32,51,.09); }
.cp-web-manual-figure picture, .cp-web-manual-figure img { display: block; width: 100%; }
.cp-web-manual-figure img { height: auto; }
.cp-web-manual-figure figcaption { padding: 12px 17px 14px; color: #667085; font-size: 13px; line-height: 1.5; }
.cp-web-manual-hero-media { margin: -6px 0 28px; border-color: rgba(255,255,255,.14); background: #171b24; box-shadow: 0 26px 70px rgba(0,0,0,.25); }
.cp-web-manual-hero-media img { max-height: 640px; object-fit: cover; object-position: center; }
.cp-web-manual-hero-media figcaption { color: #c8d0de; }

.cp-web-manual-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.cp-web-manual-meta span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #c8d0de; font-size: 12px; }
.cp-web-manual-index { padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: #fffaf0; }
.cp-web-manual-index > span { color: #ef6435; font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.cp-web-manual-index h2 { margin: 8px 0 11px; color: #172033; font-size: clamp(30px, 3vw, 43px); letter-spacing: -.04em; }
.cp-web-manual-index > p { max-width: 760px; margin: 0; color: #667085; line-height: 1.65; }
.cp-web-manual-index-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.cp-web-manual-index-grid a { display: grid; gap: 8px; min-height: 130px; padding: 19px; border: 1px solid #e1e5ec; border-radius: 14px; background: #fff; color: #172033; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.cp-web-manual-index-grid a:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(25,35,54,.09); }
.cp-web-manual-index-grid small { color: #ef6435; font-weight: 850; }
.cp-web-manual-index-grid strong { font-size: 17px; line-height: 1.25; }

.cp-web-manual-chapters { display: grid; gap: 15px; margin-top: 34px; }
.cp-web-chapter { overflow: hidden; border: 1px solid #dfe4ec; border-radius: 18px; background: #fff; }
.cp-web-chapter[hidden] { display: none; }
.cp-web-chapter summary { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 25px; cursor: pointer; list-style: none; }
.cp-web-chapter summary::-webkit-details-marker { display: none; }
.cp-web-chapter summary > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #fff2ec; color: #db5529; font-size: 12px; font-weight: 900; }
.cp-web-chapter summary > div { display: grid; gap: 4px; }
.cp-web-chapter summary strong { color: #172033; font-size: clamp(19px, 2vw, 25px); line-height: 1.2; }
.cp-web-chapter summary small { color: #667085; font-size: 13px; line-height: 1.45; }
.cp-web-chapter summary > b { color: #ef6435; font-size: 26px; transition: transform .18s ease; }
.cp-web-chapter[open] summary > b { transform: rotate(45deg); }
.cp-web-chapter-body { padding: 5px clamp(24px, 5vw, 70px) 55px; border-top: 1px solid #edf0f4; color: #505b70; font-size: 17px; line-height: 1.76; }
.cp-web-chapter-body > .cp-web-manual-figure:first-child { margin-top: 32px; }
.cp-web-chapter-body h2 { margin: 48px 0 14px; color: #172033; font-size: clamp(27px, 3vw, 38px); letter-spacing: -.035em; }
.cp-web-chapter-body h3 { margin: 31px 0 11px; color: #303b52; font-size: 22px; }
.cp-web-chapter-body p:first-child { margin-top: 32px; }
.cp-web-chapter-body blockquote { margin: 24px 0; border-left: 4px solid #5da77a; padding: 14px 18px; background: #eef8f2; color: #315d43; }
.cp-web-chapter-body code { border-radius: 4px; padding: 2px 5px; background: #eef1f5; color: #2f405d; }
.cp-web-manual-pending { margin-top: 25px; padding: 22px 25px; border: 1px solid #735f39; border-radius: 15px; background: #211d17; color: #e2d6bd; }
.cp-web-manual-pending strong { color: #f6c72e; }
.cp-web-manual-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cp-web-manual-actions a { padding: 13px 18px; border-radius: 9px; background: #ef6435; color: #fff; font-weight: 800; text-decoration: none; }
.cp-web-manual-actions a + a { border: 1px solid rgba(255,255,255,.24); background: transparent; }

@media (max-width: 960px) {
  .cp-web-manual-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .cp-web-manual { padding-bottom: 68px; }
  .cp-web-manual-index { padding: 25px 20px; border-radius: 18px; }
  .cp-web-manual-index-grid { grid-template-columns: 1fr; }
  .cp-web-manual-index-grid a { min-height: 0; }
  .cp-web-chapter summary { grid-template-columns: auto 1fr auto; gap: 12px; padding: 18px 15px; }
  .cp-web-chapter summary small { display: none; }
  .cp-web-chapter-body { padding: 4px 20px 38px; font-size: 16px; }
  .cp-web-manual-figure { margin: 22px 0 28px; border-radius: 13px; }
}
