* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #0a0c10 0%, #1a1d28 50%, #0f1218 100%);
            color: #e8eaed;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            height: 100vh;
            overflow: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            line-height: 1.6;
        }

        .main-header {
            width: 100%;
            background: linear-gradient(180deg, #16191f 0%, #13161c 100%);
            border-bottom: 1px solid rgba(90, 108, 255, 0.2);
            box-shadow: 0 6px 20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.03);
            backdrop-filter: blur(10px);
            position: static;
            top: 0;
            z-index: 500;
            flex-shrink: 0;
        }

        .header-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 14px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .header-left { display: flex; flex-direction: column; }

        .header-content h1 {
            margin: 0;
            font-size: 18px;
            font-weight: 900;
            letter-spacing: -0.03em;
            color: #e8eaed;
            text-transform: uppercase;
        }

        .header-content p {
            align-items: center;
            margin: 2px 0 0;
            font-size: 11px;
            color: #7a84a8;
            font-weight: 600;
            letter-spacing: 0.02em;
            display: flex;
            flex-direction: row;
            gap: 4px;
        }

        .header-link {
            background: linear-gradient(135deg, rgba(90,108,255,0.25) 0%, rgba(90,108,255,0.15) 100%);
            border: 1px solid rgba(90,108,255,0.4);
            padding: 6px 14px;
            border-radius: 10px;
            color: #6f7dff;
            text-align: center;
            text-decoration: none;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.04em;
            transition: all 0.25s ease;
            box-shadow: 0 0 12px rgba(90,108,255,0.15);
        }

        .header-link:hover {
            background: linear-gradient(135deg, rgba(90,108,255,0.4) 0%, rgba(90,108,255,0.25) 100%);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 0 22px rgba(90,108,255,0.35);
        }

        .container {
            display: flex;
            flex: 1;
            gap: 2px;
            background: #0a0c10;
            height: calc(100vh - 64px);
            overflow: hidden;
        }

        .doc-sidebar {
            width: 320px;
            min-width: 320px;
            flex-shrink: 0;
            padding: 28px 24px;
            background: linear-gradient(180deg, #16191f 0%, #13161c 100%);
            overflow-y: auto;
            min-height: 0;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
        }
        .sidebar-heading {
            margin-bottom: 24px;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.02em;
            text-transform: uppercase;
            font-size: 13px;
            opacity: 0.5;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(90,108,255,0.15);
        }

        .tree-item { user-select: none; }

        .tree-row {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 7px 10px;
            cursor: pointer;
            border-radius: 8px;
            margin: 1px 0;
            transition: background 0.15s, color 0.15s;
            font-size: 13px;
            font-weight: 600;
            color: #a8b1d6;
            letter-spacing: 0.01em;
        }

        .tree-row:hover { background: rgba(90,108,255,0.1); color: #e8eaed; }
        .tree-row.active { background: rgba(90,108,255,0.15); color: #8a96ff; }

        .tree-arrow {
            width: 14px;
            height: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: #4a5270;
        }

        .tree-arrow svg { transition: transform 0.18s ease; }
        .tree-item.open > .tree-row .tree-arrow svg { transform: rotate(90deg); }

        .tree-icon { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.6; }
        .tree-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        .tree-children {
            display: none;
            padding-left: 14px;
            margin-left: 12px;
            border-left: 1px solid rgba(90,108,255,0.12);
        }

        .tree-item.open > .tree-children { display: block; }

        .tree-children .tree-row {
            font-size: 12.5px;
            font-weight: 500;
            color: #7a84a8;
        }

        .tree-children .tree-row:hover { color: #c0c8e0; }
        .tree-children .tree-row.active { color: #8a96ff; }

        .doc-content-wrap {
            flex: 1;
            padding: 28px 24px;
            background: linear-gradient(180deg, #16191f 0%, #13161c 100%);
            overflow-y: auto;
            min-height: 0;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
        }

        .doc-page { display: none; }
        .doc-page.visible { display: block; max-width: 720px; }

        .breadcrumb {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.08em;
            color: #4a5270;
            margin-bottom: 18px;
            text-transform: uppercase;
        }
        .breadcrumb span { color: #6f7dff; }

        .doc-page h1 {
            font-size: 26px;
            font-weight: 800;
            color: #e8eaed;
            margin: 0 0 6px;
            letter-spacing: -0.03em;
        }

        .page-subtitle {
            font-size: 13px;
            color: #5a6480;
            font-weight: 500;
            margin-bottom: 28px;
        }

        .doc-page h2 {
            font-size: 15px;
            font-weight: 700;
            color: #c0c8e0;
            margin: 32px 0 10px;
            letter-spacing: -0.01em;
            padding-bottom: 6px;
            border-bottom: 1px solid rgba(90,108,255,0.1);
        }

        .doc-page p {
            font-size: 13px;
            line-height: 1.75;
            color: #a8b1d6;
            margin-bottom: 14px;
        }

        .doc-page strong { color: #c8d0e8; font-weight: 700; }
        .doc-page em { color: #8a96ff; font-style: normal; }

        .doc-page a { color: #6f7dff; text-decoration: none; }
        .doc-page a:hover { text-decoration: underline; }

        .callout {
            margin: 20px 0;
            padding: 16px 18px;
            background: rgba(90,108,255,0.05);
            border-radius: 10px;
            border: 1px solid rgba(90,108,255,0.12);
            font-size: 12px;
            line-height: 1.65;
            color: #a8b1d6;
            letter-spacing: 0.01em;
        }

        .callout.tip {
            background: rgba(80,200,130,0.05);
            border-color: rgba(80,200,130,0.15);
        }

        .callout.warning {
            background: rgba(255,180,50,0.05);
            border-color: rgba(255,180,50,0.15);
        }

        .callout-label {
            display: block;
            font-weight: 700;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.09em;
            margin-bottom: 5px;
            color: #6f7dff;
        }

        .callout.tip .callout-label { color: #50c882; }
        .callout.warning .callout-label { color: #ffb432; }

        .doc-page code {
            font-family: 'Courier New', monospace;
            background: rgba(27,30,36,0.7);
            border: 1px solid rgba(90,108,255,0.15);
            border-radius: 5px;
            padding: 2px 7px;
            font-size: 12px;
            color: #8a96ff;
        }

        pre {
            background: rgba(27,30,36,0.7);
            border: 1px solid rgba(90,108,255,0.15);
            border-radius: 10px;
            padding: 16px 18px;
            overflow-x: auto;
            margin: 16px 0;
        }

        pre code { background: none; border: none; padding: 0; font-size: 12.5px; color: #a8b1d6; }

        hr.doc-divider { border: none; border-top: 1px solid rgba(255,255,255,0.05); margin: 28px 0; }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 12.5px;
            margin: 16px 0;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(90,108,255,0.1);
        }

        th {
            text-align: left;
            padding: 10px 14px;
            background: rgba(90,108,255,0.08);
            color: #7a84a8;
            font-weight: 700;
            font-size: 11px;
            letter-spacing: 0.07em;
            text-transform: uppercase;
        }

        td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); color: #a8b1d6; }
        tr:last-child td { border-bottom: none; }
        tbody tr { background: rgba(27,30,36,0.3); transition: background 0.15s; }
        tbody tr:hover { background: rgba(90,108,255,0.06); }

        kbd {
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 4px;
            padding: 2px 7px;
            font-size: 11px;
            font-family: inherit;
            color: #c8d0e8;
        }

        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: rgba(90,108,255,0.2); border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: rgba(90,108,255,0.35); }