.manual-page {
    --manual-primary: #005a9c;
    --manual-accent: #50c878;
    --manual-bg: #f5f7fa;
    --manual-card: #ffffff;
    --manual-border: #e2e8f0;
    --manual-text: #334155;
    --manual-muted: #64748b;
    --manual-shadow: 0 4px 16px rgba(0, 90, 156, 0.08);
}

.manual-page body {
    background: var(--manual-bg);
}

.manual-page #main {
    max-width: 960px;
    margin: 0 auto;
}

.manual-page #product_detail {
    background: transparent;
    padding: 0 25px 40px;
}

/* Breadcrumb */
.manual-page #position {
    width: 100%;
    height: auto;
    line-height: 1.6;
    padding: 14px 18px;
    margin-bottom: 18px;
    background: #eef4fb;
    border-left: 4px solid var(--manual-primary);
    border-radius: 8px;
    font-size: 13px;
    color: var(--manual-muted);
    box-sizing: border-box;
}

.manual-page #position a {
    color: var(--manual-primary);
    text-decoration: none;
}

.manual-page #position a:hover {
    text-decoration: underline;
}

/* Page title */
.manual-page #product_detail > h2 {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    padding: 6px 0 14px;
    border-bottom: 3px solid var(--manual-primary);
}

/* Section blocks */
.manual-page #product_detail .detail_unit {
    width: 100%;
    background: var(--manual-card);
    border: 1px solid var(--manual-border);
    border-radius: 12px;
    padding: 8px 26px 20px;
    margin-bottom: 18px;
    box-shadow: var(--manual-shadow);
    box-sizing: border-box;
    scroll-margin-top: 16px;
}

/* Section titles */
.manual-page .detail_unit h3 {
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    color: var(--manual-primary);
    margin: 18px 0 12px;
    padding: 0 0 10px 14px;
    border-bottom: 2px solid var(--manual-border);
    border-left: 4px solid var(--manual-accent);
    border-radius: 0;
    line-height: 1.4;
}

/* Content text */
.manual-page .detail_unit .info {
    width: 100%;
    box-sizing: border-box;
}

.manual-page .detail_unit .info p.top {
    font-size: 14px;
    line-height: 1.9;
    color: var(--manual-text);
    text-align: justify;
}

.manual-page .detail_unit .info p.top b {
    color: var(--manual-primary);
    font-weight: 600;
}

/* Table of contents */
.manual-page .detail_unit:first-of-type .info p.top {
    columns: 2;
    column-gap: 40px;
    background: #f8fafc;
    border: 1px solid var(--manual-border);
    border-radius: 8px;
    padding: 16px 20px;
    line-height: 2.2;
}

.manual-page .detail_unit:first-of-type .info p.top a {
    display: inline-block;
    color: var(--manual-primary);
    text-decoration: none;
    font-weight: 500;
    break-inside: avoid;
}

.manual-page .detail_unit:first-of-type .info p.top a:hover {
    color: #007acc;
    text-decoration: underline;
}

/* Inline icon buttons (kept inline) */
.manual-page .detail_unit .info p.top img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Standalone screenshot images */
.manual-page .detail_unit .info p.top img.screenshot {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 12px auto;
    border: 1px solid var(--manual-border);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Sub-labels like "6.1 Device Information" */
.manual-page .detail_unit .info p.top b:nth-of-type(1) {
    display: inline;
}

/* Inline small note text */
.manual-page .detail_unit .info p.top b + br {
    display: block;
}

/* Back-to-top button */
.manual-page .back-to-top {
    position: fixed;
    right: 28px;
    bottom: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--manual-primary);
    color: #ffffff;
    text-align: center;
    line-height: 44px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 90, 156, 0.4);
    opacity: 0.75;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 1000;
}

.manual-page .back-to-top:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .manual-page #product_detail {
        padding: 0 14px 30px;
    }

    .manual-page #product_detail > h2 {
        font-size: 22px;
    }

    .manual-page #product_detail .detail_unit {
        padding: 6px 16px 16px;
    }

    .manual-page .detail_unit:first-of-type .info p.top {
        columns: 1;
    }

    .manual-page .detail_unit .info p.top {
        font-size: 13px;
        line-height: 1.8;
    }

    .manual-page .back-to-top {
        right: 16px;
        bottom: 20px;
    }
}
