/* --- 手册详情页专属样式 --- */
.container { max-width: 1280px; }
.main-layout {
    display: flex;
    gap: 30px;
    padding: 30px 0 60px;
    align-items: flex-start;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
    padding: 25px;
    position: sticky;
    top: 90px;
}
.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.sidebar-section-label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sidebar-section-label i { color: #0056b3; }
.manual-switch-list {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    background: #f8faff;
    border-radius: 8px;
    padding: 6px;
}
.manual-switch-item {
    padding: 0;
    margin-bottom: 2px;
}
.manual-switch-item:last-child { margin-bottom: 0; }
.manual-switch-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 13px;
    color: #555;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s;
    line-height: 1.4;
}
.manual-switch-item a:hover { background: #eaf4ff; color: #0056b3; }
.manual-switch-item.active a {
    background: #0056b3;
    color: #fff;
    font-weight: 500;
}
.manual-switch-item.active a i { color: #fff; }
.manual-switch-item a i { color: #888; font-size: 12px; flex-shrink: 0; }
.toc-list { list-style: none; }
.toc-item {
    padding: 10px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
    transition: 0.2s;
}
.toc-item:hover { color: #0056b3; }
.toc-item .label { display: flex; align-items: center; gap: 8px; }
.toc-item .label i { color: #888; width: 16px; }
.toc-item .chevron { font-size: 11px; color: #aaa; }
.toc-children { padding-left: 25px; }
.toc-child-item {
    padding: 8px 12px;
    font-size: 13px;
    color: #777;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
    margin-bottom: 2px;
}
.toc-child-item:hover { background: #f0f7ff; color: #0056b3; }
.toc-child-item.active { background: #eaf4ff; color: #0056b3; font-weight: 500; }

.sidebar-footer-download { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.05); }
.btn-download-pdf {
    display: block;
    text-align: center;
    padding: 12px;
    background: #0056b3;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
    text-decoration: none;
}
.btn-download-pdf:hover { background: #004494; color: #fff; }

.content-area { flex: 1; min-width: 0; }
.doc-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.9);
}
.breadcrumb-left { font-size: 13px; color: #777; display: flex; align-items: center; gap: 10px; }
.breadcrumb-left .sep { color: #ccc; }
.breadcrumb-left .current { color: #333; font-weight: 500; }
.toolbar-right { display: flex; align-items: center; gap: 15px; }
.tool-icon {
    cursor: pointer;
    color: #888;
    transition: 0.2s;
    font-size: 14px;
}
.tool-icon:hover { color: #0056b3; }
.btn-contact-support {
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #0056b3;
    color: #0056b3;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
}
.btn-contact-support:hover { background: #eaf4ff; }

.doc-body-wrapper {
    padding: 35px 40px;
    background: #fff;
    min-height: 400px;
}
.doc-body-wrapper.glass-container { background: #fff; }
.doc-update-badge {
    display: inline-block;
    background: #f0f7ff;
    color: #0056b3;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 20px;
}
.doc-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}
.doc-intro { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 20px; }
.doc-subtitle { font-size: 20px; font-weight: 600; margin: 30px 0 15px; color: #1a1a1a; }
.doc-image-wrapper { margin: 25px 0; }
.doc-image-wrapper img {
    width: 100%;
    border-radius: 12px;
}
.doc-image-caption {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}
.doc-list-item {
    padding: 12px 15px;
    background: #f9f9f9;
    border-left: 3px solid #0056b3;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
    border-radius: 0 8px 8px 0;
}

@media (max-width: 992px) {
    .main-layout { flex-direction: column; }
    .sidebar { width: 100%; position: static; }
}
