
/* ─────────────── Экран ─────────────── */

.pdf-doc {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 900;
  margin: 0;
}

/* .pdf-doc перед классом кнопки: общие сбросы лендингов вида .pf * { padding: 0 } не должны её задевать */
.pdf-doc .pdf-doc__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #171717;
  background: #fff;
  border: 1px solid #171717;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pdf-doc .pdf-doc__btn:hover {
  background: #F9FAFA;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.pdf-doc .pdf-doc__btn:focus-visible { outline: 2px solid #171717; outline-offset: 2px; }
.pdf-doc .pdf-doc__btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.pdf-doc .pdf-doc__btn--wait { opacity: 0.6; cursor: progress; }

.pdf-cover,
.pdf-back { display: none; }

@media screen and (max-width: 640px) {
  .pdf-doc { left: 16px; bottom: 16px; }
  .pdf-doc .pdf-doc__btn { font-size: 15px; padding: 10px 16px; }
}

/* ─────────────── Печать ─────────────── */

@media print {
  @page { size: A4; margin: 10mm 0 10mm 0; }

  html, body {
    background: #fff !important;
    margin: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
  }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  body > *:not(#allrecords):not(.pdf-root):not(.pdf-cover):not(.pdf-back) { display: none !important; }
  #allrecords > *:not(.content-page):not(.pdf-root):not(.pdf-cover):not(.pdf-back) { display: none !important; }
  #allrecords[hidden] { display: none !important; }
  .content-page__breadcrumbs,
  .content-page__cta,
  .content-page__actions,
  .content-page__subscribe,
  .recent-news-block,
  .pdf-doc { display: none !important; }

  .content-page {
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    min-height: 0 !important;
  }
  .content-page .t-container {
    max-width: none !important;
    width: auto !important;
    padding: 7mm 16mm 9mm !important;
    margin: 0 !important;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .content-page,
  .content-page *:not(svg):not(svg *),
  .pdf-root,
  .pdf-root *:not(svg):not(svg *),
  .pdf-landing :is(.pdf-cover, .pdf-back),
  .pdf-landing :is(.pdf-cover, .pdf-back) * { font-family: 'Onest', system-ui, sans-serif !important; }

  /* ── Лендинг: тело в своей вёрстке; обложка и последний лист стоят рядом с main,
       чтобы стили страницы их не задевали, и получают поля страницы сами ── */
  .pdf-landing .pdf-root {
    padding: 7mm 0 9mm !important;
    margin: 0 !important;
    background: #fff !important;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  .pdf-landing .pdf-cover,
  .pdf-landing .pdf-back { margin-left: 16mm !important; margin-right: 16mm !important; }
  .pdf-landing .pdf-cover { padding-top: 7mm; }
  .pdf-landing .pdf-back { margin-bottom: 9mm !important; padding-top: 7mm; }
  .pdf-landing .pdf-cover--flow .pdf-cover__hero img { max-height: 72mm; }
  .pdf-landing [role="tablist"] { display: none !important; }
  .pdf-landing .pdf-tab-title {
    margin: 4mm 0 2mm;
    font-size: 11pt;
    font-weight: 600;
    line-height: 1.3;
    color: #171717;
    break-after: avoid; page-break-after: avoid;
  }

  .pdf-ready .content-page__title,
  .pdf-ready .content-page__body p[class$="-lead"],
  .pdf-ready .content-page__body [class$="-logocard"],
  .pdf-ready .content-page__body figure.case-photo,
  .pdf-ready .content-page__body .pdf-skip,
  .pdf-ready .content-page__body .case-logocard,
  .pdf-ready .case-hero-crest { display: none !important; }

  /* ── Тело ── */
  .content-page__body {
    font-size: 10pt !important;
    line-height: 1.5 !important;
    color: #171717 !important;
  }
  .content-page__body > *,
  :is(.pdf-sec, .pdf-sec__lead) > * { max-width: none !important; }

  .pdf-sec {
    display: flow-root;
    margin: 0 0 7mm !important;
  }
  .pdf-sec--stack > h2 {
    float: none !important;
    width: auto !important;
    margin: 0 0 3mm !important;
    break-after: avoid; page-break-after: avoid;
  }
  .pdf-sec__lead {
    display: flow-root;
    break-inside: avoid; page-break-inside: avoid;
  }
  .pdf-sec__lead--flow { break-inside: auto; page-break-inside: auto; }
  :is(.pdf-sec, .pdf-sec__lead) > h2 {
    float: left;
    width: 38mm;
    margin: 0 !important;
    padding: 0 4mm 0 0 !important;
    font-size: 12.5pt !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #171717 !important;
    break-after: avoid; page-break-after: avoid;
    break-inside: avoid; page-break-inside: avoid;
  }
  :is(.pdf-sec, .pdf-sec__lead) > h2::before {
    content: "";
    display: block;
    width: 8mm;
    height: 1mm;
    background: #FEE121;
    margin: 0 0 2.5mm;
  }
  :is(.pdf-sec, .pdf-sec__lead) > :not(h2):where(:not(.pdf-sec__lead)) { margin-left: 46mm !important; }
  :is(.pdf-sec, .pdf-sec__lead) > figure,
  :is(.pdf-sec, .pdf-sec__lead) > .pdf-wide,
  :is(.pdf-sec, .pdf-sec__lead) > [class$="-reqs"],
  :is(.pdf-sec, .pdf-sec__lead) > [class$="-solutions"],
  :is(.pdf-sec, .pdf-sec__lead) > [class$="-stats"],
  :is(.pdf-sec, .pdf-sec__lead) > [class$="-facts"],
  :is(.pdf-sec, .pdf-sec__lead) > .case-stats,
  :is(.pdf-sec, .pdf-sec__lead) > .duma-hero {
    clear: both;
    margin-left: 0 !important;
  }
  :is(.pdf-sec, .pdf-sec__lead) [class*="-row__side"] { margin-left: 0 !important; }

  .content-page__body h2 { margin: 0 0 3mm !important; font-size: 12.5pt !important; font-weight: 600 !important; }
  .content-page__body h3 {
    font-size: 11pt !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 4.5mm 0 1.5mm !important;
    break-after: avoid; page-break-after: avoid;
  }
  .content-page__body p { margin: 0 0 2.6mm !important; }
  .content-page__body p,
  .content-page__body li { orphans: 3; widows: 3; }
  .content-page__body ul,
  .content-page__body ol { margin: 0 0 2.6mm !important; padding-left: 4.5mm !important; }
  .content-page__body li { margin-bottom: 1.2mm !important; }
  .content-page__body a { color: inherit !important; text-decoration: none !important; }
  .content-page__body strong { font-weight: 600 !important; }

  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > :not(h2):where(:not(.pdf-sec__lead)) { margin-left: 46mm !important; }
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > figure,
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > .pdf-wide,
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > [class$="-reqs"],
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > [class$="-solutions"],
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > [class$="-stats"],
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > [class$="-facts"],
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > .case-stats,
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > .duma-hero,
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > .case-gallery,
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > .case-media,
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > .case-carousel,
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) [class*="-row__side"] { clear: both; margin-left: 0 !important; }

  .content-page__body .case-carousel { margin: 3mm 0 5mm !important; }
  .content-page__body .case-carousel .news-carousel__track {
    display: block !important;
    font-size: 0 !important;
    margin: 0 -2mm !important;
    overflow: visible !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  .content-page__body .case-carousel .news-carousel__slide {
    display: inline-block !important;
    vertical-align: top !important;
    width: 50% !important;
    box-sizing: border-box !important;
    padding: 0 2mm 4mm !important;
    margin: 0 !important;
    font-size: 9pt !important;
    break-inside: avoid; page-break-inside: avoid;
  }
  .content-page__body .case-carousel .news-carousel__slide img { max-height: 80mm !important; width: auto !important; max-width: 100% !important; }
  .content-page__body .case-carousel .news-carousel__arrow,
  .content-page__body .case-carousel .news-carousel__dots { display: none !important; }

  .content-page__body .case-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4mm !important;
    margin: 3mm 0 5mm !important;
  }
  .content-page__body .case-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .content-page__body .case-gallery figure { margin: 0 !important; }
  .content-page__body .case-gallery figure img { max-height: 80mm !important; }
  .content-page__body .case-media__frame { display: none !important; }
  .content-page__body .case-media__print {
    display: block !important;
    font-size: 9.5pt !important;
    padding: 3mm 4mm !important;
    border-left: 1mm solid #FEE121 !important;
    background: #f5f6f8 !important;
    border-radius: 0 2mm 2mm 0 !important;
    break-inside: avoid; page-break-inside: avoid;
  }
  .content-page__body .case-media__print b { font-weight: 600; }
  .content-page__body .case-solution__n {
    width: 6mm !important; height: 6mm !important; font-size: 9pt !important;
    margin-bottom: 1.5mm !important; background: #FEE121 !important;
  }
  .content-page__body .case-solutions--3 { grid-template-columns: repeat(3, 1fr) !important; }
  .content-page__body .case-solutions--1 { grid-template-columns: 1fr !important; }
  .content-page__body :is(.pdf-sec, .pdf-sec__lead) > :is(.case-facts, .case-solutions) { clear: both; margin-left: 0 !important; }
  .content-page__body .case-facts,
  .content-page__body .case-solutions { gap: 4mm 8mm !important; margin: 3mm 0 4mm !important; }
  .content-page__body .case-facts { break-inside: avoid; page-break-inside: avoid; }
  .content-page__body .case-solutions--4 { grid-template-columns: repeat(4, 1fr) !important; }
  .content-page__body .case-facts--5 { grid-template-columns: repeat(5, 1fr) !important; }
  .content-page__body .case-facts--4 { grid-template-columns: repeat(4, 1fr) !important; }
  .content-page__body .case-facts--2 { grid-template-columns: repeat(2, 1fr) !important; }
  .content-page__body [class*="-row__side"] img { max-height: 70mm !important; width: auto !important; max-width: 100% !important; }

  .pdf-ready .pdf-fact-used { display: none !important; }

  .content-page__body [class$="-row"],
  .content-page__body .case-row,
  .content-page__body .duma-hero { display: block !important; }
  .content-page__body [class$="-row__main"],
  .content-page__body .duma-hero__main { display: block !important; }
  .content-page__body [class*="-row__side"] {
    display: flex !important;
    flex-direction: row !important;
    gap: 8mm !important;
    position: static !important;
    margin-top: 3mm !important;
    clear: both;
  }
  .content-page__body [class*="-row__side"] > * { flex: 1 1 0; }

  .content-page__body img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 2mm !important;
    box-shadow: none !important;
    margin: 0 !important;
  }
  .content-page__body figure {
    margin: 3mm 0 5mm !important;
    break-inside: avoid; page-break-inside: avoid;
  }
  .content-page__body figure img {
    display: block;
    max-height: 90mm !important;
    width: auto !important;
    max-width: 100% !important;
    border: 0.3mm solid #e6e6e6 !important;
  }
  .content-page__body figcaption {
    font-size: 8pt !important;
    line-height: 1.4 !important;
    color: #6b7280 !important;
    margin: 2mm 0 0 !important;
  }

  .content-page__body blockquote {
    background: transparent !important;
    border-left: 1.2mm solid #FEE121 !important;
    border-radius: 0 !important;
    padding: 1mm 0 1mm 6mm !important;
    margin: 4mm 0 5mm !important;
    break-inside: auto;
  }
  .content-page__body blockquote.pdf-keep { break-inside: avoid; page-break-inside: avoid; }
  .content-page__body blockquote::before { display: none !important; }
  .content-page__body blockquote p {
    font-size: 11pt !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    margin: 0 0 2mm !important;
  }
  .content-page__body blockquote footer { font-size: 8.5pt !important; margin: 0 !important; color: #6b7280 !important; }

  .content-page__body [class$="-req"],
  .content-page__body [class$="-needs"],
  .content-page__body [class$="-solution"],
  .content-page__body .duma-card,
  .content-page__body [class$="-stat"],
  .content-page__body [class$="-fact"],
  .content-page__body .case-stats__item {
    background: transparent !important;
    border: 0 !important;
    border-top: 0.6mm solid #FEE121 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 2.5mm 0 0 !important;
  }
  .content-page__body [class$="-solution"],
  .content-page__body [class$="-stat"],
  .content-page__body [class$="-fact"],
  .content-page__body .case-stats__item { break-inside: avoid; page-break-inside: avoid; }
  .content-page__body [class$="-solution"]:has(figure) { break-inside: auto; page-break-inside: auto; }
  .content-page__body [class$="-solution"] figure { break-inside: avoid; page-break-inside: avoid; break-before: auto; }
  .content-page__body [class$="-solution"] figure img { max-height: 110mm; width: auto; max-width: 100%; }
  .content-page__body [class$="-req"] h3,
  .content-page__body [class$="-needs"] h3,
  .content-page__body [class$="-solution"] h3 { font-size: 10.5pt !important; margin: 0 0 1.5mm !important; }
  .content-page__body [class$="-req"] li,
  .content-page__body .poly-needs li,
  .content-page__body [class$="-solution"] p,
  .content-page__body [class$="-stat__txt"],
  .content-page__body [class$="-fact__txt"],
  .content-page__body .case-stats__label,
  .content-page__body .duma-card__block p { font-size: 9pt !important; line-height: 1.45 !important; color: #171717 !important; }
  .content-page__body [class$="-fact__num"],
  .content-page__body .case-stats__num { font-size: 18pt !important; font-weight: 600 !important; line-height: 1.1 !important; margin: 0 0 1.5mm !important; }
  .content-page__body [class$="-fact__num"]::after { display: none !important; }
  .content-page__body [class$="-fact__txt"] { margin: 0 !important; }
  .content-page__body .arlift-stat { flex-direction: row !important; align-items: flex-start !important; gap: 3mm !important; }
  .content-page__body .arlift-stat__check {
    width: 5.5mm !important; height: 5.5mm !important; font-size: 9pt !important;
    flex: 0 0 auto; background: #FEE121 !important;
  }

  .content-page__body [class$="-reqs"],
  .content-page__body [class$="-solutions"],
  .content-page__body [class$="-stats"],
  .content-page__body [class$="-facts"],
  .content-page__body .case-stats { gap: 4mm 8mm !important; margin: 3mm 0 4mm !important; }
  .content-page__body [class$="-reqs"],
  .content-page__body [class$="-solutions"],
  .content-page__body [class$="-stats"] { grid-template-columns: repeat(2, 1fr) !important; }
  .content-page__body .poly-solutions,
  .content-page__body [class$="-facts"],
  .content-page__body .case-stats { grid-template-columns: repeat(3, 1fr) !important; }
  .content-page__body [class$="-stats"],
  .content-page__body [class$="-facts"],
  .content-page__body .case-stats { break-inside: avoid; page-break-inside: avoid; }

  .content-page__body .poly-integrator,
  .content-page__body .case-integrator,
  .content-page__body .case-result,
  .content-page__body .duma-card__block--result {
    background: #fffbe0 !important;
    border: 0 !important;
    border-left: 1mm solid #FEE121 !important;
    border-radius: 0 2mm 2mm 0 !important;
    box-shadow: none !important;
    padding: 3mm 4mm !important;
    margin: 3mm 0 !important;
    break-inside: avoid; page-break-inside: avoid;
  }
  .content-page__body .poly-integrator,
  .content-page__body .case-integrator { background: transparent !important; padding: 1.5mm 4mm !important; }
  .content-page__body .poly-integrator__label,
  .content-page__body .case-integrator__label { font-size: 8.5pt !important; }
  .content-page__body .poly-integrator__brand,
  .content-page__body .case-integrator__brand { font-size: 10pt !important; }
  .content-page__body .poly-integrator__brand img,
  .content-page__body .case-integrator__brand img { height: 5.5mm !important; border: 0 !important; }
  .content-page__body .case-result { font-size: 10pt !important; }
  .content-page__body .duma-card__block { margin: 0 0 4mm !important; }
  .content-page__body .duma-card__k { font-size: 8.5pt !important; margin-bottom: 1.5mm !important; }

  .content-page__body .poly-flow {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    gap: 2.5mm !important;
    break-inside: avoid; page-break-inside: avoid;
  }
  .content-page__body .poly-node { padding: 2.5mm 3mm !important; background: #f5f6f8 !important; border-radius: 2mm !important; }
  .content-page__body .poly-node--accent { background: #fffbe0 !important; }
  .content-page__body .poly-node--out { background: #fff !important; }
  .content-page__body .poly-node__title { font-size: 9pt !important; }
  .content-page__body .poly-node p,
  .content-page__body .poly-node li { font-size: 8.5pt !important; line-height: 1.4 !important; }
  .content-page__body .poly-arrow { font-size: 14pt !important; }

  /* ── Обложка ── */
  .pdf-cover {
    display: flex !important;
    flex-direction: column;
    height: 258mm;
    height: calc(100vh - 18mm);
    overflow: hidden;
    color: #171717;
    break-after: page; page-break-after: always;
  }
  .pdf-cover__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 4mm;
    border-bottom: 0.3mm solid #e3e3e3;
    flex: 0 0 auto;
  }
  .pdf-cover__logo { height: 7mm; width: auto; display: block; }
  .pdf-cover__kind { font-size: 8.5pt; letter-spacing: 0.1em; text-transform: uppercase; color: #6b7280; }
  .pdf-cover__main { margin-top: 14mm; flex: 0 0 auto; }
  .pdf-cover__industry {
    display: flex;
    align-items: center;
    gap: 3mm;
    font-size: 9pt;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 5mm;
  }
  .pdf-cover__industry::before { content: ""; width: 3.5mm; height: 3.5mm; background: #FEE121; border-radius: 0.8mm; }
  .pdf-cover__title {
    font-size: 25pt;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 5mm;
    max-width: 170mm;
  }
  .pdf-cover__lead { font-size: 11.5pt; line-height: 1.45; color: #4a4a4a; margin: 0; max-width: 150mm; }

  .pdf-cover__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 8mm;
    margin-top: 9mm;
    flex: 0 0 auto;
  }
  .pdf-cover__facts--4 { grid-template-columns: repeat(4, 1fr); gap: 0 6mm; }
  .pdf-cover__facts--4 .pdf-cover__fact-num { font-size: 17pt; }
  .pdf-cover__facts--5 { grid-template-columns: repeat(5, 1fr); gap: 0 5mm; }
  .pdf-cover__facts--5 .pdf-cover__fact-num { font-size: 15pt; }
  .pdf-cover__facts { row-gap: 5mm; }
  .pdf-cover__fact { border-top: 0.6mm solid #FEE121; padding-top: 2.5mm; min-width: 0; }
  .pdf-cover__fact-num { display: block; font-size: 20pt; font-weight: 600; line-height: 1.1; margin-bottom: 1.5mm; }
  .pdf-cover__fact-txt { display: block; font-size: 8.5pt; line-height: 1.4; color: #4a4a4a; }

  .pdf-cover__hero {
    flex: 0 1 auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    margin-top: 9mm;
    border-radius: 4mm;
    overflow: hidden;
    border: 0.3mm solid #e6e6e6;
    background: #f5f6f8;
  }
  .pdf-cover__hero img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
  .pdf-ready .content-page__body :is(.pdf-dup, .pdf-skip, .pdf-cut) { display: none !important; }

  .pdf-cover__spacer { flex: 1 1 auto; }

  .pdf-cover--plain .pdf-cover__main { margin-top: 18mm; }
  .pdf-cover--plain .pdf-cover__facts { margin-top: 12mm; gap: 8mm 8mm; }
  .pdf-cover__summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 8mm;
    margin-top: 12mm;
    flex: 0 0 auto;
  }
  .pdf-cover__sum { border-top: 0.6mm solid #FEE121; padding-top: 2.5mm; }
  .pdf-cover__sum-k {
    display: block;
    font-size: 8pt;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2mm;
  }
  .pdf-cover__sum-t { font-size: 9pt; line-height: 1.45; color: #171717; margin: 0; }
  .pdf-cover__plate {
    flex: 0 1 48mm;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10mm;
    border-radius: 4mm;
    background: #f5f6f8;
  }
  .pdf-cover__plate img { height: 62%; max-height: 20mm; max-width: 70mm; width: auto; object-fit: contain; object-position: center; display: block; }

  .pdf-thin .content-page__body,
  .pdf-thin .pdf-back { display: none !important; }
  .pdf-cover--thin {
    break-after: auto; page-break-after: auto;
    height: auto;
    min-height: calc(100vh - 18mm);
    overflow: visible;
  }
  .pdf-cover--thin .pdf-cover__main { margin-top: 12mm; }
  .pdf-cover--thin .pdf-cover__summary { margin-top: 9mm; }
  .pdf-cover--thin .pdf-cover__sum-t { font-size: 9.5pt; }
  .pdf-cover--thin .pdf-cover__plate { flex: 0 1 30mm; margin-top: 5mm; break-inside: avoid; page-break-inside: avoid; }
  .pdf-cover--thin .pdf-cover__cta,
  .pdf-cover--thin .pdf-cover__bottom { break-inside: avoid; page-break-inside: avoid; }
  .pdf-cover--thin .pdf-cover__plate img { max-height: 20mm; max-width: 70mm; }
  .pdf-cover--compact {
    break-after: auto; page-break-after: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    margin-bottom: 0;
    padding-bottom: 3.5mm;
    border-bottom: 0.3mm solid #e6e6e6;
  }
  .pdf-cover--compact .pdf-cover__main { margin-top: 3mm; }
  .pdf-cover--compact .pdf-cover__title { font-size: 22pt; }
  .pdf-compact .content-page__body { padding-top: 4.5mm; }
  .pdf-compact .content-page__body .pdf-sec { margin-bottom: 4mm !important; }
  .pdf-cover--compact .pdf-cover__plate { display: none !important; }
  .pdf-cover--compact .pdf-cover__plate img { max-height: 16mm; }
  .pdf-cover--flow {
    break-after: auto; page-break-after: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-bottom: 6mm;
    margin-bottom: 6mm;
    border-bottom: 0.3mm solid #e6e6e6;
  }
  .pdf-cover--flow .pdf-cover__main { margin-top: 10mm; }
  .pdf-cover--flow .pdf-cover__hero {
    aspect-ratio: auto;
    margin-top: 8mm;
    border: 0;
    border-radius: 0;
    background: none;
    break-inside: avoid; page-break-inside: avoid;
  }
  .pdf-cover--flow .pdf-cover__hero img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 92mm;
    border: 0.3mm solid #e6e6e6;
    border-radius: 2mm;
  }
  .pdf-has-int .content-page__body :is(.case-integrator, .poly-integrator) { display: none !important; }
  .pdf-back-own .pdf-back { break-before: page; page-break-before: always; margin-top: 0; }
  .pdf-cover__cta {
    flex: 0 0 auto;
    margin-top: 6mm;
    padding: 4.5mm 6mm;
    border-radius: 3mm;
    background: #FEE121;
    font-size: 9.5pt;
    line-height: 1.45;
  }
  .pdf-cover__cta b { font-weight: 600; }
  .pdf-cover__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10mm;
    border-top: 0.3mm solid #e3e3e3;
    padding-top: 4mm;
    margin-top: 6mm;
    flex: 0 0 auto;
  }
  .pdf-cover__client { display: flex; align-items: center; gap: 6mm; min-width: 0; flex: 1 1 auto; }
  .pdf-cover__client img { max-height: 16mm; max-width: 44mm; width: auto; height: auto; display: block; }
  .pdf-cover__client-meta { font-size: 8.5pt; line-height: 1.55; color: #6b7280; }
  .pdf-cover__client-label { display: block; font-size: 7.5pt; line-height: 1.3; letter-spacing: 0.04em; text-transform: uppercase; color: #6b7280; }
  .pdf-cover__client-name { display: block; font-size: 10.5pt; font-weight: 600; color: #171717; }
  .pdf-cover__client-label--next { margin-top: 1.5mm; }
  .pdf-cover__client-int { display: block; font-size: 9pt; color: #171717; }
  .pdf-cover__meta { font-size: 8pt; line-height: 1.55; color: #6b7280; text-align: right; flex: 0 1 52%; min-width: 0; overflow-wrap: anywhere; }
  .pdf-cover__meta b { color: #171717; font-weight: 600; }
  .pdf-cover__qr { display: flex; align-items: center; gap: 4mm; justify-content: flex-end; margin-top: 2mm; }
  .pdf-cover__qr img { width: 28mm; height: 28mm; display: block; }
  .pdf-cover--thin .pdf-cover__qr img { width: 22mm; height: 22mm; }

  /* ── Завершающий блок ── */
  .pdf-back {
    display: block !important;
    color: #171717;
    break-before: auto; page-break-before: auto;
    break-inside: avoid; page-break-inside: avoid;
    margin-top: 6mm;
  }
  .pdf-back__card {
    display: grid;
    grid-template-columns: 30mm minmax(0, 1fr);
    gap: 8mm;
    align-items: center;
    border-top: 1.2mm solid #FEE121;
    padding: 8mm 0 0;
  }
  .pdf-back__card img { width: 30mm; height: 30mm; display: block; }
  .pdf-back .pdf-back__title { letter-spacing: 0; color: #171717; font-size: 17pt; font-weight: 600; line-height: 1.2; margin: 0 0 3.5mm; }
  .pdf-back .pdf-back__text { font-size: 10pt; line-height: 1.5; margin: 0 0 3mm; }
  .pdf-back .pdf-back__url { font-size: 10.5pt; font-weight: 600; word-break: break-all; margin: 0; }
  .pdf-back__cta { margin-top: 7mm; padding: 6mm 8mm; border-radius: 4mm; background: #FEE121; }
  .pdf-back__cta-title { font-size: 14pt; font-weight: 600; margin: 0 0 2mm; }
  .pdf-back .pdf-back__cta p { margin: 0; font-size: 10pt; line-height: 1.5; }
  .pdf-back .pdf-back__foot { margin-top: 6mm; font-size: 8pt; line-height: 1.5; color: #6b7280; }
}
