.op-manual-page {
    --manual-cyan: #28d5ff;
    --manual-blue: #538bff;
    --manual-violet: #9a67ff;
    min-height: 100%;
    background:
        radial-gradient(circle at 16% 7%, rgba(26, 205, 255, .13), transparent 27%),
        radial-gradient(circle at 86% 15%, rgba(128, 78, 255, .12), transparent 28%),
        linear-gradient(180deg, #070b12 0, #080a0f 38%, #06080c 100%);
}
.op-manual-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 54px;
    border-bottom: 1px solid rgba(101, 137, 195, .2);
}
.op-manual-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .17;
    pointer-events: none;
    background-image: linear-gradient(rgba(95, 130, 188, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 130, 188, .18) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(180deg, #000, transparent 92%);
}
.op-manual-hero .sh-container { position: relative; z-index: 1; }
.op-manual-product-tabs-row { margin-bottom: 44px; }
.op-manual-product-tabs { grid-template-columns: repeat(5, minmax(96px, 1fr)); }
.op-manual-product-tabs .op-product-view-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}
.op-manual-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    gap: clamp(36px, 6vw, 86px);
    align-items: end;
}
.op-manual-kicker { color: var(--manual-cyan); }
.op-manual-hero-copy h1 {
    max-width: 820px;
    margin: 20px 0 18px;
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 6vw, 5.5rem);
    line-height: .94;
    letter-spacing: -.025em;
    text-transform: uppercase;
    text-wrap: balance;
    background: linear-gradient(100deg, #fff 10%, #d9efff 48%, #8ad8ff 72%, #aa8cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.op-manual-hero-copy > p {
    max-width: 760px;
    margin: 0;
    color: var(--ink-2);
    font-size: clamp(1rem, 1.6vw, 1.16rem);
    line-height: 1.68;
}
.op-manual-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.op-manual-search-card {
    padding: 24px;
    border: 1px solid rgba(56, 205, 255, .28);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(17, 28, 41, .96), rgba(11, 14, 23, .98));
    box-shadow: 0 26px 70px -46px rgba(43, 210, 255, .9), inset 0 1px rgba(255, 255, 255, .04);
}
.op-manual-search-card label {
    display: block;
    margin-bottom: 11px;
    color: #eaf9ff;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.op-manual-search-field { position: relative; }
.op-manual-search-field svg {
    position: absolute;
    top: 50%; left: 15px;
    width: 20px; height: 20px;
    color: var(--manual-cyan);
    transform: translateY(-50%);
    pointer-events: none;
}
.op-manual-search-field input {
    width: 100%;
    min-height: 52px;
    padding: 12px 42px 12px 45px;
    border: 1px solid rgba(121, 153, 202, .3);
    border-radius: 9px;
    outline: 0;
    background: rgba(5, 8, 13, .85);
    color: var(--ink);
    font: 500 .94rem var(--font-sans);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.op-manual-search-field input:focus { border-color: var(--manual-cyan); box-shadow: 0 0 0 3px rgba(40, 213, 255, .1); }
.op-manual-search-field input::placeholder { color: #67758b; }
.op-manual-search-field button {
    position: absolute;
    top: 50%; right: 10px;
    width: 30px; height: 30px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: rgba(119, 145, 188, .12);
    color: var(--ink-2);
    font-size: 20px;
    cursor: pointer;
    transform: translateY(-50%);
}
.op-manual-search-card > p { margin: 9px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.op-manual-search-card .op-manual-search-status { min-height: 1.2em; color: var(--manual-cyan); font: 700 .72rem var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.op-manual-shell {
    display: grid;
    grid-template-columns: 246px minmax(0, 1fr);
    gap: clamp(34px, 5vw, 74px);
    align-items: start;
    padding-top: 52px;
    padding-bottom: 90px;
}
.op-manual-sidebar { position: relative; }
.op-manual-sidebar-inner { position: sticky; top: 86px; }
.op-manual-sidebar-title {
    display: block;
    margin: 0 0 12px 14px;
    color: var(--manual-cyan);
    font: 800 10px var(--font-mono);
    letter-spacing: .16em;
    text-transform: uppercase;
}
.op-manual-nav {
    display: grid;
    max-height: calc(100vh - 230px);
    overflow: auto;
    padding: 5px;
    border: 1px solid rgba(104, 133, 180, .2);
    border-radius: 12px;
    background: rgba(11, 15, 22, .82);
    scrollbar-width: thin;
    scrollbar-color: rgba(69, 205, 255, .35) transparent;
}
.op-manual-nav a {
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr);
    align-items: center;
    min-height: 38px;
    padding: 7px 9px;
    border-radius: 7px;
    color: #8794a9;
    font-size: .8rem;
    line-height: 1.2;
    text-decoration: none;
    transition: color .15s ease, background .15s ease;
}
.op-manual-nav a span { color: #536276; font: 700 9px var(--font-mono); letter-spacing: .08em; }
.op-manual-nav a:hover { color: var(--ink); background: rgba(71, 130, 190, .08); }
.op-manual-nav a.is-active { color: #e8faff; background: linear-gradient(90deg, rgba(37, 211, 255, .14), rgba(92, 102, 255, .08)); }
.op-manual-nav a.is-active span { color: var(--manual-cyan); }
.op-manual-support-link {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 12px;
    padding: 13px;
    border: 1px solid rgba(112, 137, 181, .2);
    border-radius: 10px;
    background: rgba(12, 16, 23, .7);
    color: var(--ink-2);
    text-decoration: none;
}
.op-manual-support-link:hover { border-color: rgba(40, 213, 255, .35); }
.op-manual-support-link svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--manual-cyan); }
.op-manual-support-link span { display: grid; gap: 2px; }
.op-manual-support-link strong { color: var(--ink); font-size: .78rem; }
.op-manual-support-link small { color: var(--muted); font-size: .68rem; }
.op-manual-content { min-width: 0; }
.op-manual-chapter { scroll-margin-top: 86px; padding: 0 0 60px; }
.op-manual-chapter + .op-manual-chapter { padding-top: 8px; }
.op-manual-chapter > header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(109, 138, 184, .2);
}
.op-manual-chapter > header > span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px; height: 42px;
    border: 1px solid rgba(40, 213, 255, .4);
    border-radius: 50%;
    background: rgba(35, 181, 225, .09);
    color: var(--manual-cyan);
    box-shadow: 0 0 22px -10px rgba(40, 213, 255, .8);
    font: 800 10px var(--font-mono);
    letter-spacing: .07em;
}
.op-manual-chapter > header p { margin: 0 0 3px; color: var(--manual-cyan); font: 700 9px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.op-manual-chapter > header h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1; text-transform: uppercase; }
.op-manual-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.op-manual-topic {
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(103, 133, 181, .2);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(18, 23, 33, .95), rgba(12, 15, 22, .98));
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
    transition: border-color .16s ease, transform .16s ease;
}
.op-manual-topic:hover { border-color: rgba(61, 190, 241, .3); transform: translateY(-1px); }
.op-manual-topic h3 { margin: 0 0 11px; color: #f5f9ff; font-size: 1rem; line-height: 1.3; }
.op-manual-topic p, .op-manual-topic li { color: #9ba8ba; font-size: .88rem; line-height: 1.62; }
.op-manual-topic p { margin: 0; }
.op-manual-topic p + p { margin-top: 12px; }
.op-manual-topic ul, .op-manual-topic ol { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.op-manual-topic li::marker { color: var(--manual-cyan); font-family: var(--font-mono); font-weight: 700; }
.op-manual-tip, .op-manual-warning {
    margin-top: 15px !important;
    padding: 11px 12px;
    border-left: 2px solid #44dfb0;
    background: rgba(39, 190, 143, .055);
    color: #a9b9b4 !important;
}
.op-manual-warning { border-left-color: #ffae5b; background: rgba(255, 157, 62, .055); color: #c1b3a7 !important; }
.op-manual-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.op-manual-inline-actions a { padding: 8px 10px; border: 1px solid rgba(42, 202, 251, .28); border-radius: 7px; color: #83e6ff; font: 700 .72rem var(--font-mono); text-decoration: none; }
.op-manual-inline-actions a:hover { background: rgba(40, 213, 255, .08); }
.op-manual-empty {
    margin-bottom: 34px;
    padding: 28px;
    border: 1px solid rgba(255, 174, 91, .3);
    border-radius: 12px;
    background: rgba(255, 156, 55, .055);
}
.op-manual-empty strong { color: var(--ink); }
.op-manual-empty p { margin: 6px 0 0; color: var(--ink-2); }
.op-manual-end {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 23px;
    border: 1px solid rgba(68, 199, 255, .28);
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(23, 187, 229, .1), rgba(96, 71, 220, .08) 55%, rgba(14, 17, 25, .95));
}
.op-manual-end img { border-radius: 13px; }
.op-manual-end strong { color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; }
.op-manual-end p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
@media (max-width: 1050px) {
    .op-manual-hero-grid { grid-template-columns: 1fr; align-items: start; }
    .op-manual-search-card { max-width: 680px; }
    .op-manual-shell { grid-template-columns: 210px minmax(0, 1fr); gap: 30px; }
    .op-manual-topic-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .op-manual-product-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .op-manual-product-tabs .op-product-view-tab:nth-child(4), .op-manual-product-tabs .op-product-view-tab:nth-child(5) { grid-column: auto; }
    .op-manual-shell { display: block; padding-top: 30px; }
    .op-manual-sidebar { margin-bottom: 34px; }
    .op-manual-sidebar-inner { position: static; }
    .op-manual-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; }
    .op-manual-support-link { display: none; }
}
@media (max-width: 560px) {
    .op-manual-hero { padding-top: 24px; }
    .op-manual-product-tabs-row { margin-bottom: 34px; }
    .op-manual-product-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .op-manual-product-tabs .op-product-view-tab:last-child { grid-column: 1 / -1; }
    .op-manual-hero-copy h1 { font-size: clamp(2.3rem, 13vw, 3.5rem); }
    .op-manual-search-card { padding: 17px; }
    .op-manual-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .op-manual-nav a { grid-template-columns: 25px minmax(0, 1fr); padding-inline: 7px; font-size: .72rem; }
    .op-manual-topic { padding: 18px; }
    .op-manual-end { grid-template-columns: auto minmax(0, 1fr); }
    .op-manual-end .sh-btn { grid-column: 1 / -1; justify-content: center; }
}
@media print {
    .sh-header, .sh-footer, .op-manual-product-tabs-row, .op-manual-search-card, .op-manual-sidebar, .op-manual-hero-actions, .op-manual-end { display: none !important; }
    .op-manual-page { background: #fff; color: #111; }
    .op-manual-hero { padding: 24px 0; border: 0; }
    .op-manual-hero-copy h1 { color: #111; background: none; -webkit-text-fill-color: #111; }
    .op-manual-hero-copy > p, .op-manual-topic p, .op-manual-topic li { color: #333; }
    .op-manual-shell { display: block; padding: 0; }
    .op-manual-chapter { break-before: page; padding-bottom: 20px; }
    .op-manual-chapter:first-child { break-before: auto; }
    .op-manual-topic { break-inside: avoid; border-color: #ccc; background: #fff; box-shadow: none; }
    .op-manual-topic h3, .op-manual-chapter > header h2 { color: #111; }
}

/* Documentation layout: compact manual tree + continuous reading column. */
.op-manual-page {
    background: #080a0e;
}
.op-manual-hero {
    padding: 30px 0 36px;
    background: linear-gradient(180deg, rgba(11, 18, 28, .96), rgba(8, 10, 14, .98));
}
.op-manual-hero::before {
    opacity: .08;
    background-size: 56px 56px;
}
.op-manual-product-tabs-row {
    margin-bottom: 34px;
}
.op-manual-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 54px;
    align-items: end;
}
.op-manual-hero-copy h1 {
    max-width: none;
    margin: 15px 0 10px;
    font-size: clamp(2.25rem, 4.6vw, 4rem);
    line-height: 1;
    letter-spacing: -.015em;
    background: none;
    color: #f6f8fb;
    -webkit-text-fill-color: currentColor;
}
.op-manual-hero-copy > p {
    max-width: 780px;
    font-size: 1rem;
    line-height: 1.55;
}
.op-manual-product-back {
    display: inline-block;
    margin-top: 15px;
    color: #79dfff;
    font: 700 .72rem var(--font-mono);
    letter-spacing: .04em;
    text-decoration: none;
}
.op-manual-product-back:hover { color: #fff; }
.op-manual-search-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.op-manual-search-card label {
    margin-bottom: 8px;
    font-size: .8rem;
}
.op-manual-search-card > p { margin-top: 7px; }
.op-manual-search-card #op-manual-search-help { display: none; }
.op-manual-shell {
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 44px;
    padding-top: 38px;
}
.op-manual-sidebar-inner { top: 78px; }
.op-manual-sidebar-title {
    margin: 0 0 13px;
    color: #dce7f4;
    font-size: 11px;
}
.op-manual-nav {
    display: block;
    max-height: calc(100vh - 175px);
    overflow: auto;
    padding: 0 20px 20px 0;
    border: 0;
    border-right: 1px solid rgba(112, 139, 180, .22);
    border-radius: 0;
    background: transparent;
}
.op-manual-nav > a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 0;
    margin: 0;
    padding: 7px 8px;
    border-radius: 4px;
    color: #b6c2d2;
    font-size: .82rem;
    font-weight: 700;
}
.op-manual-nav > a.is-active {
    color: #fff;
    background: rgba(40, 213, 255, .08);
}
.op-manual-subnav {
    display: grid;
    gap: 0;
    margin: 0 0 8px 20px;
    padding: 1px 0 3px 13px;
    border-left: 1px solid rgba(100, 128, 171, .22);
    list-style: none;
}
.op-manual-subnav a {
    display: block;
    padding: 4px 5px;
    color: #718096;
    font-size: .73rem;
    line-height: 1.34;
    text-decoration: none;
}
.op-manual-subnav a:hover { color: #8ee8ff; }
.op-manual-support-link {
    margin: 14px 20px 0 0;
    padding: 12px 0;
    border: 0;
    border-top: 1px solid rgba(112, 139, 180, .2);
    border-radius: 0;
    background: transparent;
}
.op-manual-chapter {
    padding: 0 0 54px;
}
.op-manual-chapter + .op-manual-chapter {
    padding-top: 18px;
}
.op-manual-chapter > header {
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(66, 203, 246, .42);
}
.op-manual-chapter > header > span {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    box-shadow: none;
}
.op-manual-chapter > header h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
}
.op-manual-topic-grid {
    display: block;
}
.op-manual-topic {
    padding: 25px 2px 29px;
    border: 0;
    border-bottom: 1px solid rgba(107, 134, 176, .18);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}
.op-manual-topic:hover {
    border-color: rgba(107, 134, 176, .18);
    transform: none;
}
.op-manual-topic:last-child { border-bottom: 0; }
.op-manual-topic h3 {
    margin-bottom: 10px;
    color: #f3f7fc;
    font-size: 1.16rem;
}
.op-manual-topic p,
.op-manual-topic li {
    max-width: 920px;
    color: #aeb9c8;
    font-size: .93rem;
    line-height: 1.7;
}
.op-manual-tip,
.op-manual-warning {
    max-width: 920px;
    padding: 10px 14px;
    border-top: 1px solid rgba(68, 223, 176, .12);
    border-right: 1px solid rgba(68, 223, 176, .12);
    border-bottom: 1px solid rgba(68, 223, 176, .12);
}
.op-manual-warning {
    border-top-color: rgba(255, 174, 91, .14);
    border-right-color: rgba(255, 174, 91, .14);
    border-bottom-color: rgba(255, 174, 91, .14);
}
.op-manual-end {
    border: 0;
    border-top: 1px solid rgba(74, 197, 239, .26);
    border-radius: 0;
    background: transparent;
}
@media (max-width: 1050px) {
    .op-manual-hero-grid { grid-template-columns: 1fr 340px; gap: 34px; }
    .op-manual-shell { grid-template-columns: 250px minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 820px) {
    .op-manual-hero-grid { grid-template-columns: 1fr; }
    .op-manual-search-card { max-width: none; }
    .op-manual-sidebar { margin-bottom: 28px; }
    .op-manual-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 360px;
        padding: 8px;
        border: 1px solid rgba(112, 139, 180, .22);
        background: rgba(10, 14, 21, .72);
    }
    .op-manual-subnav { display: none; }
}
@media (max-width: 560px) {
    .op-manual-hero-copy h1 { font-size: 2.45rem; }
    .op-manual-nav { grid-template-columns: 1fr; max-height: 280px; }
    .op-manual-topic { padding: 22px 0 25px; }
}
