

/* Start:/local/js/wl/docs/style.css?178722609312560*/
body {
    scroll-behavior: smooth;
}

.header {
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
}

.documentation-page {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-sidebar: #f4f5f9;
    --bg-card: #f8f9fc;
    --bg-code: #f0f1f6;
    --bg-hover: #ecedf4;
    --bg-active: #e4e5f0;
    --text-primary: #1a1d2e;
    --text-secondary: #4a4f6a;
    --text-muted: #8b90a8;
    --accent: #66A13D;
    --accent-light: #78b84e;
    --accent-dim: rgba(102, 161, 61, 0.08);
    --accent-border: rgba(102, 161, 61, 0.2);
    --green: #16a34a;
    --green-dim: rgba(22, 163, 74, 0.08);
    --red: #dc2626;
    --red-dim: rgba(220, 38, 38, 0.08);
    --orange: #ea580c;
    --orange-dim: rgba(234, 88, 12, 0.08);
    --blue: #2563eb;
    --blue-dim: rgba(37, 99, 235, 0.08);
    --cyan: #0891b2;
    --yellow: #ca8a04;
    --border: #e2e4ed;
    --border-light: #d1d4e0;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --radius-lg: 12px;
    --sidebar-width: 280px;
    --header-height: 58px;
    --transition: 0.2s ease;

    position: relative;

    &:after {
        content: '';
        background: var(--bg-sidebar);
        border-right: 1px solid var(--border);
        width: var(--sidebar-width);
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }

    /* ===== SIDEBAR ===== */
    .sidebar {
        position: sticky;
        top: var(--header-height);
        left: 0;
        bottom: 0;
        width: var(--sidebar-width);
        overflow-y: auto;
        padding: 16px 0;
        z-index: 90;
        scrollbar-width: thin;
        scrollbar-color: var(--border) transparent;
        float: left;
    }

    .sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .sidebar::-webkit-scrollbar-thumb {
        background: var(--border);
        border-radius: 4px;
    }

    .sidebar-section {
        margin-bottom: 4px;
    }

    .sidebar-title {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: var(--text-muted);
        padding: 12px 20px 6px;
    }

    .sidebar-nav {
        list-style: none;
    }

    .sidebar-nav li a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 7px 20px 7px 0px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 13.5px;
        font-weight: 450;
        transition: var(--transition);
        border-left: 2px solid transparent;
    }

    .sidebar-nav li a:hover {
        background: var(--bg-hover);
        color: var(--text-primary);
    }

    .sidebar-nav li a.active {
        background: var(--accent-dim);
        color: var(--accent-light);
        border-left-color: var(--accent);
    }

    .sidebar-nav li a .nav-icon {
        font-size: 14px;
        width: 18px;
        text-align: center;
        flex-shrink: 0;
    }

    .sidebar-nav li ul {
        list-style: none;
    }

    .sidebar-nav li.expanded > ul {
        display: block;
    }

    .sidebar-nav li ul li a {
        padding-left: 4px;
        font-size: 12.5px;
        color: var(--text-muted);
    }

    .sidebar-nav li ul li a:hover {
        color: var(--text-secondary);
    }

    /* ===== MAIN CONTENT ===== */
    .content {
        max-width: 860px;
        margin: 0 auto;
        padding: 40px 15px;
    }

    /* ===== TYPOGRAPHY ===== */
    .section {
        margin-bottom: 56px;
        scroll-margin-top: 72px;
    }

    .section-title {
        font-size: 28px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .section-title .section-icon {
        font-size: 24px;
    }

    h3 {
        font-size: 22px;
        font-weight: 650;
        color: var(--text-primary);
        margin: 32px 0 14px;
    }

    h4 {
        font-size: 18px;
        font-weight: 600;
        color: var(--text-primary);
        margin: 24px 0 10px;
    }

    p {
        margin-bottom: 16px;
        color: var(--text-secondary);
    }

    /* ===== CARDS ===== */
    .card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 20px 24px;
        margin: 16px 0;
    }

    .card-accent {
        border-left: 3px solid var(--accent);
    }

    .card-green {
        border-left: 3px solid var(--green);
        background: var(--green-dim);
    }

    .card-orange {
        border-left: 3px solid var(--orange);
        background: var(--orange-dim);
    }

    .card-red {
        border-left: 3px solid var(--red);
        background: var(--red-dim);
    }

    .card-blue {
        border-left: 3px solid var(--blue);
        background: var(--blue-dim);
    }

    .card-title {
        font-weight: 600;
        font-size: 18px;
        margin-bottom: 8px;
        color: var(--text-primary);
    }

    .card p {
        font-size: 16px;
        margin-bottom: 0;
    }

    /* ===== CODE ===== */
    code {
        font-family: monospace;
        font-size: 13px;
        background: var(--bg-code);
        padding: 2px 6px;
        border-radius: 4px;
        color: var(--accent-light);
        border: 1px solid var(--border);
    }

    pre {
        background: var(--bg-code);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 16px 20px;
        overflow-x: auto;
        margin: 14px 0;
        font-family: monospace;
        font-size: 13px;
        line-height: 1.6;
        scrollbar-width: thin;
        scrollbar-color: var(--border) transparent;
    }

    pre code {
        background: none;
        border: none;
        padding: 0;
        color: var(--text-secondary);
    }

    /* ===== TABLES ===== */
    .table-wrapper {
        overflow-x: auto;
        margin: 14px 0;
        border: 1px solid var(--border);
        border-radius: var(--radius);
    }

    table {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }

    thead {
        background: var(--bg-code);
    }

    th {
        padding: 10px 16px;
        text-align: left;
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
    }

    td {
        padding: 10px 16px;
        border-bottom: 1px solid var(--border);
        color: var(--text-secondary);
    }

    tr:last-child td {
        border-bottom: none;
    }

    tr:hover td {
        background: var(--bg-hover);
    }

    td code {
        font-size: 12px;
    }

    /* ===== LISTS ===== */
    ul, ol {
        padding-left: 24px;
        margin-bottom: 14px;
        color: var(--text-secondary);
    }

    li {
        margin-bottom: 6px;
        font-size: 16px;
    }

    li code {
        font-size: 16px;
    }

    /* ===== TAGS & BADGES ===== */
    .badge {
        display: inline-block;
        font-size: 11px;
        font-weight: 600;
        padding: 2px 8px;
        border-radius: 10px;
        margin-right: 4px;
    }

    .badge-green {
        background: var(--green-dim);
        color: var(--green);
        border: 1px solid rgba(74, 222, 128, 0.2);
    }

    .badge-red {
        background: var(--red-dim);
        color: var(--red);
        border: 1px solid rgba(248, 113, 113, 0.2);
    }

    .badge-orange {
        background: var(--orange-dim);
        color: var(--orange);
        border: 1px solid rgba(251, 146, 60, 0.2);
    }

    .badge-blue {
        background: var(--blue-dim);
        color: var(--blue);
        border: 1px solid rgba(96, 165, 250, 0.2);
    }

    .badge-purple {
        background: var(--accent-dim);
        color: var(--accent-light);
        border: 1px solid var(--accent-border);
    }

    /* ===== INFO BOXES ===== */
    .info-box {
        display: flex;
        gap: 12px;
        padding: 14px 16px;
        border-radius: var(--radius);
        margin: 14px 0;
        font-size: 16px;
    }

    .info-box-icon {
        font-size: 18px;
        flex-shrink: 0;
        margin-top: 1px;
    }

    .info-box-text {
        color: var(--text-secondary);
        line-height: 1.6;
    }

    .info-box-text strong {
        color: var(--text-primary);
    }

    .info-tip {
        background: var(--accent-dim);
        border: 1px solid var(--accent-border);
    }

    .info-warning {
        background: var(--orange-dim);
        border: 1px solid rgba(251, 146, 60, 0.2);
    }

    .info-danger {
        background: var(--red-dim);
        border: 1px solid rgba(248, 113, 113, 0.2);
    }

    .info-success {
        background: var(--green-dim);
        border: 1px solid rgba(74, 222, 128, 0.2);
    }

    /* ===== STEP INDICATOR ===== */
    .steps {
        counter-reset: step;
        margin: 16px 0;
    }

    .step {
        counter-increment: step;
        display: flex;
        gap: 16px;
        margin-bottom: 20px;
        padding: 16px 20px;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
    }

    .step::before {
        content: counter(step);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        background: var(--accent-dim);
        color: var(--accent-light);
        border-radius: 50%;
        font-size: 13px;
        font-weight: 700;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .step-content {
        flex: 1;
    }

    .step-content h4 {
        margin: 0 0 6px;
        font-size: 20px;
    }

    .step-content p {
        margin: 0;
        font-size: 16px;
    }

    /* ===== FLOW DIAGRAM ===== */
    .flow {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 20px 0;
    }

    .flow-item {
        display: flex;
        gap: 14px;
        padding: 12px 0;
    }

    .flow-line {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 24px;
        flex-shrink: 0;
    }

    .flow-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--accent);
        flex-shrink: 0;
        border: 2px solid var(--bg-primary);
        box-shadow: 0 0 0 2px var(--accent);
    }

    .flow-connector {
        width: 2px;
        flex: 1;
        background: var(--border);
        min-height: 8px;
    }

    .flow-content {
        flex: 1;
        font-size: 14px;
        color: var(--text-secondary);
        padding-top: 0;
    }

    .flow-content strong {
        color: var(--text-primary);
    }

    /* ===== HIGHLIGHT ===== */
    .highlight {
        color: var(--accent-light);
        font-weight: 500;
    }

    /* ===== DIVIDER ===== */
    .divider {
        height: 1px;
        background: var(--border);
        margin: 40px 0;
    }

    /* ===== SCREENSHOTS ===== */
    .screenshot {
        margin: 18px 0;
        text-align: center;
    }

    .screenshot img {
        max-width: 100%;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .screenshot figcaption {
        margin-top: 8px;
        font-size: 13px;
        color: var(--text-muted);
        font-style: italic;
    }

    /* ===== SUBSTITUTION TABLE ===== */
    .substitution-grid {
        display: grid;
        gap: 8px;
        margin: 14px 0;
    }

    .substitution-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
    }

    .substitution-token {
        font-family: monospace;
        font-size: 13px;
        color: var(--cyan);
        background: var(--bg-code);
        padding: 3px 8px;
        border-radius: 4px;
        white-space: nowrap;
        border: 1px solid var(--border);
    }

    .substitution-desc {
        font-size: 14px;
        color: var(--text-secondary);
    }
}

@media screen and (max-width: 1440px) {
    .documentation-page {
        &:after {
            display: none;
        }

        .sidebar {
            display: none;
        }

        .content {
            margin: 0 auto;
        }
    }
}
/* End */
/* /local/js/wl/docs/style.css?178722609312560 */
