
/* /consent/ — проект отдельного согласия для обратного звонка. */
.consent-page {
  background: var(--bg);
  --doc-ink: #221b16;
  --doc-muted: #62564c;
  --doc-line: #e5d8cb;
  --doc-brown: #874013;
  color: var(--doc-ink);
  font-size: 17px;
  line-height: 1.65;
}
.consent-page [id] { scroll-margin-top: 108px; }
.consent-page .fs-crumb { padding-top: 23px; line-height: 1.5; }
.consent-page .fs-crumb-a { text-decoration: underline; text-underline-offset: 3px; }
.consent-heading { padding-top: 38px; padding-bottom: 36px; }
.consent-page .fs-k { color: var(--doc-brown) !important; }
.consent-page h1 { max-width: 1000px; font-size: clamp(39px, 4.4vw, 60px); line-height: 1.075; letter-spacing: -.045em; color: var(--doc-ink); }
.consent-page .consent-lead { max-width: 70ch; margin-top: 20px; font-size: 20px; line-height: 1.6; color: var(--doc-muted); }
.consent-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 20px; color: #715e4f; font-size: 13px; }
.consent-print { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 8px 14px; border: 1px solid #dac6b3; border-radius: 999px; background: #fffdf9; color: #643718; font: inherit; font-weight: 650; }
.consent-print:hover { background: #fff0de; }
.consent-draft { display: flex; gap: 13px; align-items: flex-start; padding: 20px 23px; margin-top: 23px; border: 1px solid #e3c39f; border-radius: 15px; background: #fff0db; }
.consent-draft > svg { flex: 0 0 23px; margin-top: 1px; color: #8b4915; }
.consent-page .consent-draft h2 { color: #63350f; font-size: 17px; line-height: 1.4; letter-spacing: -.01em; max-width: none; }
.consent-page .consent-draft p { margin-top: 6px; color: #734c2a; font-size: 14px; line-height: 1.65; max-width: 105ch; }
.consent-page .consent-summary { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 0; padding: 0; margin: 25px 0 0; list-style: none; border: 1px solid var(--doc-line); border-radius: 16px; background: #fffdf9; }
.consent-page .consent-summary li { min-width: 0; padding: 18px 23px; border-right: 1px solid var(--doc-line); margin: 0; }
.consent-summary li:last-child { border-right: 0; }
.consent-summary span { display: block; color: #8b4c22; font-size: 11px; font-weight: 750; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; }
.consent-summary strong { display: block; margin-top: 5px; font-size: 15px; line-height: 1.45; font-weight: 700; color: #392b21; }

.consent-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: clamp(28px, 4vw, 58px); align-items: start; padding-top: 5px; padding-bottom: 44px; }
.consent-sidebar { position: sticky; top: 106px; }
.consent-nav { padding: 23px 21px; border: 1px solid var(--doc-line); border-radius: 17px; background: #fffdf9; }
.consent-page .consent-nav h2 { font-size: 17px; font-weight: 750; letter-spacing: -.02em; line-height: 1.4; color: #392b21; }
.consent-page .consent-nav ol { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: sections; }
.consent-page .consent-nav li { margin: 0; counter-increment: sections; }
.consent-nav li a { display: flex; align-items: flex-start; gap: 11px; min-height: 42px; padding: 8px 0; font-size: 14px; font-weight: 600; line-height: 1.45; color: #604d3e; }
.consent-nav li a::before { content: counter(sections, decimal-leading-zero); flex: 0 0 19px; color: #9b5a2d; font-size: 11px; line-height: 1.8; font-variant-numeric: tabular-nums; }
.consent-nav li a:hover { color: #8a3f10; text-decoration: underline; text-underline-offset: 4px; }
.consent-nav-footer { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--doc-line); }
.consent-nav-footer a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 6px 0; font-size: 13px; line-height: 1.5; color: #754222; }
.consent-nav-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

.consent-document { min-width: 0; padding: 36px 42px 28px; border: 1px solid var(--doc-line); border-radius: 22px; background: #fff; }
.consent-section { padding-bottom: 32px; margin-bottom: 31px; border-bottom: 1px solid var(--doc-line); }
.consent-section:last-of-type { margin-bottom: 0; }
.consent-section-no { display: block; margin-bottom: 8px; color: #9b4d19; font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: .1em; }
.consent-page .consent-section h2 { max-width: none; margin-bottom: 18px; font-size: clamp(25px, 2.6vw, 31px); line-height: 1.18; letter-spacing: -.035em; color: var(--doc-ink); }
.consent-page .consent-section p { margin: 14px 0 0; color: #554b42; font-size: 16px; line-height: 1.75; }
.consent-page .consent-section h2 + p { margin-top: 0; }
.consent-page .consent-section a:not([class]), .consent-document-footer a { color: #804015; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.consent-operator-card { margin: 21px 0 0; padding: 4px 20px; border: 1px solid var(--doc-line); border-radius: 13px; background: #fffdf9; }
.consent-operator-card > div { display: grid; grid-template-columns: 135px minmax(0, 1fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--doc-line); }
.consent-operator-card > div:last-child { border: 0; }
.consent-operator-card dt { color: #5c493a; font-size: 13px; font-weight: 700; line-height: 1.6; }
.consent-operator-card dd { margin: 0; font-size: 14px; line-height: 1.6; min-width: 0; }
.consent-pending { color: #78400e; background: #fff2df; border-radius: 4px; padding: 2px 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; overflow-wrap: anywhere; }
.consent-page .consent-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 22px 0 19px; border: 1px solid var(--doc-line); font-size: 14px; line-height: 1.6; }
.consent-table caption { text-align: left; font-size: 14px; color: #604d3e; font-weight: 700; padding-bottom: 10px; }
.consent-table th, .consent-table td { padding: 13px 15px; border-bottom: 1px solid var(--doc-line); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.consent-table thead th { color: #624325; font-size: 12px; font-weight: 750; background: #fff0dc; }
.consent-table thead th:first-child { width: 30%; }
.consent-table thead th:nth-child(2) { width: 26%; }
.consent-table tbody th { font-weight: 700; color: #463427; background: #fffdf9; }
.consent-table td { color: #615146; }
.consent-page .consent-small-note { color: #756453; font-size: 14px; line-height: 1.65; }
.consent-fill-list { margin: 20px 0; }
.consent-fill-list > div + div { margin-top: 18px; }
.consent-fill-list dt { color: #413326; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.consent-fill-list dd { margin: 0; font-size: 15px; line-height: 1.75; }
.consent-to-confirm { padding: 17px 20px; margin-top: 20px; border-left: 3px solid #d6853b; border-radius: 0 11px 11px 0; background: #fff8ed; }
.consent-to-confirm-label { display: block; color: #804415; font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.consent-page .consent-to-confirm p { font-size: 14px; margin-top: 8px; line-height: 1.75; }
.consent-withdrawal-channel { padding: 18px 20px; margin-block: 19px; border: 1px solid #e1c19d; border-radius: 13px; background: #fffbf5; }
.consent-channel-label { display: block; color: #604027; font-size: 13px; font-weight: 750; margin-bottom: 9px; }
.consent-withdrawal-channel .consent-pending { font-size: 15px; line-height: 1.75; }
.consent-reading-note { display: flex; gap: 13px; align-items: flex-start; margin-top: 20px; padding: 17px 19px; border-radius: 12px; background: #f7f0e7; }
.consent-reading-note svg { flex: 0 0 22px; color: #895224; margin-top: 1px; }
.consent-page .consent-reading-note p { margin: 0; font-size: 14px; color: #624b38; line-height: 1.65; }
.consent-page .consent-choice-list { padding-left: 20px; margin-top: 17px; color: #554b42; font-size: 16px; line-height: 1.75; }
.consent-page .consent-choice-list li + li { margin-top: 9px; }
.consent-choice-list li::marker { color: #a55b25; }
.consent-document-footer { padding-top: 22px; }
.consent-page .consent-document-footer p { color: #756453; font-size: 13px; line-height: 1.65; }
.consent-back-top { display: inline-flex; align-items: center; gap: 13px; margin-top: 13px; min-height: 42px; font-size: 14px; font-weight: 700; }

.consent-related { padding-block: 5px 60px; }
.consent-page .consent-related h2 { font-size: 27px; line-height: 1.25; color: var(--doc-ink); }
.consent-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 19px; }
.consent-related-grid > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; min-height: 94px; background: #fffdf9; border: 1px solid var(--doc-line); border-radius: 16px; color: #35281e; }
.consent-related-grid > a:hover { border-color: #c39167; background: #fff3e3; }
.consent-related-grid strong { display: block; font-size: 17px; font-weight: 750; line-height: 1.45; }
.consent-related-grid small { display: block; margin-top: 5px; font-size: 13px; line-height: 1.5; color: #736252; }
.consent-related-grid > a > span:last-child { color: #97551e; font-size: 26px; }

[hidden] { display: none !important; }
dialog:not([open]) { display: none; }
:focus-visible { outline: 3px solid #a44c14; outline-offset: 4px; }
.dpn-footer :focus-visible { outline-color: #ffd2a7; }
.modal-card { overflow-y: auto; overscroll-behavior: contain; }
#consent-preview-contact h3 { line-height: 1.25; }
#consent-preview-contact a { display: inline-flex; align-items: center; min-height: 44px; color: #783b15; text-decoration: underline; text-underline-offset: 4px; }
#consent-preview-contact .consent-contact-phone { font-size: 23px; font-weight: 800; }
.modal-body .consent-form-policy { margin-top: 10px; font-size: 13px; }
.consent-form-policy a { color: #783b15; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .consent-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 25px; }
  .consent-nav { padding: 21px 18px; }
  .consent-document { padding: 30px 27px 24px; }
  .consent-operator-card > div { grid-template-columns: 1fr; gap: 5px; }
  .consent-table th, .consent-table td { padding: 12px 10px; }
}
@media (max-width: 760px) {
  .consent-page .fs-crumb { padding-top: 17px; font-size: 12px; }
  .consent-heading { padding-top: 26px; padding-bottom: 25px; }
  .consent-page h1 { font-size: clamp(33px, 7.9vw, 46px); line-height: 1.12; letter-spacing: -.045em; }
  .consent-page .consent-lead { font-size: 17px; line-height: 1.65; margin-top: 17px; }
  .consent-meta { gap: 9px 16px; margin-top: 16px; font-size: 12px; }
  .consent-draft { padding: 17px 16px; gap: 11px; margin-top: 19px; border-radius: 13px; }
  .consent-page .consent-draft h2 { font-size: 16px; line-height: 1.45; }
  .consent-page .consent-draft p { font-size: 13px; margin-top: 7px; }
  .consent-page .consent-summary { display: block; margin-top: 19px; border-radius: 13px; }
  .consent-page .consent-summary li { padding: 13px 17px; border-right: 0; border-bottom: 1px solid var(--doc-line); }
  .consent-summary li:last-child { border-bottom: 0; }
  .consent-summary strong { margin-top: 3px; font-size: 14px; }
  .consent-layout { grid-template-columns: 1fr; gap: 23px; padding-top: 0; padding-bottom: 30px; }
  .consent-sidebar { position: static; }
  .consent-nav { padding: 20px; border-radius: 14px; }
  .consent-page .consent-nav ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; margin-top: 11px; }
  .consent-nav li a { font-size: 13px; gap: 9px; padding: 9px 0; min-height: 44px; }
  .consent-nav-footer { display: flex; flex-wrap: wrap; gap: 0 18px; padding-top: 10px; margin-top: 12px; }
  .consent-nav-footer a { font-size: 12px; }
  .consent-document { padding: 26px 22px 23px; border-radius: 17px; }
  .consent-section { padding-bottom: 26px; margin-bottom: 26px; }
  .consent-page .consent-section h2 { font-size: 26px; line-height: 1.2; margin-bottom: 16px; }
  .consent-page .consent-section p { font-size: 15px; line-height: 1.75; }
  .consent-operator-card { padding-inline: 14px; margin-top: 19px; }
  .consent-operator-card > div { grid-template-columns: 1fr; gap: 6px; padding-block: 13px; }
  .consent-operator-card dd { font-size: 13px; }
  .consent-page .consent-table { font-size: 12px; line-height: 1.55; }
  .consent-table caption { font-size: 13px; }
  .consent-table th, .consent-table td { padding: 10px 7px; }
  .consent-table thead th { font-size: 11px; }
  .consent-table thead th:first-child { width: 30%; }
  .consent-table thead th:nth-child(2) { width: 29%; }
  .consent-page .consent-small-note { font-size: 13px; }
  .consent-fill-list dd { font-size: 14px; }
  .consent-to-confirm { padding: 15px 16px; }
  .consent-page .consent-to-confirm p { font-size: 13px; }
  .consent-withdrawal-channel { padding: 16px; }
  .consent-withdrawal-channel .consent-pending { font-size: 14px; }
  .consent-reading-note { padding: 16px 14px; gap: 10px; }
  .consent-page .consent-reading-note p { font-size: 13px; }
  .consent-page .consent-choice-list { font-size: 15px; padding-left: 18px; }
  .consent-page .consent-document-footer p { font-size: 12px; }
  .consent-related { padding-block: 3px 38px; }
  .consent-page .consent-related h2 { font-size: 26px; }
  .consent-related-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .consent-related-grid > a { min-height: 86px; padding: 19px 21px; border-radius: 14px; }
  .consent-related-grid strong { font-size: 16px; }
}
@media screen and (max-width: 600px) {
  .consent-page .consent-table { display: block; border: 0; font-size: 14px; }
  .consent-table caption { display: block; }
  .consent-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .consent-table tbody { display: block; }
  .consent-table tr { display: block; margin-top: 12px; border: 1px solid var(--doc-line); border-radius: 11px; overflow: hidden; }
  .consent-table tbody th { display: block; padding: 12px 14px; background: #fff0dc; font-size: 15px; border: 0; }
  .consent-table td { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--doc-line); }
  .consent-table td::before { content: attr(data-label); font-size: 12px; font-weight: 700; color: #694b33; }
  .consent-table td:last-child { border-bottom: 0; }
}
@media (max-width: 360px) {
  .consent-document { padding-inline: 17px; }
  .consent-page .consent-nav ol { grid-template-columns: 1fr; }
  .consent-page .fs-k { font-size: 10px; letter-spacing: .08em; }
  .consent-table th, .consent-table td { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: white; }
  .topbar, .dpn-footer, .lead-modal, .dpn-mobile, .mobile-call, .fs-analytic, .skip-link, .consent-sidebar, .consent-related, .consent-print, .consent-back-top, .fs-crumb { display: none !important; }
  .consent-page { background: white; font-size: 11pt; }
  .container { width: 100%; max-width: none; }
  .consent-heading { padding: 0 0 15px; }
  .consent-page h1 { font-size: 25pt; line-height: 1.15; }
  .consent-page .consent-lead { font-size: 12pt; margin-top: 12px; }
  .consent-meta { font-size: 9pt; margin-top: 10px; }
  .consent-draft { margin-top: 15px; padding: 13px 15px; border: 1px solid #9e7c59; break-inside: avoid; }
  .consent-page .consent-draft h2 { font-size: 11pt; }
  .consent-page .consent-draft p { font-size: 9pt; line-height: 1.5; }
  .consent-page .consent-summary { display: none; }
  .consent-layout { display: block; padding: 0; }
  .consent-document { border: 0; border-radius: 0; padding: 0; }
  .consent-section { margin-bottom: 16px; padding-bottom: 16px; }
  .consent-section-no { font-size: 8pt; margin-bottom: 5px; }
  .consent-page .consent-section h2 { font-size: 15pt; margin-bottom: 10px; break-after: avoid; }
  .consent-page .consent-section p { font-size: 10.5pt; line-height: 1.55; margin-top: 9px; orphans: 3; widows: 3; }
  .consent-page .consent-choice-list { font-size: 10.5pt; line-height: 1.55; }
  .consent-operator-card, .consent-table, .consent-to-confirm, .consent-withdrawal-channel, .consent-reading-note { break-inside: avoid; }
  .consent-operator-card { padding-inline: 13px; }
  .consent-operator-card > div { display: block; padding-block: 9px; }
  .consent-operator-card dd { margin-top: 4px; }
  .consent-fill-list dd, .consent-pending, .consent-withdrawal-channel .consent-pending { font-size: 10pt; }
  .consent-pending { color: #663a17; }
  .consent-page .consent-table { font-size: 10pt; }
  .consent-table th, .consent-table td { padding: 9px 10px; }
  .consent-page .consent-small-note, .consent-page .consent-reading-note p, .consent-page .consent-to-confirm p { font-size: 9pt; }
  .consent-document-footer { padding-top: 12px; }
  .consent-page .consent-document-footer p { font-size: 9pt; }
}
