:root {
            color-scheme: light;
            /* 重新定义扁平蓝白灰调 */
            --bg: #ffffff; /* 纯白背景 */
            --bg-accent: #ffffff; /* 与背景保持一致 */
            --panel: #ffffff; /* 纯白面板 */
            --panel-strong: #f8fafc; /* 极浅灰面板 */
            --panel-border: #e2e8f0; /* 柔和的灰边框 */
            --text: #333333; /* 主要文字色 */
            --text-soft: #666666; /* 次要文字色 */
            --text-faint: #b3c0ce; /* 极淡的文字色 */
            --brand: #0d6efd; /* 核心蓝，主品牌色 */
            --brand-deep: #0b5ed7; /* 深品牌色 */
            --brand-tint: #f0f4f8; /* 品牌最浅色 */
            --success: #198754; /* 核心绿 */
            --success-tint: #e0f2f1;
            --warning: #ffc107; /* 核心黄 */
            --warning-tint: #fff9db;
            --info: #0dcaf0; /* 核心蓝 */
            --info-tint: #e3f2fd;

            /* 扁平风格没有阴影 */
            --shadow: none;

            /* 尺寸保持原样布局描述 */
            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 12px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            color: var(--text);
            font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
            background-color: var(--bg); /* 纯白背景保持原样描述 */
            line-height: 1.75;
        }

        a {
            color: var(--brand);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        a:hover {
            color: var(--brand-deep);
        }

        code, pre {
            font-family: "Cascadia Code", "Consolas", "Courier New", monospace;
        }

        :not(pre) > code {
            padding: 0.15rem 0.45rem;
            border-radius: 6px;
            background: rgba(0, 0, 0, 0.05);
            color: #e83e8c;
            font-size: 0.9em;
            transition: background 0.2s ease;
        }

        :not(pre) > code:hover {
            background: rgba(0, 0, 0, 0.1);
        }

        /* 布局框架维持原样布局设置 */
        .page-shell {
            display: grid;
            grid-template-columns: 320px minmax(0, 1fr);
            min-height: 100vh;
        }

        .sidebar {
            position: sticky;
            top: 0;
            height: 100vh;
            padding: 28px 24px;
            border-right: 1px solid var(--panel-border);
            background-color: var(--panel-strong); /* 侧边栏使用浅灰背景维持原样描述 */
            overflow-y: auto;
            z-index: 20;
        }

        .sidebar__brand h1, .hero h1, .doc-section h2 {
            margin: 0;
            line-height: 1.15;
            letter-spacing: -0.02em;
        }

        .sidebar__eyebrow, .hero__eyebrow, .section-kicker, .nav-group__title {
            margin: 0 0 0.5rem;
            color: var(--text-faint);
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .sidebar__brand p:last-child, .hero__summary, .section-note, .page-footer p {
            color: var(--text-soft);
        }

        .sidebar__brand { margin-bottom: 2rem; }
        .sidebar__brand h1 { font-size: 1.7rem; margin-bottom: 0.75rem; }
        .sidebar__nav { display: grid; gap: 1.4rem; }
        .nav-group { display: grid; gap: 0.45rem; }

        /* 侧边栏扁平按钮描述设置保持原样设置描述保持原样描述保持原样描述保持原样描述维持原样描述描述 */
        .nav-link {
            display: block;
            padding: 0.72rem 0.9rem;
            border: 1px solid transparent;
            border-radius: 14px;
            color: var(--text-soft);
            background: transparent;
            transition: all 0.2s ease;
        }

        .nav-link:hover {
            color: var(--text);
            background: #f1f4f8; /* 鼠标悬停保持原样描述 */
            transform: translateX(2px);
        }

        .nav-link.is-active {
            color: #fff;
            background-color: var(--brand); /* 激活使用品牌蓝保持原样描述描述维持原样描述保持原样描述描述保持原样 */
        }

        .nav-details {
            display: grid;
            gap: 0.35rem;
        }

        .nav-details summary {
            list-style: none;
            cursor: pointer;
            padding: 0.72rem 0.9rem;
            border-radius: 14px;
            color: var(--text-soft);
            transition: all 0.2s ease;
        }

        .nav-details summary::-webkit-details-marker { display: none; }

        .nav-details summary::after {
            content: "▾";
            float: right;
            transform: rotate(-90deg);
            transition: transform 0.2s ease;
        }

        .nav-details[open] summary::after { transform: rotate(0deg); }
        .nav-details summary:hover { color: var(--text); background: #f1f4f8; }

        .nav-subnav {
            display: grid;
            gap: 0.3rem;
            padding-left: 0.75rem;
        }

        .nav-link--sub {
            padding: 0.55rem 0.75rem;
            font-size: 0.92rem;
        }

        .nav-empty {
            padding: 0.45rem 0.75rem;
            color: var(--text-faint);
            font-size: 0.88rem;
        }

        .sidebar__footnote { margin-top: 1.8rem; color: var(--text-faint); font-size: 0.92rem; }

        /* 内容区维持原样设置保持原样描述设置保持原样描述设置描述描述保持原样 */
        .content { padding: 34px 34px 60px; }

        .hero, .doc-section, .page-footer {
            max-width: 980px;
            margin: 0 auto;
        }

        /* 扁平Hero描述保持原样描述设置保持原样设置保持原样描述 */
        .hero {
            margin-bottom: 24px;
            padding: 30px;
            border: none;
            border-radius: 30px;
            background-color: #f1f4f8; /* 浅灰 Hero 维持原样描述维持原样描述保持原样描述 */
            box-shadow: none;
        }

        .hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
        .hero__summary { margin: 0; max-width: 760px; font-size: 1rem; }
        .hero__chips { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }

        .chip {
            display: inline-flex;
            align-items: center;
            padding: 0.45rem 0.8rem;
            border-radius: 999px;
            background: #fff;
            border: none;
            color: var(--text-soft);
            font-size: 0.93rem;
        }

        /* 扁平正文区块描述维持原样描述维持原样描述设置 */
        .doc-section {
            margin-bottom: 22px;
            padding: 30px;
            border: 1px solid var(--panel-border);
            border-radius: var(--radius-lg);
            background: var(--panel);
            box-shadow: none;
            scroll-margin-top: 24px;
        }

        .doc-section h2 { font-size: clamp(1.7rem, 2vw, 2.4rem); margin-bottom: 0.6rem; }
        .doc-section h3 { margin-top: 1.8rem; margin-bottom: 0.55rem; font-size: 1.15rem; }
        .doc-section h4 { margin-top: 1.1rem; margin-bottom: 0.4rem; font-size: 1rem; }
        .doc-section p, .doc-section li { color: var(--text-soft); }
        .section-note { margin: 0; max-width: 740px; }
        .section-header { margin-bottom: 1.2rem; }

        .action-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-top: 1.8rem;
            margin-bottom: 0.55rem;
        }

        .action-heading h3 { margin: 0; }
        .action-heading .link-card__button { flex: 0 0 auto; }

        .doc-figure {
            margin: 1rem 0 1.2rem;
        }

        .doc-figure img {
            display: block;
            width: 100%;
            max-width: 860px;
            height: auto;
            border: 1px solid var(--panel-border);
            border-radius: var(--radius-md);
            background: #fff;
        }

        .doc-figure figcaption {
            margin-top: 0.55rem;
            color: var(--text-faint);
            font-size: 0.9rem;
        }

        .figure-step {
            color: var(--brand);
            font-weight: 700;
        }

        .button-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 0.75rem;
            margin: 0.9rem 0 0;
        }

        .button-grid .link-card__button {
            min-width: 0;
            width: 100%;
            text-align: center;
        }

        /* 扁平提示框设置描述描述保持原样描述描述描述描述 */
        .callout {
            margin: 1rem 0;
            padding: 1rem 1.05rem;
            border-radius: var(--radius-md);
            border: 1px solid transparent;
            background: #f1f4f8; /* 统一浅灰提示框保持原样描述维持原样设置设置描述 */
        }

        .callout strong { display: block; margin-bottom: 0.35rem; color: var(--text); font-size: 0.98rem; }
        .callout p, .callout ul { margin: 0; }
        .callout ul { padding-left: 1.2rem; }

        .callout--tip { border-color: rgba(13, 110, 253, 0.1); color: #1d4ed8; background: var(--brand-tint); }
        .callout--important { border-color: rgba(25, 135, 84, 0.1); color: #157347; background: var(--success-tint); }
        .callout--warning { border-color: rgba(255, 193, 7, 0.1); color: #ff9800; background: var(--warning-tint); }

        /* 扁平代码块描述设置描述描述保持原样设置描述描述设置维持原样 */
        .code-block {
            position: relative;
            margin: 0.9rem 0 1.1rem;
            border: 1px solid var(--panel-border);
            border-radius: 18px;
            background: #fff; /* 纯白代码块描述设置描述保持原样设置维持原样设置描述 */
            overflow: hidden;
        }

        .code-block pre {
            margin: 0; padding: 1.15rem 1rem 1rem; overflow-x: auto;
            color: #333; font-size: 0.92rem; line-height: 1.65;
        }

        .copy-button {
            position: absolute; top: 10px; right: 10px;
            padding: 0.42rem 0.7rem; border: none;
            border-radius: 8px; background: #e2e8f0;
            color: var(--text-soft); cursor: pointer; font-size: 0.82rem;
            transition: background 0.2s ease;
        }

        .copy-button:hover { background: #cbd5e0; }
        .copy-button.is-copied { background: var(--success); color: #fff; }

        /* 扁平选项卡设置描述维持原样设置描述描述维持原样描述设置维持原样设置描述 */
        .tab-group {
            margin: 0.95rem 0 1.25rem;
            border: 1px solid var(--panel-border);
            border-radius: 18px;
            background: #fff;
            overflow: hidden;
        }

        .tab-list {
            display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.75rem;
            border-bottom: 1px solid var(--panel-border);
            background: #fff;
        }

        .tab-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: 0.75rem;
            border-bottom: 1px solid var(--panel-border);
            background: #fff;
        }

        .tab-header .tab-list {
            padding: 0;
            border-bottom: 0;
        }

        .tab-header__download {
            display: inline-flex;
            align-items: center;
            gap: 0.65rem;
            font-size: 0.92rem;
        }

        .tab-header__download span {
            color: var(--brand);
            font-weight: 700;
        }

        .tab-header__action { flex: 0 0 auto; }

        .tab-button {
            padding: 0.55rem 0.85rem;
            border: none;
            border-radius: 8px;
            background: #fff;
            color: var(--text-soft);
            cursor: pointer;
            font-size: 0.9rem;
            transition: background 0.2s ease;
        }

        .tab-button:hover { background: #f1f4f8; color: var(--brand); }
        .tab-button.is-active { color: #fff; background-color: var(--brand); }

        .tab-panel { padding: 1rem 1rem 0.2rem; }
        .tab-panel[hidden] { display: none; }

        /* 扁平卡片按钮描述维持原样描述设置描述描述维持原样描述描述维持原样设置维持原样设置描述 */
        .link-card, .download-card {
            display: flex; align-items: center; justify-content: space-between; gap: 1rem;
            margin: 1rem 0; padding: 1rem 1.1rem;
            border: 1px solid var(--panel-border);
            border-radius: 18px;
            background: #fff;
        }

        .link-card p, .download-card p, .download-card h4 { margin: 0; }
        .download-card h4 { margin-bottom: 0.3rem; }

        .link-card__button, .download-card__button {
            display: inline-flex; align-items: center; justify-content: center;
            padding: 0.7rem 1rem; min-width: 110px; border-radius: 8px;
            background: var(--brand); color: #fff; font-weight: 700; white-space: nowrap;
            transition: transform 0.2s ease;
        }

        .link-card__button:hover, .download-card__button:hover { transform: translateY(-2px); }

        .copy-card {
            position: relative; margin-top: 0.85rem;
            padding: 1rem 5.3rem 1rem 1rem;
            border: 1px solid var(--panel-border);
            border-radius: 18px;
            background: #fff;
        }

        .copy-card__label {
            display: block; margin-bottom: 0.45rem;
            color: var(--text-faint); font-size: 0.78rem; font-weight: 700;
            letter-spacing: 0.12em; text-transform: uppercase;
        }

        .copy-card code {
            display: block; padding: 0; border-radius: 0;
            background: transparent; color: var(--brand);
            font-size: 0.98rem; overflow-wrap: anywhere;
        }

        /* 列表与移动端维持原样维持原样设置描述保持原样描述维持原样设置描述描述设置描述保持原样设置描述保持原样描述维持原样维持原样设置维持原样描述保持原样描述描述描述维持原样描述维持原样描述维持原样描述设置维持原样描述保持原样维持原样维持原样保持原样描述维持原样维持原样维持原样维护原样维持原样维护原样 */
        .step-list, plain-list { padding-left: 1.2rem; }
        .step-list li, .plain-list li { margin-bottom: 0.7rem; }
        .step-list li::marker { color: var(--brand); font-weight: bold; }
        .page-footer { padding: 8px 6px 0; font-size: 0.95rem; text-align: center; }
        .mobile-toggle, .sidebar-backdrop { display: none; }

        @media (max-width: 1024px) {
            body.sidebar-open { overflow: hidden; }
            .page-shell { grid-template-columns: minmax(0, 1fr); }
            .sidebar {
                position: fixed; left: 0; top: 0; bottom: 0; width: min(88vw, 320px); height: auto;
                transform: translateX(-104%); transition: transform 0.25s ease;
                box-shadow: 18px 0 40px rgba(35, 24, 14, 0.12);
                background-color: #fff;
            }
            body.sidebar-open .sidebar { transform: translateX(0); }
            .sidebar-backdrop {
                position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px);
                opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 15;
            }
            body.sidebar-open .sidebar-backdrop { display: block; opacity: 1; pointer-events: auto; }
            .mobile-toggle {
                display: inline-flex; position: fixed; right: 18px; top: 18px; z-index: 30;
                align-items: center; justify-content: center; padding: 0.8rem 1rem; border: 0;
                border-radius: 999px; background: var(--brand); color: #fff; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            }
            .content { padding: 72px 16px 32px; }
            .hero, .doc-section { padding: 22px 18px; border-radius: 22px; }
            .link-card, .download-card { flex-direction: column; align-items: flex-start; }
            .action-heading { align-items: flex-start; flex-wrap: wrap; }
            .tab-header { align-items: flex-start; flex-wrap: wrap; }
            .button-grid { grid-template-columns: 1fr; }
        }

        /* Dashboard skin */
        :root {
            --bg: #f5f5f5;
            --bg-accent: #ffffff;
            --panel: #ffffff;
            --panel-strong: rgba(255, 255, 255, 0.82);
            --panel-soft: #f8f9fb;
            --panel-border: #e6e9ee;
            --text: #16191f;
            --text-soft: #606a78;
            --text-faint: #9aa3af;
            --brand: #f5a524;
            --brand-deep: #b86405;
            --brand-tint: #fff6dc;
            --accent: #0f4c5c;
            --accent-tint: #e9f5f6;
            --success: #14b889;
            --success-tint: #e7f8f2;
            --warning: #f5a524;
            --warning-tint: #fff6dc;
            --danger: #ef5a5a;
            --danger-tint: #fff0f0;
            --info: #28b6c8;
            --info-tint: #e8f7f9;
            --shadow: 0 18px 50px rgba(25, 31, 40, 0.07);
            --shadow-soft: 0 8px 24px rgba(25, 31, 40, 0.05);
            --radius-lg: 30px;
            --radius-md: 22px;
            --radius-sm: 16px;
        }

        body {
            background: var(--bg);
            color: var(--text);
            font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
            line-height: 1.72;
        }

        a { color: var(--accent); }
        a:hover { color: var(--brand-deep); }

        :not(pre) > code {
            border: 1px solid rgba(15, 76, 92, 0.1);
            background: #f4f8f8;
            color: var(--accent);
            font-weight: 650;
        }

        .page-shell {
            grid-template-columns: 304px minmax(0, 1fr);
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 245, 245, 0) 280px),
                var(--bg);
        }

        .sidebar {
            padding: 24px 20px;
            border-right: 1px solid rgba(230, 233, 238, 0.85);
            background: rgba(255, 255, 255, 0.82);
            backdrop-filter: blur(18px);
            box-shadow: 12px 0 34px rgba(25, 31, 40, 0.04);
        }

        .sidebar__brand {
            position: relative;
            margin-bottom: 1.8rem;
            padding: 18px;
            border: 1px solid var(--panel-border);
            border-radius: 26px;
            background: var(--panel);
            box-shadow: var(--shadow-soft);
        }

        .sidebar__brand::before {
            content: "";
            display: block;
            width: 36px;
            height: 36px;
            margin-bottom: 14px;
            border: 1.8px solid var(--accent);
            border-radius: 14px;
            background:
                linear-gradient(90deg, transparent 44%, rgba(15, 76, 92, 0.16) 44% 56%, transparent 56%),
                linear-gradient(0deg, transparent 44%, rgba(15, 76, 92, 0.16) 44% 56%, transparent 56%),
                #f8fbfb;
        }

        .sidebar__brand h1 {
            margin-bottom: 0.45rem;
            font-size: 1.45rem;
            letter-spacing: 0;
        }

        .sidebar__brand p:last-child {
            margin: 0;
            color: var(--text-soft);
            font-size: 0.92rem;
        }

        .sidebar__eyebrow,
        .hero__eyebrow,
        .section-kicker,
        .nav-group__title,
        .copy-card__label {
            color: var(--text-faint);
            letter-spacing: 0.08em;
        }

        .sidebar__nav { gap: 1.15rem; }
        .nav-group { gap: 0.36rem; }

        .nav-link,
        .nav-details summary {
            display: flex;
            align-items: center;
            gap: 0.72rem;
            min-height: 42px;
            padding: 0.68rem 0.78rem;
            border: 1px solid transparent;
            border-radius: 17px;
            color: var(--text-soft);
            font-size: 0.94rem;
            font-weight: 650;
            letter-spacing: 0;
        }

        .nav-link::before,
        .nav-details summary::before {
            content: "";
            width: 18px;
            height: 18px;
            flex: 0 0 18px;
            border: 1.7px solid currentColor;
            border-radius: 7px;
            opacity: 0.7;
        }

        .nav-link:hover,
        .nav-details summary:hover {
            color: var(--text);
            background: #f7f8fa;
            border-color: var(--panel-border);
            transform: translateX(2px);
        }

        .nav-link.is-active {
            color: #ffffff;
            background: #151922;
            border-color: #151922;
            box-shadow: 0 10px 22px rgba(21, 25, 34, 0.14);
        }

        .nav-link.is-active::before {
            border-color: var(--brand);
            background: rgba(245, 165, 36, 0.22);
        }

        .nav-details summary {
            position: relative;
        }

        .nav-details summary::after {
            content: "";
            width: 7px;
            height: 7px;
            margin-left: auto;
            border-right: 1.6px solid currentColor;
            border-bottom: 1.6px solid currentColor;
            transform: rotate(-45deg);
            transition: transform 0.2s ease;
        }

        .nav-details[open] summary::after { transform: rotate(45deg); }
        .nav-subnav { padding-left: 0.4rem; }

        .nav-link--sub {
            min-height: 36px;
            padding: 0.5rem 0.62rem;
            border-radius: 14px;
            font-size: 0.86rem;
        }

        .nav-link--sub::before {
            width: 8px;
            height: 8px;
            flex-basis: 8px;
            border-radius: 50%;
            background: currentColor;
        }

        .content {
            padding: 32px clamp(24px, 4vw, 56px) 64px;
        }

        .hero,
        .doc-section,
        .page-footer {
            max-width: 1080px;
        }

        .hero {
            display: grid;
            grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
            gap: 20px;
            align-items: stretch;
            margin-bottom: 22px;
            padding: 28px;
            border: 1px solid var(--panel-border);
            border-radius: 34px;
            background: var(--panel);
            box-shadow: var(--shadow);
        }

        .hero h1 {
            margin-bottom: 0.8rem;
            color: var(--text);
            font-size: clamp(2rem, 3.4vw, 3rem);
            letter-spacing: 0;
        }

        .hero__summary {
            max-width: 680px;
            color: var(--text-soft);
            font-size: 1rem;
        }

        .hero__chips {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            margin-top: 0;
        }

        .chip {
            display: grid;
            gap: 0.18rem;
            align-content: center;
            min-height: 76px;
            padding: 14px 16px;
            border: 1px solid var(--panel-border);
            border-radius: 22px;
            background: var(--panel-soft);
            color: var(--text-soft);
        }

        .chip strong {
            color: var(--text);
            font-size: 1.45rem;
            line-height: 1;
        }

        .chip:nth-child(1) { border-color: rgba(245, 165, 36, 0.28); background: var(--brand-tint); }
        .chip:nth-child(2) { border-color: rgba(15, 76, 92, 0.16); background: var(--accent-tint); }
        .chip:nth-child(3) { border-color: rgba(20, 184, 137, 0.18); background: var(--success-tint); }

        .doc-section {
            margin-bottom: 20px;
            padding: 30px;
            border: 1px solid var(--panel-border);
            border-radius: var(--radius-lg);
            background: var(--panel);
            box-shadow: var(--shadow-soft);
        }

        .section-header {
            margin-bottom: 1.25rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eef0f3;
        }

        .doc-section h2 {
            color: var(--text);
            font-size: clamp(1.55rem, 2vw, 2.15rem);
            letter-spacing: 0;
        }

        .doc-section h3 {
            color: var(--text);
            font-size: 1.08rem;
            letter-spacing: 0;
        }

        .doc-section p,
        .doc-section li {
            color: var(--text-soft);
        }

        .action-heading {
            padding: 14px 16px;
            border: 1px solid var(--panel-border);
            border-radius: 22px;
            background: var(--panel-soft);
        }

        .callout {
            border: 1px solid var(--panel-border);
            border-radius: 24px;
            background: var(--panel-soft);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }

        .callout strong {
            color: var(--text);
            font-weight: 750;
        }

        .callout--tip {
            border-color: rgba(15, 76, 92, 0.14);
            background: var(--accent-tint);
            color: var(--accent);
        }

        .callout--important {
            border-color: rgba(20, 184, 137, 0.18);
            background: var(--success-tint);
            color: #0d7f61;
        }

        .callout--warning {
            border-color: rgba(239, 90, 90, 0.18);
            background: var(--danger-tint);
            color: var(--danger);
        }

        .doc-figure img {
            border: 1px solid var(--panel-border);
            border-radius: 24px;
            background: #ffffff;
            box-shadow: 0 12px 28px rgba(25, 31, 40, 0.06);
        }

        .figure-step {
            color: var(--accent);
            font-weight: 750;
        }

        .code-block,
        .copy-card,
        .tab-group,
        .link-card,
        .download-card {
            border: 1px solid var(--panel-border);
            border-radius: 24px;
            background: #ffffff;
            box-shadow: var(--shadow-soft);
        }

        .code-block {
            background: #f8fafb;
        }

        .code-block pre {
            color: #19333a;
            font-size: 0.9rem;
        }

        .copy-button {
            border: 1px solid #dfe4ea;
            border-radius: 999px;
            background: #ffffff;
            color: var(--text-soft);
            font-weight: 700;
        }

        .copy-button:hover {
            background: var(--brand-tint);
            color: var(--brand-deep);
        }

        .copy-button.is-copied {
            border-color: var(--success);
            background: var(--success);
            color: #ffffff;
        }

        .tab-list,
        .tab-header {
            background: #f8f9fb;
        }

        .tab-button {
            border: 1px solid transparent;
            border-radius: 999px;
            background: transparent;
            font-weight: 700;
        }

        .tab-button:hover {
            border-color: var(--panel-border);
            background: #ffffff;
            color: var(--accent);
        }

        .tab-button.is-active {
            color: #151922;
            background: var(--brand);
            box-shadow: 0 8px 18px rgba(245, 165, 36, 0.24);
        }

        .tab-panel {
            padding: 1rem 1rem 0.3rem;
        }

        .link-card__button,
        .download-card__button {
            min-height: 42px;
            border-radius: 999px;
            background: var(--brand);
            color: #151922;
            font-weight: 800;
            box-shadow: 0 9px 20px rgba(245, 165, 36, 0.22);
        }

        .link-card__button:hover,
        .download-card__button:hover {
            color: #151922;
            background: #ffbd4a;
            transform: translateY(-1px);
        }

        .button-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 0.8rem;
        }

        .button-grid .link-card__button {
            justify-content: flex-start;
            padding: 0.88rem 1rem;
            border: 1px solid var(--panel-border);
            border-radius: 20px;
            background: #ffffff;
            color: var(--text);
            box-shadow: var(--shadow-soft);
        }

        .button-grid .link-card__button::before {
            content: "";
            width: 12px;
            height: 12px;
            border: 2px solid var(--brand);
            border-radius: 50%;
        }

        .copy-card {
            background: #f8fafb;
        }

        .copy-card code {
            color: var(--accent);
            font-weight: 750;
        }

        .step-list,
        .plain-list {
            padding-left: 1.2rem;
        }

        .step-list li::marker {
            color: var(--brand-deep);
            font-weight: 800;
        }

        .mobile-toggle {
            border: 1px solid rgba(255, 255, 255, 0.5);
            background: #151922;
            color: #ffffff;
            box-shadow: 0 16px 30px rgba(21, 25, 34, 0.18);
        }

        @media (max-width: 1024px) {
            .page-shell { grid-template-columns: minmax(0, 1fr); }
            .sidebar {
                width: min(88vw, 318px);
                background: rgba(255, 255, 255, 0.94);
                box-shadow: 18px 0 44px rgba(25, 31, 40, 0.14);
            }
            .content { padding: 76px 16px 34px; }
            .hero {
                grid-template-columns: 1fr;
                padding: 22px 18px;
                border-radius: 28px;
            }
            .hero__chips {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
            .doc-section {
                padding: 22px 18px;
                border-radius: 26px;
            }
            .button-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 640px) {
            body,
            .page-shell {
                overflow-x: hidden;
            }
            .content {
                width: calc(100vw - 24px);
                max-width: calc(100vw - 24px);
                margin-inline: auto;
                padding-inline: 0;
            }
            .hero,
            .doc-section,
            .callout,
            .action-heading,
            .tab-group,
            .code-block,
            .copy-card,
            .download-card,
            .link-card {
                max-width: 100%;
                min-width: 0;
            }
            .hero,
            .doc-section {
                width: 100%;
            }
            .hero > *,
            .doc-section > *,
            .tab-panel,
            .tab-header {
                min-width: 0;
            }
            .hero__summary,
            .doc-section p,
            .doc-section li {
                overflow-wrap: anywhere;
            }
            .hero__chips { grid-template-columns: 1fr; }
            .chip { min-height: 64px; }
            .action-heading {
                display: grid;
                grid-template-columns: minmax(0, 1fr);
            }
            .action-heading .link-card__button,
            .tab-header__action,
            .download-card__button {
                width: 100%;
                min-width: 0;
                white-space: normal;
                text-align: center;
            }
            .tab-header__download {
                align-items: flex-start;
                flex-direction: column;
                width: 100%;
            }
            .code-block pre {
                white-space: pre-wrap;
                overflow-wrap: anywhere;
            }
            .copy-card { padding-right: 1rem; }
            .copy-card .copy-button {
                position: static;
                margin-bottom: 0.7rem;
            }
        }

        /* Monochrome theme */
        :root {
            --bg: #f6f6f6;
            --bg-accent: #ffffff;
            --panel: #ffffff;
            --panel-strong: rgba(255, 255, 255, 0.86);
            --panel-soft: #f7f7f7;
            --panel-border: #e4e4e4;
            --text: #0b0b0b;
            --text-soft: #555555;
            --text-faint: #969696;
            --brand: #0b0b0b;
            --brand-deep: #000000;
            --brand-tint: #f1f1f1;
            --accent: #0b0b0b;
            --accent-tint: #f5f5f5;
            --success: #111111;
            --success-tint: #f5f5f5;
            --warning: #111111;
            --warning-tint: #f5f5f5;
            --danger: #111111;
            --danger-tint: #f5f5f5;
            --info: #111111;
            --info-tint: #f5f5f5;
            --shadow: 0 18px 50px rgba(0, 0, 0, 0.07);
            --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.05);
        }

        a,
        a:hover,
        .figure-step,
        .copy-card code {
            color: var(--text);
        }

        :not(pre) > code {
            border-color: #dddddd;
            background: #f4f4f4;
            color: #111111;
        }

        .page-shell {
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 246, 246, 0) 280px),
                var(--bg);
        }

        .sidebar__brand::before {
            border-color: #111111;
            background:
                linear-gradient(90deg, transparent 44%, rgba(0, 0, 0, 0.12) 44% 56%, transparent 56%),
                linear-gradient(0deg, transparent 44%, rgba(0, 0, 0, 0.12) 44% 56%, transparent 56%),
                #ffffff;
        }

        .nav-link.is-active {
            color: #ffffff;
            background: #000000;
            border-color: #000000;
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
        }

        .nav-link.is-active::before {
            border-color: #ffffff;
            background: transparent;
        }

        .chip,
        .chip:nth-child(1),
        .chip:nth-child(2),
        .chip:nth-child(3),
        .callout,
        .callout--tip,
        .callout--important,
        .callout--warning {
            border-color: var(--panel-border);
            background: #f7f7f7;
            color: var(--text-soft);
        }

        .chip strong,
        .callout strong {
            color: var(--text);
        }

        .link-card__button,
        .download-card__button,
        .tab-button.is-active {
            background: #000000;
            color: #ffffff;
            box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
        }

        .link-card__button:hover,
        .download-card__button:hover,
        .tab-button.is-active:hover {
            background: #222222;
            color: #ffffff;
        }

        .button-grid .link-card__button {
            background: #ffffff;
            color: var(--text);
            box-shadow: var(--shadow-soft);
        }

        .button-grid .link-card__button::before {
            border-color: #111111;
        }

        .copy-button:hover {
            background: #efefef;
            color: #111111;
        }

        .copy-button.is-copied {
            border-color: #000000;
            background: #000000;
            color: #ffffff;
        }

        .copy-card > code {
            padding: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
        }

        .tab-button:hover {
            color: #111111;
        }

        .mobile-toggle {
            background: #000000;
            color: #ffffff;
            box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
        }

        /* Unified compact radius */
        :root {
            --radius-lg: 0.3rem;
            --radius-md: 0.3rem;
            --radius-sm: 0.3rem;
        }

        .sidebar__brand,
        .sidebar__brand::before,
        .nav-link,
        .nav-link::before,
        .nav-details summary,
        .nav-link--sub,
        .hero,
        .chip,
        .doc-section,
        .section-header,
        .action-heading,
        .callout,
        .doc-figure img,
        .code-block,
        .copy-card,
        .tab-group,
        .tab-list,
        .tab-header,
        .tab-button,
        .link-card,
        .download-card,
        .link-card__button,
        .download-card__button,
        .button-grid .link-card__button,
        .copy-button,
        .mobile-toggle,
        :not(pre) > code {
            border-radius: 0.3rem !important;
        }

        /* Linggan API polish */
        :root {
            --bg: #f6f8ff;
            --panel: rgba(255, 255, 255, 0.88);
            --panel-soft: rgba(248, 251, 255, 0.88);
            --panel-strong: rgba(255, 255, 255, 0.9);
            --panel-border: rgba(120, 139, 181, 0.22);
            --text: #111827;
            --text-soft: #526070;
            --text-faint: #8d99aa;
            --brand: #6d5dfc;
            --brand-deep: #2457d6;
            --brand-tint: #eef4ff;
            --accent: #11aee8;
            --accent-tint: #e8f8ff;
            --success: #12b886;
            --success-tint: #e9fbf4;
            --warning: #8a6cff;
            --warning-tint: #f1edff;
            --danger: #ec5f7a;
            --danger-tint: #fff0f4;
            --shadow: 0 24px 70px rgba(43, 64, 112, 0.12);
            --shadow-soft: 0 14px 34px rgba(43, 64, 112, 0.08);
        }

        @keyframes pageRise {
            from {
                opacity: 0;
                transform: translateY(16px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes logoFloat {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-4px) rotate(1deg); }
        }

        @keyframes sheen {
            from { transform: translateX(-130%) rotate(16deg); }
            to { transform: translateX(130%) rotate(16deg); }
        }

        html {
            scroll-padding-top: 24px;
        }

        body {
            background:
                radial-gradient(circle at 17% 12%, rgba(17, 174, 232, 0.16), transparent 28rem),
                radial-gradient(circle at 88% 8%, rgba(109, 93, 252, 0.14), transparent 30rem),
                linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #f8fbff 100%);
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            background-image:
                linear-gradient(rgba(88, 101, 242, 0.045) 1px, transparent 1px),
                linear-gradient(90deg, rgba(88, 101, 242, 0.045) 1px, transparent 1px);
            background-size: 34px 34px;
            mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
            z-index: -1;
        }

        .page-shell {
            background: transparent;
        }

        .sidebar {
            border-right: 1px solid rgba(120, 139, 181, 0.2);
            background: rgba(255, 255, 255, 0.76);
            backdrop-filter: blur(22px);
        }

        .sidebar__brand {
            overflow: hidden;
            padding: 18px 18px 20px;
            border: 1px solid rgba(109, 93, 252, 0.18);
            background:
                linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 255, 0.86)),
                var(--panel);
            box-shadow: var(--shadow-soft);
        }

        .sidebar__brand::before {
            display: none;
        }

        .sidebar__brand::after {
            content: "";
            position: absolute;
            inset: -40% auto -40% -48%;
            width: 42%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.66), transparent);
            animation: sheen 7s ease-in-out infinite;
        }

        .sidebar__logo {
            position: relative;
            z-index: 1;
            display: block;
            width: 64px;
            height: 64px;
            margin: 0 0 12px;
            object-fit: contain;
            filter: drop-shadow(0 12px 18px rgba(75, 101, 235, 0.22));
            animation: logoFloat 5.5s ease-in-out infinite;
        }

        .sidebar__brand h1,
        .sidebar__brand p {
            position: relative;
            z-index: 1;
        }

        .sidebar__brand h1 {
            color: #10182a;
            font-size: 1.55rem;
        }

        .sidebar__eyebrow,
        .section-kicker,
        .nav-group__title,
        .copy-card__label {
            color: #73829a;
        }

        .nav-link,
        .nav-details summary {
            border-radius: 0.65rem !important;
            transition:
                transform 0.22s ease,
                border-color 0.22s ease,
                background 0.22s ease,
                color 0.22s ease,
                box-shadow 0.22s ease;
        }

        .nav-link:hover,
        .nav-details summary:hover {
            border-color: rgba(109, 93, 252, 0.2);
            background: rgba(255, 255, 255, 0.86);
            box-shadow: 0 10px 24px rgba(68, 92, 160, 0.08);
            transform: translateX(4px);
        }

        .nav-link.is-active {
            background: linear-gradient(135deg, var(--accent), var(--brand));
            border-color: transparent;
            color: #ffffff;
            box-shadow: 0 16px 28px rgba(91, 100, 244, 0.25);
        }

        .content {
            animation: pageRise 0.65s ease both;
        }

        .doc-section {
            position: relative;
            overflow: hidden;
            border-color: rgba(120, 139, 181, 0.2);
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 253, 255, 0.9)),
                var(--panel);
            box-shadow: var(--shadow-soft);
            transition:
                transform 0.28s ease,
                box-shadow 0.28s ease,
                border-color 0.28s ease;
        }

        .doc-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--accent), var(--brand), #9b5cff);
            opacity: 0.86;
        }

        .doc-section:hover {
            border-color: rgba(109, 93, 252, 0.26);
            box-shadow: var(--shadow);
            transform: translateY(-2px);
        }

        .section-header {
            border-bottom-color: rgba(120, 139, 181, 0.16);
        }

        .doc-section h2 {
            background: linear-gradient(135deg, #10182a, #2457d6 58%, #7a4cff);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .callout,
        .code-block,
        .copy-card,
        .tab-group,
        .link-card,
        .download-card,
        .action-heading {
            border-color: rgba(120, 139, 181, 0.18);
            background: rgba(255, 255, 255, 0.82);
            box-shadow: 0 12px 28px rgba(43, 64, 112, 0.07);
        }

        .callout--tip {
            border-color: rgba(17, 174, 232, 0.2);
            background: linear-gradient(135deg, rgba(232, 248, 255, 0.96), rgba(246, 251, 255, 0.86));
        }

        .callout--important {
            border-color: rgba(18, 184, 134, 0.2);
            background: linear-gradient(135deg, rgba(233, 251, 244, 0.96), rgba(250, 255, 253, 0.88));
        }

        .callout--warning {
            border-color: rgba(138, 108, 255, 0.2);
            background: linear-gradient(135deg, rgba(241, 237, 255, 0.98), rgba(251, 250, 255, 0.88));
        }

        .link-card__button,
        .download-card__button,
        .tab-button.is-active {
            background: linear-gradient(135deg, var(--accent), var(--brand));
            color: #ffffff;
            box-shadow: 0 14px 26px rgba(91, 100, 244, 0.24);
        }

        .link-card__button:hover,
        .download-card__button:hover,
        .tab-button.is-active:hover {
            background: linear-gradient(135deg, #22c2f4, #7b68ff);
            color: #ffffff;
            transform: translateY(-2px);
        }

        .button-grid .link-card__button {
            border-color: rgba(120, 139, 181, 0.18);
            background: rgba(255, 255, 255, 0.86);
            color: var(--text);
        }

        .button-grid .link-card__button:hover {
            border-color: rgba(109, 93, 252, 0.32);
            background: linear-gradient(135deg, rgba(232, 248, 255, 0.98), rgba(241, 237, 255, 0.9));
            color: #1f2a44;
        }

        .button-grid .link-card__button::before {
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(17, 174, 232, 0.12);
        }

        .doc-figure img {
            border-color: rgba(120, 139, 181, 0.22);
            transition:
                transform 0.32s ease,
                box-shadow 0.32s ease,
                border-color 0.32s ease;
        }

        .doc-figure img:hover {
            border-color: rgba(109, 93, 252, 0.3);
            box-shadow: 0 20px 44px rgba(43, 64, 112, 0.15);
            transform: translateY(-2px) scale(1.006);
        }

        .copy-button {
            transition:
                transform 0.2s ease,
                background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
        }

        .copy-button:hover {
            border-color: rgba(109, 93, 252, 0.24);
            background: var(--brand-tint);
            color: var(--brand-deep);
            transform: translateY(-1px);
        }

        .mobile-toggle {
            background: linear-gradient(135deg, var(--accent), var(--brand));
            box-shadow: 0 16px 30px rgba(91, 100, 244, 0.25);
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.001ms !important;
                animation-iteration-count: 1 !important;
                scroll-behavior: auto !important;
                transition-duration: 0.001ms !important;
            }
        }

        /* Distinct layout redesign */
        body {
            min-width: 0;
        }

        .page-shell {
            display: block;
            min-height: 100vh;
        }

        .sidebar {
            position: sticky;
            top: 0;
            z-index: 40;
            display: grid;
            grid-template-columns: minmax(240px, 0.9fr) minmax(0, 2.1fr);
            gap: 24px;
            align-items: center;
            width: 100%;
            height: auto;
            padding: 14px clamp(18px, 4vw, 56px);
            border-right: 0;
            border-bottom: 1px solid rgba(120, 139, 181, 0.18);
            background: rgba(255, 255, 255, 0.82);
            box-shadow: 0 12px 36px rgba(43, 64, 112, 0.08);
            overflow: visible;
        }

        .sidebar__brand {
            display: grid;
            grid-template-columns: 58px minmax(0, 1fr);
            grid-template-areas:
                "logo eyebrow"
                "logo title"
                "logo meta";
            column-gap: 14px;
            align-items: center;
            min-width: 0;
            margin: 0;
            padding: 0;
            border: 0;
            background: transparent;
            box-shadow: none;
            overflow: visible;
        }

        .sidebar__brand::after {
            display: none;
        }

        .sidebar__logo {
            grid-area: logo;
            width: 54px;
            height: 54px;
            margin: 0;
        }

        .sidebar__eyebrow {
            grid-area: eyebrow;
            margin: 0 0 2px;
            font-size: 0.68rem;
        }

        .sidebar__brand h1 {
            grid-area: title;
            margin: 0;
            font-size: 1.08rem;
            line-height: 1.2;
        }

        .sidebar__brand p:last-child {
            grid-area: meta;
            margin: 2px 0 0;
            font-size: 0.82rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .sidebar__nav {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
            min-width: 0;
        }

        .nav-group {
            display: contents;
        }

        .nav-group__title,
        .nav-empty {
            display: none;
        }

        .nav-details {
            position: relative;
            display: block;
        }

        .nav-details summary,
        .nav-link {
            min-height: 38px;
            padding: 0.56rem 0.78rem;
            border-radius: 999px !important;
            white-space: nowrap;
            font-size: 0.88rem;
        }

        .nav-link::before,
        .nav-details summary::before {
            display: none;
        }

        .nav-details summary::after {
            margin-left: 0.55rem;
        }

        .nav-subnav {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            display: grid;
            min-width: 260px;
            padding: 10px;
            border: 1px solid rgba(120, 139, 181, 0.18);
            border-radius: 0.8rem;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: var(--shadow);
        }

        .nav-details:not([open]) .nav-subnav {
            display: none;
        }

        .nav-link--sub {
            border-radius: 0.55rem !important;
        }

        .content {
            padding: 32px clamp(18px, 4vw, 56px) 72px;
        }

        .overview,
        .content-grid {
            width: min(1180px, 100%);
            margin-inline: auto;
        }

        .overview {
            display: grid;
            grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
            gap: clamp(20px, 4vw, 42px);
            align-items: stretch;
            margin-bottom: 26px;
            padding: clamp(24px, 4vw, 42px);
            border: 1px solid rgba(120, 139, 181, 0.2);
            border-radius: 1rem;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 248, 255, 0.86)),
                var(--panel);
            box-shadow: var(--shadow);
            animation: pageRise 0.65s ease both;
        }

        .overview__copy {
            display: grid;
            align-content: center;
            gap: 12px;
        }

        .overview__copy h2 {
            margin: 0;
            color: #10182a;
            font-size: clamp(2.1rem, 5vw, 4.2rem);
            line-height: 1.05;
            letter-spacing: 0;
        }

        .overview__copy p {
            margin: 0;
            max-width: 620px;
            color: var(--text-soft);
            font-size: 1.02rem;
        }

        .overview__cards {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .overview-card {
            display: grid;
            gap: 8px;
            min-height: 132px;
            padding: 18px;
            border: 1px solid rgba(120, 139, 181, 0.18);
            border-radius: 0.85rem;
            background: rgba(255, 255, 255, 0.76);
            color: var(--text);
            box-shadow: 0 12px 28px rgba(43, 64, 112, 0.08);
            transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
        }

        .overview-card:hover {
            border-color: rgba(109, 93, 252, 0.3);
            color: var(--text);
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(43, 64, 112, 0.14);
        }

        .overview-card span {
            width: max-content;
            padding: 0.25rem 0.55rem;
            border-radius: 999px;
            background: linear-gradient(135deg, var(--accent), var(--brand));
            color: #fff;
            font-size: 0.76rem;
            font-weight: 800;
        }

        .overview-card strong {
            font-size: 1.15rem;
        }

        .overview-card small {
            color: var(--text-soft);
            font-size: 0.9rem;
        }

        .content-grid {
            display: grid;
            grid-template-columns: 210px minmax(0, 1fr);
            gap: 24px;
            align-items: start;
        }

        .content-rail {
            position: sticky;
            top: 102px;
            display: grid;
            gap: 8px;
            padding: 16px;
            border: 1px solid rgba(120, 139, 181, 0.18);
            border-radius: 0.9rem;
            background: rgba(255, 255, 255, 0.72);
            box-shadow: var(--shadow-soft);
            backdrop-filter: blur(18px);
        }

        .content-rail a {
            display: flex;
            align-items: center;
            min-height: 38px;
            padding: 0.55rem 0.7rem;
            border-radius: 0.55rem;
            color: var(--text-soft);
            font-weight: 700;
            transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        }

        .content-rail a:hover {
            background: rgba(238, 244, 255, 0.9);
            color: var(--brand-deep);
            transform: translateX(2px);
        }

        .doc-flow {
            display: grid;
            gap: 22px;
            min-width: 0;
        }

        .doc-section,
        .page-footer {
            max-width: none;
            margin: 0;
        }

        .doc-section {
            padding: clamp(24px, 3vw, 34px);
            border-radius: 1rem !important;
        }

        .section-header {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 6px;
            margin-bottom: 20px;
            padding-bottom: 16px;
        }

        .section-header::before {
            content: attr(data-step);
        }

        .doc-section:nth-of-type(1) .section-header::before { content: "Guide 01"; }
        .doc-section:nth-of-type(2) .section-header::before { content: "Guide 02"; }
        .doc-section:nth-of-type(3) .section-header::before { content: "Guide 03"; }
        .doc-section:nth-of-type(4) .section-header::before { content: "Guide 04"; }
        .doc-section:nth-of-type(5) .section-header::before { content: "Guide 05"; }
        .doc-section:nth-of-type(6) .section-header::before { content: "FAQ"; }

        .section-header::before {
            width: max-content;
            padding: 0.26rem 0.62rem;
            border-radius: 999px;
            background: rgba(17, 174, 232, 0.1);
            color: var(--brand-deep);
            font-size: 0.75rem;
            font-weight: 800;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .doc-section h3 {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 1.65rem;
            padding-top: 0.35rem;
        }

        .doc-section h3::before {
            content: "";
            width: 10px;
            height: 10px;
            flex: 0 0 10px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent), var(--brand));
            box-shadow: 0 0 0 5px rgba(17, 174, 232, 0.1);
        }

        .action-heading,
        .download-card {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
        }

        .doc-figure {
            padding: 10px;
            border: 1px solid rgba(120, 139, 181, 0.16);
            border-radius: 1rem;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 248, 255, 0.72));
        }

        .doc-figure img {
            max-width: none;
            border-radius: 0.75rem !important;
        }

        .button-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .mobile-toggle {
            display: none;
        }

        @media (max-width: 1120px) {
            .sidebar {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .sidebar__nav {
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 2px;
            }

            .overview {
                grid-template-columns: 1fr;
            }

            .content-grid {
                grid-template-columns: 1fr;
            }

            .content-rail {
                position: static;
                display: flex;
                overflow-x: auto;
            }

            .content-rail .section-kicker {
                display: none;
            }

            .content-rail a {
                flex: 0 0 auto;
                white-space: nowrap;
            }
        }

        @media (max-width: 720px) {
            .sidebar {
                position: sticky;
                left: auto;
                right: auto;
                bottom: auto;
                width: 100%;
                height: auto;
                transform: none;
                transition: none;
                display: block;
                padding: 12px;
            }

            .sidebar__brand {
                margin-bottom: 10px;
            }

            .sidebar__nav {
                gap: 8px;
            }

            .nav-details {
                display: none;
            }

            .content {
                width: auto;
                max-width: none;
                padding: 18px 12px 40px;
            }

            .overview {
                padding: 22px 18px;
            }

            .overview__copy h2 {
                font-size: clamp(2rem, 12vw, 3rem);
            }

            .overview__cards,
            .button-grid,
            .action-heading,
            .download-card {
                grid-template-columns: 1fr;
            }

            .overview-card {
                min-height: 112px;
            }

            .content-rail {
                margin-inline: -2px;
                padding: 10px;
            }

            .doc-section {
                padding: 22px 18px;
            }

            .doc-section h3 {
                align-items: flex-start;
            }

            .doc-figure {
                margin-inline: -2px;
                padding: 6px;
            }

            .tab-header {
                display: grid;
                grid-template-columns: 1fr;
            }
        }

        /* Keep top navigation hit boxes stable on hover. Horizontal transforms can
           move the button away from the cursor at its left edge and cause jitter. */
        .sidebar__nav .nav-link:hover,
        .sidebar__nav .nav-details summary:hover {
            transform: none;
        }

        /* Theme switcher */
        .theme-switcher {
            position: relative;
            display: block;
        }

        .theme-switcher summary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            min-height: 38px;
            padding: 0.56rem 0.78rem;
            border: 1px solid transparent;
            border-radius: 999px;
            color: var(--text-soft);
            cursor: pointer;
            font-size: 0.88rem;
            font-weight: 800;
            list-style: none;
            transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
        }

        .theme-switcher summary::-webkit-details-marker {
            display: none;
        }

        .theme-switcher summary::after {
            content: "";
            width: 7px;
            height: 7px;
            margin-left: 0.25rem;
            border-right: 1.6px solid currentColor;
            border-bottom: 1.6px solid currentColor;
            transform: rotate(45deg) translateY(-2px);
            transition: transform 0.2s ease;
        }

        .theme-switcher[open] summary {
            border-color: rgba(109, 93, 252, 0.24);
            background: rgba(255, 255, 255, 0.9);
            color: var(--text);
            box-shadow: 0 14px 30px rgba(43, 64, 112, 0.12);
        }

        .theme-switcher[open] summary::after {
            transform: rotate(225deg) translate(-2px, -1px);
        }

        .theme-switcher__icon {
            display: inline-grid;
            place-items: center;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent), var(--brand));
            color: #ffffff;
            font-size: 0.82rem;
            line-height: 1;
        }

        .theme-menu {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            z-index: 80;
            display: grid;
            width: 260px;
            padding: 8px;
            border: 1px solid rgba(120, 139, 181, 0.18);
            border-radius: 0.8rem;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: var(--shadow);
        }

        .theme-option {
            display: grid;
            grid-template-columns: 28px minmax(0, 1fr);
            gap: 10px;
            align-items: center;
            width: 100%;
            padding: 0.68rem 0.7rem;
            border: 0;
            border-radius: 0.6rem;
            background: transparent;
            color: var(--text);
            cursor: pointer;
            font: inherit;
            text-align: left;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .theme-option:hover,
        .theme-option[aria-checked="true"] {
            background: rgba(93, 119, 255, 0.12);
        }

        .theme-option__icon {
            color: var(--text-soft);
            font-size: 1.04rem;
        }

        .theme-option strong,
        .theme-option small {
            display: block;
        }

        .theme-option strong {
            font-size: 0.92rem;
            line-height: 1.2;
        }

        .theme-option small {
            margin-top: 0.16rem;
            color: var(--text-faint);
            font-size: 0.78rem;
            line-height: 1.25;
        }

        .theme-menu__system {
            margin: 6px -8px -8px;
            padding: 0.62rem 1rem;
            border-top: 1px solid rgba(120, 139, 181, 0.18);
            color: var(--text-faint);
            font-size: 0.8rem;
        }

        html[data-theme="dark"] {
            color-scheme: dark;
        }

        html[data-theme="dark"] body {
            background:
                radial-gradient(circle at 18% 12%, rgba(34, 194, 244, 0.16), transparent 28rem),
                radial-gradient(circle at 88% 8%, rgba(123, 104, 255, 0.18), transparent 30rem),
                linear-gradient(180deg, #111219 0%, #151822 52%, #10131b 100%);
            color: #eef3ff;
        }

        html[data-theme="dark"] body::before {
            background-image:
                linear-gradient(rgba(144, 160, 255, 0.06) 1px, transparent 1px),
                linear-gradient(90deg, rgba(144, 160, 255, 0.06) 1px, transparent 1px);
        }

        html[data-theme="dark"] .sidebar {
            border-bottom-color: rgba(160, 172, 220, 0.14);
            background: rgba(20, 22, 31, 0.84);
            box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
        }

        html[data-theme="dark"] .sidebar__brand h1,
        html[data-theme="dark"] .overview__copy h2,
        html[data-theme="dark"] .doc-section h2,
        html[data-theme="dark"] .doc-section h3,
        html[data-theme="dark"] .overview-card strong,
        html[data-theme="dark"] .callout strong,
        html[data-theme="dark"] .theme-option strong {
            color: #f7f9ff;
            background: none;
            -webkit-background-clip: initial;
            background-clip: initial;
        }

        html[data-theme="dark"] .sidebar__brand p:last-child,
        html[data-theme="dark"] .overview__copy p,
        html[data-theme="dark"] .doc-section p,
        html[data-theme="dark"] .doc-section li,
        html[data-theme="dark"] .overview-card small,
        html[data-theme="dark"] .theme-switcher summary,
        html[data-theme="dark"] .content-rail a {
            color: #b8c3d8;
        }

        html[data-theme="dark"] .sidebar__eyebrow,
        html[data-theme="dark"] .section-kicker,
        html[data-theme="dark"] .nav-group__title,
        html[data-theme="dark"] .copy-card__label,
        html[data-theme="dark"] .theme-option small,
        html[data-theme="dark"] .theme-menu__system {
            color: #8390a7;
        }

        html[data-theme="dark"] .overview,
        html[data-theme="dark"] .doc-section,
        html[data-theme="dark"] .overview-card,
        html[data-theme="dark"] .content-rail,
        html[data-theme="dark"] .action-heading,
        html[data-theme="dark"] .download-card,
        html[data-theme="dark"] .callout,
        html[data-theme="dark"] .code-block,
        html[data-theme="dark"] .copy-card,
        html[data-theme="dark"] .tab-group,
        html[data-theme="dark"] .link-card,
        html[data-theme="dark"] .doc-figure,
        html[data-theme="dark"] .theme-menu,
        html[data-theme="dark"] .nav-subnav {
            border-color: rgba(160, 172, 220, 0.16);
            background: rgba(25, 28, 39, 0.88);
            box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
        }

        html[data-theme="dark"] .overview {
            background:
                linear-gradient(135deg, rgba(32, 36, 50, 0.96), rgba(22, 31, 46, 0.9)),
                #171b26;
        }

        html[data-theme="dark"] .doc-section {
            background:
                linear-gradient(180deg, rgba(27, 31, 44, 0.96), rgba(18, 22, 32, 0.92)),
                #171b26;
        }

        html[data-theme="dark"] .callout--tip,
        html[data-theme="dark"] .callout--important,
        html[data-theme="dark"] .callout--warning {
            background: rgba(31, 38, 54, 0.92);
        }

        html[data-theme="dark"] .nav-link,
        html[data-theme="dark"] .nav-details summary,
        html[data-theme="dark"] .theme-switcher summary {
            color: #b8c3d8;
        }

        html[data-theme="dark"] .nav-link:hover,
        html[data-theme="dark"] .nav-details summary:hover,
        html[data-theme="dark"] .theme-switcher summary:hover,
        html[data-theme="dark"] .theme-switcher[open] summary,
        html[data-theme="dark"] .content-rail a:hover,
        html[data-theme="dark"] .theme-option:hover,
        html[data-theme="dark"] .theme-option[aria-checked="true"] {
            background: rgba(93, 119, 255, 0.18);
            color: #ffffff;
        }

        html[data-theme="dark"] :not(pre) > code,
        html[data-theme="dark"] .code-block pre {
            color: #dce8ff;
        }

        html[data-theme="dark"] :not(pre) > code {
            border-color: rgba(160, 172, 220, 0.2);
            background: rgba(7, 11, 20, 0.5);
        }

        html[data-theme="dark"] .doc-figure img {
            border-color: rgba(160, 172, 220, 0.2);
        }

        html[data-theme="dark"] .theme-menu__system {
            border-top-color: rgba(160, 172, 220, 0.16);
        }

        @media (max-width: 720px) {
            .theme-switcher {
                flex: 0 0 auto;
            }

            .theme-menu {
                right: auto;
                left: 0;
                width: min(260px, calc(100vw - 24px));
            }
        }
