.vl-doc-hero {
    padding: 28px 0 34px;
    border-bottom: 1px solid #d9e2f5;
    background: radial-gradient(900px 520px at 78% 40%, rgba(30, 110, 230, .2), transparent 70%), linear-gradient(180deg, #f4f8ff, #e4eefc);
}

.vl-doc-hero__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: #5a6585;
    font-size: 13px;
}

.vl-doc-hero__crumb a {
    color: #1574b9;
    font-weight: 600;
}

.vl-doc-hero__crumb i {
    color: #9aa2bd;
    font-size: 10px;
}

.vl-doc-hero__in {
    display: flex;
    align-items: center;
    gap: 18px;
}

.vl-doc-hero__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 64px;
    height: 64px;
    border: 1px solid #d9e2f5;
    border-radius: 18px;
    background: #fff;
    color: #1574b9;
    font-size: 26px;
    box-shadow: 0 14px 30px -20px rgba(21, 116, 185, .6);
}

.vl-doc-hero__chip {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 10px;
    border: 1px solid #d9e2f5;
    border-radius: 999px;
    background: #fff;
    color: #1574b9;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vl-doc-hero__title {
    margin: 0 0 4px;
    color: #28285b;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.vl-doc-hero__lead {
    margin: 0;
    color: #4a5578;
    font-size: 15.5px;
}

.vl-doc-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.vl-doc-hero__meta > span,
.vl-doc-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #d9e2f5;
    border-radius: 999px;
    background: #fff;
    color: #3d4566;
    font-size: 13px;
    font-weight: 600;
}

.vl-doc-hero__meta > span[hidden] {
    display: none;
}

.vl-doc-hero__meta i {
    color: #1574b9;
}

.vl-doc-hero__btn {
    cursor: pointer;
}

.vl-doc-hero__btn:hover {
    border-color: #1574b9;
    color: #1574b9;
}

.vl-doc {
    position: relative;
    padding: 36px 0 60px;
}

.vl-doc__grid {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.vl-doc__side {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 16px;
    will-change: transform;
}

.vl-doc__nav {
    padding: 14px;
    border: 1px solid #e2e7f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px -34px rgba(22, 26, 69, .45);
}

.vl-doc__group + .vl-doc__group {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e2e7f1;
}

.vl-doc__group-title {
    display: block;
    margin: 4px 8px 8px;
    color: #6b7391;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.vl-doc__group ul {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vl-doc__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 11px;
    color: #3d4566;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: background .15s ease, color .15s ease;
}

.vl-doc__link:hover {
    background: #f2f8fe;
    color: #1574b9;
    text-decoration: none;
}

.vl-doc__link-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #f2f5fa;
    color: #6b7391;
    font-size: 14px;
    transition: background .15s ease, color .15s ease;
}

.vl-doc__link:hover .vl-doc__link-icon {
    background: #e4effb;
    color: #1574b9;
}

.vl-doc__link.is-on {
    background: #1574b9;
    color: #fff;
    box-shadow: 0 10px 22px -14px rgba(21, 116, 185, .9);
}

.vl-doc__link.is-on .vl-doc__link-icon {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.vl-doc__link:focus-visible {
    outline: 3px solid rgba(21, 116, 185, .35);
    outline-offset: 2px;
}

.vl-doc__help {
    padding: 16px 18px;
    border: 1px solid #dbe6f5;
    border-radius: 16px;
    background: #f2f8fe;
}

.vl-doc__help strong {
    display: block;
    color: #28285b;
    font-size: 15px;
}

.vl-doc .vl-doc__help p {
    margin: 2px 0 10px;
    color: #5b6483;
    font-size: 13px;
}

.vl-doc__help a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: #1574b9;
    font-size: 13.5px;
    font-weight: 600;
}

.vl-doc__main {
    min-width: 0;
}

.vl-doc__toc {
    margin-bottom: 18px;
    border: 1px solid #e2e7f1;
    border-radius: 16px;
    background: #fff;
}

.vl-doc__toc[hidden] {
    display: none;
}

.vl-doc__toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    border: 0;
    background: none;
    color: #28285b;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
}

.vl-doc__toc-head span i {
    margin-right: 6px;
    color: #1574b9;
}

.vl-doc__toc-head > i {
    color: #6b7391;
    transition: transform .2s ease;
}

.vl-doc__toc.is-closed .vl-doc__toc-head > i {
    transform: rotate(180deg);
}

.vl-doc__toc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 16px;
    margin: 0;
    padding: 0 18px 16px;
    list-style: none;
    counter-reset: toc;
}

.vl-doc__toc.is-closed .vl-doc__toc-list {
    display: none;
}

.vl-doc__toc-list li {
    counter-increment: toc;
}

.vl-doc__toc-list a {
    display: flex;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    color: #3d4566;
    font-size: 13.5px;
    line-height: 1.4;
}

.vl-doc__toc-list a::before {
    content: counter(toc, decimal-leading-zero);
    flex: none;
    color: #9aa2bd;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.vl-doc__toc-list a:hover,
.vl-doc__toc-list a.is-on {
    background: #f2f8fe;
    color: #1574b9;
    text-decoration: none;
}

.vl-doc__toc-list a.is-on::before {
    color: #1574b9;
}

.vl-doc__body {
    padding: 34px 40px;
    border: 1px solid #e2e7f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px -34px rgba(22, 26, 69, .45);
    color: #3d4566;
    font-size: 15.5px;
    line-height: 1.75;
    counter-reset: docsec;
}

.vl-doc .vl-doc__body p,
.vl-doc .vl-doc__body li {
    color: #3d4566;
    font-size: 15.5px;
    line-height: 1.75;
}

.vl-doc .vl-doc__body p {
    margin: 0 0 14px;
}

.vl-doc__body h1 {
    margin: 0 0 16px;
    color: #28285b;
    font-size: 24px;
    font-weight: 700;
}

.vl-doc__body h2 {
    position: relative;
    margin: 34px 0 12px;
    padding-top: 22px;
    border-top: 1px dashed #e2e7f1;
    color: #28285b;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.35;
    scroll-margin-top: 120px;
}

.vl-doc__body h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.vl-doc__body h3 {
    margin: 22px 0 8px;
    color: #1574b9;
    font-size: 17px;
    font-weight: 700;
    scroll-margin-top: 120px;
}

.vl-doc__body h4,
.vl-doc__body h5 {
    margin: 18px 0 6px;
    color: #28285b;
    font-size: 15.5px;
    font-weight: 700;
}

.vl-doc__body strong,
.vl-doc__body b {
    color: #28285b;
}

.vl-doc__body a {
    color: #1574b9;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(21, 116, 185, .35);
    text-underline-offset: 3px;
}

.vl-doc__body ul,
.vl-doc__body ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.vl-doc__body ul {
    list-style: disc;
}

.vl-doc__body ol {
    list-style: decimal;
}

.vl-doc .vl-doc__body ul li,
.vl-doc .vl-doc__body ol li {
    display: list-item;
    padding-left: 4px;
}

.vl-doc__body ul li::marker {
    color: #1574b9;
}

.vl-doc__body li {
    margin-bottom: 6px;
}

.vl-doc__body table {
    display: table;
    width: 100% !important;
    max-width: 100%;
    margin: 12px 0 20px;
    border: 1px solid #e2e7f1;
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.vl-doc__body tr,
.vl-doc__body tr:nth-child(odd),
.vl-doc__body tr:nth-child(even) {
    background: transparent !important;
}

.vl-doc__body th,
.vl-doc__body td {
    background: transparent;
    padding: 10px 12px;
    border-bottom: 1px solid #eef1f7;
    border-left: 1px solid #eef1f7;
    vertical-align: top;
    text-align: left;
}

.vl-doc__body tr > :first-child {
    border-left: 0;
}

.vl-doc__body tr:last-child > * {
    border-bottom: 0;
}

.vl-doc__body th,
.vl-doc__body thead td {
    background: #f7f9fd;
    color: #28285b;
    font-weight: 700;
}

.vl-doc__pager {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.vl-doc__pager-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid #e2e7f1;
    border-radius: 16px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.vl-doc__pager-link:hover {
    border-color: #1574b9;
    box-shadow: 0 14px 30px -24px rgba(21, 116, 185, .7);
    text-decoration: none;
}

.vl-doc__pager-link span {
    color: #6b7391;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vl-doc__pager-link strong {
    color: #28285b;
    font-size: 15.5px;
}

.vl-doc__pager-link--next {
    text-align: right;
}

.vl-doc__top {
    position: fixed;
    right: 24px;
    bottom: 110px;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #dbe6f5;
    border-radius: 14px;
    background: #fff;
    color: #1574b9;
    font-size: 18px;
    box-shadow: 0 14px 30px -18px rgba(22, 26, 69, .6);
    cursor: pointer;
}

.vl-doc__top[hidden] {
    display: none;
}

@media (max-width: 991px) {
    .vl-doc__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .vl-doc__side {
        position: static;
    }

    .vl-doc__nav {
        display: flex;
        gap: 6px;
        padding: 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .vl-doc__nav::-webkit-scrollbar {
        display: none;
    }

    .vl-doc__group,
    .vl-doc__group + .vl-doc__group {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .vl-doc__group-title {
        display: none;
    }

    .vl-doc__group ul {
        display: flex;
        gap: 6px;
    }

    .vl-doc__link {
        padding: 6px 12px 6px 6px;
        white-space: nowrap;
    }

    .vl-doc__link-icon {
        width: 28px;
        height: 28px;
    }

    .vl-doc__help {
        display: none;
    }

    .vl-doc__body {
        padding: 26px 24px;
    }
}

@media (max-width: 639px) {
    .vl-doc-hero__in {
        align-items: flex-start;
    }

    .vl-doc-hero__icon {
        width: 50px;
        height: 50px;
        font-size: 21px;
    }

    .vl-doc-hero__title {
        font-size: 25px;
    }

    .vl-doc__toc-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .vl-doc__body {
        padding: 22px 18px;
        font-size: 15px;
    }

    .vl-doc__body table {
        display: block;
        overflow-x: auto;
    }

    .vl-doc__body h2 {
        font-size: 19px;
    }

    .vl-doc__pager {
        grid-template-columns: minmax(0, 1fr);
    }

    .vl-doc__pager-link--next {
        text-align: left;
    }
}

@media print {
    .vl-doc-hero__meta,
    .vl-doc__side,
    .vl-doc__toc,
    .vl-doc__pager,
    .vl-doc__top {
        display: none !important;
    }

    .vl-doc__grid {
        display: block;
    }

    .vl-doc__body {
        padding: 0;
        border: 0;
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vl-doc__link,
    .vl-doc__link-icon,
    .vl-doc__toc-head > i {
        transition: none;
    }
}
