html { min-height: 100%; }
.tutorial-center .module-tutorial-renderer { counter-reset: tutorial-section; line-height: 2; overflow-wrap: anywhere; }
.tutorial-center .module-tutorial-renderer section { margin: 28px 0; }
.tutorial-center .module-tutorial-renderer h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; scroll-margin-top: 24px; }
.tutorial-center .module-tutorial-renderer h2::before { content: counter(tutorial-section, decimal-leading-zero); counter-increment: tutorial-section; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; height: 24px; border-radius: 3px; color: var(--primary); background: var(--primary-light-bg1); font-size: 12px; font-weight: 600; letter-spacing: .3px; line-height: 1; }
.tutorial-center .module-tutorial-renderer h3 { margin: 16px 0 8px; }
.tutorial-center .module-tutorial-renderer ul, .tutorial-center .module-tutorial-renderer ol { padding-left: 20px; margin: 10px 0; }
.tutorial-center .module-tutorial-renderer li { margin-bottom: 6px; }
.tutorial-center .module-tutorial-renderer p + p { margin-top: 10px; }
.tutorial-center .module-tutorial-renderer .tutorial-lead { margin-top: 20px; padding: 16px 20px; border-left: 3px solid var(--primary); background: var(--borderL); }
.tutorial-center .module-tutorial-renderer .tutorial-note { display: block; margin: 10px 0; padding: 7px 12px; background: var(--borderL); border-radius: 4px; line-height: 1.75; }
.tutorial-center .module-tutorial-renderer .tutorial-note--warning { background: #fdf6ec; color: #8b5a16; }
.tutorial-center .module-tutorial-renderer .tutorial-note--success { background: #f0f9eb; color: #4a7a24; }
.tutorial-center .module-tutorial-renderer .tutorial-screenshot-placeholder { margin-top: 12px; color: #c45656; }
.tutorial-center .module-tutorial-renderer table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0; table-layout: fixed; overflow: hidden; border: 1px solid #ebeef5; border-radius: 6px; }
.tutorial-center .module-tutorial-renderer th, .tutorial-center .module-tutorial-renderer td { padding: 10px 12px; border-bottom: 1px solid #ebeef5; vertical-align: top; text-align: left; }
.tutorial-center .module-tutorial-renderer th + th, .tutorial-center .module-tutorial-renderer td + td { border-left: 1px solid #ebeef5; }
.tutorial-center .module-tutorial-renderer tr:last-child td { border-bottom: 0; }
.tutorial-center .module-tutorial-renderer th { background: var(--borderL); }
.tutorial-center .module-tutorial-renderer figure { margin: 16px 0; }
.tutorial-center .module-tutorial-renderer img { max-width: 100%; max-height: 400px; cursor: zoom-in; object-fit: contain; }
.tutorial-center .module-tutorial-renderer figcaption { color: var(--text-secondary); }
.tutorial-center .module-tutorial-renderer a { color: var(--primary); }
.tutorial-center .module-tutorial-renderer code { background: var(--borderL); padding: 2px 4px; }
.tutorial-center .hc-pagination { display: flex; justify-content: flex-end; gap: 16px; margin-top: 20px; }
#tutorial-image-preview { border: 0; border-radius: 4px; max-width: 90vw; max-height: 90vh; padding: 16px; }
#tutorial-image-preview::backdrop { background: rgba(0,0,0,.55); }
#tutorial-image-preview img { display: block; max-width: 85vw; max-height: 78vh; object-fit: contain; }
#tutorial-image-preview form { text-align: right; margin-bottom: 8px; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
.tutorial-center .hc-search input { flex: 1; min-width: 0; height: 32px; border: 1px solid var(--border); background: var(--borderL); padding: 0 12px; border-radius: 4px; color: var(--text-primary); font: inherit; }
.tutorial-center .hc-search input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.tutorial-center .hc-search button { border: 1px solid var(--primary); border-radius: 4px; background: var(--primary); color: #fff; padding: 0 16px; cursor: pointer; font: inherit; }
.tutorial-center .hc-note { padding: 12px 16px; border-radius: 4px; background: var(--borderL); line-height: 1.8; }
.tutorial-center i[class^="el-icon-"] { display: inline-block; width: 18px; font-style: normal; text-align: center; line-height: 1.2; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { display: block; padding: 8px; }
@media (max-width: 640px) {
    .tutorial-center .hc-header-inner { height: auto; min-height: 72px; flex-wrap: wrap; padding: 16px; gap: 12px; }
    .tutorial-center .hc-search { order: 3; width: 100%; }
    .tutorial-center .hc-demo { margin-left: auto; }
    .tutorial-center .hc-body { grid-template-columns: minmax(0, 1fr); }
    .tutorial-center .hc-sidebar { border-right: 0; border-bottom: 1px solid var(--border); }
    .tutorial-center .hc-sidebar nav { display: flex; flex-wrap: wrap; gap: 4px; }
    .tutorial-center .hc-nav-caption, .tutorial-center .hc-nav-note { display: none; }
    .tutorial-center .hc-subnav { width: 100%; }
    .tutorial-center .hc-main { padding: 20px 16px; }
    .tutorial-center .hc-document-end { flex-wrap: wrap; }
}
