/* Документы с оглавлением (Договор-оферта) — стиль сайта */
body:has(.dc-page) { background: #f7f7f7; }
body:has(.dc-page) h1 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: #16161d; margin: 28px 0 24px; text-align: left; }
.dc-page { padding-bottom: 48px; color: #16161d; text-align: left; }
.dc-lay { display: grid; grid-template-columns: 300px 1fr; gap: 14px; align-items: start; }
.dc-toc { background: #fff; border-radius: 24px; padding: 14px; position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; }
.dc-toc__t { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #8a8f9c; padding: 6px 12px; text-transform: uppercase; }
.dc-toc a { display: flex; gap: 10px; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.3; color: #4a4d58; text-decoration: none; transition: background .15s; }
.dc-toc a:hover { background: #f4f4f6; }
.dc-toc a.on { background: #fff2e8; color: #ff6900; font-weight: 600; }
.dc-toc a i { font-style: normal; color: #ff6900; font-weight: 800; width: 22px; flex: none; }

.dc-sec { background: #fff; border-radius: 24px; padding: 26px 28px; margin-bottom: 14px; scroll-margin-top: 90px; }
.dc-sec h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; color: #16161d; line-height: 1.25; }
.dc-num { width: 34px; height: 34px; border-radius: 11px; background: #fff2e8; color: #ff6900; font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.dc-body p { font-size: 14.5px; line-height: 1.65; color: #4a4d58; margin: 0 0 10px; }
.dc-body ul, .dc-body ol { margin: 0 0 10px; padding: 0; list-style: none; }
.dc-body li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.6; color: #4a4d58; margin-top: 8px; }
.dc-body ul > li:before { content: "\25CF"; color: #ff6900; font-size: 9px; padding-top: 6px; flex: none; }
.dc-body li p { margin: 0; }
.dc-body b, .dc-body strong { color: #16161d; }
.dc-body a { color: #ff6900; text-decoration: none; word-break: break-word; }
.dc-body a:hover { text-decoration: underline; }
.dc-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dc-body td, .dc-body th { padding: 8px 10px; border: 1px solid #ececef; vertical-align: top; }
.dc-body h3, .dc-body h5 { font-size: 16px; font-weight: 700; margin: 14px 0 8px; color: #16161d; }
.dc-chips { display: none; }

@media (max-width: 991.98px) {
    .dc-lay { grid-template-columns: 1fr; }
    .dc-toc { display: none; }
    .dc-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -15px 14px; padding: 0 15px; scrollbar-width: none; }
    .dc-chips::-webkit-scrollbar { display: none; }
    .dc-chips a { flex: none; background: #fff; color: #44464f; font-size: 14px; padding: 9px 16px; border-radius: 99px; white-space: nowrap; text-decoration: none; }
    .dc-chips a.on { background: #16161d; color: #fff; font-weight: 600; }
    .dc-sec { scroll-margin-top: 70px; }
}
@media (max-width: 575.98px) {
    body:has(.dc-page) h1 { font-size: 26px; margin-top: 20px; }
    .dc-sec { padding: 20px 16px; border-radius: 22px; }
    .dc-sec h2 { font-size: 18px; }
}
