/*
 * ====================================================================
 * page.css — документы сайта
 * ====================================================================
 *
 * Индекс и отдельные политики: оболочка mosaic, #EB4036, Unbounded/Rubik.
 */

html.mw-docs {
    --mw-docs-accent: #EB4036;
    --mw-docs-accent-hover: #d6362c;
    --mw-docs-ink: #131a1e;
    --mw-docs-muted: rgba(19, 26, 30, 0.62);
    --mw-docs-line: rgba(19, 26, 30, 0.12);
    --mw-docs-card: #ffffff;
    --mw-docs-page: #efefef;
}

html.mw-docs,
html.mw-docs body {
    overflow-x: hidden;
}

html.mw-docs .mw-docs {
    background: var(--mw-docs-page);
    color: var(--mw-docs-ink);
    font-family: Rubik, sans-serif;
    font-size: 18px;
    line-height: 1.55;
}

html.mw-docs .mw-docs__container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 48px 6% 64px;
    box-sizing: border-box;
}

html.mw-docs .mosaic-crumbs--u-il34i0uoy {
    margin-bottom: 16px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

html.mw-docs .mosaic-crumbs__item_link--u-ik176n4nq {
    color: var(--mw-docs-accent);
    opacity: 1;
    text-decoration: none;
}

html.mw-docs .mosaic-crumbs__item_link--u-ik176n4nq:hover {
    color: var(--mw-docs-accent-hover);
}

html.mw-docs .mosaic-crumbs__last--u-id4cppw9k {
    color: var(--mw-docs-ink);
    opacity: 1;
}

html.mw-docs .page-title--u-id4ryxzo8 {
    color: var(--mw-docs-ink);
    max-width: 100%;
    overflow-wrap: anywhere;
    margin-bottom: 12px;
}

html.mw-docs .mw-docs__lead {
    margin: 0 0 28px;
    color: var(--mw-docs-muted);
    font-size: 18px;
    line-height: 1.55;
}

html.mw-docs .mw-docs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

html.mw-docs .mw-docs-list__item {
    min-width: 0;
}

html.mw-docs .mw-docs-list__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 16px 20px;
    border: 1px solid var(--mw-docs-line);
    border-radius: 16px;
    background: var(--mw-docs-card);
    color: var(--mw-docs-ink);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

html.mw-docs .mw-docs-list__link:hover {
    border-color: rgba(235, 64, 54, 0.4);
    box-shadow: 0 8px 24px rgba(19, 26, 30, 0.06);
    color: var(--mw-docs-accent);
}

html.mw-docs .mw-docs-list__title {
    font-family: Unbounded, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

html.mw-docs .mw-docs-list__link i {
    flex-shrink: 0;
    font-size: 22px;
    color: var(--mw-docs-accent);
}

html.mw-docs .mw-docs-article {
    background: var(--mw-docs-card);
    border: 1px solid var(--mw-docs-line);
    border-radius: 20px;
    padding: 32px;
    box-sizing: border-box;
}

html.mw-docs .mw-docs-article__body {
    color: var(--mw-docs-muted);
    font-size: 17px;
    line-height: 1.7;
}

html.mw-docs .mw-docs-article__body > *:first-child {
    margin-top: 0;
}

html.mw-docs .mw-docs-section + .mw-docs-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--mw-docs-line);
}

html.mw-docs .mw-docs-section h2 {
    margin: 0 0 10px;
    font-family: Unbounded, sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--mw-docs-ink);
}

html.mw-docs .mw-docs-section p,
html.mw-docs .mw-docs-section ul {
    margin: 0;
}

html.mw-docs .mw-docs-section ul {
    padding-left: 1.2em;
}

html.mw-docs .mw-docs-section li + li {
    margin-top: 6px;
}

html.mw-docs .mw-docs-section a {
    color: var(--mw-docs-accent);
    text-decoration: none;
}

html.mw-docs .mw-docs-section a:hover {
    text-decoration: underline;
}

html.mw-docs .mw-docs-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--mw-docs-accent);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

html.mw-docs .mw-docs-back:hover {
    color: var(--mw-docs-accent-hover);
}

html.mw-docs .mw-docs-requisites {
    margin: 0;
}

html.mw-docs .mw-docs-requisites__row {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 8px 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--mw-docs-line);
}

html.mw-docs .mw-docs-requisites__row:first-child {
    padding-top: 0;
}

html.mw-docs .mw-docs-requisites__row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

html.mw-docs .mw-docs-requisites__label {
    margin: 0;
    font-family: Unbounded, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--mw-docs-ink);
}

html.mw-docs .mw-docs-requisites__value {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    color: var(--mw-docs-ink);
    overflow-wrap: anywhere;
}

html.mw-docs .mw-docs-requisites__value.is-empty {
    color: var(--mw-docs-muted);
}

html.mw-docs .mosaic-popup__close--u-izbayip7a,
html.mw-docs .side-panel__button-close--u-iki0lgea4,
html.mw-docs .side-panel__button-open--u-izkrt33zv {
    background-color: #EB4036 !important;
    background-image: none !important;
}

html.mw-docs .div--u-i7w4ftx7p,
html.mw-docs .mosaic-form--u-if8bri88i .div--u-i7w4ftx7p,
html.mw-docs .div--u-ifqtfrgl2 {
    background-color: #EB4036 !important;
    background-image: none !important;
}

html.mw-docs .div--u-ijdnwz0fa,
html.mw-docs .div--u-i9r512qsz {
    background-color: #d6362c !important;
}

@media (max-width: 991px) {
    html.mw-docs .mw-docs__container {
        padding: 40px 30px 56px;
    }

    html.mw-docs .mw-docs-article {
        padding: 24px;
    }

    html.mw-docs .container--u-itjr1b602 {
        padding-right: 84px;
        box-sizing: border-box;
    }

    html.mw-docs .side-panel__button-open--u-izkrt33zv {
        margin-right: 16px;
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    html.mw-docs .mw-docs__container {
        padding: 36px 5% 48px;
    }

    html.mw-docs .mw-docs-article {
        padding: 20px;
        border-radius: 16px;
    }

    html.mw-docs .mw-docs-requisites__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        padding: 12px 0;
    }

    html.mw-docs .mw-docs-list__link {
        min-height: 56px;
        padding: 14px 16px;
    }

    html.mw-docs .container--u-itjr1b602 {
        padding-right: 72px;
        align-items: flex-start;
    }

    html.mw-docs .div--u-i70mq0jc1 {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    html.mw-docs .mosaic-form--u-if8bri88i {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100%;
        padding: 48px 20px 28px !important;
        box-sizing: border-box;
    }
}

@media (max-width: 479px) {
    html.mw-docs .mw-docs-list__title {
        font-size: 15px;
    }

    html.mw-docs .container--u-itjr1b602 {
        padding-right: 64px;
    }

    html.mw-docs .side-panel__button-open--u-izkrt33zv {
        width: 48px;
        min-height: 48px;
        margin-right: 12px;
        margin-top: 10px;
    }
}
