/* printMode: стили ниже для предпросмотра печати — селекторы с body.print-preview (body.pdf-capturing / :is — в style_printMode_part1_part2).
   Режим презентации и обычный просмотр не используют эти классы на body; основные стили презентации не трогаем. */
@media screen { body.print-preview { background: #f0f0f0 !important; margin: 0; padding: 12px; }
  
  body.print-preview #top-controls-bar, body.print-preview .top-controls-bar, body.print-preview #bottom-navigation, body.print-preview .navigation, body.print-preview .presentation-mode-overlay, body.print-preview .slides-visibility-panel, body.print-preview .btn-slides-visibility { display: none !important; visibility: hidden !important; }
  body.print-preview #presentation-app { max-width: min(1100px, 95vw); margin: 0 auto; padding: 0; background: #f0f0f0 !important; background-image: none !important; }
  body.print-preview .presentation-container { display: block !important; width: 100%; max-width: min(1100px, 95vw); margin: 0 auto; padding: 0; background: transparent !important; min-height: auto !important; height: auto !important; overflow: visible !important; box-shadow: none; }
  body.print-preview .slide { display: flex !important; flex-direction: column; width: 100%; max-width: min(1100px, 95vw); margin: 0 auto 16px auto; padding: 0; min-height: 0; aspect-ratio: 297 / 210; background: #ffffff !important; border: none !important; box-shadow: none !important; outline: none !important; box-sizing: border-box; overflow: hidden; page-break-inside: avoid; }
  
  body.print-preview .slide-content { display: flex !important; flex-direction: column; flex: 1; width: 100%; padding: 10px 16px !important; background: #ffffff !important; color: #000000 !important; overflow: hidden; overflow-x: hidden; box-sizing: border-box; font-size: 0.88em !important; min-height: 0 !important; }
  body.print-preview .slide-content h1 { font-size: 1.35em !important; margin: 0.25em 0 0.35em !important; }
  body.print-preview .slide-content h2 { font-size: 1.2em !important; margin: 0.2em 0 0.3em !important; }
  body.print-preview .slide-content h3 { font-size: 1.05em !important; margin: 0.2em 0 0.25em !important; }
  body.print-preview .slide-content p, body.print-preview .slide-content label { margin: 0.15em 0 !important; font-size: 1em !important; }
  body.print-preview .slide-content * { color: inherit; }
  body.print-preview .print-page-header { flex-shrink: 0; background: #ffffff !important; color: #1a1d29 !important; border-bottom: 3px solid #1a365d !important; padding: 0 !important; font-size: 0.7em !important; }
  body.print-preview .print-page-header-brand { padding: 8px 12px 10px !important; }
  body.print-preview .print-page-header-content { padding: 12px 12px 14px !important; }
  body.print-preview .print-page-header .print-header-line, body.print-preview .print-page-header .print-header-company, body.print-preview .print-page-header .print-header-label, body.print-preview .print-page-header .print-header-value, body.print-preview .print-page-header .print-header-meta { margin: 1px 0 !important; font-size: 1em !important; }
  
  body.print-preview .slide:not(#pdf-title-page):not(#slide-5):not(#slide-20):not(#slide-23):not(#slide-21) { display: none !important; }
  body.print-preview:not(.report-includes-slide-20) #slide-20 { display: none !important; }
  body.print-preview:not(.report-includes-slide-23) #slide-23 { display: none !important; }
  body.print-preview.report-includes-slide-14 #slide-14 { display: flex !important; visibility: visible !important; aspect-ratio: auto !important; min-height: auto !important; height: auto !important; overflow: visible !important; }
  body.print-preview #pdf-title-page { display: flex !important; position: relative; overflow: hidden; background: #1a365d !important; color: #ffffff !important; }
  body.print-preview #pdf-title-page *, body.print-preview #pdf-title-page .pdf-title-page-content, body.print-preview #pdf-title-page .pdf-title-page-content * { color: #ffffff !important; }
  body.print-preview #pdf-title-page .pdf-title-page-bg { position: absolute; inset: 0; background-image: url('./assets/ce0df36871d0b2e8.png'); background-size: cover; background-position: center; opacity: 0.2; z-index: 0; }
  body.print-preview #pdf-title-page .pdf-title-page-content { position: relative; z-index: 1; width: 100%; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto 1fr auto; grid-template-areas: "top-left . top-right" ". center ." "bottom-left . ."; align-items: center; padding: 24px 32px; box-sizing: border-box; }
  body.print-preview #pdf-title-page .pdf-title-page-top-left { grid-area: top-left; display: flex; align-items: center; align-self: start; }
  body.print-preview #pdf-title-page .pdf-title-page-top-right { grid-area: top-right; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 0; align-self: start; }
  body.print-preview #pdf-title-page .pdf-title-page-logo-left, body.print-preview #pdf-title-page .pdf-title-page-logo-right { height: 32px; width: auto; object-fit: contain; display: block; }
  body.print-preview #pdf-title-page .pdf-title-page-meta-block { margin-top: 12px; font-weight: 400; color: #ffffff !important; line-height: 1.15 !important; }
  body.print-preview #pdf-title-page .pdf-title-page-date-line, body.print-preview #pdf-title-page #pdf-title-page-date { font-size: 0.5em !important; color: #ffffff !important; line-height: 1.15 !important; margin-bottom: 0; }
  body.print-preview #pdf-title-page .pdf-title-page-coordinator-block { margin-top: 14px; }
  body.print-preview #pdf-title-page .pdf-title-page-meta-label { display: block; font-size: 0.48em !important; color: rgba(255, 255, 255, 0.9) !important; line-height: 1.2 !important; margin-bottom: 2px; }
  body.print-preview #pdf-title-page #pdf-title-page-coordinator { font-size: 0.55em !important; color: #ffffff !important; line-height: 1.15 !important; margin-bottom: 0; }
  body.print-preview #pdf-title-page .pdf-title-page-contact-block { margin-top: 10px; }
  body.print-preview #pdf-title-page .pdf-title-page-contact-block .pdf-title-page-meta-label { font-size: 0.45em !important; }
  body.print-preview #pdf-title-page #pdf-title-page-contact { font-size: 0.48em !important; color: #ffffff !important; line-height: 1.1 !important; white-space: nowrap; margin-top: 0; }
  body.print-preview #pdf-title-page .pdf-title-page-meta-line { margin-bottom: 0; }
  body.print-preview #pdf-title-page .pdf-title-page-heading { grid-area: center; margin: 0; font-size: 1.6em; font-weight: 700; text-align: center; color: #ffffff !important; line-height: 1.35; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
  body.print-preview #pdf-title-page .pdf-title-page-bottom-left { grid-area: bottom-left; display: flex; align-items: center; gap: 14px; }
  body.print-preview #pdf-title-page .pdf-title-page-photo-wrap { display: none !important; width: 0 !important; height: 0 !important; min-width: 0 !important; min-height: 0 !important; overflow: hidden !important; border: none !important; margin: 0 !important; padding: 0 !important; }
  body.print-preview #pdf-title-page .pdf-title-page-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
  body.print-preview #pdf-title-page .pdf-title-page-patient-name { font-size: 0.95em; font-weight: 600; color: #ffffff !important; max-width: 220px; word-wrap: break-word; white-space: normal; line-height: 1.15 !important; }
  body.print-preview #pdf-title-page .pdf-title-page-photo-img[src=""], body.print-preview #pdf-title-page .pdf-title-page-photo-wrap:not(:has(img[src])) { }
  
  .print-preview-download-overlay { display: none; position: fixed; left: 0; right: 0; bottom: 20px; z-index: 2147483000; pointer-events: auto; justify-content: center; align-items: center; }
  body.print-preview .print-preview-download-overlay { display: flex !important; }
  .print-preview-download-overlay .print-preview-download-btn { pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; font-size: 1em; font-weight: 600; border: none; border-radius: 0; cursor: pointer; background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: background 0.2s, transform 0.1s; }
  .print-preview-download-overlay .print-preview-download-btn:hover { background: linear-gradient(135deg, #2c5282 0%, #2b6cb0 100%); }
  .print-preview-download-overlay .print-preview-download-btn:active { transform: scale(0.98); }
  
  body.print-preview .slide { overflow: hidden !important; min-height: 0 !important; }
  body.print-preview .slide-content { min-height: 0 !important; overflow: hidden !important; }
} body.print-preview .table-add-row,
body.print-preview .btn-add-plan-row,
body.print-preview .btn-add-consequence,
body.print-preview .btn-add-row,
body.print-preview #slide-14 .btn-add-ba-row-in-slide,
body.print-preview #slide-14 .btn-ba-photo-only-in-slide,
body.print-preview #slide-14 .row-delete,
body.print-preview .btn-add-diagnostic,
body.print-preview .treatment-row-delete,
body.print-preview .benefit-row-delete,
body.print-preview .benefit-row-star,
body.print-preview .plan-row-delete,
body.print-preview .consequence-row-delete,
body.print-preview .diagnostic-checklist-delete,
body.print-preview .photo-delete-btn,
body.print-preview .row-delete,
body.print-preview .btn-add-team-member,
body.print-preview .team-photo-delete,
body.print-preview .team-member-card-delete,
body.print-preview .cost-calc-row-delete,
body.print-preview .staged-payment-delete,
body.print-preview .benefits-add-row,
body.print-preview .btn-clear-scheme,
body.print-preview .photo-modal-delete { display: none !important;
} body.print-preview .state-photo-preview,
body.print-preview .dg-preview,
body.print-preview .dg-cell,
body.print-preview .upload-preview-large,
body.print-preview .photo-thumbnail-wrapper { border: none !important; box-shadow: none !important; outline: none !important;
} body.print-preview #slide-3 .state-photo-upload .photo-thumbnail-wrapper { overflow: hidden !important; }
body.print-preview #slide-3 .state-photo-upload .photo-thumbnail-wrapper img { object-fit: cover !important; }
/* Скругление углов для фото в предпросмотре/PDF */
body.print-preview .photo-thumbnail-wrapper {
  border-radius: 18px !important;
  overflow: hidden !important;
}
body.print-preview .photo-thumbnail-wrapper img {
  border-radius: 18px !important;
}
body.print-preview .upload-preview-large img,
body.print-preview .state-photo-preview img,
body.print-preview .dg-preview img,
body.print-preview .scan3d-preview img,
body.print-preview .s13-preview img {
  border-radius: 18px !important;
  overflow: hidden !important;
}
body.print-preview label[for^="diag-photo"],
body.print-preview label[for="patient-photo"],
body.print-preview label[for="state-photo"],
body.print-preview label[for="diag-photo-snapshot"] { border: none !important; box-shadow: none !important;
} body.print-preview #slide-5 .slide-content { display: flex !important; flex-direction: column !important; flex: 1 !important; min-height: 0 !important; overflow: hidden !important; padding: 8px 12px !important; padding-top: 0 !important;
}
body.print-preview #slide-5 .slide-content h2 { flex-shrink: 0 !important; border-bottom: none !important; margin-bottom: 0.3em !important;
}
body.print-preview #slide-5 .slide-content h2::after { display: none !important;
}
body.print-preview #slide-5 .state-photo-upload { flex: 1 !important; min-height: 0 !important; max-height: 100% !important; overflow: hidden !important; display: flex !important; align-items: center !important; justify-content: center !important; margin: 0 !important; width: 100% !important; box-sizing: border-box !important;
}
body.print-preview #slide-5 .state-photo-upload label { display: flex !important; flex: 1 !important; min-height: 0 !important; min-width: 0 !important; align-items: center !important; justify-content: center !important; width: 100% !important; margin: 0 !important; cursor: pointer !important;
}
body.print-preview #slide-5 .state-photo-preview { flex: 1 !important; min-height: 0 !important; min-width: 0 !important; max-height: 100% !important; overflow: hidden !important; display: flex !important; align-items: center !important; justify-content: center !important; margin: 0 !important; width: 100% !important; box-sizing: border-box !important;
}
body.print-preview #slide-5 .state-photo-preview img { max-height: 100% !important; width: auto !important; max-width: 100% !important; object-fit: contain !important; object-position: center !important; display: block !important; margin-left: auto !important; margin-right: auto !important;
} body.print-preview #slide-4 .slide-content { display: flex !important; flex-direction: column !important; flex: 1 !important; min-height: 0 !important; overflow: hidden !important; padding: 8px 12px !important;
}
body.print-preview #slide-4 .state-formulas-title,
body.print-preview #slide-4 .state-formula-block,
body.print-preview #slide-4 .state-formulas-actions,
body.print-preview #slide-4 .tooth-status-popover,
body.print-preview #tooth-status-round-menu { display: none !important;
}
body.print-preview #slide-4 .diagnokat-title { flex-shrink: 0 !important;
}
body.print-preview #slide-4 .dental-scheme { padding: 12px !important;
}
body.print-preview #slide-4 .teeth-blocks-grid { gap: 12px !important;
}
body.print-preview #slide-4 .tooth { width: 36px !important; height: 36px !important; min-width: 36px !important; min-height: 36px !important;
} body.print-preview #slide-5 .state-formulas-actions { display: none !important;
}
body.print-preview #slide-5 .state-formula-controls .btn-clear-scheme,
body.print-preview #slide-5 .btn-clear-scheme,
body.print-preview #slide-5 .btn-clear-current-scheme,
body.print-preview #slide-5 .btn-clear-future-scheme { display: none !important;
} body.print-preview #slide-5 .state-formula-block,
body.print-preview #slide-5 .state-formula-heading-row,
body.print-preview #slide-5 .dental-scheme,
body.print-preview #slide-5 .dental-scheme-current,
body.print-preview #slide-5 .dental-scheme-future,
body.print-preview #slide-5 .teeth-scheme-wrapper,
body.print-preview #slide-5 .tooth,
body.print-preview #slide-5 .jaw-section,
body.print-preview #slide-5 .teeth-blocks-grid { border: none !important; outline: none !important; box-shadow: none !important;
} body.print-preview #slide-5 { overflow: hidden !important;
}
body.print-preview #slide-5 .slide-content { padding: 4px 10px 6px !important; display: flex !important; flex-direction: column !important; min-height: 0 !important;
}
body.print-preview #slide-5 .slide-content h2.state-formulas-title { font-size: 1.2rem !important; margin: 0 0 6px 0 !important;
}
body.print-preview #slide-5 #dental-scheme-placeholder { display: flex !important; flex-direction: column !important; flex: 1 !important; min-height: 0 !important; overflow: hidden !important; transform-origin: top center !important; transform: scale(1) !important;
}
body.print-preview #slide-5 .state-formula-block { margin-bottom: 0 !important; flex: 1 !important; display: flex !important; flex-direction: column !important; min-height: 0 !important;
}
body.print-preview #slide-5 .state-formula-block:last-of-type { margin-bottom: 0 !important;
}
body.print-preview #slide-5 .state-formula-heading { font-size: 0.95em !important; margin: 0 0 2px 0 !important; font-weight: 600 !important;
}
body.print-preview #slide-5 .state-formula-heading-row { margin: 0 0 2px 0 !important; flex-shrink: 0 !important;
} body.print-preview #slide-5 .state-formula-legend { display: block !important; flex-shrink: 0 !important; font-size: 0.7em !important; line-height: 1.35 !important; color: #333 !important; margin: 0 0 4px 0 !important; padding: 0 !important; min-height: 0 !important;
}
/* Слайд 5: в PDF скрыть текстовые расшифровки и у текущего, и у будущего состояния (схема без подписей диагнозов) */
body.print-preview #slide-5 .state-formula-legend-current { display: none !important; visibility: hidden !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; }
body.print-preview #slide-5 .state-formula-legend-future { display: none !important; visibility: hidden !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; }
body.print-preview #slide-5 .state-formula-legend:empty { display: none !important;
} body.print-preview #slide-5 .state-formula-divider { margin: 10px 0 8px 0 !important; flex-shrink: 0 !important; height: 0 !important; border: none !important; border-top: 1px solid #c8c8c8 !important; background: transparent !important;
}
body.print-preview #slide-5 .dental-scheme { padding: 6px 10px !important; flex: 1 !important; display: flex !important; flex-direction: column !important; min-height: 0 !important;
}
body.print-preview #slide-5 .teeth-scheme-wrapper { gap: 8px !important; flex: 1 !important; min-height: 0 !important; display: flex !important; flex-direction: column !important; justify-content: space-evenly !important;
}
body.print-preview #slide-5 .teeth-blocks-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; grid-template-rows: auto auto !important; gap: 8px !important; width: 100% !important; box-sizing: border-box !important; align-items: center !important; justify-items: center !important; row-gap: 10px !important;
}
body.print-preview #slide-5 .teeth-row { flex-wrap: nowrap !important; display: flex !important; justify-content: center !important; gap: 2px !important; width: 100% !important; align-items: center !important; box-sizing: border-box !important;
}
body.print-preview #slide-5 .jaw-section { flex-shrink: 0 !important;
} body.print-preview #slide-5 .jaw-gum-upper,
body.print-preview #slide-5 .jaw-gum-lower { display: none !important; height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important;
}
body.print-preview #slide-5 .jaw-section.jaw-upper .teeth-blocks-grid { margin-bottom: 0 !important;
}
body.print-preview #slide-5 .jaw-section.jaw-lower { margin-top: 8px !important;
} body.print-preview #slide-5 .tooth { position: relative !important; width: 46px !important; height: 46px !important; min-width: 46px !important; min-height: 46px !important; overflow: visible !important; box-sizing: border-box !important;
}
body.print-preview #slide-5 .tooth .tooth-icon-current { position: absolute !important; left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; display: block !important;
}
/* Текущее и будущее «Нет зуба»: пустота, только нумерация (как в обычной презентации) */
body.print-preview #slide-5 #teeth-current .tooth.missing .tooth-icon-current,
body.print-preview #slide-5 #teeth-current .tooth[data-status="missing"] .tooth-icon-current,
body.print-preview #slide-5 #teeth-future .tooth.missing .tooth-icon-current,
body.print-preview #slide-5 #teeth-future .tooth[data-status="missing"] .tooth-icon-current { display: none !important;
}
body.print-preview #slide-5 .tooth-icon-current,
body.print-preview #slide-5 .tooth .tooth-icon-current { filter: grayscale(1) brightness(0.6) contrast(1.2) !important;
}
body.print-preview #slide-5 .tooth-upper .tooth-icon-current { transform: rotate(180deg) !important; filter: grayscale(1) brightness(0.6) contrast(1.2) !important;
}
body.print-preview #slide-5 .tooth-number { position: absolute !important; color: #1a1a1a !important; text-shadow: none !important; font-size: 11px !important; font-weight: 700 !important; line-height: 1 !important; -webkit-font-smoothing: antialiased !important; backface-visibility: hidden !important; z-index: 2 !important;
} body.print-preview #slide-5 .tooth-current.tooth-upper .tooth-number,
body.print-preview #slide-5 .tooth-future.tooth-upper .tooth-number { top: auto !important; bottom: -10px !important; left: 50% !important; right: auto !important; transform: translate(calc(-50% + 3px), 0) !important;
} body.print-preview #slide-5 .tooth-current.tooth-lower .tooth-number,
body.print-preview #slide-5 .tooth-future.tooth-lower .tooth-number { top: -18px !important; bottom: auto !important; left: 50% !important; right: auto !important; transform: translate(calc(-50% + 3px), 0) !important;
}
body.print-preview .treatment-plan-slide-options,
body.print-preview .slide-visibility-toggle,
body.print-preview .slide-diagnostic-crop-toggle,
body.print-preview .benefits-discount-toggle { display: none !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-period,
body.print-preview :is(#slide-20, #slide-23) .treatment-value { height: auto !important; align-self: stretch !important;
} body.print-preview #slide-21 .benefits-table { border: none !important; padding: 0 !important; margin: 0 !important; background: transparent !important; box-shadow: none !important;
} body.print-preview #slide-21 .benefits-header { border: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; display: grid !important; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr)) !important; gap: 0 !important; align-items: stretch !important; width: 100% !important; box-sizing: border-box !important;
} body.print-preview #slide-21 .benefits-header div { border: none !important; border-bottom: 2px solid #000000 !important; padding: 12px 14px !important; margin: 0 !important; background: #f8f9fa !important; font-weight: 700 !important; font-size: 0.9em !important; vertical-align: top !important; text-align: center !important; display: flex !important; align-items: center !important; justify-content: center !important;
} body.print-preview #slide-21 .benefits-header div:first-child { text-align: left !important; justify-content: flex-start !important;
} body.print-preview #slide-21 .benefits-header div:last-child { border-right: none !important;
} body.print-preview #slide-21 .benefit-row { border: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; border-bottom: none !important; display: grid !important; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr)) !important; gap: 0 !important; align-items: stretch !important; width: 100% !important; box-sizing: border-box !important;
} body.print-preview #slide-21 .benefit-row:last-child { border-bottom: none !important;
} body.print-preview #slide-21 .benefit-label { border: none !important; padding: 12px 14px !important; margin: 0 !important; background: #ffffff !important; vertical-align: top !important; display: flex !important; align-items: center !important; justify-content: flex-start !important; text-align: left !important;
} body.print-preview #slide-21 .benefit-value { border: none !important; padding: 12px 14px !important; margin: 0 !important; background: #ffffff !important; vertical-align: top !important; display: flex !important; align-items: center !important; justify-content: center !important; text-align: center !important;
} body.print-preview #slide-21 .benefits-header div:last-child,
body.print-preview #slide-21 .benefit-row .benefit-value:last-child { border-right: none !important;
} body.print-preview #slide-21 .benefit-row[data-role="total"],
body.print-preview #slide-21 .benefit-row[data-role="final"] { background: rgba(0, 0, 0, 0.03) !important;
} body.print-preview #slide-21 .benefit-row[data-role="total"] .benefit-label,
body.print-preview #slide-21 .benefit-row[data-role="total"] .benefit-value,
body.print-preview #slide-21 .benefit-row[data-role="final"] .benefit-label,
body.print-preview #slide-21 .benefit-row[data-role="final"] .benefit-value { background: rgba(0, 0, 0, 0.03) !important;
} body.print-preview #slide-21 .benefit-row[data-role="final"] { border-bottom: none !important;
} body.print-preview #slide-20 .highlight-column,
body.print-preview #slide-23 .highlight-column,
body.print-preview #slide-18 .highlight-column { background: #f3f3f3 !important; border: none !important; color: #000000 !important; font-weight: 700 !important;
} body.print-preview #slide-21 .cost-calc-table { display: flex !important; flex-direction: column !important; width: 100% !important; box-sizing: border-box !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row-total,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-row-total { display: grid !important; row-gap: 0 !important; column-gap: 0 !important; gap: 0 !important; align-items: stretch !important; width: 100% !important; box-sizing: border-box !important; padding: 0 !important; margin: 0 !important;
}
/* Fallback без классов implant-pick-count-*: те же фиксированные дорожки, что при 3 системах — шапка и строки совпадают (не «по ширине текста» в каждой строке отдельно). */
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row-total,
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row-total { grid-template-columns: 150px 350px var(--plan-col-w-print) var(--plan-col-w-print) var(--plan-col-w-print) !important; column-gap: 0 !important;
}
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-header > div:nth-child(1) { grid-column: 1 / span 2 !important; }
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-header > div:nth-child(2) { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-header > div:nth-child(3) { grid-column: 4 !important; }
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-header > div:nth-child(4) { grid-column: 5 !important; }
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row .cost-calc-label,
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row .cost-calc-label,
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row-total .cost-calc-label,
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row-total .cost-calc-label { grid-column: 1 / span 2 !important; }
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"] { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"] { grid-column: 4 !important; }
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"] { grid-column: 5 !important; }
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #slide-21 .cost-calc-row-total .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing):not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) #presentation-app #slide-21 .cost-calc-row-total .cost-calc-row-delete { display: none !important; }
body.print-preview #slide-21 .cost-calc-header { margin-bottom: 0 !important;
} body.print-preview #slide-21 .cost-calc-header .highlight-column { background: #f3f3f3 !important; color: #000000 !important; font-weight: 700 !important; padding: 12px 10px !important; border: none !important; border-radius: 0 !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; gap: 2px !important;
}
body.print-preview #slide-21 .cost-calc-header .highlight-column::after { display: block !important; content: 'Рекомендуем' !important; font-size: 0.6em !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; color: #000000 !important; background: none !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important;
} body.print-preview #slide-21 .cost-calc-row .cost-calc-value.highlight-column,
body.print-preview #slide-21 .cost-calc-row-total .cost-calc-value.highlight-column { background: #f3f3f3 !important; font-weight: 700 !important; color: #000000 !important; border: none !important; border-radius: 0 !important; padding: 8px 10px !important; margin-top: -1px !important; margin-bottom: -1px !important; padding-top: 9px !important; padding-bottom: 9px !important;
}
body.print-preview #slide-21 .cost-calc-label,
body.print-preview #slide-21 .cost-calc-value { padding: 8px 10px !important;
} body.print-preview #slide-21.slide-dark-bg,
body.print-preview #slide-21 { background: #ffffff !important;
}
body.print-preview #slide-21 .slide-content { background: #ffffff !important; color: #000000 !important;
}
body.print-preview #slide-21 .slide-content h2 { color: #000000 !important;
}
body.print-preview #slide-21 .cost-calc-table { background: transparent !important; padding: 0 !important; margin-top: 10px !important; border: none !important; box-shadow: none !important;
}
body.print-preview #slide-21 .cost-calc-header div { color: #1a365d !important; font-weight: 700 !important; font-size: 0.85em !important; padding: 10px !important;
}
body.print-preview #slide-21 .cost-calc-header .highlight-column { color: #000000 !important;
}
body.print-preview #slide-21 .cost-calc-row { border-top: 1px solid #e2e8f0 !important; background: transparent !important;
}
body.print-preview #slide-21 .cost-calc-row-total { background: #f8fafc !important; border-top: 2px solid #cbd5e1 !important;
} body.print-preview #slide-21 .cost-calc-row-total .cost-calc-value.highlight-column { margin-top: -2px !important; padding-top: 10px !important;
}
body.print-preview #slide-21 .cost-calc-label,
body.print-preview #slide-21 .cost-calc-value { color: #000000 !important; min-height: auto !important;
}
body.print-preview #slide-21 .cost-calc-row-total .cost-calc-label { font-weight: 700 !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary { border: none !important; border-top: 2px solid #000000 !important; background: transparent !important; padding: 0 !important; margin: 0 !important; display: grid !important; grid-template-columns: 150px 350px 1fr 1fr 1fr !important; gap: 0 !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary .summary-label { grid-column: 1 / 3 !important; padding: 12px 14px !important; border-right: none !important; background: transparent !important; font-weight: 600 !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary .summary-values { grid-column: 3 / -1 !important; display: grid !important; grid-template-columns: 1fr 1fr 1fr !important; gap: 0 !important; border-right: none !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary .summary-values span { padding: 12px 14px !important; border-right: none !important; background: transparent !important; font-weight: 600 !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary .summary-values span:last-child { border-right: none !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary.grand { border-top: none !important; background: transparent !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary.grand .summary-label,
body.print-preview :is(#slide-20, #slide-23) .treatment-summary.grand .summary-values span { background: transparent !important; font-weight: 700 !important;
} body.print-preview .treatment-summary:not(#slide-20 .treatment-summary):not(#slide-23 .treatment-summary),
body.print-preview .treatment-summary.grand:not(#slide-20 .treatment-summary.grand):not(#slide-23 .treatment-summary.grand) { border: none !important; padding: 0 !important; margin: 0 !important; background: transparent !important; font-weight: inherit !important;
} body.print-preview .highlight-column:not(#slide-20 .highlight-column):not(#slide-21 .highlight-column) { border: none !important; padding: inherit !important; background: transparent !important; font-weight: inherit !important;
} body.print-preview #slide-17 .implants-select-wrap { display: none !important;
} body.print-preview #slide-17 .implants-single-view .implant-card { display: none !important;
} body.print-preview #slide-17 .implants-single-view .implant-card.implant-card-visible { display: grid !important;
} body.print-preview #slide-18 .implant-card-edge,
body.print-preview #slide-18 .implant-card-arrow,
body.print-preview #slide-19 .implant-card-edge,
body.print-preview #slide-19 .implant-card-arrow { display: none !important;
} body.print-preview #slide-17 .implant-card,
body.print-preview #slide-18 .implant-card,
body.print-preview #slide-19 .implant-card { background: #ffffff !important; box-shadow: none !important; backdrop-filter: none !important; border: none !important; padding: 0 !important; display: flex !important; flex-direction: column !important; position: relative !important; margin: 0 !important; width: 100% !important; overflow: visible !important; box-sizing: border-box !important;
} body.print-preview #slide-18 .implant-card.premium,
body.print-preview #slide-19 .implant-card.premium { background: #ffffff !important;
} body.print-preview #slide-18 .implant-card.premium::before,
body.print-preview #slide-19 .implant-card.premium::before { display: none !important;
} body.print-preview #slide-17 .implant-card-body,
body.print-preview #slide-18 .implant-card-body,
body.print-preview #slide-19 .implant-card-body { display: flex !important; flex-direction: row !important; gap: 40px !important; align-items: flex-start !important; width: 100% !important; padding: 25px 35px !important; min-height: 520px !important; border: 1px solid #000000 !important; box-sizing: border-box !important; page-break-inside: avoid !important; break-inside: avoid !important;
} body.print-preview #slide-18 .implant-card-body,
body.print-preview #slide-19 .implant-card-body { padding: 20px 35px !important; min-height: 480px !important;
} body.print-preview #slide-17 .implant-info,
body.print-preview #slide-18 .implant-info,
body.print-preview #slide-19 .implant-info { display: flex !important; flex-direction: column !important; gap: 12px !important; flex: 0 0 50% !important; max-width: 50% !important;
} body.print-preview #slide-18 .implant-info,
body.print-preview #slide-19 .implant-info { gap: 10px !important;
} body.print-preview #slide-17 .implant-logo,
body.print-preview #slide-18 .implant-logo,
body.print-preview #slide-19 .implant-logo { filter: brightness(0) !important; opacity: 1 !important; visibility: visible !important; display: block !important; max-width: 200px !important; max-height: 60px !important; width: auto !important; height: auto !important; object-fit: contain !important; margin-bottom: 0 !important;
} body.print-preview #slide-17 .premium-badge { display: none !important;
} body.print-preview #slide-18 .premium-badge,
body.print-preview #slide-19 .premium-badge { display: inline-block !important; background: transparent !important; border: 1px solid #000000 !important; color: #000000 !important; padding: 6px 14px !important; font-size: 0.85em !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 1px !important; margin-bottom: 15px !important; margin-top: 0 !important;
} body.print-preview #slide-17 .implant-guarantee,
body.print-preview #slide-18 .implant-guarantee,
body.print-preview #slide-19 .implant-guarantee { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; display: flex !important; flex-direction: row !important; align-items: flex-start !important; gap: 12px !important;
} body.print-preview #slide-17 .implant-guarantee img,
body.print-preview #slide-18 .implant-guarantee img,
body.print-preview #slide-19 .implant-guarantee img { filter: brightness(0) !important; opacity: 1 !important; visibility: visible !important; display: block !important; width: 32px !important; height: 32px !important; flex-shrink: 0 !important;
} body.print-preview #slide-17 .implant-guarantee > div,
body.print-preview #slide-18 .implant-guarantee > div,
body.print-preview #slide-19 .implant-guarantee > div { display: flex !important; flex-direction: column !important; gap: 1px !important;
} body.print-preview #slide-17 .implant-guarantee strong,
body.print-preview #slide-18 .implant-guarantee strong,
body.print-preview #slide-19 .implant-guarantee strong { color: #000000 !important; font-size: 1em !important; font-weight: 600 !important; margin: 0 !important; padding: 0 !important; line-height: 1.2 !important;
} body.print-preview #slide-17 .implant-guarantee span,
body.print-preview #slide-18 .implant-guarantee span,
body.print-preview #slide-19 .implant-guarantee span { color: #000000 !important; font-size: 0.9em !important; margin: 0 !important; padding: 0 !important; line-height: 1.2 !important;
} body.print-preview #slide-17 .implant-meta,
body.print-preview #slide-18 .implant-meta,
body.print-preview #slide-19 .implant-meta { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; display: flex !important; flex-direction: column !important; gap: 2px !important; margin-bottom: 0 !important;
} body.print-preview #slide-17 .implant-meta-header,
body.print-preview #slide-18 .implant-meta-header,
body.print-preview #slide-19 .implant-meta-header { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; margin-bottom: 2px !important;
} body.print-preview #slide-17 .implant-meta-icon,
body.print-preview #slide-18 .implant-meta-icon,
body.print-preview #slide-19 .implant-meta-icon { width: 24px !important; height: 24px !important; flex-shrink: 0 !important;
} body.print-preview #slide-17 .implant-meta-icon img,
body.print-preview #slide-18 .implant-meta-icon img,
body.print-preview #slide-19 .implant-meta-icon img { filter: brightness(0) !important; opacity: 1 !important; visibility: visible !important; display: block !important; width: 24px !important; height: 24px !important;
} body.print-preview #slide-17 .implant-meta-icon img[src*="icon_tooth_s"],
body.print-preview #slide-17 .implant-meta-icon img[src*="icon_toth"],
body.print-preview #slide-17 .implant-meta-icon img[src*="icon_date"],
body.print-preview #slide-18 .implant-meta-icon img[src*="icon_tooth_s"],
body.print-preview #slide-18 .implant-meta-icon img[src*="icon_toth"],
body.print-preview #slide-18 .implant-meta-icon img[src*="icon_date"],
body.print-preview #slide-19 .implant-meta-icon img[src*="icon_tooth_s"],
body.print-preview #slide-19 .implant-meta-icon img[src*="icon_toth"],
body.print-preview #slide-19 .implant-meta-icon img[src*="icon_date"], body.print-preview #slide-17 img[src*="icon_tooth_s.svg"],
body.print-preview #slide-17 img[src*="icon_date.svg"],
body.print-preview #slide-18 img[src*="icon_tooth_s.svg"],
body.print-preview #slide-18 img[src*="icon_date.svg"],
body.print-preview #slide-19 img[src*="icon_tooth_s.svg"],
body.print-preview #slide-19 img[src*="icon_date.svg"] { filter: brightness(0) !important;
} body.print-preview #slide-17 .implant-meta h5,
body.print-preview #slide-18 .implant-meta h5,
body.print-preview #slide-19 .implant-meta h5 { color: #000000 !important; font-size: 0.95em !important; font-weight: 600 !important; margin: 0 !important; padding: 0 !important; line-height: 1.2 !important;
} body.print-preview #slide-17 .implant-meta p,
body.print-preview #slide-18 .implant-meta p,
body.print-preview #slide-19 .implant-meta p { color: #000000 !important; font-size: 0.85em !important; margin: 0 !important; margin-top: 2px !important; padding: 0 !important; padding-left: 34px !important; line-height: 1.2 !important;
} body.print-preview #slide-17 .implant-visual,
body.print-preview #slide-18 .implant-visual,
body.print-preview #slide-19 .implant-visual { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; flex: 0 0 50% !important; max-width: 50% !important; height: auto !important; min-height: 300px !important;
} body.print-preview #slide-17 .implant-visual::before,
body.print-preview #slide-18 .implant-visual::before,
body.print-preview #slide-19 .implant-visual::before { display: none !important;
} body.print-preview #slide-17 .implant-visual img,
body.print-preview #slide-18 .implant-visual img,
body.print-preview #slide-19 .implant-visual img { filter: none !important; max-width: 100% !important; max-height: 400px !important; width: auto !important; height: auto !important; opacity: 1 !important; visibility: visible !important; display: block !important; object-fit: contain !important;
} body.print-preview #slide-17 > .slide-content > h2,
body.print-preview #slide-18 > .slide-content > h2,
body.print-preview #slide-19 > .slide-content > h2 { text-align: center !important; color: #000000 !important; margin-bottom: 30px !important; margin-top: 0 !important; padding-top: 0 !important; font-size: 1.5em !important; display: block !important; page-break-after: avoid !important; break-after: avoid !important;
} body.print-preview #slide-17,
body.print-preview #slide-18,
body.print-preview #slide-19 { min-height: 210mm !important; max-height: 210mm !important; height: 210mm !important; overflow: hidden !important;
} body.print-preview #slide-17 .slide-content,
body.print-preview #slide-18 .slide-content,
body.print-preview #slide-19 .slide-content { min-height: calc(210mm - 20mm) !important; max-height: calc(210mm - 20mm) !important; overflow: hidden !important; height: calc(210mm - 20mm) !important;
} body.print-preview #slide-3 .diag-icon { background: transparent !important; border: none !important; box-shadow: none !important; width: 90px !important; height: 90px !important; min-width: 90px !important; min-height: 90px !important;
} body.print-preview #slide-3 .diag-icon img { filter: brightness(0) !important; opacity: 1 !important; visibility: visible !important; display: block !important; width: 60px !important; height: 60px !important; object-fit: contain !important;
} body.print-preview #slide-8 .consequence-icon { background: #ffffff !important; border: 2px solid #000000 !important; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
} body.print-preview #slide-8 .consequence-icon img { filter: brightness(0) !important; opacity: 1 !important; visibility: visible !important; display: block !important;
} body.print-preview #slide-8 .consequence-dropdown-trigger,
body.print-preview #slide-8 .consequence-dropdown { display: none !important;
} body.print-preview #slide-14 .ba-dropdown-trigger,
body.print-preview #slide-14 .ba-dropdown { display: none !important;
} body.print-preview #slide-1 .btn-complaints-popup,
body.print-preview #slide-1 #btn-complaints-popup { display: none !important;
}
body.print-preview #slide-1 .slide-content { display: flex !important; flex-direction: column !important; justify-content: center !important; padding: 24px 14px 14px !important; font-size: 0.85em !important; min-height: 0 !important; overflow: hidden !important; text-align: left !important; align-items: flex-start !important;
}
body.print-preview #slide-1 .slide-content h1,
body.print-preview #slide-1 h1.title-two-lines { font-size: 1.25em !important; margin: 0 0 0.4em !important; text-align: left !important; flex-shrink: 0 !important; width: 100% !important;
}
body.print-preview #slide-1 .input-section { display: flex !important; flex: 1 !important; min-height: 0 !important; gap: 16px !important; align-items: stretch !important;
}
body.print-preview #slide-1 .input-column { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; align-items: flex-start !important; gap: 8px !important; flex: 0 1 auto !important; min-width: 0 !important; text-align: left !important;
}
body.print-preview #slide-1 .input-group-name label { display: none !important;
}
body.print-preview #slide-1 .input-group-name input { border: none !important; background: transparent !important; box-shadow: none !important; padding: 2px 0 !important; font-size: 1em !important; min-height: auto !important; text-align: left !important;
}
body.print-preview #slide-1 .input-group-coordinator label { font-size: 0 !important;
}
body.print-preview #slide-1 .input-group-coordinator label::before { content: "Ваш координатор: " !important; font-size: 0.9rem !important; display: block !important; margin-bottom: 2px !important;
}
body.print-preview #slide-1 .input-group-coordinator select { border: none !important; background: transparent !important; padding: 2px 0 !important; min-height: auto !important; font-size: 1em !important; appearance: none !important; -webkit-appearance: none !important; text-align: left !important;
}
body.print-preview #slide-1 .input-group-age,
body.print-preview #slide-1 .input-group-gender,
body.print-preview #slide-1 .input-group-clinic,
body.print-preview #slide-1 .input-group-contact,
body.print-preview #slide-1 .input-row { display: none !important;
}
body.print-preview #slide-1 .photo-column { flex: 1 !important; min-width: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; padding-top: 12px !important;
}
body.print-preview #slide-1 .photo-upload-large,
body.print-preview #slide-1 .upload-preview-large { width: 100% !important; max-width: min(84vh, 360px) !important; aspect-ratio: 1 / 1 !important; min-height: 0 !important; max-height: min(84vh, 360px) !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important;
}
body.print-preview #slide-1 .upload-preview-large img { width: 100% !important; height: 100% !important; object-fit: cover !important;
} body.print-preview #slide-2 .content-card,
body.print-preview #slide-2 .content-grid,
body.print-preview #slide-3 .diagnostic-item,
body.print-preview #slide-7 .risks-table,
body.print-preview #slide-8 .consequence-table { border: none !important; background: transparent !important; box-shadow: none !important; padding: 0 !important;
} body.print-preview #slide-8 .consequence-table-header { border-bottom: 2px solid #000000 !important; border-top: none !important; border-left: none !important; border-right: none !important; padding-bottom: 8px !important; margin-bottom: 8px !important;
} body.print-preview #slide-8 .consequence-row { border-bottom: 1px solid #000000 !important; border-top: none !important; border-left: none !important; border-right: none !important; padding-bottom: 8px !important; margin-bottom: 8px !important;
} body.print-preview #slide-8 .consequence-item { border: none !important; background: transparent !important;
} body.print-preview #slide-7 .risks-table { border: none !important; background: transparent !important;
} body.print-preview #slide-7 .table-header { border-bottom: 2px solid #000000 !important; border-top: none !important; border-left: none !important; border-right: none !important;
} body.print-preview #slide-7 .table-row { border-bottom: 1px solid #000000 !important; border-top: none !important; border-left: none !important; border-right: none !important;
} body.print-preview #slide-7 .table-cell { border-right: none !important; border-left: none !important; border-top: none !important; border-bottom: none !important;
} body.print-preview #slide-3 .photo-upload,
body.print-preview #slide-3 .file-input-wrapper,
body.print-preview #slide-3 .file-select-btn { display: none !important;
} body.print-preview #slide-4 .slide-content { padding: 8px 12px !important; font-size: 0.82em !important;
}
body.print-preview #slide-4 .diagnokat-title { font-size: 1.05em !important; margin: 0.15em 0 !important;
}
body.print-preview #slide-4 .diagnokat-subtitle { font-size: 0.85em !important; margin: 0 0 0.4em !important;
} body.print-preview #slide-4 .patient-info-grid { display: none !important;
}
body.print-preview #slide-4 .dental-controls .btn-clear-scheme { display: none !important;
}
body.print-preview #slide-4 .dental-controls { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; align-items: center !important; margin-bottom: 6px !important;
}
body.print-preview #slide-4 .tooth-status-selector { display: flex !important; flex-wrap: wrap !important; gap: 6px !important;
}
body.print-preview #slide-4 .status-option { padding: 4px 10px !important; font-size: 0.7em !important; border: 2px solid var(--status-color, #333) !important; border-radius: 2px !important; background: transparent !important; color: var(--status-color, #333) !important; box-shadow: none !important;
}
body.print-preview #slide-4 .status-option.active { background: transparent !important; color: var(--status-color, #333) !important; border: 2px solid var(--status-color, #333) !important; box-shadow: none !important;
}
body.print-preview #slide-4 .dental-scheme-section { margin-top: 6px !important; max-width: 100% !important; overflow: hidden !important;
}
body.print-preview #slide-4 .dental-scheme { min-height: 180px !important; padding: 12px 10px !important; max-width: 100% !important;
}
body.print-preview #slide-4 .teeth-blocks-grid { gap: 8px !important; max-width: 100% !important;
}
body.print-preview #slide-4 .teeth-row { gap: 3px !important;
} body.print-preview #slide-4 .teeth-blocks-grid { margin-top: 24px !important;
}
body.print-preview #slide-4 .tooth { width: 33px !important; height: 37px !important; min-width: 33px !important; min-height: 37px !important; box-sizing: border-box !important;
}
body.print-preview #slide-4 .tooth-number { font-size: 7px !important; margin-top: -8px !important; transform: translateY(-5px) !important;
}
body.print-preview #slide-4 .tooth-icon-empty,
body.print-preview #slide-4 .tooth-icon-filled,
body.print-preview #slide-4 .tooth-icon-missing { object-fit: contain !important;
} body.print-preview #slide-4 .tooth .tooth-icon-filled,
body.print-preview #slide-4 .tooth .tooth-icon-empty,
body.print-preview #slide-4 .tooth .tooth-icon-missing { filter: none !important;
}
body.print-preview #slide-4 .tooth.healthy { outline: 2px solid #27ae60 !important; outline-offset: -1px !important; background: transparent !important;
}
body.print-preview #slide-4 .tooth.healthy .tooth-icon-empty,
body.print-preview #slide-4 .tooth.healthy .tooth-icon-missing { display: none !important; }
body.print-preview #slide-4 .tooth.healthy .tooth-icon-filled { display: block !important; filter: brightness(0) saturate(100%) invert(58%) sepia(95%) saturate(400%) hue-rotate(90deg) brightness(95%) contrast(85%) !important;
}
body.print-preview #slide-4 .tooth.treated { outline: 2px solid #3498db !important; outline-offset: -1px !important; background: transparent !important;
}
body.print-preview #slide-4 .tooth.treated .tooth-icon-empty,
body.print-preview #slide-4 .tooth.treated .tooth-icon-missing { display: none !important; }
body.print-preview #slide-4 .tooth.treated .tooth-icon-filled { display: block !important; filter: brightness(0) saturate(100%) invert(48%) sepia(95%) saturate(2000%) hue-rotate(200deg) brightness(95%) contrast(95%) !important;
}
body.print-preview #slide-4 .tooth.problem { outline: 2px solid #e74c3c !important; outline-offset: -1px !important; background: transparent !important;
}
body.print-preview #slide-4 .tooth.problem .tooth-icon-empty,
body.print-preview #slide-4 .tooth.problem .tooth-icon-missing { display: none !important; }
body.print-preview #slide-4 .tooth.problem .tooth-icon-filled { display: block !important; filter: brightness(0) saturate(100%) invert(25%) sepia(95%) saturate(5000%) hue-rotate(340deg) brightness(90%) contrast(90%) !important;
}
body.print-preview #slide-4 .tooth.missing { outline: 2px solid #95a5a6 !important; outline-offset: -1px !important; background: transparent !important;
}
body.print-preview #slide-4 .tooth.missing .tooth-icon-empty,
body.print-preview #slide-4 .tooth.missing .tooth-icon-filled { display: none !important; }
body.print-preview #slide-4 .tooth.missing .tooth-icon-missing { display: block !important; filter: brightness(0) saturate(100%) !important;
}
body.print-preview #slide-4 .tooth:not(.healthy):not(.treated):not(.problem):not(.missing) { outline: 1px solid #bdc3c7 !important; outline-offset: -1px !important; background: transparent !important;
} body.print-preview #slide-4 .patient-info-grid { margin-bottom: 6px !important; border: none !important; background: transparent !important; padding: 0 !important; max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.6fr) !important; gap: 8px 10px !important;
}
body.print-preview #slide-4 .info-column { min-width: 0 !important;
}
body.print-preview #slide-4 .info-row { min-width: 0 !important; display: flex !important; align-items: center !important; gap: 6px !important;
}
body.print-preview #slide-4 .info-row label { flex: 0 0 auto !important; min-width: 0 !important; font-size: 0.75em !important;
}
body.print-preview #slide-4 .info-row input { flex: 1 !important; min-width: 0 !important; font-size: 0.8em !important; padding: 4px 6px !important; min-height: 24px !important; max-width: 100% !important;
}
body.print-preview #slide-4 .info-input-compact { max-width: 60px !important; min-width: 0 !important;
} body.print-preview #slide-4 .info-column,
body.print-preview #slide-4 .info-row { border: none !important; background: transparent !important; padding: 0 !important;
}
body.print-preview #slide-4 .info-row label { font-size: 0.85em !important;
} body.print-preview #slide-4 .info-row input { border: 1px solid #000000 !important; background: #ffffff !important; color: #000000 !important;
} body.print-preview #slide-4 .dental-scheme { border: 1px solid #000000 !important; box-shadow: none !important; min-height: 320px !important; height: auto !important; display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; padding: 30px 20px !important;
} body.print-preview #slide-4 .teeth-blocks-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; width: 100% !important; align-items: center !important; justify-items: center !important; margin: 0 !important;
} body.print-preview #slide-4 .teeth-row { display: flex !important; justify-content: center !important; align-items: center !important; gap: 6px !important;
} body.print-preview #slide-4 .patient-info-grid { display: none !important;
} body.print-preview #slide-4 .info-column { max-width: 100% !important;
} body.print-preview #slide-4 .info-row { gap: 6px !important;
} body.print-preview #slide-4 .info-row label { min-width: 0 !important; font-size: 0.75em !important;
} body.print-preview #slide-4 .info-row input { font-size: 0.8em !important; padding: 4px 6px !important; min-height: 24px !important; height: auto !important;
} body.print-preview #slide-4 .info-input-compact { max-width: 56px !important; min-width: 0 !important; padding: 4px 6px !important; font-size: 0.8em !important;
} body.print-preview #slide-4 .info-column-compact .info-row { gap: 6px !important;
} body.print-preview #slide-4 .info-column-compact .info-row label { min-width: 50px !important; font-size: 10pt !important;
} body.print-preview #slide-4 .tooth { background: transparent !important; border: none !important; box-shadow: none !important;
} body.print-preview #slide-4 .tooth-icon-filled,
body.print-preview #slide-4 .tooth-icon-empty,
body.print-preview #slide-4 .tooth-icon-missing { visibility: visible !important; display: block !important; opacity: 1 !important;
} body.print-preview #slide-4 .tooth:not(.healthy):not(.treated):not(.problem):not(.missing) .tooth-icon-empty { display: block !important; opacity: 1 !important; filter: brightness(0) !important;
} body.print-preview #slide-4 .tooth:not(.healthy):not(.treated):not(.problem):not(.missing) .tooth-icon-filled { display: none !important;
} body.print-preview #slide-4 .tooth:not(.healthy):not(.treated):not(.problem):not(.missing) .tooth-icon-missing { display: none !important;
} body.print-preview #slide-4 .patient-info-grid { max-width: 100% !important; width: 100% !important; display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.6fr) !important; gap: 8px 10px !important; box-sizing: border-box !important;
} body.print-preview #slide-4 .info-column { max-width: 100% !important; min-width: 0 !important;
} body.print-preview #slide-4 .info-row { gap: 6px !important;
} body.print-preview #slide-4 .info-row label { min-width: 0 !important; font-size: 0.75em !important;
} body.print-preview #slide-4 .info-row input { font-size: 0.8em !important; padding: 4px 6px !important; min-height: 24px !important; height: auto !important;
} body.print-preview #slide-14 .ba-head { margin-bottom: 8px !important;
} body.print-preview #slide-14 .before-after-photo-block { margin-bottom: 0 !important; gap: 0 !important;
} body.print-preview #slide-14 .before-after-photo-block .state-photo-preview { min-height: 300px !important; max-height: 300px !important; margin-bottom: 0 !important;
} body.print-preview #slide-14 .ba-head-label { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;
} body.print-preview #slide-14 .ba-table-scroll-wrap,
body.print-preview #slide-14 .ba-table-scroll { margin-top: 0 !important; margin-bottom: 0 !important; box-shadow: none !important;
} body.print-preview #slide-14 .before-input,
body.print-preview #slide-14 .after-input { border: none !important; background: transparent !important; box-shadow: none !important; outline: none !important;
} body.print-preview.report-includes-slide-14 #slide-14 { background: #ffffff !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .slide-content { padding: 20px 28px 24px !important; background: #ffffff !important; display: flex !important; flex-direction: column !important; gap: 0 !important; min-height: auto !important; overflow: visible !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .slide-content h1,
body.print-preview.report-includes-slide-14 #slide-14 .slide-content h2 { font-size: 1.1em !important; font-weight: 600 !important; color: #1a1d29 !important; margin: 0 0 14px !important; letter-spacing: 0.02em;
}
/* Слайд 14 в отчёте: макет 1:1 с режимом презентации — 3 колонки (До 1:1 + подпись | узкий | После 1:1 + подпись), строки под колонками, ч/б под лист. Предпросмотр = скачанный PDF. */
/* Колонки по ширине фото — текст строго под фото */
body.print-preview.report-includes-slide-14 #slide-14 .ba-head { display: grid !important; grid-template-columns: 410px 1fr 410px !important; gap: 0 !important; margin-bottom: 4px !important; border: none !important; box-shadow: none !important; background: transparent !important; width: 100% !important; box-sizing: border-box !important; align-items: start !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-head::before { content: '' !important; display: block !important; grid-column: 2 !important; min-width: 0 !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-head-before { grid-column: 1 !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-head-after { grid-column: 3 !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-head-col { display: flex !important; flex-direction: column !important; gap: 0 !important; align-items: center !important; border: none !important; background: transparent !important; box-shadow: none !important; width: 100% !important; max-width: 100% !important; min-height: 0 !important;
}
/* flex-direction: column — подпись «До»/«После» строго под фото по центру */
body.print-preview.report-includes-slide-14 #slide-14 .ba-head-photo { order: 1 !important; flex: 0 0 auto !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; width: 100% !important; max-width: 410px !important; min-height: 0 !important;
}
/* В отчёте (предпросмотр и PDF) заголовки со слайда не берём — новые «До»/«После» под фото, чёрные, тот же шрифт */
body.print-preview.report-includes-slide-14 #slide-14 .ba-head-label { display: none !important; visibility: hidden !important; }
body.print-preview.report-includes-slide-14 #slide-14 .ba-head-before .ba-head-photo::after { content: 'До' !important; display: block !important; flex-shrink: 0 !important; width: 100% !important; padding: 2px 0 0 !important; margin: 0 !important; font-size: 0.75em !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; color: #000000 !important; text-align: center !important; line-height: 1.2 !important; font-family: var(--font-family), inherit !important; background: transparent !important; border: none !important; box-sizing: border-box !important; }
body.print-preview.report-includes-slide-14 #slide-14 .ba-head-after .ba-head-photo::after { content: 'После' !important; display: block !important; flex-shrink: 0 !important; width: 100% !important; padding: 2px 0 0 !important; margin: 0 !important; font-size: 0.75em !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; color: #000000 !important; text-align: center !important; line-height: 1.2 !important; font-family: var(--font-family), inherit !important; background: transparent !important; border: none !important; box-sizing: border-box !important; }
/* Контейнер по высоте 410px (масштаб ×1.6); фото подгоняем по высоте (object-fit: contain) — не сжимать и не обрезать */
body.print-preview.report-includes-slide-14 #slide-14 .before-after-photo-block,
body.print-preview.report-includes-slide-14 #slide-14 .ba-head-photo .before-after-photo-block { width: 100% !important; max-width: 410px !important; height: 410px !important; flex: 0 0 auto !important; min-height: 0 !important; background: transparent !important; border: none !important; box-shadow: none !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .before-after-photo-block .state-photo-preview,
body.print-preview.report-includes-slide-14 #slide-14 #before-photo-preview,
body.print-preview.report-includes-slide-14 #slide-14 #after-photo-preview { width: 100% !important; height: 100% !important; max-height: 410px !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .before-after-photo-block .photo-thumbnail-wrapper img,
body.print-preview.report-includes-slide-14 #slide-14 .ba-head-photo .before-after-photo-block img,
body.print-preview.report-includes-slide-14 #slide-14 #before-photo-preview img,
body.print-preview.report-includes-slide-14 #slide-14 #after-photo-preview img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain !important; display: block !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-table-scroll-wrap { margin-top: 2px !important; margin-bottom: 24px !important; border: none !important; background: transparent !important; box-shadow: none !important; width: 100% !important; position: relative !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-table-scroll-wrap::after { content: '' !important; position: absolute !important; left: 50% !important; top: 0 !important; bottom: 0 !important; width: 1px !important; background: rgba(0, 0, 0, 0.2) !important; transform: translateX(-50%) !important; pointer-events: none !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-table-scroll { border: none !important; background: transparent !important; box-shadow: none !important; width: 100% !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-table { display: flex !important; flex-direction: column !important; gap: 0 !important; width: 100% !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-row-wrap { width: 100% !important; border: none !important; background: transparent !important;
}
/* Блок строк: нумерация → текст До | общая разделительная линия | нумерация → текст После; между строками — тонкие линии и отступы; высота ячейки по контенту */
body.print-preview.report-includes-slide-14 #slide-14 .ba-row { display: grid !important; grid-template-columns: 410px 1fr 410px !important; gap: 0 !important; align-items: stretch !important; min-height: min-content !important; height: auto !important; border: none !important; box-shadow: none !important; background: transparent !important; padding: 4px 10px 6px 12px !important; width: 100% !important; box-sizing: border-box !important; border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important; margin: 0 !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-row:last-child { border-bottom: none !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-row .before-cell { grid-column: 1 !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-row .after-cell { grid-column: 3 !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-cell { display: flex !important; flex-direction: row !important; align-items: flex-start !important; gap: 8px !important; min-height: 0 !important; min-width: 0 !important; border: none !important; background: transparent !important; box-shadow: none !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-cell.before-cell { padding: 0 16px 0 0 !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-cell.after-cell { border-left: none !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: -24px !important; }
body.print-preview.report-includes-slide-14 #slide-14 .ba-cell.after-cell .after-input { padding: 2px 8px 6px 4px !important; }
body.print-preview.report-includes-slide-14 #slide-14 .ba-cell .row-number { flex-shrink: 0 !important; width: 28px !important; min-width: 28px !important; font-size: 0.5em !important; font-weight: 700 !important; color: #1a1d29 !important; text-align: center !important; padding-top: 2px !important; line-height: 1.2 !important; align-self: flex-start !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-cell .before-cell-inner,
body.print-preview.report-includes-slide-14 #slide-14 .ba-cell .after-cell-inner { flex: 1 1 auto !important; min-width: 0 !important; min-height: 1.5em !important; border: none !important; background: transparent !important; display: flex !important; align-items: stretch !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .before-input,
body.print-preview.report-includes-slide-14 #slide-14 .after-input { font-size: 0.45em !important; color: #1a1d29 !important; line-height: 1.5 !important; border: none !important; box-shadow: none !important; outline: none !important; min-height: 1.5em !important; height: auto !important; resize: none !important; padding: 2px 8px 6px 0 !important; background: transparent !important; white-space: pre-wrap !important; word-wrap: break-word !important; overflow-wrap: break-word !important; box-sizing: border-box !important; flex: 1 1 auto !important; overflow: visible !important; overflow-x: hidden !important; overflow-y: visible !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .ba-cell { min-width: 0 !important;
}
body.print-preview.report-includes-slide-14 #slide-14 .before-input,
body.print-preview.report-includes-slide-14 #slide-14 .after-input { border: none !important; box-shadow: none !important; font-size: 0.45em !important; font-weight: inherit !important; overflow: visible !important; overflow-y: visible !important;
}

/* Print/PDF: ширина колонок систем на слайде 21 всегда от одной переменной (шапка и строки — разные grid, нужна одна шкала дорожек). */
body:is(.print-preview, .pdf-capturing) #slide-21 .slide-content,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .slide-content {
  --plan-col-w-print: calc((100% - 150px - 350px) / 3);
}
/* Print/PDF: 1/2/3 систем — одна ширина var для слайдов 20/23 (от .slide-content, чтобы совпадали план и «Расчётная стоимость») */
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .slide-content,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .slide-content,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 :is(#slide-20, #slide-23) .slide-content {
  --plan-col-w-print: calc((100% - 150px - 350px) / 3);
}
/* Print/PDF: 1/2/3 систем — фикс ширины колонок систем, расширяется только "Описание этапа" */
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-row {
  grid-template-columns: 150px calc(350px + (2 * var(--plan-col-w-print))) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-20 .treatment-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-20 .treatment-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-23 .treatment-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-23 .treatment-row {
  grid-template-columns: 150px calc(350px + var(--plan-col-w-print)) var(--plan-col-w-print) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-row .treatment-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-row .treatment-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-row .treatment-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-row .treatment-value[data-plan="premium"] { display: none !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-20 .treatment-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-20 .treatment-row .treatment-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-23 .treatment-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-23 .treatment-row .treatment-value[data-plan="premium"] { display: none !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-summary,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-summary.grand,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-summary,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-summary.grand {
  grid-template-columns: 150px calc(350px + (2 * var(--plan-col-w-print))) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-20 .treatment-summary,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-20 .treatment-summary.grand,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-23 .treatment-summary,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-23 .treatment-summary.grand {
  grid-template-columns: 150px calc(350px + var(--plan-col-w-print)) var(--plan-col-w-print) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-summary .summary-values,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-summary.grand .summary-values,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-summary .summary-values,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-summary.grand .summary-values {
  grid-column: 3 / -1 !important;
  grid-template-columns: 1fr !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-20 .treatment-summary .summary-values,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-20 .treatment-summary.grand .summary-values,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-23 .treatment-summary .summary-values,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-23 .treatment-summary.grand .summary-values {
  grid-column: 3 / -1 !important;
  grid-template-columns: 1fr 1fr !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-summary .summary-values > span:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-summary .summary-values > span:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-summary.grand .summary-values > span:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-20 .treatment-summary.grand .summary-values > span:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-summary .summary-values > span:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-summary .summary-values > span:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-summary.grand .summary-values > span:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-23 .treatment-summary.grand .summary-values > span:nth-child(3) { display: none !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-20 .treatment-summary .summary-values > span:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-20 .treatment-summary.grand .summary-values > span:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-23 .treatment-summary .summary-values > span:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-23 .treatment-summary.grand .summary-values > span:nth-child(3) { display: none !important; }

/* Print/PDF: слайд "Расчетная стоимость" — ширины колонок систем = слайды 20/23 (150 + 350 + plan) */
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-20 .treatment-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-20 .treatment-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-23 .treatment-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-23 .treatment-row {
  grid-template-columns: 150px 350px var(--plan-col-w-print) var(--plan-col-w-print) var(--plan-col-w-print) !important;
}

/* Print/PDF: единая читабельная таблица плана лечения на стр. 3/5 и 4/5 */
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-row,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-summary {
  width: 100% !important;
  box-sizing: border-box !important;
}
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header > div,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-row > div,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-summary .summary-values > span {
  min-width: 0 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-services-input {
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  min-height: 1.4em !important;
}
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-row .treatment-services-input,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-row .treatment-services-input * {
  line-height: 1.3 !important;
}
body.print-preview :is(#slide-20, #slide-23) .treatment-summary { border: none !important; border-top: 2px solid #000000 !important; background: transparent !important; padding: 0 !important; margin: 0 !important; display: grid !important; grid-template-columns: 150px 350px 1fr 1fr 1fr !important; gap: 0 !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary .summary-label { grid-column: 1 / 3 !important; padding: 12px 14px !important; border-right: none !important; background: transparent !important; font-weight: 600 !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary .summary-values { grid-column: 3 / -1 !important; display: grid !important; grid-template-columns: 1fr 1fr 1fr !important; gap: 0 !important; border-right: none !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary .summary-values span { padding: 12px 14px !important; border-right: none !important; background: transparent !important; font-weight: 600 !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary .summary-values span:last-child { border-right: none !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary.grand { border-top: none !important; background: transparent !important;
} body.print-preview :is(#slide-20, #slide-23) .treatment-summary.grand .summary-label,
body.print-preview :is(#slide-20, #slide-23) .treatment-summary.grand .summary-values span { background: transparent !important; font-weight: 700 !important;
}

/* Print/PDF: стр. 5/5 — стабилизируем треки колонок и перенос внутри ячеек */
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row-total,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-row-total {
  grid-template-columns: 150px 350px minmax(0, var(--plan-col-w-print)) minmax(0, var(--plan-col-w-print)) minmax(0, var(--plan-col-w-print)) !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-header > div,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-header > div,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-value {
  min-width: 0 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-20 .treatment-summary,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-20 .treatment-summary.grand,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-23 .treatment-summary,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-23 .treatment-summary.grand {
  grid-template-columns: 150px 350px var(--plan-col-w-print) var(--plan-col-w-print) var(--plan-col-w-print) !important;
}
/* Слайд 21 печать/PDF: те же доли сетки, что план 20/23 — дубль селекторов с #presentation-app, иначе перебивает body.presentation-mode-active #presentation-app #slide-21 (две id выигрывают у одной). */
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row-total {
  display: grid !important;
  grid-template-columns: 150px calc(350px + (2 * var(--plan-col-w-print))) var(--plan-col-w-print) !important;
  column-gap: 0 !important;
  gap: 0 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row-total,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row-total {
  display: grid !important;
  grid-template-columns: 150px calc(350px + var(--plan-col-w-print)) var(--plan-col-w-print) var(--plan-col-w-print) !important;
  column-gap: 0 !important;
  gap: 0 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row-total,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row-total {
  display: grid !important;
  grid-template-columns: 150px 350px var(--plan-col-w-print) var(--plan-col-w-print) var(--plan-col-w-print) !important;
  column-gap: 0 !important;
  gap: 0 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-header > div:nth-child(1) { grid-column: 1 / span 2 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-header > div:nth-child(2) { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-header > div:nth-child(3) { grid-column: 4 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-header > div:nth-child(4) { grid-column: 5 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row-total .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-label { grid-column: 1 / span 2 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"] { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"] { grid-column: 4 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"] { grid-column: 5 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-header > div:nth-child(1) { grid-column: 1 / span 2 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-header > div:nth-child(2) { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-header > div:nth-child(3) { grid-column: 4 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row-total .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-label { grid-column: 1 / span 2 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"] { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"] { grid-column: 4 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-header > div:nth-child(1) { grid-column: 1 / span 2 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-header > div:nth-child(2) { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-label { grid-column: 1 / span 2 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"] { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-row-delete {
  display: none !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row-total .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 .cost-calc-row-total .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-row-delete {
  display: none !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row-total,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-row-total {
  column-gap: 0 !important;
  gap: 0 !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-row .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row-total .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-row-total .cost-calc-row-delete {
  display: none !important;
}

/* Slide 21: 3 системы — жёстко фиксируем колонки шапки и данных, чтобы нижние строки не "уезжали". */
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="alternative"] { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="rational"] { grid-column: 4 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="premium"] { grid-column: 5 !important; }

/* Slide 21: 1 система — одна видимая колонка всегда справа (логично как "рекомендуемый"). */
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row-total,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row-total {
  /* Переносим ширину скрытых систем в колонку описания: [период + описание+2скрытые + рекомендуемая справа]. */
  grid-template-columns: 150px calc(350px + (2 * var(--plan-col-w-print))) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row > .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value.highlight-column {
  grid-column: 3 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-self: stretch !important;
  align-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row > .cost-calc-value:not(.highlight-column),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value:not(.highlight-column),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value:not(.highlight-column),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value:not(.highlight-column) {
  display: none !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 :is(#slide-20, #slide-23) .treatment-summary .summary-values,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 :is(#slide-20, #slide-23) .treatment-summary.grand .summary-values {
  grid-column: 3 / -1 !important;
  grid-template-columns: 1fr 1fr 1fr !important;
}
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-summary .summary-label,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-summary.grand .summary-label {
  grid-column: 1 / 3 !important;
}
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-summary .summary-values,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-summary.grand .summary-values {
  grid-column: 3 / -1 !important;
  display: grid !important;
}

/* Slide 21 печать/PDF: ячейки заполняют дорожку сетки целиком — серые столбцы систем совпадают с шапкой, не сужаются под короткую сумму. */
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header > div,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-header > div,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value {
  min-width: 0 !important;
  justify-self: stretch !important;
  box-sizing: border-box !important;
}

/* Final lock (print/PDF): slide-21 column logic mirrors slide-20/23 by selected systems count. */
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row-total,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row-total {
  grid-template-columns: 150px calc(350px + (2 * var(--plan-col-w-print))) var(--plan-col-w-print) !important;
  column-gap: 0 !important;
  gap: 0 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label {
  grid-column: 1 / span 2 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row > .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value.highlight-column {
  grid-column: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row > .cost-calc-value:not(.highlight-column),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value:not(.highlight-column),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value:not(.highlight-column),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value:not(.highlight-column) {
  display: none !important;
}

body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-row-total,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-row-total {
  grid-template-columns: 150px calc(350px + var(--plan-col-w-print)) var(--plan-col-w-print) var(--plan-col-w-print) !important;
  column-gap: 0 !important;
  gap: 0 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label {
  grid-column: 1 / span 2 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="alternative"] {
  grid-column: 3 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="rational"] {
  grid-column: 4 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value[data-plan="premium"] {
  display: none !important;
}

/* printMode part1 (продолжение файла style_printMode_part1): вставлять сразу после style_printMode_part1_part1, порядок важен. */
/* Print/PDF tune-up:
   1) выравниваем стили таблиц slide-20/slide-23;
   2) делаем "Рекомендуем" черным;
   3) чуть уменьшаем шрифт/интервалы;
   4) переводим slide-21 (Расчетная стоимость) в ч/б. */
body.print-preview #slide-20 .treatment-header,
body.print-preview #slide-20 .treatment-row,
body.print-preview #slide-23 .treatment-header,
body.print-preview #slide-23 .treatment-row {
  row-gap: 0 !important;
}
body.print-preview #slide-20 .treatment-header > div,
body.print-preview #slide-20 .treatment-row .treatment-period,
body.print-preview #slide-20 .treatment-row .treatment-services-input,
body.print-preview #slide-20 .treatment-row .treatment-value,
body.print-preview #slide-23 .treatment-header > div,
body.print-preview #slide-23 .treatment-row .treatment-period,
body.print-preview #slide-23 .treatment-row .treatment-services-input,
body.print-preview #slide-23 .treatment-row .treatment-value {
  font-size: 0.88em !important;
  line-height: 1.25 !important;
}
body.print-preview #slide-20 .treatment-row .treatment-services-input,
body.print-preview #slide-23 .treatment-row .treatment-services-input {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
body.print-preview #slide-20 .treatment-table .treatment-header .highlight-column,
body.print-preview #slide-23 .treatment-table .treatment-header .highlight-column {
  background: #f2f2f2 !important;
  color: #000000 !important;
  border-color: #000000 !important;
}
body.print-preview #slide-20 .treatment-table .treatment-header .highlight-column::after,
body.print-preview #slide-23 .treatment-table .treatment-header .highlight-column::after {
  color: #000000 !important;
}
body.print-preview #slide-23 .treatment-period,
body.print-preview #slide-23 .treatment-value {
  height: auto !important;
  align-self: stretch !important;
}
body.print-preview #slide-23 .highlight-column {
  background: #f3f3f3 !important;
  border: none !important;
  font-weight: 700 !important;
}
body.print-preview #slide-23 .treatment-summary {
  border: none !important;
  border-top: 2px solid #000000 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 150px 350px 1fr 1fr 1fr !important;
  gap: 0 !important;
}
body.print-preview #slide-23 .treatment-summary .summary-label {
  grid-column: 1 / 3 !important;
  padding: 12px 14px !important;
  border-right: none !important;
  background: transparent !important;
  font-weight: 600 !important;
}
body.print-preview #slide-23 .treatment-summary .summary-values {
  grid-column: 3 / -1 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 0 !important;
  border-right: none !important;
}
body.print-preview #slide-23 .treatment-summary .summary-values span {
  padding: 12px 14px !important;
  border-right: none !important;
  background: transparent !important;
  font-weight: 600 !important;
}
body.print-preview #slide-23 .treatment-summary .summary-values span:last-child {
  border-right: none !important;
}
body.print-preview #slide-23 .treatment-summary.grand {
  border-top: none !important;
  background: transparent !important;
}
body.print-preview #slide-23 .treatment-summary.grand .summary-label,
body.print-preview #slide-23 .treatment-summary.grand .summary-values span {
  background: transparent !important;
  font-weight: 700 !important;
}

body.print-preview #slide-21 .cost-calc-header .highlight-column,
body.print-preview #slide-21 .cost-calc-row .cost-calc-value.highlight-column,
body.print-preview #slide-21 .cost-calc-row-total .cost-calc-value.highlight-column {
  background: #f2f2f2 !important;
  color: #000000 !important;
  border-color: #000000 !important;
}
body.print-preview #slide-21 .cost-calc-header .highlight-column::after {
  color: #000000 !important;
}
body.print-preview #slide-21 .cost-calc-header div,
body.print-preview #slide-21 .cost-calc-label,
body.print-preview #slide-21 .cost-calc-value {
  font-size: 0.84em !important;
  line-height: 1.2 !important;
}

/* ===== Final professional print/PDF overrides =====
   Цель: единый вид слайдов 17/18 (id 20/23) и ч/б для "Расчетная стоимость" (id 21). */

/* Слайды 17/18: таблицы должны быть идентичны, без обрезки текста */
body.print-preview #slide-20 .treatment-table,
body.print-preview #slide-23 .treatment-table {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.print-preview #slide-20 .treatment-header,
body.print-preview #slide-20 .treatment-row,
body.print-preview #slide-23 .treatment-header,
body.print-preview #slide-23 .treatment-row {
  align-items: stretch !important;
  min-height: 0 !important;
  height: auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  column-gap: 0 !important;
}
body.print-preview #slide-20 .treatment-header,
body.print-preview #slide-23 .treatment-header {
  position: relative !important;
  border-bottom: 1px solid #d4d4d4 !important;
}
body.print-preview #slide-20 .treatment-header > div,
body.print-preview #slide-23 .treatment-header > div {
  border-bottom: none !important;
}
body.print-preview #slide-20 .treatment-header::after,
body.print-preview #slide-23 .treatment-header::after {
  content: none !important;
  display: none !important;
}

/* ===== FINAL PARITY: slide-20 == slide-23 (print/PDF) ===== */
body.print-preview #slide-20 .treatment-table,
body.print-preview #slide-23 .treatment-table {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.print-preview #slide-20 .treatment-header,
body.print-preview #slide-23 .treatment-header {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #d4d4d4 !important;
}
body.print-preview #slide-20 .treatment-header > div,
body.print-preview #slide-23 .treatment-header > div {
  border: none !important;
  border-bottom: none !important;
  font-size: 0.8em !important;
  line-height: 1.2 !important;
  padding: 8px 10px !important;
  background: transparent !important;
}
body.print-preview #slide-20 .treatment-row,
body.print-preview #slide-23 .treatment-row {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #d4d4d4 !important;
  min-height: 0 !important;
  height: auto !important;
  align-items: stretch !important;
}
body.print-preview #slide-20 .treatment-row:last-child,
body.print-preview #slide-23 .treatment-row:last-child {
  border-bottom: none !important;
}
body.print-preview #slide-20 .treatment-row .treatment-period,
body.print-preview #slide-20 .treatment-row .treatment-value,
body.print-preview #slide-23 .treatment-row .treatment-period,
body.print-preview #slide-23 .treatment-row .treatment-value {
  font-size: 0.8em !important;
  line-height: 1.22 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 6px 10px !important;
}
body.print-preview #slide-20 .treatment-row .treatment-services-input,
body.print-preview #slide-23 .treatment-row .treatment-services-input {
  font-size: 0.8em !important;
  line-height: 1.22 !important;
  font-weight: 300 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  padding: 6px 18px 8px 18px !important;
}
body.print-preview #slide-20 .highlight-column,
body.print-preview #slide-20 .treatment-header .highlight-column,
body.print-preview #slide-20 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-20 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-20 .treatment-summary.grand .summary-values span.highlight-column,
body.print-preview #slide-23 .highlight-column,
body.print-preview #slide-23 .treatment-header .highlight-column,
body.print-preview #slide-23 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-23 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-23 .treatment-summary.grand .summary-values span.highlight-column {
  background: #f3f3f3 !important;
  color: #000000 !important;
  border: none !important;
}
body.print-preview #slide-20 .treatment-summary,
body.print-preview #slide-20 .treatment-summary.grand,
body.print-preview #slide-23 .treatment-summary,
body.print-preview #slide-23 .treatment-summary.grand {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
body.print-preview #slide-20 .treatment-summary + .treatment-summary,
body.print-preview #slide-20 .treatment-rows + .treatment-summary,
body.print-preview #slide-23 .treatment-summary + .treatment-summary,
body.print-preview #slide-23 .treatment-rows + .treatment-summary {
  border-top: 1px solid #d4d4d4 !important;
}

/* Hard reset: никаких "рамок ячеек" и синих/голубых фонов.
   Слайды 20 и 23 должны быть визуально идентичны. */
body.print-preview #slide-20 .treatment-table *,
body.print-preview #slide-23 .treatment-table * {
  box-shadow: none !important;
  outline: none !important;
}
body.print-preview #slide-20 .treatment-header > div,
body.print-preview #slide-20 .treatment-row > div,
body.print-preview #slide-20 .treatment-row .treatment-services,
body.print-preview #slide-20 .treatment-row .treatment-services-input,
body.print-preview #slide-20 .treatment-summary .summary-label,
body.print-preview #slide-20 .treatment-summary .summary-values,
body.print-preview #slide-20 .treatment-summary .summary-values span,
body.print-preview #slide-23 .treatment-header > div,
body.print-preview #slide-23 .treatment-row > div,
body.print-preview #slide-23 .treatment-row .treatment-services,
body.print-preview #slide-23 .treatment-row .treatment-services-input,
body.print-preview #slide-23 .treatment-summary .summary-label,
body.print-preview #slide-23 .treatment-summary .summary-values,
body.print-preview #slide-23 .treatment-summary .summary-values span {
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  background-color: transparent !important;
}
body.print-preview #slide-20 .treatment-header .highlight-column,
body.print-preview #slide-20 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-20 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-20 .treatment-summary.grand .summary-values span.highlight-column,
body.print-preview #slide-23 .treatment-header .highlight-column,
body.print-preview #slide-23 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-23 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-23 .treatment-summary.grand .summary-values span.highlight-column {
  background-color: #f3f3f3 !important;
  border: none !important;
}
body.print-preview #slide-20 .treatment-row,
body.print-preview #slide-23 .treatment-row {
  border-bottom: 1px solid #d4d4d4 !important;
}
body.print-preview #slide-20 .treatment-row:last-child,
body.print-preview #slide-23 .treatment-row:last-child {
  border-bottom: none !important;
}
body.print-preview #slide-20 .treatment-header > div,
body.print-preview #slide-23 .treatment-header > div {
  font-size: 0.8em !important;
  line-height: 1.2 !important;
}
body.print-preview #slide-20 .treatment-row .treatment-period,
body.print-preview #slide-20 .treatment-row .treatment-value,
body.print-preview #slide-23 .treatment-row .treatment-period,
body.print-preview #slide-23 .treatment-row .treatment-value {
  min-height: 0 !important;
  height: auto !important;
  align-self: stretch !important;
  font-size: 0.8em !important;
  line-height: 1.22 !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
body.print-preview #slide-20 .treatment-row .treatment-services,
body.print-preview #slide-23 .treatment-row .treatment-services {
  min-height: 0 !important;
  height: auto !important;
}
body.print-preview #slide-20 .treatment-row .treatment-services-input,
body.print-preview #slide-23 .treatment-row .treatment-services-input {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  resize: none !important;
  font-size: 0.8em !important;
  line-height: 1.22 !important;
  font-weight: 300 !important;
  padding-top: 6px !important;
  padding-bottom: 8px !important;
  padding-right: 18px !important;
}

/* "Рекомендуем" только как выделенный столбец, подпись черная */
body.print-preview #slide-20 .treatment-table .treatment-header .highlight-column,
body.print-preview #slide-23 .treatment-table .treatment-header .highlight-column {
  background: #f3f3f3 !important;
  color: #000000 !important;
}
body.print-preview #slide-20 .treatment-table .treatment-header .highlight-column::after,
body.print-preview #slide-23 .treatment-table .treatment-header .highlight-column::after {
  color: #000000 !important;
}

/* У summary-строк убираем фон плашек, оставляем только рекомендуемый столбец */
body.print-preview #slide-20 .treatment-summary,
body.print-preview #slide-20 .treatment-summary .summary-label,
body.print-preview #slide-20 .treatment-summary .summary-values,
body.print-preview #slide-20 .treatment-summary .summary-values span,
body.print-preview #slide-20 .treatment-summary.grand,
body.print-preview #slide-20 .treatment-summary.grand .summary-label,
body.print-preview #slide-20 .treatment-summary.grand .summary-values span,
body.print-preview #slide-23 .treatment-summary,
body.print-preview #slide-23 .treatment-summary .summary-label,
body.print-preview #slide-23 .treatment-summary .summary-values,
body.print-preview #slide-23 .treatment-summary .summary-values span,
body.print-preview #slide-23 .treatment-summary.grand,
body.print-preview #slide-23 .treatment-summary.grand .summary-label,
body.print-preview #slide-23 .treatment-summary.grand .summary-values span {
  background: transparent !important;
}
body.print-preview #slide-20 .treatment-summary,
body.print-preview #slide-20 .treatment-summary.grand,
body.print-preview #slide-23 .treatment-summary,
body.print-preview #slide-23 .treatment-summary.grand {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.print-preview #slide-20 .treatment-summary + .treatment-summary,
body.print-preview #slide-23 .treatment-summary + .treatment-summary {
  border-top: 1px solid #d4d4d4 !important;
}
/* Линия перед первой итоговой строкой ("Итоговая стоимость") */
body.print-preview #slide-20 .treatment-rows + .treatment-summary,
body.print-preview #slide-23 .treatment-rows + .treatment-summary {
  border-top: 1px solid #d4d4d4 !important;
}

/* Единый цвет выделения рекомендованного столбца во всех таблицах */
body.print-preview #slide-20 .treatment-header .highlight-column,
body.print-preview #slide-20 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-20 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-20 .treatment-summary.grand .summary-values span.highlight-column,
body.print-preview #slide-23 .treatment-header .highlight-column,
body.print-preview #slide-23 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-23 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-23 .treatment-summary.grand .summary-values span.highlight-column,
body.print-preview #slide-21 .cost-calc-header .highlight-column,
body.print-preview #slide-21 .cost-calc-row .cost-calc-value.highlight-column,
body.print-preview #slide-21 .cost-calc-row-total .cost-calc-value.highlight-column {
  background: #f3f3f3 !important;
  background-color: #f3f3f3 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #000000 !important;
}
body.print-preview #slide-20 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-20 .treatment-summary.grand .summary-values span.highlight-column,
body.print-preview #slide-23 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-23 .treatment-summary.grand .summary-values span.highlight-column {
  background: #f3f3f3 !important;
  color: #000000 !important;
}

/* Слайд 21: ч/б, без голубого и синего, серый только у рекомендуемого столбца */
body.print-preview #slide-21 .cost-calc-header,
body.print-preview #slide-21 .cost-calc-row,
body.print-preview #slide-21 .cost-calc-row-total {
  border-color: #bfbfbf !important;
}
body.print-preview #slide-21 .cost-calc-row {
  border-top: 0.5px solid #d4d4d4 !important;
  background: transparent !important;
}
body.print-preview #slide-21 .cost-calc-row-total {
  border-top: 1px solid #bfbfbf !important;
  background: transparent !important;
}
body.print-preview #slide-21 .cost-calc-header div {
  color: #000000 !important;
  font-size: 0.8em !important;
  line-height: 1.18 !important;
}
body.print-preview #slide-21 .cost-calc-label,
body.print-preview #slide-21 .cost-calc-value {
  font-size: 0.8em !important;
  line-height: 1.18 !important;
}
body.print-preview #slide-21 .cost-calc-header .highlight-column,
body.print-preview #slide-21 .cost-calc-row .cost-calc-value.highlight-column,
body.print-preview #slide-21 .cost-calc-row-total .cost-calc-value.highlight-column {
  background: #f3f3f3 !important;
  color: #000000 !important;
}
body.print-preview #slide-21 .cost-calc-header .highlight-column::after {
  color: #000000 !important;
}

/* ===== Force override for legacy print conflicts (black frames / blue fills) ===== */
body.print-preview #slide-18#slide-18 .treatment-row .treatment-value,
body.print-preview #slide-23#slide-23 .treatment-row .treatment-value,
body.print-preview #slide-20#slide-20 .treatment-row .treatment-value {
  border: none !important;
  border-right: none !important;
  box-shadow: none !important;
  outline: none !important;
}
body.print-preview #slide-18#slide-18 .treatment-row .treatment-period,
body.print-preview #slide-23#slide-23 .treatment-row .treatment-period,
body.print-preview #slide-20#slide-20 .treatment-row .treatment-period,
body.print-preview #slide-18#slide-18 .treatment-row .treatment-services,
body.print-preview #slide-23#slide-23 .treatment-row .treatment-services,
body.print-preview #slide-20#slide-20 .treatment-row .treatment-services,
body.print-preview #slide-18#slide-18 .treatment-row .treatment-services-input,
body.print-preview #slide-23#slide-23 .treatment-row .treatment-services-input,
body.print-preview #slide-20#slide-20 .treatment-row .treatment-services-input {
  border: none !important;
  border-right: none !important;
  box-shadow: none !important;
  outline: none !important;
}
body.print-preview #slide-18#slide-18 .treatment-header div,
body.print-preview #slide-23#slide-23 .treatment-header div,
body.print-preview #slide-20#slide-20 .treatment-header div,
body.print-preview #slide-18#slide-18 .treatment-summary .summary-label,
body.print-preview #slide-18#slide-18 .treatment-summary .summary-values span,
body.print-preview #slide-23#slide-23 .treatment-summary .summary-label,
body.print-preview #slide-23#slide-23 .treatment-summary .summary-values span,
body.print-preview #slide-20#slide-20 .treatment-summary .summary-label,
body.print-preview #slide-20#slide-20 .treatment-summary .summary-values span {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
body.print-preview #slide-18#slide-18 .treatment-header > div:not(.highlight-column),
body.print-preview #slide-23#slide-23 .treatment-header > div:not(.highlight-column),
body.print-preview #slide-20#slide-20 .treatment-header > div:not(.highlight-column) {
  background: transparent !important;
  color: #000000 !important;
}
body.print-preview #slide-18#slide-18 .highlight-column,
body.print-preview #slide-23#slide-23 .highlight-column,
body.print-preview #slide-20#slide-20 .highlight-column,
body.print-preview #slide-21#slide-21 .cost-calc-header .highlight-column,
body.print-preview #slide-21#slide-21 .cost-calc-row .cost-calc-value.highlight-column,
body.print-preview #slide-21#slide-21 .cost-calc-row-total .cost-calc-value.highlight-column {
  background: #f3f3f3 !important;
  color: #000000 !important;
  border: none !important;
}
body.print-preview #slide-18#slide-18 .treatment-summary + .treatment-summary,
body.print-preview #slide-18#slide-18 .treatment-rows + .treatment-summary,
body.print-preview #slide-23#slide-23 .treatment-summary + .treatment-summary,
body.print-preview #slide-23#slide-23 .treatment-rows + .treatment-summary,
body.print-preview #slide-20#slide-20 .treatment-summary + .treatment-summary,
body.print-preview #slide-20#slide-20 .treatment-rows + .treatment-summary {
  border-top: 1px solid #d4d4d4 !important;
}
body.print-preview #slide-21#slide-21 .cost-calc-header .highlight-column::after {
  color: #000000 !important;
}
/* Final lock: no blue header, highlighted recommended column, bold system headers, no badge under "Рекомендуем" */
body.print-preview #slide-18#slide-18 .treatment-header > div,
body.print-preview #slide-23#slide-23 .treatment-header > div,
body.print-preview #slide-20#slide-20 .treatment-header > div {
  background: transparent !important;
  color: #000000 !important;
  font-weight: 700 !important;
}
body.print-preview #slide-18#slide-18 .treatment-header > .highlight-column,
body.print-preview #slide-23#slide-23 .treatment-header > .highlight-column,
body.print-preview #slide-20#slide-20 .treatment-header > .highlight-column,
body.print-preview #slide-18#slide-18 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-23#slide-23 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-20#slide-20 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-18#slide-18 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-23#slide-23 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-20#slide-20 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-18#slide-18 .treatment-summary.grand .summary-values span.highlight-column,
body.print-preview #slide-23#slide-23 .treatment-summary.grand .summary-values span.highlight-column,
body.print-preview #slide-20#slide-20 .treatment-summary.grand .summary-values span.highlight-column {
  background: #f3f3f3 !important;
  color: #000000 !important;
  font-weight: 700 !important;
}
body.print-preview #slide-18#slide-18 .treatment-header > .highlight-column::after,
body.pdf-capturing #slide-18#slide-18 .treatment-header > .highlight-column::after {
  display: none !important;
  content: none !important;
}
/* Final lock: clean separator under header, no blue line/glue effect */
body.print-preview #slide-18#slide-18 .treatment-header,
body.print-preview #slide-23#slide-23 .treatment-header,
body.print-preview #slide-20#slide-20 .treatment-header {
  border-bottom: 1px solid #d4d4d4 !important;
  box-shadow: none !important;
  background: transparent !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body.pdf-capturing #slide-18#slide-18 .treatment-header,
body.pdf-capturing #slide-23#slide-23 .treatment-header,
body.pdf-capturing #slide-20#slide-20 .treatment-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body.print-preview #slide-18#slide-18 .treatment-header > div,
body.print-preview #slide-23#slide-23 .treatment-header > div,
body.print-preview #slide-20#slide-20 .treatment-header > div {
  font-weight: 700 !important;
  align-items: flex-start !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
body.print-preview #slide-18#slide-18 .treatment-table,
body.print-preview #slide-23#slide-23 .treatment-table,
body.print-preview #slide-20#slide-20 .treatment-table {
  margin-top: 0 !important;
}
body.print-preview #slide-23#slide-23 .slide-content > h2.treatment-plan-title {
  margin-bottom: 12px !important;
}
body.print-preview #slide-18#slide-18 .treatment-header::before,
body.print-preview #slide-18#slide-18 .treatment-header::after,
body.print-preview #slide-23#slide-23 .treatment-header::before,
body.print-preview #slide-23#slide-23 .treatment-header::after,
body.print-preview #slide-20#slide-20 .treatment-header::before,
body.print-preview #slide-20#slide-20 .treatment-header::after {
  display: none !important;
  content: none !important;
}
body.print-preview #slide-18#slide-18 .treatment-row:first-child,
body.print-preview #slide-23#slide-23 .treatment-row:first-child,
body.print-preview #slide-20#slide-20 .treatment-row:first-child {
  border-top: none !important;
}
body.pdf-capturing #slide-18#slide-18 .treatment-row:first-child,
body.pdf-capturing #slide-23#slide-23 .treatment-row:first-child,
body.pdf-capturing #slide-20#slide-20 .treatment-row:first-child {
  border-top: none !important;
}
/* Final parity lock: slide-23 exactly like slide-20 */
body.print-preview #slide-20#slide-20 .treatment-header > div,
body.print-preview #slide-23#slide-23 .treatment-header > div {
  font-weight: 700 !important;
  font-family: inherit !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 8px 10px !important;
}
body.print-preview #slide-20#slide-20 .treatment-header > div,
body.print-preview #slide-20#slide-20 .treatment-header > div *,
body.print-preview #slide-23#slide-23 .treatment-header > div,
body.print-preview #slide-23#slide-23 .treatment-header > div * {
  font-weight: 700 !important;
}
body.print-preview #slide-20#slide-20 .treatment-header > div:nth-child(1),
body.print-preview #slide-20#slide-20 .treatment-header > div:nth-child(2),
body.print-preview #slide-23#slide-23 .treatment-header > div:nth-child(1),
body.print-preview #slide-23#slide-23 .treatment-header > div:nth-child(2) {
  justify-content: flex-start !important;
  text-align: left !important;
}
body.print-preview #slide-20#slide-20 .treatment-header > .highlight-column,
body.print-preview #slide-23#slide-23 .treatment-header > .highlight-column {
  background: #f3f3f3 !important;
  background-color: #f3f3f3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-weight: 700 !important;
}
body.print-preview #slide-20#slide-20 .treatment-header > .highlight-column *,
body.print-preview #slide-23#slide-23 .treatment-header > .highlight-column * {
  font-weight: 700 !important;
}
/* Absolute typography parity in header: slide-23 must match slide-20 exactly */
body.print-preview #slide-20#slide-20 .treatment-header > div,
body.print-preview #slide-23#slide-23 .treatment-header > div {
  font-size: 0.8em !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
body.print-preview #slide-20#slide-20 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-23#slide-23 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-20#slide-20 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-23#slide-23 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-20#slide-20 .treatment-summary.grand .summary-values span.highlight-column,
body.print-preview #slide-23#slide-23 .treatment-summary.grand .summary-values span.highlight-column {
  background: #f3f3f3 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body.print-preview #slide-20#slide-20 .slide-content > h2.treatment-plan-title {
  margin-bottom: 12px !important;
}
body.print-preview #slide-23#slide-23 .slide-content > h2.treatment-plan-title {
  margin-bottom: 12px !important;
}
body.print-preview #slide-20#slide-20 .treatment-table {
  margin-top: 0 !important;
}
body.print-preview #slide-23#slide-23 .treatment-table {
  margin-top: 0 !important;
}
/* Absolute final PDF lock: recommended header fill + uniform text weight */
body.print-preview #slide-20#slide-20 .treatment-header > .highlight-column,
body.print-preview #slide-23#slide-23 .treatment-header > .highlight-column,
body.pdf-capturing #slide-20#slide-20 .treatment-header > .highlight-column,
body.pdf-capturing #slide-23#slide-23 .treatment-header > .highlight-column {
  background: #f3f3f3 !important;
  background-color: #f3f3f3 !important;
  color: #000000 !important;
}
body.print-preview #slide-20#slide-20 .treatment-header > .highlight-column *,
body.print-preview #slide-23#slide-23 .treatment-header > .highlight-column *,
body.pdf-capturing #slide-20#slide-20 .treatment-header > .highlight-column *,
body.pdf-capturing #slide-23#slide-23 .treatment-header > .highlight-column * {
  font-weight: 700 !important;
  color: #000000 !important;
}
body.print-preview #slide-20#slide-20 .treatment-header > div,
body.print-preview #slide-20#slide-20 .treatment-header > div *,
body.print-preview #slide-23#slide-23 .treatment-header > div,
body.print-preview #slide-23#slide-23 .treatment-header > div *,
body.pdf-capturing #slide-20#slide-20 .treatment-header > div,
body.pdf-capturing #slide-20#slide-20 .treatment-header > div *,
body.pdf-capturing #slide-23#slide-23 .treatment-header > div,
body.pdf-capturing #slide-23#slide-23 .treatment-header > div * {
  font-weight: 700 !important;
  color: #000000 !important;
}
body.print-preview #slide-20#slide-20 .treatment-row .treatment-services-input,
body.print-preview #slide-20#slide-20 .treatment-row .treatment-value,
body.print-preview #slide-23#slide-23 .treatment-row .treatment-services-input,
body.print-preview #slide-23#slide-23 .treatment-row .treatment-value,
body.pdf-capturing #slide-20#slide-20 .treatment-row .treatment-services-input,
body.pdf-capturing #slide-20#slide-20 .treatment-row .treatment-value,
body.pdf-capturing #slide-23#slide-23 .treatment-row .treatment-services-input,
body.pdf-capturing #slide-23#slide-23 .treatment-row .treatment-value {
  font-weight: 400 !important;
  color: #000000 !important;
}

/* FINAL 1:1 LOCK: slide-20 and slide-23 must be identical in print/PDF */
body.print-preview :is(#slide-20, #slide-23) .slide-content > h2.treatment-plan-title,
body.pdf-capturing :is(#slide-20, #slide-23) .slide-content > h2.treatment-plan-title {
  margin-bottom: 12px !important;
}
body.print-preview :is(#slide-20, #slide-23) .treatment-table,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-table {
  margin-top: 0 !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}
/* Fallback сетки, если на body нет классов implant-pick-count (1/2/3 — см. блоки выше) */
body.print-preview:not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) :is(#slide-20, #slide-23) .treatment-header,
body.print-preview:not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) :is(#slide-20, #slide-23) .treatment-row,
body.pdf-capturing:not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) :is(#slide-20, #slide-23) .treatment-header,
body.pdf-capturing:not(.implant-pick-count-1):not(.implant-pick-count-2):not(.implant-pick-count-3) :is(#slide-20, #slide-23) .treatment-row {
  grid-template-columns: 150px 350px 1fr 1fr 1fr !important;
}
body.print-preview :is(#slide-20, #slide-23) .treatment-header,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-header,
body.print-preview :is(#slide-20, #slide-23) .treatment-row,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-row {
  gap: 0 !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
}
body.print-preview :is(#slide-20, #slide-23) .treatment-header > div,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-header > div {
  font-size: 0.8em !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #000000 !important;
  padding: 8px 10px !important;
  background: transparent !important;
  min-height: 0 !important;
}
body.print-preview :is(#slide-20, #slide-23) .treatment-header > div:nth-child(1),
body.print-preview :is(#slide-20, #slide-23) .treatment-header > div:nth-child(2),
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-header > div:nth-child(1),
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-header > div:nth-child(2) {
  justify-content: flex-start !important;
  text-align: left !important;
}
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-header > div:nth-child(2) {
  /* PDF: правый защитный отступ в колонке "Описание этапа" */
  padding-right: 26px !important;
}
body.print-preview :is(#slide-20, #slide-23) .treatment-header > .highlight-column,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-header > .highlight-column,
body.print-preview :is(#slide-20, #slide-23) .treatment-row .treatment-value.highlight-column,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-row .treatment-value.highlight-column,
body.print-preview :is(#slide-20, #slide-23) .treatment-summary .summary-values span.highlight-column,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-summary .summary-values span.highlight-column,
body.print-preview :is(#slide-20, #slide-23) .treatment-summary.grand .summary-values span.highlight-column,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-summary.grand .summary-values span.highlight-column {
  background: #f3f3f3 !important;
  background-color: #f3f3f3 !important;
  color: #000000 !important;
  font-weight: 700 !important;
}
body.print-preview :is(#slide-20, #slide-23) .treatment-header > .highlight-column::after,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-header > .highlight-column::after {
  display: block !important;
  content: 'Рекомендуем' !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 4px 0 0 !important;
  margin: 0 !important;
  width: 100% !important;
  text-align: center !important;
  color: #000000 !important;
  font-size: 0.62em !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}
body.print-preview :is(#slide-20, #slide-23) .treatment-row .treatment-period,
body.print-preview :is(#slide-20, #slide-23) .treatment-row .treatment-value,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-row .treatment-period,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-row .treatment-value {
  font-size: 0.8em !important;
  line-height: 1.22 !important;
  font-weight: 400 !important;
  color: #000000 !important;
  padding: 6px 10px !important;
  min-height: 0 !important;
  height: auto !important;
}
body.print-preview :is(#slide-20, #slide-23) .treatment-row .treatment-services-input,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-row .treatment-services-input {
  font-size: 0.8em !important;
  line-height: 1.22 !important;
  font-weight: 400 !important;
  color: #000000 !important;
  padding: 6px 18px 8px 18px !important;
}
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-row .treatment-services-input {
  /* PDF: увеличиваем только правый отступ, чтобы текст не прилипал к соседнему "Рекомендуемому" столбцу */
  padding-right: 26px !important;
}
body.print-preview :is(#slide-20, #slide-23) .treatment-summary,
body.print-preview :is(#slide-20, #slide-23) .treatment-summary.grand,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-summary,
body.pdf-capturing :is(#slide-20, #slide-23) .treatment-summary.grand {
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-summary,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-summary.grand {
  grid-template-columns: 150px calc(350px + (2 * var(--plan-col-w-print))) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-summary,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-summary.grand {
  grid-template-columns: 150px calc(350px + var(--plan-col-w-print)) var(--plan-col-w-print) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-summary .summary-values,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-summary.grand .summary-values {
  grid-template-columns: 1fr !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-summary .summary-values,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-summary.grand .summary-values {
  grid-template-columns: 1fr 1fr !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-row .treatment-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-row .treatment-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-summary .summary-values > span:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-summary .summary-values > span:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-summary.grand .summary-values > span:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-summary.grand .summary-values > span:nth-child(3) {
  display: none !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-row .treatment-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-summary .summary-values > span:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-summary.grand .summary-values > span:nth-child(3) {
  display: none !important;
}

/* Область действия: только предпросмотр печати/PDF — у селекторов всегда есть body.print-preview или body.pdf-capturing.
   Обычный экран и body.presentation-mode-active без этих классов сюда не попадают; не дублируйте эти правила в «основные» стили. */
/* FINAL FORCE OVERRIDE (loaded last in file order logic): remove legacy black/blue styles in print preview/PDF */
body.print-preview #slide-18 .treatment-table,
body.print-preview #slide-20 .treatment-table,
body.print-preview #slide-23 .treatment-table {
border: none !important;
background: transparent !important;
box-shadow: none !important;
}
body.pdf-capturing #slide-18 .treatment-table,
body.pdf-capturing #slide-20 .treatment-table,
body.pdf-capturing #slide-23 .treatment-table {
border: none !important;
background: transparent !important;
box-shadow: none !important;
}
body.print-preview #slide-18 .treatment-header > div,
body.print-preview #slide-18 .treatment-row > div,
body.print-preview #slide-18 .treatment-summary .summary-label,
body.print-preview #slide-18 .treatment-summary .summary-values,
body.print-preview #slide-18 .treatment-summary .summary-values span,
body.print-preview #slide-20 .treatment-header > div,
body.print-preview #slide-20 .treatment-row > div,
body.print-preview #slide-20 .treatment-summary .summary-label,
body.print-preview #slide-20 .treatment-summary .summary-values,
body.print-preview #slide-20 .treatment-summary .summary-values span,
body.print-preview #slide-23 .treatment-header > div,
body.print-preview #slide-23 .treatment-row > div,
body.print-preview #slide-23 .treatment-summary .summary-label,
body.print-preview #slide-23 .treatment-summary .summary-values,
body.print-preview #slide-23 .treatment-summary .summary-values span {
border: none !important;
box-shadow: none !important;
outline: none !important;
background: transparent !important;
}
body.pdf-capturing #slide-18 .treatment-header > div,
body.pdf-capturing #slide-18 .treatment-row > div,
body.pdf-capturing #slide-18 .treatment-summary .summary-label,
body.pdf-capturing #slide-18 .treatment-summary .summary-values,
body.pdf-capturing #slide-18 .treatment-summary .summary-values span,
body.pdf-capturing #slide-20 .treatment-header > div,
body.pdf-capturing #slide-20 .treatment-row > div,
body.pdf-capturing #slide-20 .treatment-summary .summary-label,
body.pdf-capturing #slide-20 .treatment-summary .summary-values,
body.pdf-capturing #slide-20 .treatment-summary .summary-values span,
body.pdf-capturing #slide-23 .treatment-header > div,
body.pdf-capturing #slide-23 .treatment-row > div,
body.pdf-capturing #slide-23 .treatment-summary .summary-label,
body.pdf-capturing #slide-23 .treatment-summary .summary-values,
body.pdf-capturing #slide-23 .treatment-summary .summary-values span {
border: none !important;
box-shadow: none !important;
outline: none !important;
background: transparent !important;
}
body.print-preview #slide-18 .treatment-header .highlight-column,
body.print-preview #slide-18 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-18 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-18 .treatment-summary.grand .summary-values span.highlight-column,
body.print-preview #slide-20 .treatment-header .highlight-column,
body.print-preview #slide-20 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-20 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-20 .treatment-summary.grand .summary-values span.highlight-column,
body.print-preview #slide-23 .treatment-header .highlight-column,
body.print-preview #slide-23 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-23 .treatment-summary .summary-values span.highlight-column,
body.print-preview #slide-23 .treatment-summary.grand .summary-values span.highlight-column,
body.print-preview #slide-21 .cost-calc-header .highlight-column,
body.print-preview #slide-21 .cost-calc-row .cost-calc-value.highlight-column,
body.print-preview #slide-21 .cost-calc-row-total .cost-calc-value.highlight-column {
background: #f3f3f3 !important;
color: #000000 !important;
border: none !important;
}
body.pdf-capturing #slide-20 .treatment-header .highlight-column,
body.pdf-capturing #slide-20 .treatment-row .treatment-value.highlight-column,
body.pdf-capturing #slide-20 .treatment-summary .summary-values span.highlight-column,
body.pdf-capturing #slide-20 .treatment-summary.grand .summary-values span.highlight-column,
body.pdf-capturing #slide-23 .treatment-header .highlight-column,
body.pdf-capturing #slide-23 .treatment-row .treatment-value.highlight-column,
body.pdf-capturing #slide-23 .treatment-summary .summary-values span.highlight-column,
body.pdf-capturing #slide-23 .treatment-summary.grand .summary-values span.highlight-column {
background: #f3f3f3 !important;
color: #000000 !important;
border: none !important;
}
body.print-preview #slide-21 .cost-calc-header .highlight-column::after {
color: #000000 !important;
}
body.print-preview #slide-21 .cost-calc-header,
body.pdf-capturing #slide-21 .cost-calc-header {
background: #ffffff !important;
background-image: none !important;
}
body.print-preview #slide-21 .cost-calc-header > div:not(.highlight-column),
body.pdf-capturing #slide-21 .cost-calc-header > div:not(.highlight-column) {
background: #ffffff !important;
background-image: none !important;
color: #000000 !important;
box-shadow: none !important;
border: none !important;
}
body.print-preview #slide-21 .cost-calc-row .cost-calc-value.highlight-column,
body.print-preview #slide-21 .cost-calc-row-total .cost-calc-value.highlight-column,
body.pdf-capturing #slide-21 .cost-calc-row .cost-calc-value.highlight-column,
body.pdf-capturing #slide-21 .cost-calc-row-total .cost-calc-value.highlight-column {
border-top: none !important;
position: relative !important;
background-color: #f3f3f3 !important;
background-image: none !important;
box-shadow: none !important;
}
body.print-preview #slide-21 .cost-calc-row .cost-calc-value.highlight-column::before,
body.print-preview #slide-21 .cost-calc-row-total .cost-calc-value.highlight-column::before,
body.pdf-capturing #slide-21 .cost-calc-row .cost-calc-value.highlight-column::before,
body.pdf-capturing #slide-21 .cost-calc-row-total .cost-calc-value.highlight-column::before {
display: none !important;
content: none !important;
}
/* Slide 21: таблица вместо grid (PDF + предпросмотр) — линии сетки, «Рекомендуем» только в шапке по центру, страна как на плане 20/23 */
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-pdf-fallback-table,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-pdf-fallback-table {
border-collapse: collapse !important;
width: 100% !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-pdf-fallback-table td.cost-calc-pdf-td,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-pdf-fallback-table td.cost-calc-pdf-td {
border: 1px solid #e2e8f0 !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-pdf-fallback-table tbody tr.cost-calc-pdf-tr-total td,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-pdf-fallback-table tbody tr.cost-calc-pdf-tr-total td {
border-top: 2px solid #cbd5e1 !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-pdf-fallback-table tbody tr:first-child td .highlight-column,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-pdf-fallback-table tbody tr:first-child td .highlight-column {
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
text-align: center !important;
width: 100% !important;
box-sizing: border-box !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-pdf-fallback-table tbody tr:first-child td .highlight-column::after,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-pdf-fallback-table tbody tr:first-child td .highlight-column::after {
display: block !important;
content: 'Рекомендуем' !important;
font-size: 0.6em !important;
font-weight: 700 !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
color: #000000 !important;
text-align: center !important;
width: 100% !important;
margin: 0 !important;
padding: 4px 0 0 !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-pdf-fallback-table tbody tr:not(:first-child) td .highlight-column::after,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-pdf-fallback-table tbody tr:not(:first-child) td .highlight-column::after {
display: none !important;
content: none !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-pdf-fallback-table .system-header-country,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21 .cost-calc-pdf-fallback-table .system-header-country {
display: block !important;
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
text-align: center !important;
font-size: 0.76em !important;
font-weight: 300 !important;
line-height: 1.35 !important;
margin-top: 5px !important;
margin-bottom: 4px !important;
letter-spacing: 0.02em !important;
color: #000000 !important;
}
body.print-preview #slide-20 .treatment-table,
body.print-preview #slide-23 .treatment-table,
body.pdf-capturing #slide-20 .treatment-table,
body.pdf-capturing #slide-23 .treatment-table {
width: 100% !important;
}
body.print-preview #slide-20 .treatment-header,
body.print-preview #slide-23 .treatment-header,
body.pdf-capturing #slide-20 .treatment-header,
body.pdf-capturing #slide-23 .treatment-header,
body.print-preview #slide-20 .treatment-row,
body.print-preview #slide-23 .treatment-row,
body.pdf-capturing #slide-20 .treatment-row,
body.pdf-capturing #slide-23 .treatment-row {
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
min-height: 0 !important;
height: auto !important;
align-items: stretch !important;
gap: 0 !important;
}
body.print-preview #slide-20 .treatment-header > div,
body.print-preview #slide-20 .treatment-row .treatment-period,
body.print-preview #slide-20 .treatment-row .treatment-value,
body.print-preview #slide-20 .treatment-row .treatment-services-input,
body.print-preview #slide-23 .treatment-header > div,
body.print-preview #slide-23 .treatment-row .treatment-period,
body.print-preview #slide-23 .treatment-row .treatment-value,
body.print-preview #slide-23 .treatment-row .treatment-services-input,
body.pdf-capturing #slide-20 .treatment-header > div,
body.pdf-capturing #slide-20 .treatment-row .treatment-period,
body.pdf-capturing #slide-20 .treatment-row .treatment-value,
body.pdf-capturing #slide-20 .treatment-row .treatment-services-input,
body.pdf-capturing #slide-23 .treatment-header > div,
body.pdf-capturing #slide-23 .treatment-row .treatment-period,
body.pdf-capturing #slide-23 .treatment-row .treatment-value,
body.pdf-capturing #slide-23 .treatment-row .treatment-services-input {
font-size: 0.8em !important;
line-height: 1.22 !important;
}
body.pdf-capturing #slide-20 .treatment-header > div,
body.pdf-capturing #slide-23 .treatment-header > div {
font-weight: 700 !important;
align-items: flex-start !important;
padding-top: 6px !important;
padding-bottom: 6px !important;
}
body.print-preview #slide-21 .cost-calc-header .highlight-column::after,
body.pdf-capturing #slide-21 .cost-calc-header .highlight-column::after {
display: none !important;
content: none !important;
}
/* Стандартизируем переносы для систем: 3 строки, рекомендованный столбец = 4 строки с "Рекомендуем".
   Важно: #slide-20#slide-20 / #slide-23#slide-23 — та же «двойная» специфичность, что в style_printMode_part1,
   иначе :is(#slide-20, #slide-23) проигрывает и в предпросмотре ломается перенос неактивных колонок. */
body.print-preview #slide-20#slide-20 .treatment-header > div[data-slot],
body.print-preview #slide-23#slide-23 .treatment-header > div[data-slot],
body.pdf-capturing #slide-20#slide-20 .treatment-header > div[data-slot],
body.pdf-capturing #slide-23#slide-23 .treatment-header > div[data-slot],
body.print-preview #slide-21 .cost-calc-header > div[data-slot],
body.pdf-capturing #slide-21 .cost-calc-header > div[data-slot] {
white-space: normal !important;
word-break: keep-all !important;
overflow-wrap: anywhere !important;
line-height: 1.15 !important;
font-size: 0.76em !important;
text-align: center !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
padding-top: 6px !important;
padding-bottom: 6px !important;
}
body.print-preview #slide-20#slide-20 .treatment-header > .highlight-column::after,
body.print-preview #slide-23#slide-23 .treatment-header > .highlight-column::after,
body.pdf-capturing #slide-20#slide-20 .treatment-header > .highlight-column::after,
body.pdf-capturing #slide-23#slide-23 .treatment-header > .highlight-column::after {
display: block !important;
content: 'Рекомендуем' !important;
background: transparent !important;
background-image: none !important;
box-shadow: none !important;
border: none !important;
border-radius: 0 !important;
padding: 4px 0 0 !important;
margin: 0 !important;
width: 100% !important;
text-align: center !important;
color: #000000 !important;
font-size: 0.62em !important;
line-height: 1.1 !important;
font-weight: 700 !important;
text-transform: uppercase !important;
letter-spacing: 0.03em !important;
}

/* Final override: "Расчетная стоимость" без доп. плашки в заголовке рекомендуемого столбца */
body.print-preview #slide-21 .cost-calc-header .highlight-column::after,
body.pdf-capturing #slide-21 .cost-calc-header .highlight-column::after {
display: none !important;
content: none !important;
}
body.print-preview #slide-20 .treatment-header > .highlight-column,
body.print-preview #slide-23 .treatment-header > .highlight-column,
body.print-preview #slide-20 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-23 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-20 .treatment-summary .summary-values > span.highlight-column,
body.print-preview #slide-23 .treatment-summary .summary-values > span.highlight-column,
body.print-preview #slide-20 .treatment-summary.grand .summary-values > span.highlight-column,
body.print-preview #slide-23 .treatment-summary.grand .summary-values > span.highlight-column,
body.pdf-capturing #slide-20 .treatment-header > .highlight-column,
body.pdf-capturing #slide-23 .treatment-header > .highlight-column,
body.pdf-capturing #slide-20 .treatment-row .treatment-value.highlight-column,
body.pdf-capturing #slide-23 .treatment-row .treatment-value.highlight-column,
body.pdf-capturing #slide-20 .treatment-summary .summary-values > span.highlight-column,
body.pdf-capturing #slide-23 .treatment-summary .summary-values > span.highlight-column,
body.pdf-capturing #slide-20 .treatment-summary.grand .summary-values > span.highlight-column,
body.pdf-capturing #slide-23 .treatment-summary.grand .summary-values > span.highlight-column {
background-color: #f3f3f3 !important;
background-image: none !important;
box-shadow: inset 0 0 0 9999px #f3f3f3 !important;
color: #000000 !important;
}
/* Микро-отступ у рекомендуемой колонки, чтобы не прилипала к "Описание этапа" */
body.print-preview #slide-20 .treatment-header > .highlight-column,
body.print-preview #slide-23 .treatment-header > .highlight-column,
body.pdf-capturing #slide-20 .treatment-header > .highlight-column,
body.pdf-capturing #slide-23 .treatment-header > .highlight-column {
padding-left: 14px !important;
}
/* Рекомендуемый столбец последний (часто премиум): симметричный правый отступ, контент не липнет к краю заливки */
body.print-preview :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > .highlight-column:last-child,
body.pdf-capturing :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > .highlight-column:last-child {
padding-right: 14px !important;
}
/* Одна система в сетке: рекомендуемый столбец не обязан быть последним div в DOM */
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > .highlight-column {
padding-right: 14px !important;
}
body.print-preview #slide-20 .treatment-row .treatment-value.highlight-column,
body.print-preview #slide-23 .treatment-row .treatment-value.highlight-column,
body.pdf-capturing #slide-20 .treatment-row .treatment-value.highlight-column,
body.pdf-capturing #slide-23 .treatment-row .treatment-value.highlight-column {
padding-left: 14px !important;
}
/* Жёсткий визуальный зазор перед рекомендуемым столбцом (для PDF) */
body.pdf-capturing #slide-20 .treatment-header > .highlight-column,
body.pdf-capturing #slide-23 .treatment-header > .highlight-column,
body.pdf-capturing #slide-20 .treatment-row .treatment-value.highlight-column,
body.pdf-capturing #slide-23 .treatment-row .treatment-value.highlight-column {
border-left: 8px solid #ffffff !important;
box-sizing: border-box !important;
}
body.pdf-capturing #slide-20 .treatment-row .treatment-services-input,
body.pdf-capturing #slide-23 .treatment-row .treatment-services-input {
padding-right: 26px !important;
box-sizing: border-box !important;
}
body.pdf-capturing #slide-20 .treatment-header > div:nth-child(2),
body.pdf-capturing #slide-23 .treatment-header > div:nth-child(2) {
padding-right: 26px !important;
box-sizing: border-box !important;
}
/* PDF: «Период» и «Описание этапа» влево — одинаково на слайдах верх/низ челюсти */
body.pdf-capturing #slide-20 .treatment-header > div:nth-child(1),
body.pdf-capturing #slide-20 .treatment-header > div:nth-child(2),
body.pdf-capturing #slide-23 .treatment-header > div:nth-child(1),
body.pdf-capturing #slide-23 .treatment-header > div:nth-child(2) {
justify-content: flex-start !important;
text-align: left !important;
}
body.print-preview #slide-20 .treatment-row .treatment-services-input,
body.print-preview #slide-23 .treatment-row .treatment-services-input,
body.pdf-capturing #slide-20 .treatment-row .treatment-services-input,
body.pdf-capturing #slide-23 .treatment-row .treatment-services-input {
min-height: 0 !important;
height: auto !important;
max-height: none !important;
overflow: visible !important;
white-space: pre-wrap !important;
word-break: break-word !important;
resize: none !important;
font-weight: 300 !important;
padding: 6px 26px 8px 18px !important;
}
/* slide-23: без отдельных отступов — шапка таблицы и блок как у slide-20 (стр. 3 и 4 PDF) */
body.print-preview #slide-20 .treatment-summary,
body.print-preview #slide-20 .treatment-summary.grand,
body.print-preview #slide-23 .treatment-summary,
body.print-preview #slide-23 .treatment-summary.grand,
body.pdf-capturing #slide-20 .treatment-summary,
body.pdf-capturing #slide-20 .treatment-summary.grand,
body.pdf-capturing #slide-23 .treatment-summary,
body.pdf-capturing #slide-23 .treatment-summary.grand {
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
background: transparent !important;
}
body.print-preview #slide-20 .treatment-summary + .treatment-summary,
body.print-preview #slide-20 .treatment-rows + .treatment-summary,
body.print-preview #slide-23 .treatment-summary + .treatment-summary,
body.print-preview #slide-23 .treatment-rows + .treatment-summary,
body.pdf-capturing #slide-20 .treatment-summary + .treatment-summary,
body.pdf-capturing #slide-20 .treatment-rows + .treatment-summary,
body.pdf-capturing #slide-23 .treatment-summary + .treatment-summary,
body.pdf-capturing #slide-23 .treatment-rows + .treatment-summary {
border-top: 1px solid #d4d4d4 !important;
}
body.print-preview #slide-21#slide-21 .cost-calc-row .cost-calc-value.highlight-column,
body.pdf-capturing #slide-21#slide-21 .cost-calc-row .cost-calc-value.highlight-column {
border-top: none !important;
box-shadow: none !important;
background-color: #f3f3f3 !important;
}
body.print-preview #slide-21#slide-21 .cost-calc-row-total .cost-calc-value.highlight-column,
body.pdf-capturing #slide-21#slide-21 .cost-calc-row-total .cost-calc-value.highlight-column {
border-top: none !important;
box-shadow: none !important;
background-color: #f3f3f3 !important;
}
body.print-preview #slide-21 .cost-calc-row,
body.pdf-capturing #slide-21 .cost-calc-row {
border-top: 0.5px solid #d4d4d4 !important;
}
body.print-preview #slide-21 .cost-calc-row-total,
body.pdf-capturing #slide-21 .cost-calc-row-total {
border-top: 1px solid #bfbfbf !important;
}

/* Final lock (slide 21): единая ширина ячеек систем для 1/2/3 систем */
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value {
width: 100% !important;
min-width: 0 !important;
max-width: none !important;
justify-self: stretch !important;
align-self: stretch !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
box-sizing: border-box !important;
margin: 0 !important;
padding-left: 10px !important;
padding-right: 10px !important;
border-radius: 0 !important;
background-clip: border-box !important;
}

body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header > div,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-header > div {
box-sizing: border-box !important;
padding-left: 10px !important;
padding-right: 10px !important;
}

/* Slide 21, 1 система: финальный lock — 3 колонки (период+описание+рекомендуемая справа). */
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row-total,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row-total {
grid-template-columns: 150px calc(350px + (2 * var(--plan-col-w-print))) var(--plan-col-w-print) !important;
column-gap: 0 !important;
gap: 0 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label {
grid-column: 1 / span 2 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row > .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value.highlight-column {
grid-column: 3 !important;
width: 100% !important;
min-width: 0 !important;
max-width: none !important;
justify-self: stretch !important;
align-self: stretch !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
text-align: center !important;
box-sizing: border-box !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row > .cost-calc-value:not(.highlight-column),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value:not(.highlight-column),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value:not(.highlight-column),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value:not(.highlight-column) {
display: none !important;
}

/* PDF final sync: identical system-column widths across pages 3/4/5. */
body.pdf-capturing {
--pdf-system-col-w: var(--plan-col-w-print);
}
body.pdf-capturing.implant-pick-count-3 :is(#slide-20#slide-20, #slide-23#slide-23) :is(.treatment-header, .treatment-row, .treatment-summary, .treatment-summary.grand) {
grid-template-columns: 150px 350px var(--pdf-system-col-w) var(--pdf-system-col-w) var(--pdf-system-col-w) !important;
}
body.pdf-capturing.implant-pick-count-2 :is(#slide-20#slide-20, #slide-23#slide-23) :is(.treatment-header, .treatment-row, .treatment-summary, .treatment-summary.grand) {
grid-template-columns: 150px calc(350px + var(--pdf-system-col-w)) var(--pdf-system-col-w) var(--pdf-system-col-w) !important;
}
body.pdf-capturing.implant-pick-count-1 :is(#slide-20#slide-20, #slide-23#slide-23) :is(.treatment-header, .treatment-row, .treatment-summary, .treatment-summary.grand) {
grid-template-columns: 150px calc(350px + (2 * var(--pdf-system-col-w))) var(--pdf-system-col-w) !important;
}
body.pdf-capturing :is(#slide-20#slide-20, #slide-23#slide-23) :is(.treatment-summary, .treatment-summary.grand) .summary-label {
grid-column: 1 / span 2 !important;
}
body.pdf-capturing.implant-pick-count-3 :is(#slide-20#slide-20, #slide-23#slide-23) :is(.treatment-summary, .treatment-summary.grand) .summary-values {
grid-column: 3 / -1 !important;
grid-template-columns: 1fr 1fr 1fr !important;
}
body.pdf-capturing.implant-pick-count-2 :is(#slide-20#slide-20, #slide-23#slide-23) :is(.treatment-summary, .treatment-summary.grand) .summary-values {
grid-column: 3 / -1 !important;
grid-template-columns: 1fr 1fr !important;
}
body.pdf-capturing.implant-pick-count-1 :is(#slide-20#slide-20, #slide-23#slide-23) :is(.treatment-summary, .treatment-summary.grand) .summary-values {
grid-column: 3 !important;
grid-template-columns: 1fr !important;
}
body.pdf-capturing.implant-pick-count-2 :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > div:nth-child(5),
body.pdf-capturing.implant-pick-count-2 :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-row .treatment-value[data-plan="premium"],
body.pdf-capturing.implant-pick-count-2 :is(#slide-20#slide-20, #slide-23#slide-23) :is(.treatment-summary, .treatment-summary.grand) .summary-values > span[data-plan="premium"] {
display: none !important;
}
body.pdf-capturing.implant-pick-count-1 :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > div[data-slot]:not(.highlight-column),
body.pdf-capturing.implant-pick-count-1 :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-row .treatment-value:not(.highlight-column),
body.pdf-capturing.implant-pick-count-1 :is(#slide-20#slide-20, #slide-23#slide-23) :is(.treatment-summary, .treatment-summary.grand) .summary-values > span:not(.highlight-column) {
display: none !important;
}
body.pdf-capturing.implant-pick-count-1 :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > .highlight-column,
body.pdf-capturing.implant-pick-count-1 :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-row .treatment-value.highlight-column {
grid-column: 3 !important;
}

body.pdf-capturing.implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total),
body.pdf-capturing.implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
grid-template-columns: 150px 350px var(--pdf-system-col-w) var(--pdf-system-col-w) var(--pdf-system-col-w) !important;
}
body.pdf-capturing.implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total),
body.pdf-capturing.implant-pick-count-2 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
grid-template-columns: 150px calc(350px + var(--pdf-system-col-w)) var(--pdf-system-col-w) var(--pdf-system-col-w) !important;
}
body.pdf-capturing.implant-pick-count-1 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total),
body.pdf-capturing.implant-pick-count-1 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
grid-template-columns: 150px calc(350px + (2 * var(--pdf-system-col-w))) var(--pdf-system-col-w) !important;
}

/* Anti-pressure lock: description column must never squeeze system columns in PDF. */
body.pdf-capturing #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body.pdf-capturing #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label,
body.pdf-capturing #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body.pdf-capturing #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label {
min-width: 0 !important;
max-width: 100% !important;
white-space: normal !important;
overflow-wrap: anywhere !important;
word-break: break-word !important;
}
body.pdf-capturing #slide-21#slide-21 .cost-calc-header > div[data-slot],
body.pdf-capturing #presentation-app #slide-21#slide-21 .cost-calc-header > div[data-slot] {
white-space: normal !important;
overflow-wrap: anywhere !important;
word-break: break-word !important;
}
body.pdf-capturing #slide-21#slide-21 .cost-calc-row > .cost-calc-value,
body.pdf-capturing #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value,
body.pdf-capturing #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value,
body.pdf-capturing #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value {
min-width: 0 !important;
max-width: 100% !important;
}

/* FINAL PREVIEW PARITY LOCK: slide-20/23 header spacing */
body.print-preview :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > div[data-slot] {
  padding-top: 4px !important;
  padding-bottom: 8px !important;
  line-height: 1.15 !important;
  gap: 2px !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

body.print-preview #slide-23#slide-23 .treatment-header > .highlight-column {
  padding-top: 2px !important;
  padding-bottom: 8px !important;
  line-height: 1.15 !important;
  gap: 2px !important;
}

body.print-preview #slide-23#slide-23 .treatment-header > .highlight-column::after {
  margin-top: 0 !important;
  padding-top: 2px !important;
}


/* Small breathing space under "Рекомендуем" badge: only page 5/5 in PDF capture */
body.pdf-capturing #slide-21 .cost-calc-header > .highlight-column::after {
  margin-bottom: 5px !important;
}

/* PDF only: ensure visible air between "Рекомендуем" badge and header divider on page 5/5 */
body.pdf-capturing #slide-21 .cost-calc-header > .highlight-column {
  padding-bottom: 10px !important;
}


/* ABSOLUTE SINGLE-LINE LOCK for page 5/5 header (print preview + PDF) */
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header {
  position: relative !important;
  border-bottom: none !important;
}

/* Disable all per-cell bottom borders in header to avoid duplicates */
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header > div {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Keep exactly ONE separator line under header */
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 1.5px !important;
  background: #a8a8a8 !important;
  pointer-events: none !important;
  z-index: 30 !important;
}

/* Remove any extra top separators from the first row under header */
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-rows > .cost-calc-row:first-of-type,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-rows > .cost-calc-row:first-of-type > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-rows > .cost-calc-row:first-of-type > .cost-calc-value {
  border-top: none !important;
}


/* FINAL slide-21 header line lock: single line, visible through recommended fill */
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header {
  isolation: isolate !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header::after {
  z-index: 20 !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header > div {
  position: relative !important;
  z-index: 1 !important;
}

/* Remove extra second line from first data row under header on page 5/5 */
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-rows > .cost-calc-row:first-of-type > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-rows > .cost-calc-row:first-of-type > .cost-calc-value {
  border-top: none !important;
}

body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-rows > .cost-calc-row:first-of-type {
  border-top: none !important;
}


/* FINAL FIX: single clean line under header (no cell fill effect) */
body:is(.print-preview, .pdf-capturing) :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header {
  position: relative !important;
  border-bottom: none !important;
}

body:is(.print-preview, .pdf-capturing) :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header::after,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 1.5px !important;
  background: #a8a8a8 !important;
  pointer-events: none !important;
}

body:is(.print-preview, .pdf-capturing) :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > div,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header > div {
  border-bottom: none !important;
  box-shadow: none !important;
}


/* FINAL UNIFIED TABLE LINES (print preview + PDF only) */
body:is(.print-preview, .pdf-capturing) {
  --tbl-line-header-color: #a8a8a8;
  --tbl-line-header-w: 1.5px;
  --tbl-line-row-color: #d4d4d4;
  --tbl-line-row-w: 0.5px;
}

/* Header divider: same color/thickness, full-width, including recommended column */
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-header {
  border-bottom: var(--tbl-line-header-w) solid var(--tbl-line-header-color) !important;
}
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header > div,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-header > div {
  border-bottom: var(--tbl-line-header-w) solid var(--tbl-line-header-color) !important;
}

/* Row separators: same color/thickness in all tables */
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-row > .treatment-period,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-row > .treatment-services,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-row > .treatment-value,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row > .cost-calc-value {
  border-top: var(--tbl-line-row-w) solid var(--tbl-line-row-color) !important;
}

/* Keep totals neat, but in same visual family */
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-summary + .treatment-summary,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-rows + .treatment-summary,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row-total {
  border-top: 1px solid #bfbfbf !important;
}


/* HOTFIX: strong header divider for pages 3/5 and 4/5 */
body.print-preview #slide-20#slide-20 .treatment-header,
body.print-preview #slide-23#slide-23 .treatment-header,
body.pdf-capturing #slide-20#slide-20 .treatment-header,
body.pdf-capturing #slide-23#slide-23 .treatment-header {
  border-bottom: 1.5px solid #a8a8a8 !important;
}

/* Keep the strong divider continuous across ALL header cells, including recommended column */
body.print-preview :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > div,
body.pdf-capturing :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > div,
body.print-preview #slide-21#slide-21 .cost-calc-header > div,
body.pdf-capturing #slide-21#slide-21 .cost-calc-header > div {
  border-bottom: 1.5px solid #a8a8a8 !important;
}

body.print-preview #slide-20#slide-20 .treatment-rows > .treatment-row:first-of-type > .treatment-period,
body.print-preview #slide-20#slide-20 .treatment-rows > .treatment-row:first-of-type > .treatment-services,
body.print-preview #slide-20#slide-20 .treatment-rows > .treatment-row:first-of-type > .treatment-value,
body.print-preview #slide-23#slide-23 .treatment-rows > .treatment-row:first-of-type > .treatment-period,
body.print-preview #slide-23#slide-23 .treatment-rows > .treatment-row:first-of-type > .treatment-services,
body.print-preview #slide-23#slide-23 .treatment-rows > .treatment-row:first-of-type > .treatment-value,
body.pdf-capturing #slide-20#slide-20 .treatment-rows > .treatment-row:first-of-type > .treatment-period,
body.pdf-capturing #slide-20#slide-20 .treatment-rows > .treatment-row:first-of-type > .treatment-services,
body.pdf-capturing #slide-20#slide-20 .treatment-rows > .treatment-row:first-of-type > .treatment-value,
body.pdf-capturing #slide-23#slide-23 .treatment-rows > .treatment-row:first-of-type > .treatment-period,
body.pdf-capturing #slide-23#slide-23 .treatment-rows > .treatment-row:first-of-type > .treatment-services,
body.pdf-capturing #slide-23#slide-23 .treatment-rows > .treatment-row:first-of-type > .treatment-value {
  border-top: 1.5px solid #a8a8a8 !important;
}

/* Page 5/5: row separators in recommended column should stay normal (not enhanced) */
body.print-preview #slide-21#slide-21 .cost-calc-row .cost-calc-value.highlight-column,
body.pdf-capturing #slide-21#slide-21 .cost-calc-row .cost-calc-value.highlight-column,
body.print-preview #slide-21#slide-21 .cost-calc-row-total .cost-calc-value.highlight-column,
body.pdf-capturing #slide-21#slide-21 .cost-calc-row-total .cost-calc-value.highlight-column {
  border-top: 0.5px solid #d4d4d4 !important;
}
body.print-preview #slide-21#slide-21 .cost-calc-row-total .cost-calc-value.highlight-column,
body.pdf-capturing #slide-21#slide-21 .cost-calc-row-total .cost-calc-value.highlight-column {
  border-top: 1px solid #bfbfbf !important;
}


/* FINAL HEADER TOP ALIGN + STRONG DIVIDER (print preview + PDF only) */
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header > div[data-slot],
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-header > div[data-slot] {
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: center !important;
  vertical-align: top !important;
  padding-top: 3px !important;
  padding-bottom: 8px !important;
  line-height: 1.12 !important;
}

/* Darker + thicker separator directly under header */
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header {
  border-bottom: 1.5px solid #a8a8a8 !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-header {
  border-bottom: 1.5px solid #a8a8a8 !important;
}

/* Ensure first data row starts with same stronger line */
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-rows > .treatment-row:first-of-type > .treatment-period,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-rows > .treatment-row:first-of-type > .treatment-services,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-rows > .treatment-row:first-of-type > .treatment-value,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-rows > .cost-calc-row:first-of-type > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-rows > .cost-calc-row:first-of-type > .cost-calc-value {
  border-top: 1.5px solid #a8a8a8 !important;
}


/* Match first separator line with page 5/5 */
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-rows > .treatment-row:first-of-type > .treatment-period,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-rows > .treatment-row:first-of-type > .treatment-services,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-rows > .treatment-row:first-of-type > .treatment-value {
  border-top: 0.5px solid #d4d4d4 !important;
}


/* FINAL LOCK: slide-21 (page 5/5), exactly 2 systems, print/PDF */
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
  grid-template-columns: 150px calc(350px + var(--s21-system-col)) var(--s21-system-col) var(--s21-system-col) !important;
}

body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label {
  grid-column: 1 / span 2 !important;
}

body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="alternative"] {
  grid-column: 3 !important;
  display: block !important;
}

body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="rational"] {
  grid-column: 4 !important;
  display: block !important;
}

body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-row-delete,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-row-delete {
  display: none !important;
}


/* MASTER LOCK: slide-21 (page 5/5) stable columns in print-preview + PDF. */
body:is(.print-preview, .pdf-capturing) {
  --s21-period-col: 150px;
  --s21-desc-col: 350px;
  --s21-system-col: var(--plan-col-w-print);
}

/* Base grid behavior for slide-21 */
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total),
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
  display: grid !important;
  gap: 0 !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header > div,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-header > div,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-value {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 10px !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-header > div[data-slot],
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-header > div[data-slot] {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-align: center !important;
  justify-content: center !important;
}

/* Стр. 5/5 PDF: строки под шапкой — больше вертикального воздуха; при переносах высота растёт за счёт padding + контент */
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-value {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #presentation-app #slide-21#slide-21 .cost-calc-row-total > .cost-calc-label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

/* 3 systems */
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
  grid-template-columns: var(--s21-period-col) var(--s21-desc-col) var(--s21-system-col) var(--s21-system-col) var(--s21-system-col) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label {
  grid-column: 1 / span 2 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="alternative"] { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="rational"] { grid-column: 4 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="premium"] { grid-column: 5 !important; }

/* 2 systems: add hidden-column width into description */
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
  grid-template-columns: var(--s21-period-col) calc(var(--s21-desc-col) + var(--s21-system-col)) var(--s21-system-col) var(--s21-system-col) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label {
  grid-column: 1 / span 2 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="alternative"] { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="rational"] { grid-column: 4 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="premium"] {
  display: none !important;
}

/* 1 system: add two hidden-column widths into description */
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
  grid-template-columns: var(--s21-period-col) calc(var(--s21-desc-col) + (2 * var(--s21-system-col))) var(--s21-system-col) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label {
  grid-column: 1 / span 2 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value.highlight-column {
  grid-column: 3 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(5),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value:not(.highlight-column) {
  display: none !important;
}

/* === Final lock: print/PDF parity for pages 3/4/5 === */
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-row .treatment-period,
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-row .treatment-services-input {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header > div:nth-child(2) {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  display: flex !important;
  flex-direction: column !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row > .cost-calc-label,
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-row-total > .cost-calc-label {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header > div[data-slot] {
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: center !important;
  padding-top: 6px !important;
  padding-bottom: 10px !important;
  display: flex !important;
  flex-direction: column !important;
}
body:is(.print-preview, .pdf-capturing) #slide-21 .cost-calc-header > div[data-slot] {
  justify-content: flex-start !important;
  align-items: center !important;
  padding-top: 6px !important;
  padding-bottom: 10px !important;
}
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header > div[data-slot],
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header > div[data-slot] * {
  font-weight: 700 !important;
}
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing) :is(#slide-20, #slide-23) .treatment-row .treatment-services-input {
  padding-right: 30px !important;
  box-sizing: border-box !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 :is(#slide-20, #slide-23) :is(.treatment-header, .treatment-row, .treatment-summary, .treatment-summary.grand) {
  grid-template-columns: 150px 350px var(--plan-col-w-print) var(--plan-col-w-print) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) :is(.treatment-header, .treatment-row, .treatment-summary, .treatment-summary.grand) {
  grid-template-columns: 150px calc(350px + var(--plan-col-w-print)) var(--plan-col-w-print) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) :is(.treatment-header, .treatment-row, .treatment-summary, .treatment-summary.grand) {
  grid-template-columns: 150px calc(350px + (2 * var(--plan-col-w-print))) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
  grid-template-columns: 150px 350px var(--plan-col-w-print) var(--plan-col-w-print) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
  grid-template-columns: 150px calc(350px + var(--plan-col-w-print)) var(--plan-col-w-print) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
  grid-template-columns: 150px calc(350px + (2 * var(--plan-col-w-print))) var(--plan-col-w-print) !important;
}


/* FINAL HOTFIX: header parity for pages 3/5 and 4/5 (print preview + PDF only) */
body:is(.print-preview, .pdf-capturing) :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-row .treatment-period {
  white-space: pre-line !important; /* "Апрель 2025\n[1 визит]" in two lines */
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  line-height: 1.2 !important;
}

/* First two header columns: left + top */
body:is(.print-preview, .pdf-capturing) :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing) :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > div:nth-child(2) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
  vertical-align: top !important;
  padding-top: 4px !important;
}

/* System header columns: centered horizontally + top vertically */
body:is(.print-preview, .pdf-capturing) :is(#slide-20#slide-20, #slide-23#slide-23) .treatment-header > div[data-slot] {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: center !important;
  vertical-align: top !important;
  padding-top: 4px !important;
}

/* Force bold system names (especially recommended column on page 4/5) */
body:is(.print-preview, .pdf-capturing) #slide-23#slide-23 .treatment-header > .highlight-column,
body:is(.print-preview, .pdf-capturing) #slide-23#slide-23 .treatment-header > .highlight-column *,
body:is(.print-preview, .pdf-capturing) #slide-23#slide-23 .treatment-header > div[data-slot],
body:is(.print-preview, .pdf-capturing) #slide-23#slide-23 .treatment-header > div[data-slot] * {
  font-weight: 700 !important;
}


/* FINAL TOP/BOLD LOCK: pages 3/4 (slide-20/23), print preview + PDF only */
body.print-preview #slide-20#slide-20 .treatment-header > div:nth-child(1),
body.print-preview #slide-20#slide-20 .treatment-header > div:nth-child(2),
body.print-preview #slide-23#slide-23 .treatment-header > div:nth-child(1),
body.print-preview #slide-23#slide-23 .treatment-header > div:nth-child(2),
body.pdf-capturing #slide-20#slide-20 .treatment-header > div:nth-child(1),
body.pdf-capturing #slide-20#slide-20 .treatment-header > div:nth-child(2),
body.pdf-capturing #slide-23#slide-23 .treatment-header > div:nth-child(1),
body.pdf-capturing #slide-23#slide-23 .treatment-header > div:nth-child(2) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
  vertical-align: top !important;
  padding-top: 4px !important;
  padding-bottom: 10px !important;
}

body.print-preview #slide-20#slide-20 .treatment-header > div[data-slot],
body.print-preview #slide-23#slide-23 .treatment-header > div[data-slot],
body.pdf-capturing #slide-20#slide-20 .treatment-header > div[data-slot],
body.pdf-capturing #slide-23#slide-23 .treatment-header > div[data-slot] {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: center !important;
  vertical-align: top !important;
  padding-top: 4px !important;
  padding-bottom: 10px !important;
}

body.print-preview #slide-20#slide-20 .treatment-header > div[data-slot],
body.print-preview #slide-20#slide-20 .treatment-header > div[data-slot] *,
body.print-preview #slide-23#slide-23 .treatment-header > div[data-slot],
body.print-preview #slide-23#slide-23 .treatment-header > div[data-slot] *,
body.pdf-capturing #slide-20#slide-20 .treatment-header > div[data-slot],
body.pdf-capturing #slide-20#slide-20 .treatment-header > div[data-slot] *,
body.pdf-capturing #slide-23#slide-23 .treatment-header > div[data-slot],
body.pdf-capturing #slide-23#slide-23 .treatment-header > div[data-slot] * {
  font-weight: 700 !important;
}


/* FINAL OVERRIDE: page 5 (slide-21) */
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
  grid-template-columns: 150px 350px var(--plan-col-w-print) var(--plan-col-w-print) var(--plan-col-w-print) !important;
  gap: 0 !important;
  column-gap: 0 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label { grid-column: 1 / span 2 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="alternative"] { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="rational"] { grid-column: 4 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="premium"] { grid-column: 5 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) > *,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) > * {
  width: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total),
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
  grid-template-columns: 150px calc(350px + (2 * var(--plan-col-w-print))) var(--plan-col-w-print) !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) > .highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) > .highlight-column {
  grid-column: 3 !important;
  width: 100% !important;
  justify-self: stretch !important;
  margin: 0 !important;
}


/* Печать/PDF: шапка плана — не-рекомендуемые системы прижаты к верху ячейки; страна в скобках — font-weight 300 */
body.print-preview #slide-20#slide-20 .treatment-header > div[data-slot]:not(.highlight-column),
body.print-preview #slide-23#slide-23 .treatment-header > div[data-slot]:not(.highlight-column),
body.pdf-capturing #slide-20#slide-20 .treatment-header > div[data-slot]:not(.highlight-column),
body.pdf-capturing #slide-23#slide-23 .treatment-header > div[data-slot]:not(.highlight-column),
body.print-preview #slide-21 .cost-calc-header > div[data-slot]:not(.highlight-column),
body.pdf-capturing #slide-21 .cost-calc-header > div[data-slot]:not(.highlight-column) {
justify-content: flex-start !important;
}
body.print-preview #slide-20#slide-20 .treatment-header .system-header-country,
body.print-preview #slide-23#slide-23 .treatment-header .system-header-country,
body.pdf-capturing #slide-20#slide-20 .treatment-header .system-header-country,
body.pdf-capturing #slide-23#slide-23 .treatment-header .system-header-country,
body.print-preview #slide-21 .cost-calc-header .system-header-country,
body.pdf-capturing #slide-21 .cost-calc-header .system-header-country {
font-weight: 700 !important;
color: #000000 !important;
}
/* Slide 21 hard align lock:
   - 3 systems: нижние строки строго под шапкой
   - 1 system: рекомендуемый столбец всегда крайний справа */
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) {
  grid-template-columns: 150px 350px var(--plan-col-w-print) var(--plan-col-w-print) var(--plan-col-w-print) !important;
  grid-auto-flow: row !important;
  gap: 0 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) > *,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-header, .cost-calc-row, .cost-calc-row-total) > * {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  justify-self: stretch !important;
  box-sizing: border-box !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(1),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label,
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-label {
  grid-column: 1 / span 2 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(2),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="alternative"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="alternative"] { grid-column: 3 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(3),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="rational"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="rational"] { grid-column: 4 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 .cost-calc-header > div:nth-child(4),
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="premium"],
body:is(.print-preview, .pdf-capturing).implant-pick-count-3 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value[data-plan="premium"] { grid-column: 5 !important; }
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 :is(.cost-calc-row, .cost-calc-row-total) > .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > .highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > .highlight-column {
  grid-column: 3 !important;
  justify-self: stretch !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* 1–2 системы: сплошная серая заливка «Рекомендуем» между шапкой и первой строкой */
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-header > .highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-header > .highlight-column {
position: relative !important;
overflow: visible !important;
isolation: isolate !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-header > .highlight-column::before,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-header > .highlight-column::before {
content: '' !important;
display: block !important;
position: absolute !important;
left: 0 !important;
right: 0 !important;
top: 0 !important;
bottom: -22px !important;
background: #f3f3f3 !important;
pointer-events: none !important;
z-index: -1 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 :is(#slide-20, #slide-23) .treatment-rows > .treatment-row:first-of-type .treatment-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 :is(#slide-20, #slide-23) .treatment-rows > .treatment-row:first-of-type .treatment-value.highlight-column {
margin-top: -10px !important;
padding-top: 16px !important;
}
/* Slide 21 (page 5/5): та же связка шапки и первой строки, как на slide-20/23 при 1–2 системах. */
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > .highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > .highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > .highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > .highlight-column {
position: relative !important;
overflow: visible !important;
isolation: isolate !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-header > .highlight-column::before,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-header > .highlight-column::before,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-header > .highlight-column::before,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-header > .highlight-column::before {
content: '' !important;
display: block !important;
position: absolute !important;
left: 0 !important;
right: 0 !important;
top: 0 !important;
bottom: -22px !important;
background: #f3f3f3 !important;
pointer-events: none !important;
z-index: -1 !important;
}
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #slide-21#slide-21 .cost-calc-rows > .cost-calc-row:first-of-type .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-1 #presentation-app #slide-21#slide-21 .cost-calc-rows > .cost-calc-row:first-of-type .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #slide-21#slide-21 .cost-calc-rows > .cost-calc-row:first-of-type .cost-calc-value.highlight-column,
body:is(.print-preview, .pdf-capturing).implant-pick-count-2 #presentation-app #slide-21#slide-21 .cost-calc-rows > .cost-calc-row:first-of-type .cost-calc-value.highlight-column {
margin-top: -10px !important;
padding-top: 16px !important;
}

#slide-14.slide-14-pdf-report { background: #ffffff !important; aspect-ratio: auto !important; min-height: auto !important; height: auto !important; overflow: visible !important; }
#slide-14.slide-14-pdf-report .slide-content { padding: 20px 28px 24px !important; background: #ffffff !important; display: flex !important; flex-direction: column !important; gap: 0 !important; min-height: auto !important; overflow: visible !important; }
#slide-14.slide-14-pdf-report .slide-content h1,
#slide-14.slide-14-pdf-report .slide-content h2 { font-size: 1.1em !important; font-weight: 600 !important; color: #1a1d29 !important; margin: 0 0 14px !important; }
#slide-14.slide-14-pdf-report .ba-head { display: grid !important; grid-template-columns: 410px 1fr 410px !important; gap: 0 !important; margin-bottom: 2px !important; border: none !important; box-shadow: none !important; background: transparent !important; width: 100% !important; box-sizing: border-box !important; align-items: start !important; }
#slide-14.slide-14-pdf-report .ba-head::before { content: '' !important; display: block !important; grid-column: 2 !important; min-width: 0 !important; }
#slide-14.slide-14-pdf-report .ba-head-before { grid-column: 1 !important; }
#slide-14.slide-14-pdf-report .ba-head-after { grid-column: 3 !important; }
#slide-14.slide-14-pdf-report .ba-head-col { display: flex !important; flex-direction: column !important; gap: 0 !important; align-items: center !important; border: none !important; background: transparent !important; width: 100% !important; max-width: 100% !important; min-height: 0 !important; }
#slide-14.slide-14-pdf-report .ba-head-photo { order: 1 !important; flex: 0 0 auto !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; width: 100% !important; max-width: 410px !important; min-height: 0 !important; }
#slide-14.slide-14-pdf-report .ba-head-label { display: none !important; visibility: hidden !important; }
#slide-14.slide-14-pdf-report .ba-head-before .ba-head-photo::after { content: 'До' !important; display: block !important; flex-shrink: 0 !important; width: 100% !important; padding: 2px 0 0 !important; margin: 0 !important; font-size: 0.75em !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; color: #000000 !important; text-align: center !important; line-height: 1.2 !important; font-family: var(--font-family), inherit !important; background: transparent !important; border: none !important; box-sizing: border-box !important; }
#slide-14.slide-14-pdf-report .ba-head-after .ba-head-photo::after { content: 'После' !important; display: block !important; flex-shrink: 0 !important; width: 100% !important; padding: 2px 0 0 !important; margin: 0 !important; font-size: 0.75em !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; color: #000000 !important; text-align: center !important; line-height: 1.2 !important; font-family: var(--font-family), inherit !important; background: transparent !important; border: none !important; box-sizing: border-box !important; }
#slide-14.slide-14-pdf-report .before-after-photo-block,
#slide-14.slide-14-pdf-report .ba-head-photo .before-after-photo-block { width: 410px !important; min-width: 410px !important; max-width: 410px !important; height: 410px !important; min-height: 410px !important; aspect-ratio: 1 / 1 !important; flex: 0 0 auto !important; background: transparent !important; border: none !important; box-shadow: none !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; box-sizing: border-box !important; }
#slide-14.slide-14-pdf-report .before-after-photo-block .state-photo-preview,
#slide-14.slide-14-pdf-report #before-photo-preview,
#slide-14.slide-14-pdf-report #after-photo-preview { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; aspect-ratio: 1 / 1 !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; }
#slide-14.slide-14-pdf-report .before-after-photo-block .photo-thumbnail-wrapper,
#slide-14.slide-14-pdf-report .before-after-photo-block .state-photo-preview .photo-thumbnail-wrapper { width: 100% !important; height: 100% !important; display: flex !important; align-items: center !important; justify-content: center !important; }
#slide-14.slide-14-pdf-report .before-after-photo-block .photo-thumbnail-wrapper img,
#slide-14.slide-14-pdf-report .ba-head-photo .before-after-photo-block img,
#slide-14.slide-14-pdf-report #before-photo-preview img,
#slide-14.slide-14-pdf-report #after-photo-preview img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain !important; object-position: center !important; display: block !important; }
#slide-14.slide-14-pdf-report .ba-table-scroll-wrap { margin-top: 0 !important; margin-bottom: 24px !important; border: none !important; background: transparent !important; width: 100% !important; position: relative !important; }
#slide-14.slide-14-pdf-report .ba-table-scroll-wrap::after { content: '' !important; position: absolute !important; left: 50% !important; top: 0 !important; bottom: 0 !important; width: 1px !important; background: rgba(0, 0, 0, 0.2) !important; transform: translateX(-50%) !important; pointer-events: none !important; }
#slide-14.slide-14-pdf-report .ba-table-scroll { border: none !important; background: transparent !important; width: 100% !important; }
#slide-14.slide-14-pdf-report .ba-table { display: flex !important; flex-direction: column !important; gap: 0 !important; width: 100% !important; }
#slide-14.slide-14-pdf-report .ba-row-wrap { width: 100% !important; border: none !important; background: transparent !important; }
#slide-14.slide-14-pdf-report .ba-row { display: grid !important; grid-template-columns: 410px 1fr 410px !important; gap: 0 !important; align-items: stretch !important; min-height: min-content !important; height: auto !important; border: none !important; box-shadow: none !important; background: transparent !important; padding: 4px 10px 6px 12px !important; width: 100% !important; box-sizing: border-box !important; border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important; }
#slide-14.slide-14-pdf-report .ba-row:last-child { border-bottom: none !important; }
#slide-14.slide-14-pdf-report .ba-row .before-cell { grid-column: 1 !important; }
#slide-14.slide-14-pdf-report .ba-row .after-cell { grid-column: 3 !important; }
#slide-14.slide-14-pdf-report .ba-cell { display: flex !important; flex-direction: row !important; align-items: flex-start !important; gap: 8px !important; min-height: 0 !important; min-width: 0 !important; border: none !important; background: transparent !important; box-shadow: none !important; }
#slide-14.slide-14-pdf-report .ba-cell.before-cell { padding: 0 16px 0 0 !important; }
#slide-14.slide-14-pdf-report .ba-cell.after-cell { border-left: none !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: -24px !important; }
#slide-14.slide-14-pdf-report .ba-cell.after-cell .after-input { padding: 2px 8px 6px 4px !important; }
#slide-14.slide-14-pdf-report .ba-cell .row-number { flex-shrink: 0 !important; width: 28px !important; min-width: 28px !important; font-size: 0.5em !important; font-weight: 700 !important; color: #1a1d29 !important; text-align: center !important; padding-top: 2px !important; line-height: 1.2 !important; align-self: flex-start !important; }
#slide-14.slide-14-pdf-report .ba-cell .before-cell-inner,
#slide-14.slide-14-pdf-report .ba-cell .after-cell-inner { flex: 1 1 auto !important; min-width: 0 !important; min-height: 1.5em !important; border: none !important; background: transparent !important; display: flex !important; align-items: stretch !important; }
#slide-14.slide-14-pdf-report .before-input,
#slide-14.slide-14-pdf-report .after-input { font-size: 0.45em !important; color: #1a1d29 !important; line-height: 1.5 !important; border: none !important; box-shadow: none !important; outline: none !important; min-height: 1.5em !important; height: auto !important; resize: none !important; padding: 2px 8px 6px 0 !important; background: transparent !important; white-space: pre-wrap !important; word-wrap: break-word !important; overflow-wrap: break-word !important; box-sizing: border-box !important; flex: 1 1 auto !important; overflow: visible !important; overflow-x: hidden !important; overflow-y: visible !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .slide-content { padding: 16px 24px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .ba-head { margin-bottom: 8px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .ba-head-before .ba-head-photo::after,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .ba-head-after .ba-head-photo::after { padding: 2px 0 0 !important; font-size: 0.7em !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .ba-head { grid-template-columns: 358px 1fr 358px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .ba-row { grid-template-columns: 358px 1fr 358px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .before-after-photo-block,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .ba-head-photo { max-width: 358px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .ba-head-photo .before-after-photo-block { width: 358px !important; min-width: 358px !important; max-width: 358px !important; height: 358px !important; min-height: 358px !important; aspect-ratio: 1 / 1 !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .before-after-photo-block .state-photo-preview,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact #before-photo-preview,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact #after-photo-preview { max-height: 358px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .ba-row { padding: 4px 10px 5px 12px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .before-input,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact .after-input { font-size: 0.42em !important; padding: 4px 12px 4px 0 !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .slide-content { padding: 10px 18px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .ba-head { margin-bottom: 6px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .ba-head-before .ba-head-photo::after,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .ba-head-after .ba-head-photo::after { padding: 2px 0 0 !important; font-size: 0.65em !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .ba-head { grid-template-columns: 307px 1fr 307px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .ba-row { grid-template-columns: 307px 1fr 307px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .before-after-photo-block,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .ba-head-photo { max-width: 307px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .ba-head-photo .before-after-photo-block { width: 307px !important; min-width: 307px !important; max-width: 307px !important; height: 307px !important; min-height: 307px !important; aspect-ratio: 1 / 1 !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .before-after-photo-block .state-photo-preview,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight #before-photo-preview,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight #after-photo-preview { max-height: 307px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .ba-row { padding: 3px 10px 4px 12px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .before-input,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-tight .after-input { font-size: 0.4em !important; padding: 3px 12px 3px 0 !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .slide-content { padding: 8px 14px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .ba-head { margin-bottom: 4px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .ba-head-before .ba-head-photo::after,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .ba-head-after .ba-head-photo::after { padding: 2px 0 0 !important; font-size: 0.6em !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .ba-head { grid-template-columns: 256px 1fr 256px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .ba-row { grid-template-columns: 256px 1fr 256px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .before-after-photo-block,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .ba-head-photo { max-width: 256px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .ba-head-photo .before-after-photo-block { width: 256px !important; min-width: 256px !important; max-width: 256px !important; height: 256px !important; min-height: 256px !important; aspect-ratio: 1 / 1 !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .before-after-photo-block .state-photo-preview,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra #before-photo-preview,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra #after-photo-preview { max-height: 256px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .ba-row { padding: 3px 10px 4px 12px !important; }
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .before-input,
#slide-14.slide-14-pdf-report.pdf-slide-14-compact-extra .after-input { font-size: 0.38em !important; padding: 2px 12px 2px 0 !important; }
body.print-preview.report-includes-slide-14 #slide-14 .ba-cell .before-cell-inner,
body.print-preview.report-includes-slide-14 #slide-14 .ba-cell .after-cell-inner { border: none !important; box-shadow: none !important; }
body.print-preview.report-includes-slide-14 #slide-14 .ba-cell { border: none !important; box-shadow: none !important; min-width: 0 !important; }
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .slide-content { padding: 16px 24px !important; }
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .ba-head { margin-bottom: 4px !important; }
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .ba-head-before .ba-head-photo::after,
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .ba-head-after .ba-head-photo::after { padding: 2px 0 0 !important; font-size: 0.65em !important; }
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .before-input,
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .after-input { font-size: 0.58em !important; line-height: 1.3 !important; padding: 2px 10px 2px 0 !important; }
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .ba-row { padding: 3px 10px 4px 12px !important; }
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .ba-head { grid-template-columns: 307px 1fr 307px !important; }
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .ba-row { grid-template-columns: 307px 1fr 307px !important; }
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .before-after-photo-block,
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .ba-head-photo { max-width: 307px !important; }
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .ba-head-photo .before-after-photo-block { width: 307px !important; min-width: 307px !important; max-width: 307px !important; height: 307px !important; min-height: 307px !important; aspect-ratio: 1 / 1 !important; }
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 .before-after-photo-block .state-photo-preview,
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 #before-photo-preview,
body.print-preview.report-includes-slide-14.slide-14-many-rows #slide-14 #after-photo-preview { max-height: 307px !important; }
body.pdf-capturing #slide-14,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 { background: #ffffff !important; aspect-ratio: auto !important; min-height: auto !important; height: auto !important; overflow: visible !important; }
body.pdf-capturing #slide-14 .slide-content,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .slide-content { padding: 20px 28px 24px !important; background: #ffffff !important; display: flex !important; flex-direction: column !important; gap: 0 !important; min-height: auto !important; overflow: visible !important; }
body.pdf-capturing #slide-14 .slide-content h1,
body.pdf-capturing #slide-14 .slide-content h2,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .slide-content h1,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .slide-content h2 { font-size: 1.1em !important; color: #1a1d29 !important; }
body.pdf-capturing #slide-14 .ba-head,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-head { display: grid !important; grid-template-columns: 410px 1fr 410px !important; gap: 0 !important; margin-bottom: 2px !important; background: transparent !important; width: 100% !important; align-items: start !important; }
body.pdf-capturing #slide-14 .ba-head::before,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-head::before { content: '' !important; display: block !important; grid-column: 2 !important; min-width: 0 !important; }
body.pdf-capturing #slide-14 .ba-head-before,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-head-before { grid-column: 1 !important; }
body.pdf-capturing #slide-14 .ba-head-after,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-head-after { grid-column: 3 !important; }
body.pdf-capturing #slide-14 .ba-head-col,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-head-col { display: flex !important; flex-direction: column !important; gap: 0 !important; align-items: center !important; background: transparent !important; width: 100% !important; max-width: 100% !important; min-height: 0 !important; }
body.pdf-capturing #slide-14 .ba-head-photo,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-head-photo { order: 1 !important; flex: 0 0 auto !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; width: 100% !important; max-width: 410px !important; min-height: 0 !important; }
body.pdf-capturing #slide-14 .ba-head-label,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-head-label { display: none !important; visibility: hidden !important; }
body.pdf-capturing #slide-14 .ba-head-before .ba-head-photo::after,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-head-before .ba-head-photo::after { content: 'До' !important; display: block !important; flex-shrink: 0 !important; width: 100% !important; padding: 2px 0 0 !important; margin: 0 !important; font-size: 0.75em !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; color: #000000 !important; text-align: center !important; line-height: 1.2 !important; font-family: var(--font-family), inherit !important; background: transparent !important; box-sizing: border-box !important; }
body.pdf-capturing #slide-14 .ba-head-after .ba-head-photo::after,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-head-after .ba-head-photo::after { content: 'После' !important; display: block !important; flex-shrink: 0 !important; width: 100% !important; padding: 2px 0 0 !important; margin: 0 !important; font-size: 0.75em !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; color: #000000 !important; text-align: center !important; line-height: 1.2 !important; font-family: var(--font-family), inherit !important; background: transparent !important; box-sizing: border-box !important; }
body.pdf-capturing #slide-14 .before-after-photo-block,
body.pdf-capturing #slide-14 .ba-head-photo .before-after-photo-block,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .before-after-photo-block,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-head-photo .before-after-photo-block { width: 410px !important; min-width: 410px !important; max-width: 410px !important; height: 410px !important; min-height: 410px !important; aspect-ratio: 1 / 1 !important; flex: 0 0 auto !important; background: transparent !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; box-sizing: border-box !important; }
body.pdf-capturing #slide-14 .before-after-photo-block .state-photo-preview,
body.pdf-capturing #slide-14 #before-photo-preview,
body.pdf-capturing #slide-14 #after-photo-preview,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .before-after-photo-block .state-photo-preview,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 #before-photo-preview,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 #after-photo-preview { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; aspect-ratio: 1 / 1 !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; }
body.pdf-capturing #slide-14 .ba-head-photo .before-after-photo-block img,
body.pdf-capturing #slide-14 #before-photo-preview img,
body.pdf-capturing #slide-14 #after-photo-preview img,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-head-photo .before-after-photo-block img,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 #before-photo-preview img,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 #after-photo-preview img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain !important; object-position: center !important; }
body.pdf-capturing #slide-14 .ba-table-scroll-wrap,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-table-scroll-wrap { margin-top: 0 !important; margin-bottom: 24px !important; border: none !important; background: transparent !important; width: 100% !important; }
body.pdf-capturing #slide-14 .ba-table-scroll,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-table-scroll { border: none !important; background: transparent !important; width: 100% !important; }
body.pdf-capturing #slide-14 .ba-table,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-table { display: flex !important; flex-direction: column !important; gap: 0 !important; width: 100% !important; }
body.pdf-capturing #slide-14 .ba-table-scroll-wrap,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-table-scroll-wrap { position: relative !important; }
body.pdf-capturing #slide-14 .ba-table-scroll-wrap::after,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-table-scroll-wrap::after { content: '' !important; position: absolute !important; left: 50% !important; top: 0 !important; bottom: 0 !important; width: 1px !important; background: rgba(0, 0, 0, 0.2) !important; transform: translateX(-50%) !important; pointer-events: none !important; }
body.pdf-capturing #slide-14 .ba-row-wrap,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-row-wrap { width: 100% !important; border: none !important; background: transparent !important; }
body.pdf-capturing #slide-14 .ba-row,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-row { display: grid !important; grid-template-columns: 410px 1fr 410px !important; gap: 0 !important; align-items: stretch !important; min-height: min-content !important; height: auto !important; border: none !important; box-shadow: none !important; background: transparent !important; padding: 4px 10px 6px 12px !important; width: 100% !important; box-sizing: border-box !important; border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important; }
body.pdf-capturing #slide-14 .ba-row:last-child,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-row:last-child { border-bottom: none !important; }
body.pdf-capturing #slide-14 .ba-row .before-cell,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-row .before-cell { grid-column: 1 !important; }
body.pdf-capturing #slide-14 .ba-row .after-cell,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-row .after-cell { grid-column: 3 !important; }
body.pdf-capturing #slide-14 .ba-cell,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-cell { display: flex !important; flex-direction: row !important; align-items: flex-start !important; gap: 8px !important; min-height: 0 !important; min-width: 0 !important; border: none !important; background: transparent !important; box-shadow: none !important; }
body.pdf-capturing #slide-14 .ba-cell.before-cell,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-cell.before-cell { padding: 0 16px 0 0 !important; }
body.pdf-capturing #slide-14 .ba-cell.after-cell,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-cell.after-cell { border-left: none !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: -24px !important; }
body.pdf-capturing #slide-14 .ba-cell.after-cell .after-input,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-cell.after-cell .after-input { padding: 2px 8px 6px 4px !important; }
body.pdf-capturing #slide-14 .ba-cell .row-number,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-cell .row-number { flex-shrink: 0 !important; width: 28px !important; min-width: 28px !important; font-size: 0.5em !important; font-weight: 700 !important; color: #1a1d29 !important; text-align: center !important; padding-top: 2px !important; line-height: 1.2 !important; align-self: flex-start !important; }
body.pdf-capturing #slide-14 .ba-cell .before-cell-inner,
body.pdf-capturing #slide-14 .ba-cell .after-cell-inner,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-cell .before-cell-inner,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .ba-cell .after-cell-inner { flex: 1 1 auto !important; min-width: 0 !important; min-height: 1.5em !important; border: none !important; background: transparent !important; display: flex !important; align-items: stretch !important; }
body.pdf-capturing #slide-14 .before-input,
body.pdf-capturing #slide-14 .after-input,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .before-input,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14 .after-input { font-size: 0.45em !important; color: #1a1d29 !important; line-height: 1.5 !important; border: none !important; box-shadow: none !important; outline: none !important; min-height: 1.5em !important; height: auto !important; resize: none !important; padding: 2px 8px 6px 0 !important; background: transparent !important; white-space: pre-wrap !important; word-wrap: break-word !important; overflow-wrap: break-word !important; box-sizing: border-box !important; flex: 1 1 auto !important; overflow: visible !important; overflow-x: hidden !important; overflow-y: visible !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact .slide-content { padding: 16px 24px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact .ba-head { margin-bottom: 8px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact .ba-head-before .ba-head-photo::after,
body.pdf-capturing #slide-14.pdf-slide-14-compact .ba-head-after .ba-head-photo::after { padding: 3px 0 0 !important; font-size: 0.7em !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact .before-input,
body.pdf-capturing #slide-14.pdf-slide-14-compact .after-input { font-size: 0.42em !important; padding: 4px 12px 4px 0 !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact .ba-row { padding: 4px 10px 5px 12px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact .ba-head,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14.pdf-slide-14-compact .ba-head { grid-template-columns: 358px 1fr 358px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact .ba-row,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14.pdf-slide-14-compact .ba-row { grid-template-columns: 358px 1fr 358px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact .ba-head-photo,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14.pdf-slide-14-compact .ba-head-photo { max-width: 358px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact .before-after-photo-block,
body.pdf-capturing #slide-14.pdf-slide-14-compact .ba-head-photo .before-after-photo-block { width: 358px !important; min-width: 358px !important; max-width: 358px !important; height: 358px !important; min-height: 358px !important; aspect-ratio: 1 / 1 !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .slide-content { padding: 10px 18px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .ba-head { margin-bottom: 6px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .ba-head-before .ba-head-photo::after,
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .ba-head-after .ba-head-photo::after { padding: 2px 0 0 !important; font-size: 0.65em !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .before-input,
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .after-input { font-size: 0.4em !important; padding: 3px 12px 3px 0 !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .ba-row { padding: 3px 10px 4px 12px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .ba-head,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14.pdf-slide-14-compact-tight .ba-head { grid-template-columns: 307px 1fr 307px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .ba-row,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14.pdf-slide-14-compact-tight .ba-row { grid-template-columns: 307px 1fr 307px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .ba-head-photo,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14.pdf-slide-14-compact-tight .ba-head-photo { max-width: 307px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .before-after-photo-block,
body.pdf-capturing #slide-14.pdf-slide-14-compact-tight .ba-head-photo .before-after-photo-block { width: 307px !important; min-width: 307px !important; max-width: 307px !important; height: 307px !important; min-height: 307px !important; aspect-ratio: 1 / 1 !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .slide-content { padding: 8px 14px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .ba-head { margin-bottom: 4px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .ba-head-before .ba-head-photo::after,
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .ba-head-after .ba-head-photo::after { padding: 2px 0 0 !important; font-size: 0.6em !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .before-input,
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .after-input { font-size: 0.38em !important; padding: 2px 12px 2px 0 !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .ba-row { padding: 3px 10px 4px 12px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .ba-head,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14.pdf-slide-14-compact-extra .ba-head { grid-template-columns: 256px 1fr 256px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .ba-row,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14.pdf-slide-14-compact-extra .ba-row { grid-template-columns: 256px 1fr 256px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .ba-head-photo,
body.print-preview.report-includes-slide-14.pdf-capturing #slide-14.pdf-slide-14-compact-extra .ba-head-photo { max-width: 256px !important; }
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .before-after-photo-block,
body.pdf-capturing #slide-14.pdf-slide-14-compact-extra .ba-head-photo .before-after-photo-block { width: 256px !important; min-width: 256px !important; max-width: 256px !important; height: 256px !important; min-height: 256px !important; aspect-ratio: 1 / 1 !important; } body.print-preview #slide-15 .team-member:not(.team-member--selected) { display: none !important; } body.print-preview #slide-15 .team-section-hint { display: none !important; } body.print-preview #slide-15 .team-member p, body.print-preview #slide-15 .team-member span { font-size: 0.75em !important; } body.print-preview #slide-15 .team-member h4 { font-size: 1.1em !important; } body.print-preview #slide-15 .member-photo { max-width: 180px !important; height: 200px !important; margin-bottom: 15px !important; } body.print-preview #slide-15 .member-photo img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: top center !important; } body.print-preview #slide-16 .plan-months { grid-template-columns: 240px repeat(var(--plan-months-count, 12), minmax(24px, 1fr)) !important; border: none !important; background: transparent !important; box-shadow: none !important; gap: 0 !important; } body.print-preview #slide-16 .plan-row { grid-template-columns: 240px repeat(var(--plan-months-count, 12), minmax(24px, 1fr)) !important; border: none !important; background: transparent !important; box-shadow: none !important; border-bottom: 1px solid #000000 !important; padding: 8px 0 !important; margin: 0 !important; } body.print-preview #slide-16 .plan-row:last-child { border-bottom: none !important; } body.print-preview #slide-16 .plan-month.plan-month-label { background: rgba(0, 0, 0, 0.1) !important; border: none !important; border-top: none !important; border-bottom: none !important; font-weight: 700 !important; padding: 10px 0 !important; } body.print-preview #slide-16 .plan-month:not(.plan-month-label):not(.plan-month-empty) { border: none !important; border-top: none !important; border-bottom: none !important; background: transparent !important; padding: 10px 0 !important; } body.print-preview #slide-16 .plan-month.plan-month-empty { display: none !important; border: none !important; background: transparent !important; padding: 0 !important; min-height: 0 !important; width: 0 !important; } body.print-preview #slide-16 .plan-row-text, body.print-preview #slide-16 .plan-row-track { border: none !important; background: transparent !important; box-shadow: none !important; } body.print-preview #slide-16 .plan-row-text textarea { border: none !important; background: transparent !important; box-shadow: none !important; padding: 8px 12px !important; } body.print-preview #slide-16 .plan-row-bar { border: none !important; box-shadow: none !important; } body.print-preview #slide-16 .plan-summary { border-top: 2px solid #000000 !important; padding-top: 15px !important; margin-top: 25px !important; } body.print-preview #slide-16 .plan-month.plan-month-empty { display: none !important; } body.print-preview #slide-18 .treatment-table { border: none !important; } body.print-preview #slide-18 .treatment-header, body.print-preview #slide-18 .treatment-row { grid-template-columns: 150px 350px 1fr 1fr 1fr !important; } body.print-preview #slide-18 .treatment-header div { border: none !important; border-bottom: 2px solid #000000 !important; padding: 12px 14px !important; margin: 0 !important; background: #f8f9fa !important; font-weight: 700 !important; font-size: 0.9em !important; vertical-align: top !important; display: flex !important; align-items: center !important; } body.print-preview #slide-18 .treatment-header div:first-child, body.print-preview #slide-18 .treatment-header div:nth-child(2) { justify-content: flex-start !important; text-align: left !important; padding-left: 12px !important; } body.print-preview #slide-18 .treatment-header div:nth-child(3), body.print-preview #slide-18 .treatment-header div:nth-child(4), body.print-preview #slide-18 .treatment-header div:nth-child(5) { justify-content: center !important; text-align: center !important; align-items: center !important; } body.print-preview #slide-18 .treatment-summary, body.print-preview #slide-18 .treatment-summary.grand { grid-template-columns: 150px 350px 1fr 1fr 1fr !important; border-top: 1px solid rgba(0, 0, 0, 0.2) !important; } body.print-preview #slide-18 .treatment-row { gap: 0 !important; padding: 0 !important; margin: 0 !important; } body.print-preview #slide-18 .treatment-row .treatment-value.highlight-column, body.print-preview #slide-18 .treatment-row .treatment-value[data-plan="rational"] { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; border-top: none !important; border-bottom: none !important; } body.print-preview #slide-18 .treatment-summary .highlight-column { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; } body.print-preview #slide-18 .treatment-row .treatment-value { padding: 12px 14px !important; border: none !important; border-right: 1px solid rgba(0, 0, 0, 0.1) !important; } body.print-preview #slide-18 .treatment-row .treatment-value.highlight-column { padding: 0 !important; border-right: 1px solid rgba(0, 0, 0, 0.1) !important; } body.print-preview #slide-22 .inclusive-icon { border: none !important; background: transparent !important; } body.print-preview #slide-22 .inclusive-icon { background: transparent !important; border: none !important; box-shadow: none !important; } body.print-preview #slide-22 .inclusive-icon img { filter: brightness(0) !important; opacity: 1 !important; visibility: visible !important; display: block !important; } #slide-1 .slide-1-presentation-block { display: none !important; } body.presentation-mode-active #slide-1 .slide-1-presentation-block { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; min-width: 0 !important; flex: 1 !important; gap: 12px !important; } body.presentation-mode-active #slide-1 .slide-1-pres-name { font-size: 1.15em !important; font-weight: 600 !important; margin: 0 !important; line-height: 1.35 !important; color: var(--color-white) !important; } body.presentation-mode-active #slide-1 .slide-1-pres-meta { font-size: 1em !important; margin: 0 !important; line-height: 1.4 !important; color: var(--text-white) !important; } body.presentation-mode-active #slide-1 .slide-1-pres-decision { font-size: 0.95em !important; margin: 0 !important; margin-top: 8px !important; line-height: 1.65 !important; color: var(--text-white-light) !important; flex: 1 !important; min-height: 0 !important; letter-spacing: 0.01em !important; } body.presentation-mode-active #slide-1 .slide-1-pres-decision .slide-1-pres-line { display: block !important; } body.presentation-mode-active #slide-1 .slide-1-pres-decision .slide-1-pres-value { font-weight: 700 !important; color: var(--color-white) !important; margin-top: 4px !important; } body.presentation-mode-active #slide-1 .slide-1-pres-decision .slide-1-pres-line-second { margin-top: 18px !important; } body.presentation-mode-active #slide-1 .input-column { display: none !important; } body.presentation-mode-active #slide-1 .input-section { display: flex !important; flex: 1 !important; min-height: 0 !important; gap: 32px !important; align-items: stretch !important; } body.presentation-mode-active #slide-1 .photo-column { flex: 0 0 auto !important; min-width: 0 !important; max-width: 42% !important; display: flex !important; align-items: center !important; justify-content: center !important; } body.presentation-mode-active #slide-1 .upload-preview-large { aspect-ratio: 1 / 1 !important; width: 100% !important; max-width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; } body.presentation-mode-active #slide-1 .upload-preview-large img { object-fit: contain !important; object-position: center !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; } body.presentation-mode-active #slide-1 .input-group label, body.presentation-mode-active #slide-1 .input-group input, body.presentation-mode-active #slide-1 .input-group select, body.presentation-mode-active #slide-1 .gender-checkbox-group .gender-checkbox-text, body.presentation-mode-active #slide-1 .gender-checkbox-label { font-family: var(--font-family) !important; font-size: 0.95em !important; font-weight: 500 !important; line-height: 1.4 !important; } body.presentation-mode-active #slide-1 .input-group select, body.presentation-mode-active #slide-1 .input-group input { font-family: var(--font-family) !important; font-size: 0.95em !important; } body.presentation-mode-active #slide-1 .input-group select option { font-family: var(--font-family) !important; font-size: inherit !important; font-weight: 500 !important; } body.presentation-mode-active #slide-2 .upload-preview-large { aspect-ratio: 16 / 9 !important; width: 100% !important; max-width: 100% !important; height: auto !important; min-height: 120px !important; max-height: none !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; } body.presentation-mode-active #slide-2 .upload-preview-large img { object-fit: contain !important; object-position: center !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; } body.presentation-mode-active #slide-2 .slide-content { display: flex !important; flex-direction: column !important; overflow: hidden !important; min-height: 0 !important; } body.presentation-mode-active #slide-2 .content-grid { display: flex !important; flex-direction: column !important; gap: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; flex: 1 1 auto !important; min-height: 0 !important; overflow: hidden !important; } body.presentation-mode-active #slide-2 .content-card { background: transparent !important; border: none !important; padding: 0 0 12px 0 !important; gap: 6px !important; display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; min-height: 0 !important; overflow: hidden !important; } body.presentation-mode-active #slide-2 .content-card:first-child { padding-bottom: 24px !important; border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important; margin-bottom: 24px !important; } body.presentation-mode-active #slide-2 .content-card:last-child { padding-bottom: 0 !important; } body.presentation-mode-active #slide-2 .content-card h3 { font-size: 0.72em !important; font-weight: 600 !important; margin: 0 0 6px 0 !important; line-height: 1.3 !important; color: var(--color-white) !important; flex-shrink: 0 !important; } body.presentation-mode-active #slide-2 .content-card textarea { font-size: 0.62em !important; font-weight: 300 !important; line-height: 1.4 !important; padding: 0 !important; background: transparent !important; border: none !important; resize: none !important; display: block !important; white-space: pre-wrap !important; word-break: break-word !important; color: inherit !important; flex: 1 1 auto !important; min-height: 0 !important; overflow: hidden !important; }  body.presentation-mode-active #slide-3 .slide-content, body.presentation-mode-active #slide-6 .slide-content { display: flex !important; flex-direction: column !important; overflow: hidden !important; min-height: 0 !important; } body.presentation-mode-active #slide-3 .slide-content { align-items: center !important; justify-content: center !important; } body.presentation-mode-active #slide-6 .slide-content { align-items: center !important; justify-content: center !important; } body.presentation-mode-active #slide-3 .state-photo-upload { display: flex !important; justify-content: center !important; align-items: center !important; width: 100% !important; flex: 1 !important; min-height: 0 !important; margin-top: 0 !important; } body.presentation-mode-active #slide-3 .state-photo-upload .state-photo-preview, body.presentation-mode-active #slide-3 .state-photo-upload .upload-preview-large { width: 100% !important; max-width: min(920px, 90vw) !important; min-height: 200px !important; max-height: none !important; aspect-ratio: auto !important; box-sizing: border-box !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; flex: 1 !important; min-height: 0 !important; margin: 0 auto !important; border-radius: 12px !important; } body.presentation-mode-active #slide-3 .state-photo-upload .photo-thumbnail-wrapper { position: static !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; width: 100% !important; height: 100% !important; min-width: 0 !important; min-height: 0 !important; flex: 1 1 100% !important; overflow: hidden !important; display: flex !important; align-items: center !important; justify-content: center !important; } body.presentation-mode-active #slide-3 .state-photo-upload .photo-thumbnail-wrapper img { width: auto !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; object-position: center !important; display: block !important; margin-left: auto !important; margin-right: auto !important; }  body.presentation-mode-active #slide-6 .state-photo-upload { display: flex !important; justify-content: center !important; align-items: center !important; width: 100% !important; flex: 1 !important; min-height: 0 !important; margin-top: 0 !important; } body.presentation-mode-active #slide-6 .state-photo-upload .state-photo-preview, body.presentation-mode-active #slide-6 .state-photo-upload .upload-preview-large { width: 100% !important; max-width: min(920px, 90vw) !important; min-height: 200px !important; max-height: none !important; aspect-ratio: auto !important; box-sizing: border-box !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; flex: 1 !important; min-height: 0 !important; margin: 0 auto !important; border-radius: 12px !important; } body.presentation-mode-active #slide-6 .state-photo-upload .photo-thumbnail-wrapper { position: static !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; width: 100% !important; height: 100% !important; min-width: 0 !important; min-height: 0 !important; flex: 1 1 100% !important; overflow: hidden !important; display: flex !important; align-items: center !important; justify-content: center !important; } body.presentation-mode-active #slide-6 .state-photo-upload .photo-thumbnail-wrapper img { width: auto !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; object-position: center !important; display: block !important; margin-left: auto !important; margin-right: auto !important; } body.presentation-mode-active #slide-4 { padding: 0 !important; align-items: stretch !important; justify-content: stretch !important; } body.presentation-mode-active #slide-4 .slide-content { display: flex !important; flex-direction: column !important; height: 100% !important; min-height: 0 !important; padding: 35px 50px 40px 50px !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; scrollbar-width: thin !important; scrollbar-color: transparent transparent !important; } body.presentation-mode-active #slide-4 .slide-content::-webkit-scrollbar { width: 6px !important; } body.presentation-mode-active #slide-4 .slide-content::-webkit-scrollbar-track { background: transparent !important; } body.presentation-mode-active #slide-4 .slide-content::-webkit-scrollbar-thumb { background: transparent !important; } body.presentation-mode-active #slide-4 .slide-content::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.12) !important; } body.presentation-mode-active #slide-4 .slide-content h2 { flex-shrink: 0 !important; font-size: 1.85em !important; margin-top: 0 !important; margin-bottom: 35px !important; } body.presentation-mode-active #slide-4 .diagnostic-checklist-wrap { flex-shrink: 0 !important; margin-bottom: 14px !important; } body.presentation-mode-active #slide-4 .diagnostic-checklist-row:not(:has(.diagnostic-checklist-cb:checked)) { display: none !important; } body.presentation-mode-active #slide-4 .diagnostic-checklist-input { font-size: 0.82em !important; } body.presentation-mode-active #slide-4 .diagnostic-gallery { flex: 0 0 auto !important; aspect-ratio: 16 / 9 !important; width: 100% !important; min-height: 0 !important; margin-top: 24px !important; display: grid !important; grid-template-columns: 1fr 1fr 1fr !important; grid-template-rows: 1fr 1fr 1fr !important; gap: 16px !important; box-sizing: border-box !important; } body.presentation-mode-active #slide-4 .dg-cell { min-height: 0 !important; display: flex !important; overflow: hidden !important; } body.presentation-mode-active #slide-4 .dg-cell-inner { display: flex !important; width: 100% !important; height: 100% !important; min-height: 0 !important; } body.presentation-mode-active #slide-4 .dg-preview { width: 100% !important; height: 100% !important; min-height: 0 !important; min-width: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; } body.presentation-mode-active #slide-4 .dg-preview img, body.presentation-mode-active #slide-4 .dg-preview .photo-thumbnail-wrapper img { object-fit: contain !important; object-position: center !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; min-width: 0 !important; min-height: 0 !important; } body.presentation-mode-active #slide-4 .dg-preview .photo-thumbnail-wrapper { width: 100% !important; height: 100% !important; min-height: 0 !important; min-width: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; } body.presentation-mode-active #slide-5 .state-formula-heading { font-size: 0.58em !important; margin: 0 0 4px 0 !important; font-weight: 600 !important; } body.presentation-mode-active #slide-5 .btn-clear-scheme, body.presentation-mode-active #slide-5 .btn-clear-current-scheme, body.presentation-mode-active #slide-5 .btn-clear-future-scheme { display: none !important; } body.presentation-mode-active #slide-5 .teeth-blocks-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; grid-template-rows: auto auto !important; gap: 10px !important; width: 100% !important; box-sizing: border-box !important; align-items: center !important; justify-items: center !important; row-gap: 24px !important; } body.presentation-mode-active #slide-5 .teeth-row { flex-wrap: nowrap !important; display: flex !important; justify-content: center !important; gap: 4px !important; width: 100% !important; align-items: center !important; box-sizing: border-box !important; } body.presentation-mode-active #slide-5 { overflow: hidden !important; } body.presentation-mode-active #slide-5 .slide-content { display: flex !important; flex-direction: column !important; overflow: hidden !important; padding: 20px 40px 24px 40px !important; min-height: 0 !important; } body.presentation-mode-active #slide-5 #dental-scheme-placeholder { display: flex !important; flex-direction: column !important; flex: 1 !important; min-height: 0 !important; overflow: hidden !important; } body.presentation-mode-active #slide-5 .state-formula-block { margin-bottom: 0 !important; flex: 1 !important; display: flex !important; flex-direction: column !important; min-height: 0 !important; } body.presentation-mode-active #slide-5 .state-formula-block:last-of-type { margin-bottom: 0 !important; } body.presentation-mode-active #slide-5 .state-formula-heading-row { margin: 0 0 4px 0 !important; flex-shrink: 0 !important; } body.presentation-mode-active #slide-5 .state-formula-divider { margin: 24px 0 !important; flex-shrink: 0 !important; } body.presentation-mode-active #slide-5 .dental-scheme { padding: 6px 12px !important; flex: 1 !important; display: flex !important; flex-direction: column !important; min-height: 0 !important; overflow: hidden !important; } body.presentation-mode-active #slide-5 .teeth-scheme-wrapper { gap: 10px !important; flex: 1 !important; min-height: 0 !important; display: flex !important; flex-direction: column !important; justify-content: space-evenly !important; margin-top: -4px !important; } body.presentation-mode-active #slide-5 .jaw-section { flex-shrink: 0 !important; } body.presentation-mode-active #slide-5 .jaw-gum-upper { margin-bottom: -46px !important; } body.presentation-mode-active #slide-5 .jaw-section.jaw-upper .teeth-blocks-grid { margin-bottom: 0 !important; } body.presentation-mode-active #slide-5 .jaw-section.jaw-lower { margin-top: 12px !important; } body.presentation-mode-active #slide-5 .jaw-gum-lower { margin-top: -64px !important; } body.presentation-mode-active #slide-5 .tooth-upper .tooth-icon-current { transform: rotate(180deg) !important; } body.presentation-mode-active #slide-5 #dental-scheme-placeholder { transform-origin: top center !important; transform: scale(0.92) !important; } body.presentation-mode-active #slide-4 .teeth-blocks-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; grid-template-rows: auto auto !important; gap: 20px !important; width: 100% !important; box-sizing: border-box !important; align-items: center !important; justify-items: center !important; } body.presentation-mode-active #slide-4 .teeth-row { flex-wrap: nowrap !important; display: flex !important; justify-content: center !important; gap: 6px !important; width: 100% !important; align-items: center !important; box-sizing: border-box !important; } body.presentation-mode-active #slide-4 .tooth { width: 45px !important; height: 45px !important; min-width: 45px !important; min-height: 45px !important; flex-shrink: 0 !important; margin: 0 !important; } body.presentation-mode-active #slide-4 .tooth-icon-empty, body.presentation-mode-active #slide-4 .tooth-icon-filled, body.presentation-mode-active #slide-4 .tooth-icon-missing { transform: none !important; width: 100% !important; height: 100% !important; margin: 0 !important; } body.presentation-mode-active #slide-4 .patient-info-grid { display: grid !important; grid-template-columns: 1fr 1fr 1fr !important; grid-template-rows: auto auto !important; gap: 20px !important; } body.presentation-mode-active #slide-4 .info-column { display: contents !important; } body.presentation-mode-active #slide-4 .info-column:first-child .info-row:first-child { grid-column: 1 !important; grid-row: 1 !important; } body.presentation-mode-active #slide-4 .info-column:nth-child(2) .info-row:first-child { grid-column: 2 !important; grid-row: 1 !important; } body.presentation-mode-active #slide-4 .info-column:nth-child(3) .info-row:first-child { grid-column: 3 !important; grid-row: 1 !important; } body.presentation-mode-active #slide-4 .info-column:first-child .info-row:nth-child(2) { grid-column: 1 !important; grid-row: 2 !important; } body.presentation-mode-active #slide-4 .info-column:nth-child(2) .info-row:nth-child(2) { grid-column: 2 !important; grid-row: 2 !important; } body.presentation-mode-active #slide-4 .info-column:nth-child(3) .info-row:nth-child(2) { grid-column: 3 !important; grid-row: 2 !important; } body.presentation-mode-active .state-photo-upload.state-photo-32 .state-photo-preview, body.presentation-mode-active .state-photo-upload.state-photo-32 .upload-preview-large { aspect-ratio: 16 / 9 !important; width: 100% !important; max-width: none !important; height: auto !important; min-height: 120px !important; max-height: none !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; } body.presentation-mode-active #slide-3 .state-photo-upload.state-photo-32 .state-photo-preview, body.presentation-mode-active #slide-3 .state-photo-upload.state-photo-32 .upload-preview-large { aspect-ratio: auto !important; } body.presentation-mode-active #slide-5 .photo-thumbnail-wrapper img, body.presentation-mode-active #slide-9 .photo-thumbnail-wrapper img, body.presentation-mode-active #slide-10 .photo-thumbnail-wrapper img, body.presentation-mode-active #slide-11 .photo-thumbnail-wrapper img, body.presentation-mode-active #slide-12 .photo-thumbnail-wrapper img { object-fit: contain !important; object-position: center !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; } body.presentation-mode-active #slide-3 .photo-thumbnail-wrapper img, body.presentation-mode-active #slide-6 .photo-thumbnail-wrapper img { object-fit: contain !important; object-position: center !important; height: 100% !important; max-height: 100% !important; width: auto !important; max-width: 100% !important; } body.presentation-mode-active .slide .state-photo-upload .upload-preview-large, body.presentation-mode-active .slide .state-photo-upload .state-photo-preview { aspect-ratio: 16 / 9 !important; width: 100% !important; max-width: none !important; height: auto !important; min-height: 120px !important; padding: 0 !important; margin: 0 !important; position: relative !important; display: flex !important; align-items: stretch !important; justify-content: stretch !important; overflow: hidden !important; box-sizing: border-box !important; } body.presentation-mode-active .slide .upload-preview-large .photo-thumbnail-wrapper, body.presentation-mode-active .slide .state-photo-preview .photo-thumbnail-wrapper { position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; box-sizing: border-box !important; } body.presentation-mode-active .slide .upload-preview-large .photo-thumbnail-wrapper img, body.presentation-mode-active .slide .state-photo-preview .photo-thumbnail-wrapper img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; object-position: center !important; } body.presentation-mode-active #slide-3 .upload-preview-large .photo-thumbnail-wrapper img, body.presentation-mode-active #slide-3 .state-photo-preview .photo-thumbnail-wrapper img, body.presentation-mode-active #slide-6 .upload-preview-large .photo-thumbnail-wrapper img, body.presentation-mode-active #slide-6 .state-photo-preview .photo-thumbnail-wrapper img { height: 100% !important; max-height: 100% !important; width: auto !important; max-width: 100% !important; object-fit: contain !important; object-position: center !important; } body.presentation-mode-active .slide .upload-preview-large img, body.presentation-mode-active .slide .state-photo-preview img, body.presentation-mode-active .slide .dg-preview img { object-fit: contain !important; object-position: center !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; display: block !important; } body.presentation-mode-active #slide-3 .state-photo-preview img, body.presentation-mode-active #slide-6 .state-photo-preview img { height: 100% !important; max-height: 100% !important; width: auto !important; max-width: 100% !important; object-fit: contain !important; object-position: center !important; display: block !important; } body.presentation-mode-active #slide-7 .risks-table { border: none !important; background: transparent !important; box-shadow: none !important; margin: 20px 0 !important; } body.presentation-mode-active #slide-7 .table-header, body.presentation-mode-active #slide-7 .table-row { grid-gap: 0 !important; gap: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important; border-top: none !important; border-left: none !important; border-right: none !important; } body.presentation-mode-active #slide-7 .table-header .table-cell { background: transparent !important; } body.presentation-mode-active #slide-7 .table-row { min-height: 60px !important; } body.presentation-mode-active #slide-7 .table-cell { min-height: 60px !important; padding: 0 !important; align-items: stretch !important; border-right: 1px solid rgba(255, 255, 255, 0.2) !important; border-top: none !important; border-bottom: none !important; border-left: none !important; background: transparent !important; } body.presentation-mode-active #slide-7 .table-cell:first-child { padding-right: 12px !important; } body.presentation-mode-active #slide-7 .table-cell:nth-child(2) { padding-left: 12px !important; padding-right: 12px !important; } body.presentation-mode-active #slide-7 .table-cell:last-child { border-right: none !important; padding-left: 12px !important; } body.presentation-mode-active #slide-7 .table-row .table-cell:first-child { align-items: center !important; } body.presentation-mode-active #slide-7 .risk-select { width: 100% !important; min-height: 100% !important; height: 100% !important; padding: 12px 15px !important; font-weight: 300 !important; font-family: var(--font-family) !important; border: none !important; box-shadow: none !important; -webkit-appearance: none !important; appearance: none !important; background-image: none !important; background: radial-gradient(ellipse 55% 90% at 50% 50%, rgba(44, 62, 80, 0.95) 0%, rgba(44, 62, 80, 0.55) 45%, rgba(44, 62, 80, 0.2) 75%, rgba(44, 62, 80, 0.05) 100%) !important; color: rgba(255, 255, 255, 0.9) !important; box-sizing: border-box !important; } body.presentation-mode-active #slide-7 .risk-select.high, body.presentation-mode-active #slide-7 .risk-select.critical { background: radial-gradient(ellipse 55% 90% at 50% 50%, rgba(231, 76, 60, 0.95) 0%, rgba(231, 76, 60, 0.65) 45%, rgba(231, 76, 60, 0.3) 75%, rgba(231, 76, 60, 0.06) 100%) !important; color: white !important; } body.presentation-mode-active #slide-7 .risk-select.medium, body.presentation-mode-active #slide-7 .risk-select.moderate { background: radial-gradient(ellipse 55% 90% at 50% 50%, rgba(243, 156, 18, 0.95) 0%, rgba(243, 156, 18, 0.65) 45%, rgba(243, 156, 18, 0.3) 75%, rgba(243, 156, 18, 0.06) 100%) !important; color: white !important; } body.presentation-mode-active #slide-7 .risk-select.normal, body.presentation-mode-active #slide-7 .risk-select.favorable { background: radial-gradient(ellipse 55% 90% at 50% 50%, rgba(39, 174, 96, 0.95) 0%, rgba(39, 174, 96, 0.65) 45%, rgba(39, 174, 96, 0.3) 75%, rgba(39, 174, 96, 0.06) 100%) !important; color: white !important; } body.presentation-mode-active #slide-14 .row-delete { display: none !important; } body.presentation-mode-active #slide-14 .ba-head-col { align-items: stretch !important; border: none !important; } body.presentation-mode-active #slide-14 .ba-head-label { padding: 4px 6px 6px !important; } body.presentation-mode-active #slide-14 .ba-head-photo .before-after-photo-block { aspect-ratio: 1 / 1 !important; width: 100% !important; max-width: 100% !important; min-height: 0 !important; } body.presentation-mode-active #slide-14 #before-photo-preview, body.presentation-mode-active #slide-14 #after-photo-preview { aspect-ratio: 1 / 1 !important; width: 100% !important; height: 100% !important; } body.presentation-mode-active #slide-14 #before-photo-preview img, body.presentation-mode-active #slide-14 #after-photo-preview img { object-fit: contain !important; width: 100% !important; height: 100% !important; } body.presentation-mode-active #slide-14 .ba-row .row-number { display: inline-flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0 !important; width: 28px !important; font-weight: 600 !important; font-size: 0.85em !important; color: rgba(255, 255, 255, 0.75) !important; } body.presentation-mode-active.ba-photo-only-mode #slide-14 .ba-table-scroll-wrap, body.presentation-mode-active #slide-14.ba-photo-only-mode .ba-table-scroll-wrap { display: none !important; } body.presentation-mode-active.ba-photo-only-mode #slide-14 .ba-head, body.presentation-mode-active #slide-14.ba-photo-only-mode .ba-head { flex: 1 1 auto !important; min-height: 0 !important; display: flex !important; flex-direction: row !important; align-items: stretch !important; justify-content: center !important; gap: 24px !important; padding-left: 14px !important; padding-right: 52px !important; margin-bottom: 0 !important; max-width: 100% !important; } body.presentation-mode-active.ba-photo-only-mode #slide-14 .ba-head-col, body.presentation-mode-active #slide-14.ba-photo-only-mode .ba-head-col { display: flex !important; flex-direction: column !important; align-items: center !important; max-width: min(45vw, 50%) !important; flex: 1 1 0 !important; min-width: 0 !important; padding: 12px !important; box-sizing: border-box !important; border: none !important; } body.presentation-mode-active.ba-photo-only-mode #slide-14 .ba-head-label, body.presentation-mode-active #slide-14.ba-photo-only-mode .ba-head-label { order: 2 !important; margin-top: 6px !important; padding: 2px 0 0 !important; flex-shrink: 0 !important; } body.presentation-mode-active.ba-photo-only-mode #slide-14 .ba-head-photo, body.presentation-mode-active #slide-14.ba-photo-only-mode .ba-head-photo { order: 1 !important; flex: 1 1 auto !important; min-height: 0 !important; width: 100% !important; max-width: 100% !important; padding: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; } body.presentation-mode-active.ba-photo-only-mode #slide-14 .ba-head-photo .before-after-photo-block, body.presentation-mode-active #slide-14.ba-photo-only-mode .ba-head-photo .before-after-photo-block { width: 100% !important; max-width: 100% !important; max-height: 100% !important; aspect-ratio: 1 / 1 !important; flex-shrink: 0 !important; }  body.presentation-mode-active #slide-15 { overflow: hidden !important; } body.presentation-mode-active #slide-15 .slide-content { display: flex !important; flex-direction: column !important; overflow: hidden !important; min-height: 0 !important; padding: 14px 36px 18px 36px !important; } body.presentation-mode-active #slide-15 .slide-content > h2 { font-size: 1.28em !important; margin: 0 0 10px 0 !important; flex-shrink: 0 !important; line-height: 1.25 !important; } body.presentation-mode-active #slide-15 .team-banner-clinic { display: none !important; } body.presentation-mode-active #slide-15 .team-banner-divider { display: none !important; } body.presentation-mode-active #slide-15 .team-slide-banner { flex-shrink: 0 !important; padding: 10px 14px !important; margin-bottom: 10px !important; gap: 14px !important; border-radius: 10px !important; background: rgba(255, 255, 255, 0.12) !important; border: 1px solid rgba(255, 255, 255, 0.18) !important; box-shadow: none !important; display: flex !important; align-items: center !important; justify-content: center !important; } body.presentation-mode-active #slide-15 .team-banner-coordinator { gap: 14px !important; display: flex !important; align-items: center !important; } body.presentation-mode-active #slide-15 .team-banner-coordinator-info { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 4px !important; min-width: 0 !important; flex: 1 !important; } body.presentation-mode-active #slide-15 .team-banner-coordinator-badge { align-self: center !important; font-size: 0.6em !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; padding: 3px 8px !important; margin-bottom: 2px !important; } body.presentation-mode-active #slide-15 .team-banner-coordinator-photo { width: 88px !important; height: 88px !important; min-width: 88px !important; min-height: 88px !important; flex-shrink: 0 !important; object-fit: cover !important; object-position: top center !important; } body.presentation-mode-active #slide-15 .team-banner-coordinator-name { font-size: 0.9em !important; line-height: 1.35 !important; white-space: normal !important; } body.presentation-mode-active #slide-15 .team-banner-coordinator-position { display: none !important; } body.presentation-mode-active #slide-15 .team-banner-coordinator-desc { font-size: 0.7em !important; line-height: 1.4 !important; display: block !important; margin-top: 2px !important; } body.presentation-mode-active #slide-15 .team-banner-coordinator-phone { display: inline-block !important; font-size: 0.8em !important; font-weight: 600 !important; margin-top: 10px !important; padding: 5px 10px !important; background: rgba(255, 255, 255, 0.2) !important; border-radius: 6px !important; align-self: flex-start !important; } body.presentation-mode-active #slide-15 .team-sections-wrap { flex: 1 1 auto !important; min-height: 0 !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; gap: 0 !important; } body.presentation-mode-active #slide-15 .team-section { margin-bottom: 0 !important; padding-top: 8px !important; padding-bottom: 8px !important; border-top: 1px solid rgba(255, 255, 255, 0.15) !important; flex: 0 0 auto !important; min-height: 0 !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; } body.presentation-mode-active #slide-15 .team-section:first-of-type { border-top: none !important; padding-top: 0 !important; } body.presentation-mode-active #slide-15 .team-section:last-of-type { margin-bottom: 0 !important; } body.presentation-mode-active #slide-15 .team-section-toggle { display: none !important; } body.presentation-mode-active #slide-15 .team-section-hint { display: none !important; } body.presentation-mode-active #slide-15 .team-section-doctors .team-section-title { font-size: 0 !important; padding-bottom: 4px !important; margin: 0 0 6px 0 !important; border-bottom: none !important; } body.presentation-mode-active #slide-15 .team-section-doctors .team-section-title::after { content: 'Лечащие врачи'; font-size: 0.82rem !important; font-weight: 700 !important; color: rgba(255, 255, 255, 0.95) !important; } body.presentation-mode-active #slide-15 .team-section-technicians .team-section-title { font-size: 0 !important; padding-bottom: 4px !important; margin: 0 0 6px 0 !important; border-bottom: none !important; } body.presentation-mode-active #slide-15 .team-section-technicians .team-section-title::after { content: 'Зубной техник'; font-size: 0.82rem !important; font-weight: 700 !important; color: rgba(255, 255, 255, 0.95) !important; } body.presentation-mode-active #slide-15 .team-section-custom:has(.team-grid-custom .team-member) .team-section-title-custom { display: none !important; } body.presentation-mode-active #slide-15 .team-section-custom:has(.team-grid-custom .team-member) .team-section-title-support { display: block !important; font-size: 0.82rem !important; margin: 0 0 6px 0 !important; padding-bottom: 4px !important; border-bottom: none !important; } body.presentation-mode-active #slide-15 .team-section-title { flex-shrink: 0 !important; } body.presentation-mode-active #slide-15 .team-grid { flex: 0 0 auto !important; min-height: 0 !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; max-height: none !important; } body.presentation-mode-active #slide-15 .team-section-doctors .team-grid { grid-template-columns: repeat(2, 1fr) !important; } body.presentation-mode-active #slide-15 .team-section-technicians .team-grid { grid-template-columns: 1fr !important; } body.presentation-mode-active #slide-15 .team-section-custom .team-grid { grid-template-columns: repeat(2, 1fr) !important; } body.presentation-mode-active #slide-15 .team-member { padding: 8px 10px !important; gap: 8px !important; border: 1px solid rgba(255, 255, 255, 0.18) !important; box-shadow: none !important; background: rgba(255, 255, 255, 0.05) !important; } body.presentation-mode-active #slide-15 .team-member::before { display: none !important; } body.presentation-mode-active #slide-15 .team-member--selected { border: 1px solid rgba(255, 255, 255, 0.25) !important; box-shadow: none !important; background: rgba(255, 255, 255, 0.08) !important; } body.presentation-mode-active #slide-15 .team-member--selected::after { display: none !important; } body.presentation-mode-active #slide-15 .team-photo-box { width: 56px !important; min-width: 56px !important; height: 68px !important; max-height: 68px !important; aspect-ratio: 0.8257 / 1 !important; margin-bottom: 0 !important; border: none !important; box-shadow: none !important; } body.presentation-mode-active #slide-15 .team-photo-box img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: top center !important; } body.presentation-mode-active #slide-15 .team-fio, body.presentation-mode-active #slide-15 .team-member h4 { font-size: 0.84em !important; margin: 0 0 2px 0 !important; line-height: 1.25 !important; } body.presentation-mode-active #slide-15 .team-role { font-size: 0.74em !important; } body.presentation-mode-active #slide-15 .team-desc, body.presentation-mode-active #slide-15 .team-member p, body.presentation-mode-active #slide-15 .team-member span { font-size: 0.68em !important; line-height: 1.3 !important; } body.presentation-mode-active #slide-15 .team-member-right { gap: 2px !important; padding-left: 2px !important; } body.presentation-mode-active #slide-15 .btn-add-team-member { display: none !important; } body.presentation-mode-active #slide-8 .consequence-table { margin: 0 !important; gap: 0 !important; } body.presentation-mode-active #slide-8 .consequence-table-header { display: grid !important; grid-template-columns: 1fr minmax(60px, 80px) 1fr !important; gap: clamp(10px, 1.2vw, 16px) !important; align-items: center !important; padding-bottom: 12px !important; margin-bottom: 4px !important; border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important; font-weight: 600 !important; font-size: 0.95em !important; color: rgba(255, 255, 255, 0.9) !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; } body.presentation-mode-active #slide-8 .consequence-header-spacer { display: flex !important; align-items: center !important; justify-content: center !important; } body.presentation-mode-active #slide-8 .consequence-header-spacer::before { content: '' !important; display: block !important; width: 28px !important; height: 28px !important; background: url("./assets/2b93449280d2f067.svg") center/contain no-repeat !important; filter: brightness(0) invert(1) !important; opacity: 0.85 !important; } body.presentation-mode-active #slide-8 .consequence-rows { gap: 0 !important; } body.presentation-mode-active #slide-8 .consequence-row { grid-template-columns: 1fr minmax(60px, 80px) 1fr !important; gap: clamp(10px, 1.2vw, 16px) !important; padding-right: 0 !important; padding-top: 14px !important; padding-bottom: 14px !important; border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important; align-items: center !important; } body.presentation-mode-active #slide-8 .consequence-row:last-child { border-bottom: none !important; } body.presentation-mode-active #slide-8 .consequence-item { background: transparent !important; border: none !important; padding: 0 !important; min-height: 0 !important; box-shadow: none !important; } body.presentation-mode-active #slide-8 .consequence-cell-inner { display: block !important; } body.presentation-mode-active #slide-8 .consequence-input { background: transparent !important; border: none !important; padding: 8px 0 !important; box-shadow: none !important; font-weight: 300 !important; font-size: 0.8em !important; line-height: 1.5 !important; color: rgba(255, 255, 255, 0.95) !important; pointer-events: none !important; resize: none !important; min-height: auto !important; } body.presentation-mode-active #slide-8 .consequence-input::placeholder { color: rgba(255, 255, 255, 0.45) !important; } body.presentation-mode-active #slide-8 .consequence-row-delete, body.presentation-mode-active #slide-8 .consequence-dropdown-trigger, body.presentation-mode-active #slide-8 .consequence-dropdown { display: none !important; } body.presentation-mode-active #slide-8 .consequence-icon { display: flex !important; align-items: center !important; justify-content: center !important; width: 36px !important; height: 36px !important; margin: 0 auto !important; flex-shrink: 0 !important; } body.presentation-mode-active #slide-8 .consequence-icon img { width: 100% !important; height: 100% !important; object-fit: contain !important; filter: brightness(0) invert(1) !important; opacity: 0.85 !important; } body.presentation-mode-active #slide-16 .plan-months { grid-template-columns: 240px repeat(var(--plan-months-count, 12), minmax(28px, 1fr)) 40px !important; } body.presentation-mode-active #slide-16 .btn-plan-period-reset, body.presentation-mode-active #slide-16 .plan-slide-header .btn-plan-period-reset { display: none !important; } body.presentation-mode-active #slide-16 .plan-row { grid-template-columns: 240px repeat(var(--plan-months-count, 12), minmax(28px, 1fr)) 40px !important; } body.presentation-mode-active #slide-16 .plan-row-text { grid-column: 1 !important; } body.presentation-mode-active #slide-16 .plan-row-bar { transition: none !important; } body.presentation-mode-active #slide-17 .implant-logo { margin-left: 40px !important; max-width: 320px !important; } body.presentation-mode-active #slide-19 .benefits-header, body.presentation-mode-active #slide-19 .benefit-row { grid-template-columns: minmax(220px, 1.4fr) 0.8fr 0.8fr 0.8fr !important; } body.presentation-mode-active #slide-20 .slide-content > h2.treatment-plan-title, body.presentation-mode-active #slide-23 .slide-content > h2.treatment-plan-title { margin-bottom: 12px !important; } body.presentation-mode-active #slide-20 .treatment-table, body.presentation-mode-active #slide-23 .treatment-table { border: none !important; background: transparent !important; box-shadow: none !important; margin-top: 0 !important; padding: 0 !important; } body.presentation-mode-active #slide-20 .treatment-header div, body.presentation-mode-active #slide-23 .treatment-header div { padding: 8px 12px !important; min-height: 0 !important; } body.presentation-mode-active #slide-20 .treatment-row, body.presentation-mode-active #slide-23 .treatment-row { min-height: 0 !important; } body.presentation-mode-active #slide-20 .treatment-row .treatment-period, body.presentation-mode-active #slide-20 .treatment-row .treatment-value, body.presentation-mode-active #slide-23 .treatment-row .treatment-period, body.presentation-mode-active #slide-23 .treatment-row .treatment-value { padding: 6px 12px !important; min-height: 0 !important; } body.presentation-mode-active #slide-20 .treatment-services textarea, body.presentation-mode-active #slide-23 .treatment-services textarea { padding: 6px 12px !important; min-height: 2.5em !important; line-height: 1.3 !important; font-size: 0.9em !important; } body.presentation-mode-active #slide-20 .treatment-summary .summary-label, body.presentation-mode-active #slide-20 .treatment-summary .summary-values span, body.presentation-mode-active #slide-23 .treatment-summary .summary-label, body.presentation-mode-active #slide-23 .treatment-summary .summary-values span { padding: 6px 12px !important; } body.presentation-mode-active #slide-21 .slide-content > h2 { margin-bottom: 12px !important; } body.presentation-mode-active #slide-21 .cost-calc-table { border: none !important; background: transparent !important; box-shadow: none !important; margin-top: 0 !important; padding: 0 !important; } body.presentation-mode-active #slide-25 .slide-content { display: flex !important; flex-direction: column !important; overflow: hidden !important; min-height: 0 !important; padding-top: 20px !important; padding-bottom: 20px !important; } body.presentation-mode-active #slide-25 .happy-smile-block { flex: 1 !important; min-height: 0 !important; display: flex !important; flex-direction: column !important; overflow: hidden !important; } body.presentation-mode-active #slide-25 .happy-smile-top { flex-shrink: 0 !important; gap: 16px !important; } body.presentation-mode-active #slide-25 .happy-smile-logo { max-height: 58px !important; width: auto !important; } body.presentation-mode-active #slide-25 .happy-smile-desc { font-size: 0.85em !important; line-height: 1.35 !important; margin: 0 !important; } body.presentation-mode-active #slide-25 .happy-smile-device img { max-height: 175px !important; width: auto !important; object-fit: contain !important; } body.presentation-mode-active #slide-25 .happy-smile-device { flex: 0 0 340px !important; min-width: 260px !important; } body.presentation-mode-active #slide-25 .happy-smile-list { flex: 1 !important; min-height: 0 !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; } body.presentation-mode-active #slide-25 .happy-smile-list-title { font-size: 0.88em !important; margin-bottom: 8px !important; flex-shrink: 0 !important; color: #f1c40f !important; font-weight: 700 !important; text-align: center !important; } body.presentation-mode-active #slide-25 .happy-smile-list-cols { gap: 8px 16px !important; flex: 1 !important; min-height: 0 !important; display: grid !important; grid-template-columns: repeat(3, 1fr) !important; align-items: stretch !important; } body.presentation-mode-active #slide-25 .happy-smile-list-col { gap: 8px !important; display: flex !important; flex-direction: column !important; min-height: 0 !important; } body.presentation-mode-active #slide-25 .happy-smile-list-col .happy-smile-list-item, body.presentation-mode-active #slide-25 .happy-smile-list-col .happy-smile-list-title-item { flex: 1 !important; min-height: 0 !important; display: flex !important; align-items: center !important; padding: 5px 6px !important; line-height: 1.18 !important; font-size: 0.58em !important; gap: 6px !important; box-sizing: border-box !important; border-radius: 6px !important; } body.presentation-mode-active #slide-25 .happy-smile-list-col .happy-smile-list-item { background: rgba(255, 255, 255, 0.06) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; } body.presentation-mode-active #slide-25 .happy-smile-list-col .happy-smile-list-title-item { background: rgba(52, 152, 219, 0.28) !important; border: 1px solid rgba(52, 152, 219, 0.5) !important; font-weight: 600 !important; color: #fff !important; } body.presentation-mode-active #slide-25 .happy-smile-list-icon { font-size: 1.35em !important; line-height: 1 !important; flex-shrink: 0 !important; } body.presentation-mode-active #slide-25 .happy-smile-list-col .happy-smile-list-title-item { font-size: 0.62em !important; } body.presentation-mode-active #slide-22 .all-inclusive-grid { grid-template-columns: repeat(3, 1fr) !important; grid-template-rows: repeat(2, 1fr) !important; gap: 24px !important; } body.presentation-mode-active #slide-22 .inclusive-card:nth-child(1), body.presentation-mode-active #slide-22 .inclusive-card:nth-child(2), body.presentation-mode-active #slide-22 .inclusive-card:nth-child(3) { grid-row: 1 !important; } body.presentation-mode-active #slide-22 .inclusive-card:nth-child(4), body.presentation-mode-active #slide-22 .inclusive-card:nth-child(5), body.presentation-mode-active #slide-22 .inclusive-card:nth-child(6) { grid-row: 2 !important; } body.presentation-mode-active #top-controls-bar, body.presentation-mode-active .top-controls-bar { display: none !important; visibility: hidden !important; pointer-events: none !important; } body.presentation-mode-active .slides-visibility-panel, body.presentation-mode-active .btn-slides-visibility { display: none !important; visibility: hidden !important; } body.presentation-mode-active #bottom-navigation, body.presentation-mode-active .navigation { display: none !important; visibility: hidden !important; } body.presentation-mode-active .btn-start-presentation { display: none !important; } body.presentation-mode-active #presentation-app { display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 !important; } body.presentation-mode-active .presentation-container { width: 1200px !important; height: 675px !important; max-width: none !important; position: fixed !important; top: 50% !important; left: 50% !important; margin-left: -600px !important; margin-top: -337.5px !important; transform: scale(var(--presentation-scale, 1)) !important; transform-origin: center center !important; border-radius: 0 !important; overflow: hidden !important; transition: transform 0.25s ease-out !important; } body.presentation-mode-active .slide { width: 100% !important; height: 100% !important; min-width: 100% !important; min-height: 100% !important; max-width: 100% !important; max-height: 100% !important; position: absolute !important; top: 0 !important; left: 0 !important; padding: 0 !important; } body.presentation-mode-active .slide-content { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; padding: 35px 50px 40px 50px !important; box-sizing: border-box !important; scrollbar-width: thin !important; scrollbar-color: transparent transparent !important; } body.presentation-mode-active #slide-1 .slide-content, body.presentation-mode-active #slide-2 .slide-content { padding: 35px 50px 40px 50px !important; } body.presentation-mode-active .slide-content::-webkit-scrollbar { width: 6px !important; height: 6px !important; } body.presentation-mode-active .slide-content::-webkit-scrollbar-track { background: transparent !important; } body.presentation-mode-active .slide-content::-webkit-scrollbar-thumb { background: transparent !important; border-radius: 3px !important; } body.presentation-mode-active .slide-content::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.12) !important; } body.presentation-mode-active .slide-content > h1, body.presentation-mode-active .slide-content > h2, body.presentation-mode-active .slide-content > h3 { font-size: 1.85em !important; margin-top: 0 !important; margin-bottom: 35px !important; } body.presentation-mode-active #slide-10 .slide-content > h2, body.presentation-mode-active #slide-11 .slide-content > h2, body.presentation-mode-active .slide:has(#surgical-template-photo-preview) .slide-content > h2, body.presentation-mode-active .slide:has(#temporary-example-photo-preview) .slide-content > h2 { margin-bottom: 3px !important; } body.presentation-mode-active #slide-10 .state-photo-upload, body.presentation-mode-active #slide-11 .state-photo-upload, body.presentation-mode-active .slide:has(#surgical-template-photo-preview) .state-photo-upload, body.presentation-mode-active .slide:has(#temporary-example-photo-preview) .state-photo-upload { margin-top: 0 !important; } body.presentation-mode-active #slide-3 .slide-content > h2, body.presentation-mode-active #slide-6 .slide-content > h2, body.presentation-mode-active #slide-9 .slide-content > h2, body.presentation-mode-active #slide-10 .slide-content > h2, body.presentation-mode-active #slide-11 .slide-content > h2, body.presentation-mode-active #slide-12 .slide-content > h2 { font-size: 1.2em !important; margin-bottom: 12px !important; } body.presentation-mode-active #slide-3 .state-photo-upload, body.presentation-mode-active #slide-6 .state-photo-upload, body.presentation-mode-active #slide-9 .state-photo-upload, body.presentation-mode-active #slide-10 .state-photo-upload, body.presentation-mode-active #slide-11 .state-photo-upload, body.presentation-mode-active #slide-12 .state-photo-upload { flex: 1 !important; min-height: 0 !important; margin-top: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; } body.presentation-mode-active #slide-3 .state-photo-preview, body.presentation-mode-active #slide-6 .state-photo-preview, body.presentation-mode-active #slide-9 .state-photo-preview, body.presentation-mode-active #slide-10 .state-photo-preview, body.presentation-mode-active #slide-11 .state-photo-preview, body.presentation-mode-active #slide-12 .state-photo-preview { flex: 1 !important; min-height: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; }  body.presentation-mode-active #slide-9 .state-photo-upload .state-photo-preview, body.presentation-mode-active #slide-9 .state-photo-upload .upload-preview-large, body.presentation-mode-active #slide-10 .state-photo-upload .state-photo-preview, body.presentation-mode-active #slide-10 .state-photo-upload .upload-preview-large, body.presentation-mode-active #slide-11 .state-photo-upload .state-photo-preview, body.presentation-mode-active #slide-11 .state-photo-upload .upload-preview-large, body.presentation-mode-active #slide-12 .state-photo-upload .state-photo-preview, body.presentation-mode-active #slide-12 .state-photo-upload .upload-preview-large { width: 100% !important; max-width: min(920px, 90vw) !important; min-height: 200px !important; max-height: none !important; aspect-ratio: auto !important; box-sizing: border-box !important; margin: 0 auto !important; border-radius: 12px !important; } body.presentation-mode-active #slide-3 .state-photo-preview img, body.presentation-mode-active #slide-6 .state-photo-preview img { object-fit: contain !important; height: 100% !important; max-height: 100% !important; width: auto !important; max-width: 100% !important; } body.presentation-mode-active #slide-9 .state-photo-preview img, body.presentation-mode-active #slide-10 .state-photo-preview img, body.presentation-mode-active #slide-11 .state-photo-preview img, body.presentation-mode-active #slide-12 .state-photo-preview img, body.presentation-mode-active #slide-12 .state-photo-preview .photo-thumbnail-wrapper img { object-fit: contain !important; height: 100% !important; max-height: 100% !important; width: auto !important; max-width: 100% !important; } body.presentation-mode-active #slide-24 .slide-content > h2 { display: none !important; } body.presentation-mode-active #slide-24 .slide-content { display: flex !important; flex-direction: column !important; padding-top: 16px !important; overflow: hidden !important; } body.presentation-mode-active #slide-24 .scan3d-gallery { flex: 1 !important; min-height: 0 !important; display: flex !important; flex-direction: column !important; gap: 8px !important; overflow: hidden !important; } body.presentation-mode-active #slide-24 .scan3d-row { flex: 1 !important; min-height: 0 !important; } body.presentation-mode-active #slide-24 .scan3d-cell-inner, body.presentation-mode-active #slide-24 .scan3d-preview { display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; } body.presentation-mode-active #slide-24 .scan3d-preview img { object-fit: contain !important; max-height: 100% !important; width: auto !important; max-width: 100% !important; height: auto !important; } body.presentation-mode-active #slide-16 .slide-content > h2, body.presentation-mode-active .slide-content > h2.treatment-plan-title, body.presentation-mode-active .slide-content > h2.benefits-slide-title { font-size: 1.85em !important; margin-top: 0 !important; margin-bottom: 35px !important; } body.presentation-mode-active #slide-16 .slide-content > h2 { margin-bottom: 16px !important; } body.presentation-mode-active .presentation-mode-close { opacity: 0.5; transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease; } body.presentation-mode-active .presentation-mode-close:hover { opacity: 1; } body.presentation-mode-active .presentation-mode-indicator { display: none !important; } body.presentation-mode-active .current-date-display { display: none !important; } body.presentation-mode-active .slide-content { font-size: inherit !important; line-height: inherit !important; } body.presentation-mode-active img { transform: none !important; } body.presentation-mode-active svg { transform: none !important; } body.presentation-mode-active .logo-small, body.presentation-mode-active .logo { transform: none !important; } body.presentation-mode-active .icon, body.presentation-mode-active .diag-icon, body.presentation-mode-active .inclusive-icon, body.presentation-mode-active .implant-meta-icon, body.presentation-mode-active .tooth-icon-empty, body.presentation-mode-active .tooth-icon-filled, body.presentation-mode-active .tooth-icon-missing { transform: none !important; } body.presentation-mode-active .member-photo img, body.presentation-mode-active .team-member img { transform: none !important; } body.presentation-mode-active .implant-logo, body.presentation-mode-active .implant-visual img, body.presentation-mode-active .implant-guarantee img, body.presentation-mode-active .implant-card-arrow { transform: none !important; } body.presentation-mode-active p, body.presentation-mode-active label, body.presentation-mode-active input, body.presentation-mode-active textarea, body.presentation-mode-active select { font-size: inherit !important; line-height: inherit !important; } body.presentation-mode-active .table-add-row, body.presentation-mode-active .btn-add-plan-row, body.presentation-mode-active .btn-add-consequence, body.presentation-mode-active .btn-add-row, body.presentation-mode-active #slide-14 .btn-add-ba-row-in-slide, body.presentation-mode-active .btn-add-diagnostic { display: none !important; } body.presentation-mode-active .treatment-row-delete, body.presentation-mode-active .benefit-row-delete, body.presentation-mode-active .benefit-row-star, body.presentation-mode-active .row-delete, body.presentation-mode-active .consequence-row-delete, body.presentation-mode-active .photo-delete-btn, body.presentation-mode-active .diagnostic-checklist-delete, body.presentation-mode-active .plan-row-delete, body.presentation-mode-active .team-photo-delete, body.presentation-mode-active .team-member-card-delete, body.presentation-mode-active .btn-add-team-member, body.presentation-mode-active .cost-calc-row-delete, body.presentation-mode-active .staged-payment-delete { display: none !important; } body.presentation-mode-active #slide-12 .construction-variants-row, body.presentation-mode-active .construction-variant-btn { display: none !important; } body.presentation-mode-active input[type="file"] { display: none !important; visibility: hidden !important; position: absolute !important; left: -9999px !important; } body.presentation-mode-active label[for="patient-photo"], body.presentation-mode-active .upload-placeholder, body.presentation-mode-active .photo-upload-large label, body.presentation-mode-active .dg-preview, body.presentation-mode-active .scan3d-preview { pointer-events: none !important; cursor: default !important; } body.presentation-mode-active .ba-dropdown-trigger { display: none !important; } body.print-preview #slide-4 .slide-content .patient-info-grid, body.print-preview #slide-4 .patient-info-grid { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important; border: none !important; } @media print { @page { size: 297mm 210mm; margin: 0; }   html, body { margin: 0 !important; padding: 0 !important; width: 297mm !important; height: 210mm !important; overflow: hidden !important; -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }   body.print-preview #top-controls-bar, body.print-preview .top-controls-bar, body.print-preview #bottom-navigation, body.print-preview .navigation, body.print-preview .presentation-mode-overlay { display: none !important; }   body.print-preview .presentation-container .slide:not(#slide-1):not(#slide-5):not(#slide-21) { display: none !important; }   body.print-preview.report-includes-slide-14 .presentation-container .slide:not(#slide-1):not(#slide-5):not(#slide-14):not(#slide-21) { display: none !important; }      body.print-preview #slide-1, body.print-preview #slide-5, body.print-preview #slide-21 { display: flex !important; visibility: visible !important; width: 297mm !important; height: 210mm !important; min-width: 297mm !important; min-height: 210mm !important; max-width: 297mm !important; max-height: 210mm !important; margin: 0 !important; padding: 0 !important; border: none !important; box-shadow: none !important; background: #fff !important; box-sizing: border-box !important; page-break-after: always !important; page-break-inside: avoid !important; overflow: hidden !important; }   body.print-preview #slide-21 { page-break-after: auto !important; }   body.print-preview.report-includes-slide-14 #slide-14 { display: flex !important; visibility: visible !important; width: 297mm !important; height: 210mm !important; min-width: 297mm !important; min-height: 210mm !important; max-width: 297mm !important; max-height: 210mm !important; margin: 0 !important; padding: 0 !important; border: none !important; box-shadow: none !important; background: #fff !important; box-sizing: border-box !important; page-break-after: always !important; page-break-inside: avoid !important; overflow: hidden !important; }   body.print-preview { background: #fff !important; padding: 0 !important; margin: 0 !important; }   body.print-preview #presentation-app { width: 297mm !important; max-width: 297mm !important; padding: 0 !important; margin: 0 !important; background: #fff !important; }   body.print-preview .presentation-container { display: block !important; width: 297mm !important; max-width: 297mm !important; padding: 0 !important; margin: 0 !important; background: transparent !important; }   .print-preview-download-overlay { display: none !important; } }

/* Стили кнопки «Скачать отчет в PDF» в навигации.
   Кнопка показывается только на последнем слайде (класс .on-last-slide на body выставляет script_main). */

.btn-download-pdf,
#btn-download-pdf {
  display: none !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.9em;
  font-weight: 600;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  color: #fff;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

body.on-last-slide .btn-download-pdf,
body.on-last-slide #btn-download-pdf {
  display: inline-flex !important;
}

.btn-download-pdf:hover,
#btn-download-pdf:hover {
  background: linear-gradient(135deg, #2c5282 0%, #2b6cb0 100%);
}

.btn-download-pdf:active,
#btn-download-pdf:active {
  transform: scale(0.98);
}

.btn-download-pdf svg {
  flex-shrink: 0;
}

/* Группа кнопок: «Сформировать отчет» и «Скачать отчет в PDF» рядом */
.nav-report-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-report-buttons .btn-next {
  margin-right: 0;
}
.nav-main .btn-download-pdf,
.nav-main #btn-download-pdf {
  margin-right: 0;
}

/* Модальное окно восстановления автосохранения.
   Подключить на страницу вместе с script_autosave (после script_extension).
   Стиль: Unbounded, стекло, в духе presentation-app. */
.autosave-restore-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  padding: 20px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Unbounded', sans-serif;
  transition: background 0.25s ease;
}
.autosave-restore-overlay--visible { background: rgba(0, 0, 0, 0.52); }

.autosave-restore-dialog {
  background: rgba(30, 40, 55, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 32px 36px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.autosave-restore-eyebrow {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(52, 152, 219, 0.95);
  text-align: center;
}

.autosave-restore-title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
  text-align: center;
}

.autosave-restore-patient {
  margin: 0 0 6px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  line-height: 1.4;
}

.autosave-restore-when {
  margin: 0 0 24px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.autosave-restore-actions { display: flex; flex-direction: column; gap: 10px; }

.autosave-restore-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  box-sizing: border-box;
  text-align: center;
}

.autosave-restore-btn-primary {
  background: rgba(52, 152, 219, 0.35);
  color: #fff;
  border-color: rgba(52, 152, 219, 0.6);
}

.autosave-restore-btn-primary:hover {
  background: rgba(52, 152, 219, 0.5);
  border-color: #3498db;
  color: #fff;
}

.autosave-restore-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.autosave-restore-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}