.manual-layout { display: flex; flex-direction: column; }
.manual-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; width: min(1360px, 100%); padding: 36px 24px 64px; margin: 0 auto; box-sizing: border-box; flex: 1; }
.manual-main { min-width: 0; }
.manual-chapters, .manual-toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 112px); overflow: auto; }
.manual-chapters { padding-right: 20px; border-right: 1px solid var(--xq-border-color, #e5e7eb); }
.manual-shell summary { cursor: pointer; font-size: 14px; font-weight: 700; padding: 8px 0 14px; }
.manual-chapter-panel nav, .manual-toc nav { display: flex; flex-direction: column; gap: 4px; }
.manual-shell a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.manual-shell a:hover { color: var(--el-color-primary); }
.manual-chapter-link, .manual-toc a { display: block; padding: 9px 12px; font-size: 14px; line-height: 1.6; border-radius: 6px; }
.manual-chapter-link[aria-current], .manual-toc a[aria-current] { color: var(--el-color-primary); background: #f3efff; font-weight: 600; }
.manual-toc { border-left: 1px solid var(--xq-border-color, #e5e7eb); padding-left: 16px; }
.manual-toc .manual-toc-child { padding-left: 24px; font-size: 13px; }
.manual-chapters .manual-toc { position: static; max-height: none; overflow: visible; border: 0; padding: 0; margin: 0; }
@media (min-width: 901px) { .manual-toc summary { display: none; } }
.manual-toc a { padding: 6px 10px; }
.manual-toc a[data-level="2"] { padding-left: 22px; }
.manual-toc a[data-level="3"] { padding-left: 34px; }
.manual-toc a[data-level="4"] { padding-left: 46px; }
.manual-anchor-heading { scroll-margin-top: 110px; }
.manual-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: #7c8495; font-size: 13px; line-height: 1.6; }
.manual-heading { padding: 20px 0 24px; border-bottom: 1px solid #e5e7eb; margin-bottom: 28px; }
.manual-heading h1 { margin: 0; font-size: 30px; line-height: 1.4; overflow-wrap: anywhere; }
.manual-updated { margin: 12px 0 0; color: #7c8495; font-size: 13px; }
.manual-body { font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.manual-body h1 { font-size: 28px; font-weight: 700; line-height: 1.5; margin: 24px 0; }
.manual-body h2, .manual-body h3, .manual-body h4, .manual-body h5, .manual-body h6 { scroll-margin-top: 110px; font-weight: 700; line-height: 1.5; margin: 32px 0 16px; }
.manual-body h2 { font-size: 24px; }
.manual-body h3 { font-size: 19px; }
.manual-body h4 { font-size: 18px; }
.manual-body h5, .manual-body h6 { font-size: 16px; }
.manual-body p { margin: 16px 0; }
.manual-body ul, .manual-body ol { padding-left: 24px; margin: 16px 0; }
.manual-body ul { list-style: disc; }
.manual-body ol { list-style: decimal; }
.manual-body img, .manual-body video { max-width: 100%; height: auto; }
.manual-body a { color: var(--el-color-primary); text-decoration: underline; }
.manual-body blockquote { margin: 24px 0; padding: 12px 20px; border-left: 4px solid var(--el-color-primary); background: #f3f4f6; }
.manual-body pre { overflow: auto; padding: 16px; background: #f3f4f6; border-radius: 6px; }
.manual-body table { display: block; overflow: auto; max-width: 100%; border-collapse: collapse; }
.manual-body th, .manual-body td { border: 1px solid #dce0e6; padding: 8px 12px; }
.manual-body th { background: #f3f4f6; }
.manual-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #e5e7eb; }
.manual-pagination a { max-width: 48%; }
.manual-pagination span, .manual-pagination strong { display: block; }
.manual-pagination span { color: #7c8495; font-size: 13px; margin-bottom: 6px; }
.manual-next { margin-left: auto; text-align: right; }
.manual-chapter-index { list-style: decimal; padding-left: 24px; }
.manual-chapter-index li { padding: 16px 0; border-bottom: 1px solid #e5e7eb; }
.manual-chapter-index a { font-size: 18px; font-weight: 600; }
.manual-chapter-index p, .manual-empty { color: #7c8495; line-height: 1.8; }
@media (min-width: 901px) and (max-width: 1100px) { .manual-shell { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; } }
@media (max-width: 900px) {
  .manual-shell { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 20px 48px; }
  .manual-chapters, .manual-toc { position: static; max-height: none; border: 0; border-bottom: 1px solid #e5e7eb; padding: 0 0 12px; }
  .manual-chapters { grid-row: 1; }
  .manual-toc { grid-row: 2; }
  .manual-main { grid-row: 2; }
  .manual-heading h1 { font-size: 26px; }
  .manual-pagination a { max-width: 100%; }
}
