.team-top-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  border: none;
  border-radius: 0;
  background: #d4af37;
  z-index: 10;
  letter-spacing: 1px;
}

.member-photo {
  font-size: 2em;
  margin-bottom: 20px;
  width: 100%;
  max-width: 248px;
  height: 260px;
  border-radius: 0;
  overflow: hidden;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
  transition: all 0.3s ease;
  padding: 0 4px;
  box-sizing: border-box;
}

.team-member:hover .member-photo {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.guarantee-icon {
  font-size: 2em;
  margin-bottom: 10px;
}

.cost-breakdown {
  background: var(--bg-glass);
  padding: 20px;
  margin-bottom: 20px;
}

.cost-item, .cost-total, .cost-discount, .cost-final {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cost-final {
  border-bottom: none;
  font-weight: bold;
  font-size: 1.2em;
}

.conclusion {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.patient-summary {
  background: var(--bg-glass);
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}

.contact-info {
  margin-top: 20px;
}

.photo-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.photo-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px 80px 40px;
  box-sizing: border-box;
}

.photo-modal-image-container {
  width: 100%;
  max-width: 100%;
  max-height: calc(90vh - 200px);
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
}

.photo-modal-content img {
  width: auto;
  max-width: 100%;
  max-height: calc(90vh - 200px);
  object-fit: contain;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
  cursor: grab;
}

.photo-modal-content img:active {
  cursor: grabbing;
}

.photo-modal-toolbar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 15px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.photo-modal-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-size: 18px;
  font-weight: bold;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: var(--font-family);
}

.photo-modal-btn:hover {
  background: rgba(52, 152, 219, 0.8);
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.photo-modal-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.photo-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--border-glass-light);
  color: var(--color-white);
  font-size: 32px;
  font-weight: bold;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
  padding: 0;
  z-index: 11;
}

.photo-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
}

.photo-modal-delete {
  background: var(--color-danger);
  color: var(--color-white);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.photo-modal-delete:hover {
  background: #c0392b;
  transform: scale(1.05);
}

.photo-thumbnail-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.photo-thumbnail-wrapper img {
  cursor: pointer;
  background: transparent;
  border: none;
  display: block;
}

.upload-preview img,
.upload-preview-large img {
  cursor: pointer;
  position: relative;
  background: transparent;
  border: none;
}

.photo-delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
  aspect-ratio: 1 / 1;
  background: rgba(231, 76, 60, 0.9);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, background-color 0.2s;
  z-index: 1000;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: auto !important;
}

.photo-delete-btn::before {
  content: '×';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
}

.photo-thumbnail-wrapper:hover .photo-delete-btn {
  opacity: 1;
}

.photo-delete-btn:hover {
  background: rgba(192, 57, 43, 1);
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.photo-fit-btn {
  position: absolute !important;
  top: 5px !important;
  right: 36px !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  aspect-ratio: 1 / 1;
  background: rgba(52, 152, 219, 0.9) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 16px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.2s, background-color 0.2s, transform 0.2s;
  z-index: 10001 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: auto !important;
  font-weight: 600;
}

.photo-thumbnail-wrapper:hover .photo-fit-btn {
  opacity: 1 !important;
}

.photo-fit-btn:hover {
  opacity: 1 !important;
  background: rgba(41, 128, 185, 1) !important;
}

.photo-fit-btn:hover {
  background: rgba(41, 128, 185, 1);
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.photo-reset-btn {
  position: absolute !important;
  top: 5px !important;
  right: 67px !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  aspect-ratio: 1 / 1;
  background: rgba(243, 156, 18, 0.9) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 16px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.2s, background-color 0.2s, transform 0.2s;
  z-index: 10001 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: auto !important;
  font-weight: 600;
}

.photo-thumbnail-wrapper:hover .photo-reset-btn {
  opacity: 1 !important;
}

.photo-reset-btn:hover {
  opacity: 1 !important;
  background: rgba(230, 126, 34, 1) !important;
}

.photo-reset-btn:hover {
  background: rgba(230, 126, 34, 1);
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.photo-thumbnail-wrapper img.photo-fit-contain {
  object-fit: contain !important;
  object-position: center !important;
}

.photo-thumbnail-wrapper img.photo-fit-cover {
  object-fit: cover !important;
}

.upload-preview-large .photo-thumbnail-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-preview-large .photo-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* РЎР»Р°Р№Рґ 1: С„РѕС‚Рѕ РІРїРёСЃР°РЅРѕ РІ РїР»РµР№СЃС…РѕР»РґРµСЂ (contain); СЃРєСЂСѓРіР»РµРЅРёРµ РЅР° СЃР°РјРѕРј img вЂ” script_main_2 applyRoundedContainImage */
#slide-1 .upload-preview-large .photo-thumbnail-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  position: relative;
  overflow: visible;
  border-radius: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  line-height: 0;
  isolation: isolate;
  transform: translateZ(0);
}

#slide-1 .upload-preview-large .photo-thumbnail-wrapper img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateZ(0);
  display: block;
  transition: cursor 0.2s;
  user-select: none;
  -webkit-user-drag: none;
}

#slide-1 .upload-preview-large .photo-thumbnail-wrapper img:hover {
  cursor: move;
}

#slide-1 .upload-preview-large .photo-thumbnail-wrapper img:active {
  cursor: grabbing;
}

.upload-preview .photo-thumbnail-wrapper {
  position: relative;
  display: inline-block;
}

#inspection-photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-start;
  justify-content: flex-start;
}

#inspection-photo-preview .photo-thumbnail-wrapper {
  position: relative;
  display: inline-block;
  flex: 0 0 calc(33.333% - 10px);
  max-width: calc(33.333% - 10px);
  min-width: 200px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid var(--border-glass-light);
  box-sizing: border-box;
}

#inspection-photo-preview .photo-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: cursor 0.2s;
  user-select: none;
  -webkit-user-drag: none;
}

#inspection-photo-preview .photo-thumbnail-wrapper img:hover {
  cursor: move;
}

#inspection-photo-preview .photo-thumbnail-wrapper img:active {
  cursor: grabbing;
}

.state-photo-preview .photo-thumbnail-wrapper {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 15px;
}

.state-photo-preview .photo-thumbnail-wrapper:last-child {
  margin-bottom: 0;
}

#before-photo-preview,
#after-photo-preview {
  width: 100%;
  height: 480px;
  max-width: 100%;
  max-height: 480px;
  min-height: 300px;
  min-width: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}

#before-photo-preview .photo-thumbnail-wrapper,
#after-photo-preview .photo-thumbnail-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  flex: 1 1 100%;
}

#before-photo-preview .photo-thumbnail-wrapper img,
#after-photo-preview .photo-thumbnail-wrapper img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  transition: cursor 0.2s;
  user-select: none;
  -webkit-user-drag: none;
  border: none !important;
  border-radius: 0 !important;
}

#before-photo-preview .photo-thumbnail-wrapper img:hover,
#after-photo-preview .photo-thumbnail-wrapper img:hover {
  cursor: move;
}

#before-photo-preview .photo-thumbnail-wrapper img:active,
#after-photo-preview .photo-thumbnail-wrapper img:active {
  cursor: grabbing;
}

#before-photo-preview.state-photo-preview,
#after-photo-preview.state-photo-preview {
  min-height: 480px !important;
  height: 480px !important;
  max-height: 480px !important;
}

#before-photo-preview:has(.photo-thumbnail-wrapper) .photo-add-tile:not(.photo-add-tile-compact),
#after-photo-preview:has(.photo-thumbnail-wrapper) .photo-add-tile:not(.photo-add-tile-compact) {
  display: none;
}

#before-photo-preview:has(.photo-thumbnail-wrapper) .photo-add-tile.photo-add-tile-compact,
#after-photo-preview:has(.photo-thumbnail-wrapper) .photo-add-tile.photo-add-tile-compact {
  display: flex !important;
}

#slide-14 {
  padding-right: 12px !important;
  overflow-x: visible !important;
}
#slide-14 .slide-content {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
}

#slide-14 .ba-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex-shrink: 0;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  padding-left: 14px;
  padding-right: 52px;
}

#slide-14 .ba-head-col {
  border: none;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 0;
  overflow: hidden;
  align-items: stretch;
  padding: 0;
}

#slide-14 .ba-head-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05em;
  color: var(--color-white);
  padding: 4px 6px 6px;
  flex-shrink: 0;
  box-sizing: border-box;
}

#slide-14 .ba-head-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
}

#slide-14 .ba-head-photo .before-after-photo-block {
  width: 100%;
  max-width: min(100%, 38vh);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  min-height: 0;
  margin: 0;
}

#slide-14 .ba-head #before-photo-preview .upload-placeholder,
#slide-14 .ba-head #after-photo-preview .upload-placeholder {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.8);
}

#slide-14 .ba-head #before-photo-preview,
#slide-14 .ba-head #after-photo-preview {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  display: block;
  overflow: hidden;
}
#slide-14 .ba-head .before-after-photo-block .photo-thumbnail-wrapper img,
#slide-14 .ba-head #before-photo-preview img,
#slide-14 .ba-head #after-photo-preview img {
  object-fit: contain !important;
  width: 100%;
  height: 100%;
  object-position: center;
}

#slide-14 .ba-table-scroll-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

#slide-14 .ba-table-scroll {
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  width: 100%;
  box-sizing: border-box;
  padding-left: 14px;
  padding-bottom: 32px;
}

#slide-14 .ba-table-scroll::-webkit-scrollbar { width: 8px; }
#slide-14 .ba-table-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin: 4px 0;
}
#slide-14 .ba-table-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}
#slide-14 .ba-table-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}

#slide-14 .ba-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  min-height: 0;
  flex-shrink: 0;
  overflow: visible;
}

#slide-14 .ba-row-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

#slide-14 .ba-row-wrap .ba-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: min-content;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 10px 10px 12px;
  overflow: visible;
  position: relative;
}

#slide-14 .ba-cell {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  min-height: 0;
  box-sizing: border-box;
  position: relative;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: visible;
}

#slide-14 .ba-cell.before-cell {
  padding: 0 20px 0 0;
  overflow: visible;
}
#slide-14 .ba-cell.after-cell {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 24px;
  padding-right: 0;
  overflow: visible;
}

#slide-14 .ba-cell .row-number {
  flex-shrink: 0;
  width: 28px;
  min-width: 28px;
  color: var(--color-white);
  font-size: 0.95em;
  font-weight: 700;
  text-align: center;
  padding-top: 10px;
  line-height: 1.2;
}

#slide-14 .ba-cell .before-cell-inner,
#slide-14 .ba-cell .after-cell-inner {
  flex: 1 1 auto;
  flex-direction: row !important;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  padding-top: 2px;
  overflow: visible;
}

#slide-14 .ba-cell.after-cell .after-cell-inner {
  flex: 1;
}

#slide-14 .ba-row-wrap .row-delete {
  flex-shrink: 0;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: none !important;
  max-height: none !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: #e74c3c !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  box-sizing: border-box;
  transition: background-color 0.2s, transform 0.15s;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: auto !important;
}

#slide-14 .ba-row-wrap .row-delete:hover {
  background: #c0392b !important;
  transform: scale(1.05);
  opacity: 1 !important;
}

#slide-14 .ba-row-wrap .row-delete::before {
  content: '×';
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}

#slide-14 .before-cell-inner .before-input,
#slide-14 .after-cell-inner .after-input {
  flex: 1 1 auto;
  min-width: 0;
  resize: none;
  overflow-y: hidden;
  overflow-x: hidden;
  padding-right: 36px;
  box-sizing: border-box;
  min-height: 2.5em !important;
  height: auto !important;
  max-height: none !important;
}

#slide-14 .before-input,
#slide-14 .after-input {
  padding: 8px 12px 8px 0;
  border: none;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: 13px;
  outline: none;
  border-bottom: none;
  width: 100%;
  box-sizing: border-box;
  min-height: 0;
  max-height: none;
  line-height: 1.5;
  margin: 0;
  resize: none;
  word-wrap: break-word;
  white-space: pre-wrap;
}

#slide-14 .ba-dropdown-trigger {
  flex-shrink: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  color: transparent;
}

#slide-14 .ba-dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.35);
}

#slide-14 .ba-dropdown-arrow {
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(255, 255, 255, 0.9);
  margin-top: -2px;
}

#slide-14 .ba-dropdown-trigger[aria-expanded="true"] .ba-dropdown-arrow {
  border-top-color: transparent;
  border-bottom: 6px solid rgba(255, 255, 255, 0.9);
  margin-top: -4px;
}

#slide-14 .ba-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  margin-top: 6px;
  max-height: min(70vh, 400px);
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(18, 28, 42, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

#slide-14 .ba-dropdown.open {
  display: block;
  z-index: 100;
}

#slide-14 .ba-dropdown-option {
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-white);
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease;
  white-space: normal;
  word-wrap: break-word;
}

#slide-14 .ba-dropdown-option:last-child {
  border-bottom: none;
}

#slide-14 .ba-dropdown-option:hover {
  background: rgba(52, 152, 219, 0.35);
}

#slide-14 .before-input::placeholder,
#slide-14 .after-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#slide-14 > .btn-add-ba-row-in-slide {
  position: absolute;
  top: 54px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  font-family: var(--font-family);
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s;
}
#slide-14 > .btn-add-ba-row-in-slide:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

#slide-14 > .btn-ba-photo-only-in-slide {
  position: absolute;
  top: 96px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  font-family: var(--font-family);
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s;
}
#slide-14 > .btn-ba-photo-only-in-slide:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}
#slide-14 > .btn-ba-photo-only-in-slide.active {
  background: rgba(52, 152, 219, 0.35);
  border-color: rgba(52, 152, 219, 0.6);
}

#slide-14.ba-photo-only-mode .ba-table-scroll-wrap {
  display: none !important;
}
#slide-14.ba-photo-only-mode .ba-head {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  padding-left: 14px;
  padding-right: 52px;
  margin-bottom: 0;
  max-width: 100%;
}
#slide-14.ba-photo-only-mode .ba-head-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(45vw, 50%);
  flex: 1 1 0;
  min-width: 0;
  border: none;
  border-radius: 8px;
  padding: 12px;
  box-sizing: border-box;
}
#slide-14.ba-photo-only-mode .ba-head-label {
  order: 2;
  margin-top: 6px;
  padding: 2px 0 0;
  flex-shrink: 0;
}
#slide-14.ba-photo-only-mode .ba-head-photo {
  order: 1;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#slide-14.ba-photo-only-mode .ba-head-photo .before-after-photo-block {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}
#slide-14.ba-photo-only-mode .ba-head-photo .before-after-photo-block .state-photo-upload,
#slide-14.ba-photo-only-mode .ba-head-photo .before-after-photo-block .state-photo-upload label {
  width: 100%;
  height: 100%;
  min-height: 0;
}
#slide-14.ba-photo-only-mode #before-photo-preview,
#slide-14.ba-photo-only-mode #after-photo-preview {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.state-photo-upload {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  width: 100%;
  max-width: 100%;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

#slide-10 .slide-content > h2,
#slide-11 .slide-content > h2,
.slide:has(#surgical-template-photo-preview) .slide-content > h2,
.slide:has(#temporary-example-photo-preview) .slide-content > h2 { margin-bottom: 3px !important; }
#slide-10 .state-photo-upload,
#slide-11 .state-photo-upload,
.slide:has(#surgical-template-photo-preview) .state-photo-upload,
.slide:has(#temporary-example-photo-preview) .state-photo-upload { margin-top: 0 !important; }

#slide-11 .construction-variants-row { margin-top: 14px; }
body.presentation-mode-active #slide-11 .construction-variants-label { display: none !important; }

.diagnokat-photo-section {
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
}
.diagnokat-photo-label {
  display: block;
  width: 100%;
  cursor: pointer;
}

#diagnokat-photo-preview {
  min-height: 200px !important;
  border: 2px dashed rgba(255, 255, 255, 0.35) !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  align-content: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
#diagnokat-photo-preview:hover {
  border-color: rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

#diagnokat-photo-preview:has(.photo-thumbnail-wrapper),
#diagnokat-photo-preview:has(img) {
  border: none !important;
  background: transparent !important;
}
#diagnokat-photo-preview .upload-placeholder {
  width: 100%;
  text-align: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14px !important;
}
#slide-4 .diagnokat-photo-preview {
  min-height: 200px;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  align-content: flex-start;
  padding: 16px;
  box-sizing: border-box;
}
#slide-4 .diagnokat-photo-preview:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}
#slide-4 .diagnokat-photo-preview .upload-placeholder {
  width: 100%;
  text-align: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.6);
}
#slide-4 .diagnokat-photo-preview .photo-thumbnail-wrapper {
  flex: 0 0 auto;
  max-width: 320px;
  height: auto;
  overflow: visible;
}
#slide-4 .diagnokat-photo-preview .photo-thumbnail-wrapper img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* РЎР»Р°Р№Рґ 3 В«Р”РёР°РіРЅРѕРєР°С‚В»: РїРѕ РІС‹СЃРѕС‚Рµ СЃР»Р°Р№РґР° Р±РµР· РѕР±СЂРµР·РєРё; СЃРєСЂСѓРіР»РµРЅРёРµ РЅР° img вЂ” applyRoundedContainImage */
#slide-3 #diagnokat-photo-preview:has(.photo-thumbnail-wrapper),
#slide-3 #diagnokat-photo-preview:has(img) {
  height: min(70vh, 580px);
  max-height: min(70vh, 580px);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#slide-3 #diagnokat-photo-preview .photo-thumbnail-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  box-sizing: border-box;
  line-height: 0;
  isolation: isolate;
  transform: translateZ(0);
}

#slide-3 #diagnokat-photo-preview .photo-thumbnail-wrapper img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateZ(0);
  border: none;
  display: block;
}

.state-photo-preview:not(#before-photo-preview):not(#after-photo-preview) {
  width: 100%;
  max-width: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
  margin-bottom: 20px;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.state-photo-preview:not(#before-photo-preview):not(#after-photo-preview):has(img) .upload-placeholder {
  display: none;
}

#diagnokat-photo-preview:not(:has(.photo-thumbnail-wrapper)):not(:has(img)) .upload-placeholder {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 120px !important;
  flex: 1 1 auto;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 14px !important;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
}
#diagnokat-photo-preview:has(.photo-thumbnail-wrapper) .upload-placeholder,
#diagnokat-photo-preview:has(img) .upload-placeholder {
  display: none !important;
  visibility: hidden !important;
}

.state-photo-preview:not(#before-photo-preview):not(#after-photo-preview) .photo-thumbnail-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  position: relative;
  display: block;
}

.state-photo-preview:not(#before-photo-preview):not(#after-photo-preview) .photo-thumbnail-wrapper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  border: 2px solid var(--border-glass-light);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  display: block;
}

.state-photo-preview .photo-thumbnail-wrapper:hover img {
  border-color: var(--color-primary);
}

.state-photo-preview .photo-delete-btn {
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
  aspect-ratio: 1 / 1;
}

.state-photo-preview .photo-delete-btn::before {
  font-size: 20px;
}

.state-photo-preview .photo-fit-btn {
  top: 10px;
  right: 36px;
}

.state-photo-preview .photo-reset-btn {
  top: 10px;
  right: 67px;
}

.state-photo-preview .photo-delete-btn {
  top: 10px;
  right: 10px;
}

.btn-clear-scheme {
  background: var(--bg-glass);
  color: var(--color-white);
  border: 2px solid var(--border-glass-light);
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-family: var(--font-family);
  font-size: 13px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.btn-clear-scheme:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.consequence-table {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.consequence-table-header {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
  font-size: 0.9em;
}

.consequence-header-spacer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.consequence-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consequence-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 12px;
  align-items: stretch;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding-right: 46px;
}

.consequence-row .consequence-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consequence-row .consequence-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.consequence-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 12px;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 48px;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  height: auto;
}

.consequence-cell-inner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.consequence-cell-inner .consequence-input {
  flex: 1;
  min-width: 0;
  resize: none;
}

.consequence-dropdown-trigger {
  flex-shrink: 0;
  position: relative;
  z-index: 15;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  color: transparent;
}

.consequence-dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.35);
}

.consequence-dropdown-arrow {
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(255, 255, 255, 0.9);
  margin-top: -2px;
}

.consequence-dropdown-trigger[aria-expanded="true"] .consequence-dropdown-arrow {
  border-top-color: transparent;
  border-bottom: 6px solid rgba(255, 255, 255, 0.9);
  margin-top: -4px;
}

.consequence-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  max-height: 200px;
  overflow-y: auto;
  background: rgba(18, 28, 42, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.consequence-dropdown.open {
  display: block;
  z-index: 20;
}

.consequence-dropdown-option {
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-white);
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease;
}

.consequence-dropdown-option:last-child {
  border-bottom: none;
}

.consequence-dropdown-option:hover {
  background: rgba(52, 152, 219, 0.35);
}

.consequence-row-delete {
  position: absolute;
  top: 0;
  right: 6px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  max-width: 34px;
  max-height: 34px;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 50%;
  background: rgba(231, 76, 60, 0.95);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  opacity: 1 !important;
  z-index: 10;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.consequence-row-delete:hover {
  background: rgba(192, 57, 43, 1);
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.consequence-row-delete::before {
  content: '×';
  display: block;
  font-size: 20px;
  font-weight: 400;
}

.consequence-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.consequence-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.consequence-input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  min-height: 40px;
  line-height: 1.5;
  margin: 0;
  width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: pre-wrap;
  overflow-y: hidden;
  resize: none;
  display: block;
}

.consequence-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.consequence-item .consequence-delete {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(231, 76, 60, 0.8);
  color: var(--color-white);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.3s;
}

.consequence-item:hover .consequence-delete {
  opacity: 1;
}

.btn-add-consequence {
  background: var(--bg-glass);
  border: 2px solid var(--border-glass-light);
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  padding: 10px;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 20px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.btn-add-consequence:hover {
  background: rgba(52, 152, 219, 0.3);
  border-color: var(--color-primary);
}

.btn-add-consequence span {
  line-height: 1;
}

.consequence-table > .btn-add-consequence {
  align-self: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.plan-slide-header {
  margin-bottom: 10px;
}
.btn-plan-period-reset {
  padding: 8px 16px;
  font-size: 0.9em;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  cursor: pointer;
}
.btn-plan-period-reset:hover {
  background: rgba(255, 255, 255, 0.2);
}
.plan-period-modal .plan-period-hint {
  margin: 0 0 16px 0;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.8);
}
.plan-period-modal .plan-period-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.plan-period-modal .plan-period-fields label {
  display: block;
  margin-bottom: 4px;
}
.plan-months {
  display: grid;
  grid-template-columns: 240px repeat(var(--plan-months-count, 12), minmax(28px, 1fr)) 40px;
  gap: 6px;
  margin: 20px 0;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.plan-month {
  text-transform: uppercase;
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.plan-months .plan-month:not(.plan-month-label):not(.plan-month-empty) {
  background: rgba(255, 255, 255, 0.05);
}

.plan-month.plan-month-label {
  writing-mode: horizontal-tb;
  transform: none;
  font-size: 0.85em;
  font-weight: 600;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.3) 0%, rgba(52, 152, 219, 0.2) 100%) !important;
  border: 2px solid rgba(52, 152, 219, 0.6) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

.plan-month.plan-month-empty {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.plan-timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.plan-row {
  display: grid;
  grid-template-columns: 240px repeat(var(--plan-months-count, 12), minmax(28px, 1fr)) 40px;
  gap: 6px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.plan-row-text {
  display: flex;
  grid-column: 1;
  align-items: stretch;
}

.plan-row-text textarea {
  width: 100%;
  min-height: 70px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px;
  color: var(--color-white);
  font-size: 0.9em;
  font-family: var(--font-family);
  line-height: 1.4;
  box-sizing: border-box;
  resize: none;
  overflow: hidden;
  border-radius: 4px;
  margin: 0;
}

.plan-row-track {
  position: relative;
  grid-column: 2 / -2;
  width: 100%;
  min-height: 60px;
  height: 100%;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  background-image: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 2px,
    transparent 2px,
    transparent 12.5%);
  overflow: hidden;
  border-radius: 6px;
  touch-action: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.plan-row:hover .plan-row-delete {
  opacity: 1;
}

.plan-row-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55px;
  background: linear-gradient(120deg, #4cd964, #2ecc71);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: grab;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(0);
}

.plan-row-bar:active {
  cursor: grabbing;
}

body.presentation-mode-active #slide-16 .slide-content {
  overflow-x: hidden;
  min-width: 0;
}
body.presentation-mode-active #slide-16 .plan-months,
body.presentation-mode-active #slide-16 .plan-row {
  min-width: 0;
  max-width: 100%;
}
body.presentation-mode-active #slide-16 .plan-row {
  align-items: stretch;
}
body.presentation-mode-active #slide-16 .plan-row-track {
  min-width: 0;
  overflow: hidden;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  position: relative;
}

body.presentation-mode-active #slide-16 .plan-row-bar {
  top: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}

.btn-add-plan-row {
  align-self: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  max-width: 48px;
  min-height: 48px;
  max-height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0;
}

.plan-summary {
  margin-top: 15px;
  font-weight: 600;
  text-align: center;
}
.plan-summary-months {
  width: 3em;
  margin: 0 4px;
  padding: 4px 6px;
  text-align: center;
  font-weight: 600;
  font-family: var(--font-family);
  font-size: 1em;
  border: 2px solid var(--border-glass-light);
  background: var(--bg-glass);
  color: var(--color-white);
  -moz-appearance: textfield;
}
.plan-summary-months::-webkit-outer-spin-button,
.plan-summary-months::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.plan-summary-months:focus { outline: none; border-color: var(--color-primary); }

.treatment-table {
  margin-top: 20px;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.treatment-header,
.treatment-row {
  display: grid;
  grid-template-columns: 140px 320px 1fr 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 0 !important;
  padding: 0;
  position: relative;
  margin: 0;
  border-top: none;
}

.treatment-header {
  padding: 0;
  margin: 0 0 0 0;
  border: none;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.25) 0%, rgba(52, 152, 219, 0.15) 100%);
  border-bottom: 2px solid rgba(52, 152, 219, 0.6);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.treatment-header div {
  font-size: 0.9em;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.95);
  padding: 12px 10px;
  border: none;
  background: transparent;
  border-radius: 0 !important;
  box-sizing: border-box;
  margin: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  position: relative;
  font-weight: 700;
  text-align: center;
}

.treatment-header div {
  font-weight: 700 !important;
}

.treatment-header div:first-child,
.treatment-header div:nth-child(2) {
  justify-content: flex-start !important;
  text-align: left !important;
  padding-left: 12px;
  align-items: center !important;
}

.treatment-header div:nth-child(3),
.treatment-header div:nth-child(4),
.treatment-header div:nth-child(5) {
  justify-content: center !important;
  text-align: center !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  align-items: center !important;
}

.treatment-row {
  display: grid;
  grid-template-columns: 140px 320px 1fr 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  background: transparent;
  border: none;
  border-radius: 0 !important;
  padding: 0;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  margin: 0;
  border-top: none;
  width: 100%;
  box-sizing: border-box;
}

.treatment-row .treatment-value.highlight-column {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: none !important;
  justify-content: center !important;
  text-align: center !important;
  align-items: center !important;
  align-self: stretch !important;
  height: 100% !important;
}

.treatment-row .treatment-value[data-plan="rational"] {
  padding: 0 !important;
  margin: 0 !important;
}

.treatment-row .treatment-value.highlight-column,
.treatment-row .treatment-value[data-plan="rational"] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.treatment-row .treatment-value {
  justify-content: center !important;
  text-align: center !important;
  align-items: center !important;
}

.treatment-summary .summary-values span {
  justify-content: center !important;
  text-align: center !important;
  align-items: center !important;
}

.treatment-row .treatment-period {
  justify-content: flex-start !important;
  text-align: left !important;
  align-items: flex-start !important;
}

.treatment-row .treatment-services {
  justify-content: flex-start !important;
  text-align: left !important;
  align-items: flex-start !important;
}

.treatment-row:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.treatment-row + .treatment-row {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.treatment-period {
  font-weight: 400;
  font-size: 0.8em;
  line-height: 1.3;
  min-height: 42px;
  height: 100%;
  border: none;
  border-radius: 0 !important;
  padding: 10px;
  padding-left: 10px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-line;
  text-align: left;
  align-self: stretch;
}

.treatment-period[contenteditable="true"],
.treatment-value[contenteditable="true"],
.benefit-label[contenteditable="true"],
.benefit-value[contenteditable="true"] {
  outline: none;
}

.treatment-period[contenteditable="true"]:focus,
.treatment-value[contenteditable="true"]:focus,
.benefit-value[contenteditable="true"]:focus,
.benefit-label[contenteditable="true"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(52, 152, 219, 0.25);
}

.treatment-services {
  display: flex;
  height: auto;
  align-items: stretch;
  align-self: stretch;
}

.treatment-services textarea {
  width: 100%;
  min-height: 80px;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0 !important;
  padding: 10px;
  padding-left: 10px;
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: 0.8em;
  resize: none;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  line-height: 1.3;
  font-weight: 400;
}

.treatment-row {
  min-height: auto;
  height: auto;
  align-items: stretch;
}

.treatment-row {
  grid-auto-rows: auto;
}

.treatment-row .treatment-services {
  min-height: auto;
  height: auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.treatment-row .treatment-services textarea {
  min-height: 70px;
  height: auto;
  overflow: hidden;
  resize: none;
  flex: 1 1 auto;
}

.treatment-services textarea {
  overflow-y: hidden;
  overflow-x: hidden;
}

.treatment-value {
  background: transparent;
  border: none;
  border-radius: 0 !important;
  padding: 10px;
  min-height: 42px;
  height: 100%;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 0.8em;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  position: relative;
  font-weight: 400;
  align-self: stretch;
}

.treatment-value.highlight-column {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin: 0 !important;
  justify-content: center !important;
  text-align: center !important;
  align-items: center !important;
}

.treatment-row-delete,
.benefit-row-delete,
.plan-row-delete,
.consequence-row-delete,
.row-delete,
.photo-delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: none;
  background: rgba(231, 76, 60, 0.9);
  color: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  overflow: hidden;
  z-index: 10;
}

.treatment-row-delete::before,
.benefit-row-delete::before,
.plan-row-delete::before,
.consequence-row-delete::before,
.row-delete::before {
  content: '\00D7';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}

.benefit-row-star {
  position: absolute;
  top: 8px;
  right: 40px;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: none;
  background: rgba(52, 152, 219, 0.7);
  color: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  overflow: hidden;
  z-index: 10;
}

.benefit-row:hover .benefit-row-star {
  opacity: 1;
}

.benefit-row-star::before {
  content: 'РІВвЂ¦';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  text-align: center;
}

.benefit-row-star.active {
  background: rgba(255, 215, 0, 0.9);
  opacity: 1;
}

.benefit-row-star.active::before {
  filter: brightness(0) invert(1);
}

.treatment-row:hover .treatment-row-delete,
.benefit-row:hover .benefit-row-delete {
  opacity: 1;
}

.treatment-summary {
  display: grid;
  grid-template-columns: 140px 320px 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  background: transparent;
  border-radius: 0 !important;
  box-sizing: border-box;
  width: 100%;
  margin: 12px 0 0 0;
  box-shadow: none !important;
  position: relative;
}

.treatment-summary::before {
  display: none !important;
}

.treatment-summary .summary-label {
  grid-column: 1 / 3;
}

.treatment-summary .summary-values {
  grid-column: 3 / -1;
}

.treatment-summary.grand {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.25) 0%, rgba(52, 152, 219, 0.15) 100%);
  border-radius: 0 !important;
  padding: 12px 16px;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  display: grid;
  grid-template-columns: 140px 320px 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  box-shadow: none !important;
  position: relative;
}

.treatment-summary.grand::before {
  display: none !important;
}

.treatment-summary.grand .summary-label {
  grid-column: 1 / 3;
  font-weight: 700;
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.summary-label {
  font-size: 0.9em;
  letter-spacing: 0.5px;
  color: var(--text-white);
  font-weight: 600;
}

.treatment-summary .summary-label {
  font-weight: 600;
}

.treatment-summary .summary-values span {
  font-weight: 600;
  border: none !important;
  justify-content: center !important;
  text-align: center !important;
  align-items: center !important;
}

.summary-values {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  text-align: center;
  font-weight: 600;
  width: 100%;
  box-sizing: border-box;
}

.summary-values span {
  border: none !important;
  border-radius: 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.summary-values span.highlight-column {
  padding: 10px 12px !important;
  justify-content: center !important;
  text-align: center !important;
  align-items: center !important;
}

.highlight-column {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.25) 0%, rgba(52, 152, 219, 0.15) 100%) !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  position: relative;
  padding: 12px !important;
  margin: 0 !important;
  z-index: 1;
}

.treatment-row .treatment-value.highlight-column {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  justify-content: center !important;
  text-align: center !important;
  align-items: center !important;
  min-height: auto !important;
  height: 100% !important;
  align-self: stretch !important;
}

.highlight-column::before {
  display: none !important;
}

.highlight-column::after {
  display: none !important;
}

.treatment-header .highlight-column {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.3) 0%, rgba(52, 152, 219, 0.2) 100%) !important;
  border: none !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 12px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  min-height: 48px;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.4;
  position: relative;
}

.treatment-header div:not(.highlight-column) {
  padding-top: 14px;
  padding-bottom: 14px;
}

.treatment-header .highlight-column {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  justify-content: center !important;
  text-align: center !important;
  align-items: center !important;
}

.treatment-summary .highlight-column {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.3) 0%, rgba(52, 152, 219, 0.2) 100%) !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 1.15em;
  padding: 14px 18px !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.table-add-row {
  align-self: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  max-width: 48px;
  min-height: 48px;
  max-height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0;
}

.table-add-row:hover {
  background: rgba(52, 152, 219, 0.3);
  border-color: var(--color-primary);
}

#slide-20 .slide-content > h2,
#slide-23 .slide-content > h2 {
  position: relative;
  padding-bottom: 6px;
  margin-bottom: 2px;
  margin-top: 0;
  font-size: 1.35em !important;
}
#slide-20 .slide-content > h2::after,
#slide-23 .slide-content > h2::after {
  display: none;
}

#slide-20 .treatment-plan-title,
#slide-23 .treatment-plan-title {
  outline: 1px solid transparent;
  border-radius: 4px;
  padding: 2px 4px;
  margin: -2px -4px 0;
  font-size: 1.35em !important;
}
#slide-20 .treatment-plan-title:focus,
#slide-23 .treatment-plan-title:focus {
  outline-color: rgba(255, 255, 255, 0.4);
}
#slide-20 .treatment-plan-title:hover,
#slide-23 .treatment-plan-title:hover {
  cursor: text;
}

#slide-20 .treatment-plan-slide-options,
#slide-23 .treatment-plan-slide-options {
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
#slide-20 .treatment-plan-slide-options label,
#slide-23 .treatment-plan-slide-options label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#slide-20 .treatment-plan-slide-options input[type="checkbox"],
#slide-23 .treatment-plan-slide-options input[type="checkbox"] {
  cursor: pointer;
}

#slide-20 .treatment-table,
#slide-23 .treatment-table {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.3) 100%);
  padding: 22px;
}

#slide-20 .treatment-header div,
#slide-23 .treatment-header div,
#slide-20 .treatment-period,
#slide-23 .treatment-period,
#slide-20 .treatment-services textarea,
#slide-23 .treatment-services textarea,
#slide-20 .treatment-row .treatment-value,
#slide-23 .treatment-row .treatment-value,
#slide-20 .treatment-summary .summary-label,
#slide-23 .treatment-summary .summary-label,
#slide-20 .treatment-summary.grand .summary-label,
#slide-23 .treatment-summary.grand .summary-label,
#slide-20 .treatment-summary .summary-values span,
#slide-23 .treatment-summary .summary-values span,
#slide-20 .treatment-summary.grand .summary-values span,
#slide-23 .treatment-summary.grand .summary-values span {
  font-size: 0.78em !important;
}

#slide-20 .treatment-header div,
#slide-23 .treatment-header div {
  text-transform: none;
}

#slide-20 .treatment-header,
#slide-23 .treatment-header {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.4) 0%, rgba(52, 152, 219, 0.2) 100%);
  border-bottom: 2px solid rgba(52, 152, 219, 0.55);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-radius: 8px;
}

/* Слайды 20 и 23 (план верх/низ), обычный режим: фиксируем правый защитный отступ и
   одинаковую геометрию шапки/строк/итогов, не затрагивая print/pdf/presentation */
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-20 .treatment-header,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-23 .treatment-header,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-20 .treatment-row,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-23 .treatment-row,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-20 .treatment-summary,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-23 .treatment-summary,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-20 .treatment-summary.grand,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-23 .treatment-summary.grand {
  padding-right: 10px !important;
  box-sizing: border-box !important;
}

#slide-20 .treatment-header .highlight-column,
#slide-23 .treatment-header .highlight-column {
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 0 24px rgba(52, 152, 219, 0.25);
  border-radius: 8px;
  padding: 14px 12px !important;
}
#slide-20 .treatment-table .treatment-header .highlight-column::after,
#slide-23 .treatment-table .treatment-header .highlight-column::after {
  display: block !important;
  content: 'Рекомендуем';
  font-size: 0.6em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 10px;
  margin-top: 2px;
}

/* План лечения (обычный режим): одинаковый многострочный формат всех колонок */
#slide-20 .treatment-header > div.system-header-3line,
#slide-23 .treatment-header > div.system-header-3line {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  gap: 2px !important;
}
#slide-20 .treatment-header > div.system-header-3line .system-header-line,
#slide-23 .treatment-header > div.system-header-3line .system-header-line {
  display: block !important;
  width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  line-height: 1.15 !important;
}
#slide-20 .treatment-header > div.system-header-3line .system-header-recommend,
#slide-23 .treatment-header > div.system-header-3line .system-header-recommend {
  display: none !important;
}

/* Страна в скобках в шапках систем (план лечения, расчётная стоимость) */
#slide-20 .treatment-header .system-header-country,
#slide-23 .treatment-header .system-header-country,
#slide-21 .cost-calc-header .system-header-country {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 0.76em;
  font-weight: 300 !important;
  line-height: 1.35;
  margin-top: 5px;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

/* Нерекомендуемые системы: как рекомендуемая — колонка flex, сверху, текст по центру (не в ряд со страной) */
#slide-20 .treatment-header > div:nth-child(n+3):not(.highlight-column),
#slide-23 .treatment-header > div:nth-child(n+3):not(.highlight-column),
#presentation-app #slide-20 .treatment-header > div:nth-child(n+3):not(.highlight-column),
#presentation-app #slide-23 .treatment-header > div:nth-child(n+3):not(.highlight-column) {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
}

#slide-20 .treatment-row,
#slide-23 .treatment-row {
  border-radius: 6px;
  transition: background 0.2s ease;
}
#slide-20 .treatment-row:hover,
#slide-23 .treatment-row:hover {
  background: rgba(255, 255, 255, 0.05);
}
#slide-20 .treatment-row .treatment-value.highlight-column,
#slide-23 .treatment-row .treatment-value.highlight-column {
  box-shadow: inset 0 0 0 1px rgba(52, 152, 219, 0.3);
}

#slide-20 .treatment-row .treatment-period,
#slide-23 .treatment-row .treatment-period,
#slide-20 .treatment-row .treatment-services textarea,
#slide-23 .treatment-row .treatment-services textarea,
#slide-20 .treatment-row .treatment-value:not(.highlight-column),
#slide-23 .treatment-row .treatment-value:not(.highlight-column) {
  font-weight: 300 !important;
}
#slide-20 .treatment-row .treatment-value.highlight-column,
#slide-23 .treatment-row .treatment-value.highlight-column {
  font-weight: 700 !important;
}

#slide-20 .treatment-summary .summary-values,
#slide-23 .treatment-summary .summary-values,
#slide-20 .treatment-summary.grand .summary-values,
#slide-23 .treatment-summary.grand .summary-values {
  gap: 10px !important;
}

#slide-20 .treatment-summary .summary-values span,
#slide-23 .treatment-summary .summary-values span,
#slide-20 .treatment-summary.grand .summary-values span,
#slide-23 .treatment-summary.grand .summary-values span {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 12px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
}

#slide-20 .treatment-summary .summary-values span.highlight-column,
#slide-23 .treatment-summary .summary-values span.highlight-column,
#slide-20 .treatment-summary.grand .summary-values span.highlight-column,
#slide-23 .treatment-summary.grand .summary-values span.highlight-column {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.25) 0%, rgba(52, 152, 219, 0.15) 100%) !important;
  border: none !important;
  box-shadow: none !important;
  padding: 12px 10px !important;
}

#slide-20 .treatment-summary,
#slide-23 .treatment-summary {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 0 !important;
  margin-top: 0;
  border-radius: 0;
  align-items: stretch !important;
  min-height: 42px !important;
}

#slide-20 .treatment-summary .summary-label,
#slide-23 .treatment-summary .summary-label,
#slide-20 .treatment-summary.grand .summary-label,
#slide-23 .treatment-summary.grand .summary-label {
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  align-self: stretch !important;
}
#slide-20 .treatment-summary .summary-values,
#slide-23 .treatment-summary .summary-values,
#slide-20 .treatment-summary.grand .summary-values,
#slide-23 .treatment-summary.grand .summary-values {
  align-items: center !important;
  align-self: stretch !important;
  min-height: 42px !important;
}
#slide-20 .treatment-summary .summary-values span,
#slide-23 .treatment-summary .summary-values span,
#slide-20 .treatment-summary.grand .summary-values span,
#slide-23 .treatment-summary.grand .summary-values span {
  align-self: stretch !important;
  min-height: 42px !important;
  box-sizing: border-box !important;
}

#slide-20 .treatment-summary.grand,
#slide-23 .treatment-summary.grand {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 0 !important;
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
  align-items: stretch !important;
  min-height: 42px !important;
}

#slide-20 .treatment-table .table-add-row,
#slide-23 .treatment-table .table-add-row {
  width: auto;
  min-width: 220px;
  max-width: none;
  height: auto;
  min-height: 50px;
  border-radius: 25px;
  padding: 14px 28px;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 600;
  gap: 8px;
}
#slide-20 .treatment-table .table-add-row::after,
#slide-23 .treatment-table .table-add-row::after {
  content: ' Добавить этап';
}
#slide-20 .treatment-table .table-add-row:hover,
#slide-23 .treatment-table .table-add-row:hover {
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.35);
}

.cost-calc-table {
  margin-top: 20px;
  padding: 0;
  border-radius: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cost-calc-header,
.cost-calc-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.5fr) repeat(3, minmax(120px, 1fr)) 36px;
  gap: 10px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.cost-calc-header {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.25) 0%, rgba(52, 152, 219, 0.15) 100%);
  border-bottom: 2px solid rgba(52, 152, 219, 0.6);
  padding: 12px 10px;
  margin-bottom: 8px;
}
.cost-calc-header div {
  font-size: 0.85em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
}
.cost-calc-header div:first-child { text-align: left; }

#slide-21 .cost-calc-header .highlight-column {
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 0 24px rgba(52, 152, 219, 0.35);
  border-radius: 8px;
  padding: 14px 12px !important;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.45) 0%, rgba(52, 152, 219, 0.3) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
#slide-21 .cost-calc-header .highlight-column::after {
  display: block !important;
  content: 'Рекомендуем';
  font-size: 0.6em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.25);
  padding: 3px 10px;
  border-radius: 10px;
  margin-top: 2px;
}
#slide-21 .cost-calc-header > div.system-header-3line {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  gap: 2px !important;
}
#slide-21 .cost-calc-header > div.system-header-3line .system-header-line {
  display: block !important;
  width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  line-height: 1.15 !important;
}
#slide-21 .cost-calc-header > div.system-header-3line .system-header-recommend {
  display: block !important;
}
#slide-21 .cost-calc-header > div.system-header-3line.highlight-column::after {
  display: block !important;
  content: 'Рекомендуем' !important;
}
#slide-21 .cost-calc-row .cost-calc-value.highlight-column,
#slide-21 .cost-calc-header .highlight-column {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.35) 0%, rgba(52, 152, 219, 0.2) 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(52, 152, 219, 0.5);
}
/* Слайд 21: тело рекомендуемой колонки как сплошная вертикальная заливка */
#slide-21 .cost-calc-row .cost-calc-value.highlight-column {
  position: relative !important;
  z-index: 1;
  border-radius: 0 !important;
  overflow: visible !important;
  isolation: isolate;
}
#slide-21 .cost-calc-row .cost-calc-value.highlight-column::before {
  content: '' !important;
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  bottom: -10px;
  background: inherit !important;
  pointer-events: none;
  z-index: -1;
}
/* Слайд 21: сплошная заливка рекомендуемой колонки через зазор под шапкой */
#slide-21 .cost-calc-header > .highlight-column {
  position: relative !important;
  z-index: 2;
  border-radius: 0 !important;
  overflow: visible !important;
  isolation: isolate;
}
#slide-21 .cost-calc-header > .highlight-column::before {
  content: '' !important;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -8px;
  background: inherit !important;
  pointer-events: none;
  z-index: -1;
}
.cost-calc-row {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 0;
  position: relative;
}
.cost-calc-label, .cost-calc-value {
  padding: 8px 10px;
  color: var(--text-white);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.cost-calc-label { justify-content: flex-start; }
.cost-calc-value { justify-content: center; }
.cost-calc-row-delete {
  width: 28px; height: 28px; padding: 0; border: none; border-radius: 0;
  background: rgba(231, 76, 60, 0.6); color: #fff; font-size: 16px; cursor: pointer;
}
.cost-calc-row-delete:hover { background: rgba(231, 76, 60, 0.9); }
.cost-calc-row-total .cost-calc-label { font-weight: 700; }

/* Визуальный слайд 20 (DOM: #slide-21) — обычный режим:
   шапка, строки и "Общая стоимость" строго в одной сетке + правый защитный отступ */
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-21 .cost-calc-header,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-21 .cost-calc-row,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-21 .cost-calc-row-total {
  grid-template-columns: 150px 350px var(--plan-col-w) var(--plan-col-w) var(--plan-col-w) 36px !important;
  padding-right: 10px !important;
  box-sizing: border-box !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-21 .cost-calc-table {
  --plan-col-w: calc((100% - 150px - 350px - 36px - 30px) / 3);
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-21 .cost-calc-header > div:first-child,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-21 .cost-calc-row > .cost-calc-label,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing) #slide-21 .cost-calc-row-total > .cost-calc-label {
  grid-column: 1 / span 2 !important;
}

.inclusive-months-input { width: 50px; padding: 2px 6px; margin: 0 4px; font-size: 0.95em; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.inclusive-fixed-price { margin-top: 20px; font-size: 1em; font-weight: 600; color: var(--text-white); text-align: center; }

.happy-smile-block {
  margin-top: 0;
  position: relative;
}

.happy-smile-top {
  display: flex;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.happy-smile-device {
  position: relative;
  flex: 0 0 320px;
  min-width: 260px;
  min-height: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.happy-smile-device-glow {
  display: none;
}

.happy-smile-device img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: none;
}

.happy-smile-right {
  flex: 1;
  min-width: 260px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: center;
}

.happy-smile-right .happy-smile-desc,
.happy-smile-right .happy-smile-advantage {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.happy-smile-right .happy-smile-advantage {
  margin-top: 16px;
  margin-bottom: 0;
}

.happy-smile-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  margin-bottom: 20px;
  background: none;
  border: none;
  box-shadow: none;
}

.happy-smile-logo {
  max-height: 105px;
  max-width: 100%;
  width: auto;
  display: block;
  filter: none;
}

.happy-smile-desc {
  margin: 0;
  line-height: 1.7;
  color: var(--text-white);
  font-size: 1.05em;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  text-align: left;
}

.happy-smile-advantage {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(241, 196, 15, 0.2) 100%);
  border: 2px solid rgba(212, 175, 55, 0.6);
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.happy-smile-advantage::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.happy-smile-advantage-icon {
  font-size: 2.5em;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.5));
}

.happy-smile-advantage-icon img {
  width: 1em;
  height: 1em;
  display: block;
  object-fit: contain;
}

.happy-smile-advantage-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-align: center;
}

.happy-smile-advantage-content strong {
  font-size: 1.1em;
  display: block;
}

.happy-smile-advantage-bonus {
  font-size: 1.4em;
  font-weight: 700;
  color: #f1c40f;
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
}

.happy-smile-list {
  margin-top: 24px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.happy-smile-list-title {
  margin: 0 0 14px 0;
  font-size: 1.2em;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 10px 16px 12px;
  border-bottom: none;
  background: rgba(52, 152, 219, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(52, 152, 219, 0.5);
}

body:not(.presentation-mode-active) #slide-25 .happy-smile-list-title {
  display: none !important;
}

.happy-smile-list-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
}

.happy-smile-list-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.happy-smile-list-col .happy-smile-list-title-item,
.happy-smile-list-col .happy-smile-list-item {
  flex: 1;
  min-height: 28px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.happy-smile-list-title-item {
  padding: 5px 10px;
  background: rgba(52, 152, 219, 0.45);
  border-radius: 8px;
  border: 1px solid rgba(52, 152, 219, 0.55);
  color: #fff;
  font-weight: 700;
  font-size: 0.68em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.happy-smile-list-item {
  gap: 6px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-white-light);
  font-size: 0.68em;
  line-height: 1.3;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.happy-smile-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, rgba(52, 152, 219, 0.8) 0%, rgba(155, 89, 182, 0.8) 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.happy-smile-list-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(52, 152, 219, 0.4);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.happy-smile-list-item:hover::before {
  transform: scaleY(1);
}

.happy-smile-list-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.happy-smile-list-items li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-white-light);
  line-height: 1.6;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.happy-smile-list-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, rgba(52, 152, 219, 0.8) 0%, rgba(155, 89, 182, 0.8) 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.happy-smile-list-items li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(52, 152, 219, 0.4);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.happy-smile-list-items li:hover::before {
  transform: scaleY(1);
}

.happy-smile-list-icon {
  font-size: 1.5em;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.happy-smile-list-icon img {
  width: 1em;
  height: 1em;
  display: block;
  object-fit: contain;
}

#slide-26 .slide-content {
  padding-top: 28px;
}

#slide-26 .benefits-slide-title {
  margin: 0 0 28px 0;
  font-size: 1.6em;
  font-weight: 600;
  color: var(--text-white);
  text-align: center;
  letter-spacing: 0.02em;
}

.benefits-payment-block {
  margin-top: 0;
  padding: 0;
  max-width: 100%;
}

.benefits-payment-hero {
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.18) 0%, rgba(155, 89, 182, 0.12) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.benefits-payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  flex-wrap: wrap;
}

.benefits-payment-row.benefits-payment-discount-row,
.benefits-payment-row.benefits-payment-prepay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.benefits-payment-prepay-row {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.benefits-payment-prepay-row .benefits-payment-calc-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92em;
  font-weight: 500;
}
.benefits-payment-prepay-row .benefits-payment-value,
.benefits-payment-prepay-row .benefits-payment-prepay {
  font-size: 1.15em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.benefits-discount-no-st-snuc {
  padding: 10px 18px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 10px;
  color: #ffc107;
}

.benefits-payment-text {
  flex: 1;
  min-width: 220px;
  color: var(--text-white);
  font-size: 1.1em;
  line-height: 1.5;
  font-weight: 500;
}

.benefits-discount-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-white);
  font-size: 0.95em;
  font-weight: 500;
  user-select: none;
}

.benefits-discount-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.benefits-discount-checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.benefits-discount-toggle input:checked + .benefits-discount-checkmark {
  background: rgba(46, 204, 113, 0.3);
  border-color: #2ecc71;
  color: #fff;
}

.benefits-discount-checkmark::after {
  content: 'вњ“';
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s;
}

.benefits-discount-toggle input:checked + .benefits-discount-checkmark::after {
  opacity: 1;
}

.benefits-payment-calc-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefits-payment-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.benefits-payment-calc-row[data-type="discounted"].benefits-emphasized,
#slide-26.benefits-discount-active .benefits-payment-calc-row[data-type="discounted"] {
  background: rgba(46, 204, 113, 0.15);
  border-color: rgba(46, 204, 113, 0.5);
  box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.3);
}

.benefits-payment-calc-row[data-type="full"].benefits-emphasized,
#slide-26:not(.benefits-discount-active) .benefits-payment-calc-row[data-type="full"] {
  background: rgba(52, 152, 219, 0.15);
  border-color: rgba(52, 152, 219, 0.4);
  box-shadow: 0 0 0 1px rgba(52, 152, 219, 0.25);
}

.benefits-payment-calc-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1em;
  font-weight: 500;
}

.benefits-payment-value,
.benefits-payment-full {
  font-size: 1.35em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.benefits-payment-discounted {
  font-size: 1.35em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.benefits-payment-profit-row {
  background: rgba(46, 204, 113, 0.12) !important;
  border-color: rgba(46, 204, 113, 0.4) !important;
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.2);
}

.benefits-payment-profit-row .benefits-payment-profit {
  font-size: 1.25em;
  font-weight: 700;
  color: #2ecc71;
  text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.benefits-payment-profit {
  font-size: 1.25em;
  font-weight: 700;
  color: #2ecc71;
}

.benefits-payment-section {
  margin-top: 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(6px);
}

.benefits-payment-subtitle {
  margin: 0 0 16px 0;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-white);
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(52, 152, 219, 0.4);
}

#slide-26 .benefits-add-row {
  margin-bottom: 16px;
}

.staged-payment-rows {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.staged-payment-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.staged-payment-row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.staged-payment-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.staged-payment-label {
  color: var(--text-white);
  font-size: 1em;
  line-height: 1.4;
  font-family: inherit;
}

.staged-payment-cells-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.staged-payment-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  transition: background 0.2s, border-color 0.2s;
}

.staged-payment-cell:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.staged-cell-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  font-size: 0.72em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin-bottom: 2px;
}

.staged-month-year-block {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
}

.staged-month-select {
  flex: 1;
  min-width: 0;
  padding: 6px 10px;
  font-size: 0.75em;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  box-sizing: border-box;
}

.staged-month-select option {
  background: #1a1a2e;
  color: #fff;
}

.staged-year-block {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  margin-left: auto;
}

.staged-year-value {
  min-width: 32px;
  padding: 5px 6px;
  font-size: 0.72em;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-right: none;
  border-radius: 6px 0 0 6px;
}

.staged-year-buttons {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 6px 6px 0;
  overflow: hidden;
}

.staged-year-btn {
  width: 20px;
  min-width: 20px;
  height: 28px;
  padding: 0;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}

.staged-year-btn:last-child {
  border-right: none;
}

.staged-year-btn:hover {
  background: rgba(52, 152, 219, 0.4);
}

.staged-payment-cell .staged-val {
  width: 100%;
  min-width: 0;
  padding: 6px 10px;
  font-size: 0.85em;
  font-family: inherit;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.staged-payment-cell .staged-val:focus {
  outline: none;
  border-color: rgba(52, 152, 219, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.staged-payment-cell .staged-val::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.staged-payment-delete {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(231, 76, 60, 0.6);
  color: #fff;
  cursor: pointer;
  font-size: 1.2em;
  line-height: 1;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.staged-payment-delete:hover {
  background: rgba(231, 76, 60, 0.9);
}

.staged-cell-badge {
  display: none;
}

.staged-pres-line {
  display: none;
}

body.presentation-mode-active #slide-26 .benefits-discount-toggle {
  display: none !important;
}

body.presentation-mode-active #slide-26 .benefits-slide-title {
  font-size: 1.2em !important;
  margin-bottom: 20px !important;
}

body.presentation-mode-active #slide-26 .benefits-payment-calc-label {
  font-size: 0.82em !important;
}

body.presentation-mode-active #slide-26 .benefits-payment-value,
body.presentation-mode-active #slide-26 .benefits-payment-full,
body.presentation-mode-active #slide-26 .benefits-payment-prepay,
body.presentation-mode-active #slide-26 .benefits-payment-discounted,
body.presentation-mode-active #slide-26 .benefits-payment-profit {
  font-size: 1.05em !important;
}

body.presentation-mode-active #slide-26 .benefits-payment-hero {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 0 20px 0 !important;
  margin-bottom: 16px !important;
}

body.presentation-mode-active #slide-26 .benefits-payment-calc-row {
  background: transparent !important;
  border: none !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.presentation-mode-active #slide-26 .benefits-payment-calc-row:last-child {
  border-bottom: none !important;
}

body.presentation-mode-active #slide-26 .benefits-payment-section {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
}

body.presentation-mode-active #slide-26 .benefits-payment-subtitle {
  font-size: 0.72em !important;
  font-weight: 600 !important;
  margin: 0 0 12px 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 0.5em !important;
  flex-wrap: wrap !important;
}

body.presentation-mode-active #slide-26 .benefits-payment-subtitle-note {
  font-size: 0.65em !important;
  font-weight: 300 !important;
  opacity: 0.9;
}

body.presentation-mode-active #slide-26 .benefits-add-row {
  display: none !important;
}

body.presentation-mode-active #slide-26 .staged-payment-header-row {
  display: none !important;
}

body.presentation-mode-active #slide-26 .staged-payment-row {
  background: transparent !important;
  border: none !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0 !important;
}

body.presentation-mode-active #slide-26 .staged-payment-row:last-child {
  border-bottom: none !important;
}

body.presentation-mode-active #slide-26 .staged-payment-cells-grid {
  gap: 8px !important;
}

body.presentation-mode-active #slide-26 .staged-payment-cell {
  background: transparent !important;
  border: none !important;
  padding: 10px 12px !important;
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
}

body.presentation-mode-active #slide-26 .staged-payment-cell:last-child {
  border-right: none !important;
}

body.presentation-mode-active #slide-26 .staged-cell-number {
  display: none !important;
}

body.presentation-mode-active #slide-26 .staged-cell-badge {
  display: none !important;
}

body.presentation-mode-active #slide-26 .staged-month-select,
body.presentation-mode-active #slide-26 .staged-year-buttons {
  display: none !important;
}

body.presentation-mode-active #slide-26 .staged-month-year-block {
  display: none !important;
}

body.presentation-mode-active #slide-26 .staged-pres-line {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 0.4em !important;
  white-space: nowrap !important;
  font-size: 0.68em !important;
}

body.presentation-mode-active #slide-26 .staged-pres-badge {
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.9);
}

body.presentation-mode-active #slide-26 .staged-year-display {
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.88em !important;
}

body.presentation-mode-active #slide-26 .staged-payment-cell .staged-val {
  font-size: 0.92em !important;
  font-weight: 600 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  pointer-events: none !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  order: 10 !important;
}

body.presentation-mode-active #slide-26 .benefits-payment-calc-row[data-type="full"].benefits-emphasized,
body.presentation-mode-active #slide-26:not(.benefits-discount-active) .benefits-payment-calc-row[data-type="full"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.presentation-mode-active #slide-26 .benefits-payment-calc-row[data-type="discounted"].benefits-emphasized,
body.presentation-mode-active #slide-26.benefits-discount-active .benefits-payment-calc-row[data-type="discounted"] {
  background: rgba(46, 204, 113, 0.15) !important;
  border: 1px solid rgba(46, 204, 113, 0.5) !important;
  box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.3) !important;
  border-bottom: none !important;
  padding: 10px 16px !important;
}

body.presentation-mode-active #slide-26 .benefits-payment-profit-row {
  background: rgba(46, 204, 113, 0.12) !important;
  border: 1px solid rgba(46, 204, 113, 0.4) !important;
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.2) !important;
  border-bottom: none !important;
  padding: 10px 16px !important;
}

.payment-types-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.payment-type-card {
  position: relative;
  padding: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.payment-type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(52, 152, 219, 0.8) 0%, rgba(155, 89, 182, 0.8) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.payment-type-card:hover {
  transform: translateY(-8px);
  border-color: rgba(52, 152, 219, 0.5);
  box-shadow: 0 20px 48px rgba(52, 152, 219, 0.4);
}

.payment-type-card:hover::before {
  transform: scaleX(1);
}

.payment-type-card-installment {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(46, 134, 193, 0.1) 100%);
}

.payment-type-card-installment:hover {
  box-shadow: 0 20px 48px rgba(52, 152, 219, 0.5);
}

.payment-type-card-credit {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.15) 0%, rgba(142, 68, 173, 0.1) 100%);
}

.payment-type-card-credit:hover {
  box-shadow: 0 20px 48px rgba(155, 89, 182, 0.5);
}

.payment-type-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.payment-type-card:hover .payment-type-card-glow {
  opacity: 1;
  animation: rotate-glow 4s linear infinite;
}

@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.payment-type-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.payment-type-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: float-icon 3s ease-in-out infinite;
}

.payment-type-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.payment-type-card h4 {
  margin: 0;
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.payment-type-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-type-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-type-label {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-edit-value {
  font-size: 1.2em;
  color: #fff;
  font-weight: 600;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  min-height: 1.5em;
}

.payment-edit-value:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(52, 152, 219, 0.6);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.payment-edit-sum {
  font-size: 1.5em;
  color: #f1c40f;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(241, 196, 15, 0.3);
}

.payment-type-sum {
  margin-top: 8px !important;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.payment-edit {
  outline: none;
  border: none;
  border-radius: 8px;
}

.benefits-table {
  margin-top: 20px;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.benefits-header,
.benefit-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 12px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.benefit-row {
  align-items: stretch;
}

.benefit-label {
  align-self: stretch;
}

.benefit-value {
  align-self: stretch;
}

.benefits-header {
  padding: 0;
  margin: 0 0 0 0;
  border: none;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.25) 0%, rgba(52, 152, 219, 0.15) 100%);
  border-bottom: 2px solid rgba(52, 152, 219, 0.6);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.benefits-header div {
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.95);
  padding: 14px 14px;
  border: none;
  background: transparent;
  border-radius: 0 !important;
  box-sizing: border-box;
  margin: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  position: relative;
  font-weight: 700;
  text-align: center;
}

.benefits-header div:first-child {
  justify-content: flex-start;
  text-align: left;
  padding-left: 12px;
}

.benefits-header div:not(.highlight-column) {
  padding-top: 14px;
  padding-bottom: 14px;
}

.benefits-header .highlight-column {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.benefit-row {
  border: none;
  border-radius: 0;
  padding: 12px;
  background: transparent;
  position: relative;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.benefit-row:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-row + .benefit-row {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-row.highlighted {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.15) 100%) !important;
  border-color: rgba(52, 152, 219, 0.5) !important;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.benefit-label {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 12px;
  padding-left: 12px;
  font-weight: 400;
  text-align: left;
  min-height: 48px;
  height: auto;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  line-height: 1.5;
}

.benefit-value {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 12px;
  min-height: 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-weight: 400;
  white-space: pre-wrap;
  line-height: 1.5;
}

.benefit-value.highlight-column {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.benefit-row {
  min-height: auto;
  height: auto;
  align-items: stretch;
}

.benefit-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.benefit-row[data-role="total"],
.benefit-row[data-role="final"],
.benefit-row[data-role="cash"] .benefit-value {
  font-weight: 600;
}

.benefit-row[data-role="cash"] .benefit-value {
  color: #e74c3c;
}

.benefit-row[data-role="cash"] .benefit-value.highlight-column {
  color: #e74c3c;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.benefit-row[data-role="total"],
.benefit-row[data-role="final"] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}
@media (max-width: 900px) {
  .plan-row {
    grid-template-columns: 1fr;
  }
}

.implants-select-wrap {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.implants-select-wrap label {
  color: var(--text-white);
  font-weight: 500;
  font-size: 14px;
}
.implant-select {
  min-width: 280px;
  padding: 10px 14px;
  border: 2px solid var(--border-glass-light);
  background: var(--bg-glass);
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: 14px;
  cursor: pointer;
}
.implant-select:focus {
  outline: none;
  border-color: var(--color-primary);
}
.implant-select option {
  background: #2c3e50;
  color: #fff;
}

.btn-implant-reset {
  padding: 10px 18px;
  border: 2px solid var(--border-glass-light, rgba(255, 255, 255, 0.25));
  background: var(--bg-glass, rgba(255, 255, 255, 0.08));
  color: var(--color-white, #fff);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.btn-implant-reset:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.implants-single-view {
  position: relative;
  margin-top: 0;
  width: 100%;
}
.implants-single-view .implant-card {
  display: none;
  grid-template-columns: 1fr;
  min-width: 100%;
  width: 100%;
}
.implants-single-view .implant-card.implant-card-visible {
  display: grid !important;
}

.implant-card {
  min-width: 100%;
  width: 100%;
  flex: 0 0 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: grid;
  grid-template-columns: 1fr;
  min-height: 420px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  box-sizing: border-box;
}

.implant-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
  z-index: 0;
}

.implant-card.premium {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.implant-card.premium::before {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  opacity: 0.8;
}

.implant-card-edge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease;
  opacity: 0.6;
}

.implant-card-edge:hover {
  background: rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.implant-card-arrow {
  width: 48px;
  height: 48px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.implant-card-arrow:hover {
  color: rgba(52, 152, 219, 1);
  transform: scale(1.2);
}

.implant-card-arrow:active {
  transform: scale(0.95);
}

.implant-card-body {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 40px;
  padding: 40px 35px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .implant-card {
    grid-template-columns: 60px minmax(0, 1fr) 60px;
  }
  .implant-card-body {
    gap: 30px;
    padding: 35px 25px;
  }
}

@media (max-width: 900px) {
  .implant-card {
    grid-template-columns: 50px minmax(0, 1fr) 50px;
    min-height: auto;
  }
  .implant-card-body {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 20px;
  }
  .implant-card-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .implant-logo {
    max-height: 60px;
    max-width: 200px;
  }
  .implant-visual img {
    max-width: 200px;
  }
}

@media (max-width: 900px) {
  .happy-smile-top {
    flex-direction: column;
    align-items: center;
  }

  .happy-smile-device {
    width: 100%;
    max-width: 320px;
  }

  .happy-smile-device img {
    max-width: 240px;
    max-height: 200px;
  }

  .happy-smile-right {
    min-width: auto;
    width: 100%;
  }

  .happy-smile-list-items {
    grid-template-columns: 1fr;
  }

  .happy-smile-list-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .happy-smile-logo-wrapper {
    padding: 8px 0;
  }

  .happy-smile-logo {
    max-height: 70px;
  }

  .happy-smile-desc {
    padding: 16px 18px;
    font-size: 0.95em;
  }

  .happy-smile-device img {
    max-width: 200px;
    max-height: 160px;
  }

  .happy-smile-advantage {
    padding: 18px 20px;
    flex-direction: column;
    text-align: center;
  }

  .happy-smile-advantage-icon {
    font-size: 2em;
  }

  .happy-smile-list {
    padding: 18px;
  }

  .happy-smile-list-items {
    grid-template-columns: 1fr;
  }

  .happy-smile-list-cols {
    grid-template-columns: 1fr;
  }

  .happy-smile-list-items li {
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
  }

  .happy-smile-list-item {
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
  }

  .happy-smile-list-icon {
    font-size: 1.3em;
  }
}

@media (max-width: 900px) {
  .payment-types-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .payment-type-card {
    padding: 24px 20px;
  }

  .payment-type-card-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .payment-type-icon {
    width: 48px;
    height: 48px;
  }

  .payment-type-card h4 {
    font-size: 1.3em;
  }

  .payment-edit-value {
    font-size: 1.1em;
  }

  .payment-edit-sum {
    font-size: 1.3em;
  }
}

@media (max-width: 600px) {
  .implant-card {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }
  .implant-card-body {
    padding: 25px 15px;
    gap: 20px;
  }
  .implant-card-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .implant-logo {
    max-height: 50px;
    max-width: 160px;
  }
  .implant-visual img {
    max-width: 160px;
  }
  .implant-meta {
    padding: 12px 14px;
  }
}

.implant-logo {
  max-height: 80px;
  max-width: 280px;
  object-fit: contain;
  filter: brightness(1.1);
}

.implant-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.implant-logo-wrap .implant-logo {
  max-height: 70px;
  max-width: 180px;
}

.implant-logo-extra {
  font-size: 1.1em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
}

.implant-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: center;
  max-width: 420px;
  padding: 10px 0;
}

.implant-guarantee {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95em;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
}

.implant-guarantee img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.implant-guarantee strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.implant-guarantee span {
  color: rgba(255, 255, 255, 0.85);
}

.implant-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.implant-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.implant-visual img {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.implant-card:hover .implant-visual img {
  transform: scale(1.05);
}

.implant-meta {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  transition: all 0.3s ease;
}

.implant-meta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.implant-meta-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.implant-meta-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.9;
}

.implant-meta h5 {
  font-size: 0.9em;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  color: var(--text-white);
  font-weight: 600;
}

.implant-meta p {
  margin: 0;
  font-size: 0.95em;
  max-width: 100%;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.premium-badge {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.85) 0%, rgba(245, 176, 65, 0.85) 50%, rgba(212, 175, 55, 0.85) 100%);
  color: #ffffff;
  padding: 6px 14px;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

.implants-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: 24px;
  z-index: 5;
}

.implants-arrow.left {
  left: 0;
}

.implants-arrow.right {
  right: 0;
}

.all-inclusive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 25px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

@media (min-width: 992px) {
  .all-inclusive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.inclusive-card {
  border: 1px solid rgba(52, 152, 219, 0.6);
  padding: 28px 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 180px;
  justify-content: flex-start;
}

.inclusive-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

.inclusive-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: invert(68%) sepia(95%) saturate(1000%) hue-rotate(175deg) brightness(110%) contrast(110%);
}

.inclusive-card p {
  margin: 0;
  font-weight: 500;
}

body.presentation-mode-active #presentation-app #slide-22 .inclusive-icon,
body.presentation-mode-active #slide-22 .inclusive-icon {
  width: 200px !important;
  height: 200px !important;
}

body.presentation-mode-active #presentation-app #slide-22 .inclusive-icon img,
body.presentation-mode-active #slide-22 .inclusive-icon img {
  width: 125px !important;
  height: 125px !important;
  max-width: none !important;
  max-height: none !important;
  filter: invert(68%) sepia(95%) saturate(1000%) hue-rotate(175deg) brightness(110%) contrast(110%) !important;
}

/* РћРґРёРЅ СЂР°Р·РјРµСЂ С€СЂРёС„С‚Р° РґР»СЏ РІСЃРµР№ С‚Р°Р±Р»РёС†С‹ РІ СЂРµР¶РёРјРµ РїСЂРµР·РµРЅС‚Р°С†РёРё */
body.presentation-mode-active #slide-20 .treatment-table,
body.presentation-mode-active #slide-23 .treatment-table,
body.presentation-mode-active #presentation-app #slide-20 .treatment-table,
body.presentation-mode-active #presentation-app #slide-23 .treatment-table {
  display: flex !important;
  flex-direction: column !important;
  font-size: 10px !important;
  margin-top: 16px !important;
  padding: 14px 18px !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  -webkit-clip-path: inset(0 round 12px);
  clip-path: inset(0 round 12px);
  contain: paint;
}
body.presentation-mode-active #slide-20 .treatment-table .table-add-row,
body.presentation-mode-active #slide-23 .treatment-table .table-add-row,
body.presentation-mode-active #slide-20 .treatment-row-delete,
body.presentation-mode-active #slide-23 .treatment-row-delete,
body.presentation-mode-active #slide-20 .treatment-plan-slide-options,
body.presentation-mode-active #slide-23 .treatment-plan-slide-options { display: none !important; }
body.presentation-mode-active #slide-20 .treatment-plan-title,
body.presentation-mode-active #slide-23 .treatment-plan-title { font-size: 1em !important; margin-bottom: 8px !important; }
body.presentation-mode-active #slide-20 .treatment-header,
body.presentation-mode-active #slide-23 .treatment-header,
body.presentation-mode-active #presentation-app #slide-20 .treatment-header,
body.presentation-mode-active #presentation-app #slide-23 .treatment-header {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  min-height: min-content !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: none !important;
  overflow: hidden !important;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}
body.presentation-mode-active #slide-20 .treatment-rows .treatment-row:first-of-type,
body.presentation-mode-active #slide-23 .treatment-rows .treatment-row:first-of-type,
body.presentation-mode-active #presentation-app #slide-20 .treatment-rows .treatment-row:first-of-type,
body.presentation-mode-active #presentation-app #slide-23 .treatment-rows .treatment-row:first-of-type {
  border-top: none !important;
}
body.presentation-mode-active #slide-20 .treatment-header div,
body.presentation-mode-active #slide-23 .treatment-header div { padding: 8px 8px !important; min-height: auto !important; }
body.presentation-mode-active #slide-20 .treatment-header div,
body.presentation-mode-active #slide-23 .treatment-header div,
body.presentation-mode-active #slide-20 .treatment-period,
body.presentation-mode-active #slide-23 .treatment-period,
body.presentation-mode-active #slide-20 .treatment-services textarea,
body.presentation-mode-active #slide-23 .treatment-services textarea,
body.presentation-mode-active #slide-20 .treatment-row .treatment-value,
body.presentation-mode-active #slide-23 .treatment-row .treatment-value,
body.presentation-mode-active #slide-20 .treatment-summary .summary-label,
body.presentation-mode-active #slide-23 .treatment-summary .summary-label,
body.presentation-mode-active #slide-20 .treatment-summary.grand .summary-label,
body.presentation-mode-active #slide-23 .treatment-summary.grand .summary-label,
body.presentation-mode-active #slide-20 .treatment-summary .summary-values span,
body.presentation-mode-active #slide-23 .treatment-summary .summary-values span,
body.presentation-mode-active #slide-20 .treatment-summary.grand .summary-values span,
body.presentation-mode-active #slide-23 .treatment-summary.grand .summary-values span {
  font-size: 10px !important;
  line-height: 1.25 !important;
}
body.presentation-mode-active #slide-20 .treatment-table .treatment-header .highlight-column::after,
body.presentation-mode-active #slide-23 .treatment-table .treatment-header .highlight-column::after { font-size: 0.55em !important; }
body.presentation-mode-active #slide-20 .treatment-header .system-header-country,
body.presentation-mode-active #slide-23 .treatment-header .system-header-country,
body.presentation-mode-active #slide-21 .cost-calc-header .system-header-country,
body.presentation-mode-active #presentation-app #slide-20 .treatment-header .system-header-country,
body.presentation-mode-active #presentation-app #slide-23 .treatment-header .system-header-country,
body.presentation-mode-active #presentation-app #slide-21 .cost-calc-header .system-header-country {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 0.72em !important;
  font-weight: 300 !important;
  line-height: 1.35 !important;
  margin-top: 4px !important;
  margin-bottom: 3px !important;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}
/* Слайды плана лечения: сплошная заливка рекомендуемой колонки через зазор под шапкой */
#slide-20 .treatment-header > .highlight-column,
#slide-23 .treatment-header > .highlight-column {
  position: relative !important;
  z-index: 2;
  border-radius: 0 !important;
  overflow: visible !important;
  isolation: isolate;
}

#slide-20 .treatment-header > .highlight-column::before,
#slide-23 .treatment-header > .highlight-column::before {
  content: '' !important;
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  bottom: -14px;
  background: inherit !important;
  pointer-events: none;
  z-index: -1;
}

body.presentation-mode-active #slide-20 .treatment-header > .highlight-column::before,
body.presentation-mode-active #slide-23 .treatment-header > .highlight-column::before,
body.presentation-mode-active #presentation-app #slide-20 .treatment-header > .highlight-column::before,
body.presentation-mode-active #presentation-app #slide-23 .treatment-header > .highlight-column::before {
  content: none !important;
  display: none !important;
}
body.presentation-mode-active #slide-20 .treatment-table .treatment-header > .highlight-column,
body.presentation-mode-active #slide-23 .treatment-table .treatment-header > .highlight-column,
body.presentation-mode-active #presentation-app #slide-20 .treatment-table .treatment-header > .highlight-column,
body.presentation-mode-active #presentation-app #slide-23 .treatment-table .treatment-header > .highlight-column {
  box-shadow: none !important;
  overflow: hidden !important;
  filter: none !important;
}
body.presentation-mode-active #slide-20 .treatment-rows,
body.presentation-mode-active #slide-23 .treatment-rows { display: block !important; flex: 0 0 auto !important; }
body.presentation-mode-active #slide-20 .treatment-row,
body.presentation-mode-active #slide-23 .treatment-row {
  min-height: 0 !important;
  height: auto !important;
  align-items: start !important;
  grid-auto-rows: min-content !important;
}
body.presentation-mode-active #slide-20 .treatment-row .treatment-period,
body.presentation-mode-active #slide-23 .treatment-row .treatment-period,
body.presentation-mode-active #slide-20 .treatment-row .treatment-services,
body.presentation-mode-active #slide-23 .treatment-row .treatment-services {
  min-height: 0 !important;
  height: auto !important;
  align-self: stretch !important;
}
body.presentation-mode-active #slide-20 .treatment-row .treatment-value,
body.presentation-mode-active #slide-23 .treatment-row .treatment-value {
  min-height: 0 !important;
  align-self: stretch !important;
}
body.presentation-mode-active #slide-20 .treatment-row .treatment-services textarea,
body.presentation-mode-active #slide-23 .treatment-row .treatment-services textarea {
  min-height: 0 !important;
  overflow: hidden !important;
  resize: none !important;
  line-height: 1.25 !important;
  white-space: pre-line !important;
}
body.presentation-mode-active #slide-20 .treatment-rows > .treatment-row:first-of-type .treatment-period,
body.presentation-mode-active #slide-23 .treatment-rows > .treatment-row:first-of-type .treatment-period,
body.presentation-mode-active #presentation-app #slide-20 .treatment-rows > .treatment-row:first-of-type .treatment-period,
body.presentation-mode-active #presentation-app #slide-23 .treatment-rows > .treatment-row:first-of-type .treatment-period {
  padding-top: 24px !important;
  padding-right: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 10px !important;
}
body.presentation-mode-active #slide-20 .treatment-rows > .treatment-row:first-of-type .treatment-services textarea,
body.presentation-mode-active #slide-23 .treatment-rows > .treatment-row:first-of-type .treatment-services textarea,
body.presentation-mode-active #presentation-app #slide-20 .treatment-rows > .treatment-row:first-of-type .treatment-services textarea,
body.presentation-mode-active #presentation-app #slide-23 .treatment-rows > .treatment-row:first-of-type .treatment-services textarea {
  padding-top: 24px !important;
  padding-right: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 10px !important;
}
body.presentation-mode-active #slide-20 .treatment-rows > .treatment-row:first-of-type .treatment-value,
body.presentation-mode-active #slide-23 .treatment-rows > .treatment-row:first-of-type .treatment-value,
body.presentation-mode-active #presentation-app #slide-20 .treatment-rows > .treatment-row:first-of-type .treatment-value,
body.presentation-mode-active #presentation-app #slide-23 .treatment-rows > .treatment-row:first-of-type .treatment-value {
  padding-top: 24px !important;
  padding-right: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 10px !important;
}
body.presentation-mode-active #slide-20 .treatment-summary,
body.presentation-mode-active #slide-23 .treatment-summary,
body.presentation-mode-active #slide-20 .treatment-summary.grand,
body.presentation-mode-active #slide-23 .treatment-summary.grand {
  min-height: 0 !important;
  padding: 8px 0 !important;
}
body.presentation-mode-active #slide-20 .treatment-summary .summary-values,
body.presentation-mode-active #slide-23 .treatment-summary .summary-values,
body.presentation-mode-active #slide-20 .treatment-summary.grand .summary-values,
body.presentation-mode-active #slide-23 .treatment-summary.grand .summary-values { min-height: 0 !important; }
body.presentation-mode-active #slide-20 .treatment-summary .summary-values span,
body.presentation-mode-active #slide-23 .treatment-summary .summary-values span,
body.presentation-mode-active #slide-20 .treatment-summary.grand .summary-values span,
body.presentation-mode-active #slide-23 .treatment-summary.grand .summary-values span {
  min-height: 0 !important;
  padding: 8px 6px !important;
}

/* РЎР»Р°Р№РґС‹ "РџР»Р°РЅ Р»РµС‡РµРЅРёСЏ" РІ РїСЂРµР·РµРЅС‚Р°С†РёРё: РёС‚РѕРіРѕРІС‹Рµ СЃС‚СЂРѕРєРё РІСЃРµРіРґР° РёРґСѓС‚ РІ РїРѕС‚РѕРєРµ
   Рё РЅРµ СЃР»РёРїР°СЋС‚СЃСЏ РїСЂРё РїРѕСЏРІР»РµРЅРёРё РІРµСЂС‚РёРєР°Р»СЊРЅРѕРіРѕ СЃРєСЂРѕР»Р»Р° */
body.presentation-mode-active #slide-20 .treatment-table > .treatment-summary,
body.presentation-mode-active #slide-23 .treatment-table > .treatment-summary,
body.presentation-mode-active #slide-20 .treatment-table > .treatment-summary.grand,
body.presentation-mode-active #slide-23 .treatment-table > .treatment-summary.grand {
  display: grid !important;
  grid-template-columns: 140px 320px 1fr 1fr 1fr !important;
  gap: 10px !important;
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  flex: 0 0 auto !important;
  margin-top: 6px !important;
  z-index: auto !important;
}

body.presentation-mode-active #slide-20 .treatment-table > .treatment-summary .summary-label,
body.presentation-mode-active #slide-23 .treatment-table > .treatment-summary .summary-label,
body.presentation-mode-active #slide-20 .treatment-table > .treatment-summary.grand .summary-label,
body.presentation-mode-active #slide-23 .treatment-table > .treatment-summary.grand .summary-label {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* Р РµР¶РёРј РїСЂРµР·РµРЅС‚Р°С†РёРё: СЃР»Р°Р№Рґ 27 В«Р’РёРґС‹ РѕРїР»Р°С‚С‹В» вЂ” РѕС‚РєР»СЋС‡РёС‚СЊ Р°РЅРёРјР°С†РёРё РІС‹Р±РѕСЂР° */
body.presentation-mode-active #slide-27 .payment-type-icon { animation: none !important; }
body.presentation-mode-active #slide-27 .payment-type-card-glow {
  opacity: 0 !important;
  animation: none !important;
  transition: none !important;
}
body.presentation-mode-active #slide-27 .payment-type-card:hover .payment-type-card-glow {
  opacity: 0 !important;
  animation: none !important;
}
body.presentation-mode-active #slide-27 .payment-type-card,
body.presentation-mode-active #slide-27 .payment-type-card:hover {
  transform: none !important;
  box-shadow: none !important;
}
body.presentation-mode-active #slide-27 .payment-type-card::before,
body.presentation-mode-active #slide-27 .payment-type-card:hover::before {
  transition: none !important;
  transform: scaleX(0) !important;
}

/* Р РµР¶РёРј РїСЂРµР·РµРЅС‚Р°С†РёРё, СЃР»Р°Р№Рґ В«РљРѕРјР°РЅРґР°В»: РєРІР°РґСЂР°С‚С‹ СЃ С„РѕРЅРѕРј, С„РѕС‚Рѕ РїСЂРёРІСЏР·Р°РЅС‹ Рє Р’Р•Р РҐРЈ (РєР°Рє РєРѕРѕСЂРґРёРЅР°С‚РѕСЂ РІ РѕР±С‹С‡РЅРѕРј СЂРµР¶РёРјРµ) */
body.presentation-mode-active #slide-15 .team-banner-coordinator-photo-wrap .team-banner-coordinator-photo,
body.presentation-mode-active #slide-15 .team-photo-box img,
body.presentation-mode-active #slide-15 .team-photo-preview img {
  object-fit: cover !important;
  object-position: top center !important;
  width: 100% !important;
  height: 100% !important;
}

/* Р’С‹Р±СЂР°РЅРѕ 1вЂ“3 РёРјРїР»Р°РЅС‚Р°С†РёРѕРЅРЅС‹Рµ СЃРёСЃС‚РµРјС‹: СЃРєСЂС‹РІР°РµРј Р»РёС€РЅРёРµ РєРѕР»РѕРЅРєРё РїР»Р°РЅР° Рё СЂР°СЃС‡С‘С‚Р° */
body.implant-pick-count-1 #slide-20 .treatment-header,
body.implant-pick-count-1 #slide-20 .treatment-row,
body.implant-pick-count-1 #slide-23 .treatment-header,
body.implant-pick-count-1 #slide-23 .treatment-row {
  grid-template-columns: 140px calc(320px + (2 * var(--plan-col-w)) + 20px) var(--plan-col-w) !important;
}
body.implant-pick-count-2 #slide-20 .treatment-header,
body.implant-pick-count-2 #slide-20 .treatment-row,
body.implant-pick-count-2 #slide-23 .treatment-header,
body.implant-pick-count-2 #slide-23 .treatment-row {
  grid-template-columns: 140px calc(320px + var(--plan-col-w) + 10px) var(--plan-col-w) var(--plan-col-w) !important;
}
body.implant-pick-count-1 #slide-20 .treatment-table,
body.implant-pick-count-1 #slide-23 .treatment-table,
body.implant-pick-count-2 #slide-20 .treatment-table,
body.implant-pick-count-2 #slide-23 .treatment-table {
  --plan-col-w: calc((100% - 140px - 320px - 40px) / 3);
}
body.implant-pick-count-1 #slide-20 .treatment-header > div:nth-child(4),
body.implant-pick-count-1 #slide-20 .treatment-header > div:nth-child(5),
body.implant-pick-count-1 #slide-20 .treatment-row .treatment-value[data-plan="rational"],
body.implant-pick-count-1 #slide-20 .treatment-row .treatment-value[data-plan="premium"],
body.implant-pick-count-1 #slide-23 .treatment-header > div:nth-child(4),
body.implant-pick-count-1 #slide-23 .treatment-header > div:nth-child(5),
body.implant-pick-count-1 #slide-23 .treatment-row .treatment-value[data-plan="rational"],
body.implant-pick-count-1 #slide-23 .treatment-row .treatment-value[data-plan="premium"] {
  display: none !important;
}
body.implant-pick-count-2 #slide-20 .treatment-header > div:nth-child(5),
body.implant-pick-count-2 #slide-20 .treatment-row .treatment-value[data-plan="premium"],
body.implant-pick-count-2 #slide-23 .treatment-header > div:nth-child(5),
body.implant-pick-count-2 #slide-23 .treatment-row .treatment-value[data-plan="premium"] {
  display: none !important;
}
body.implant-pick-count-1 #slide-20 .treatment-summary .summary-values,
body.implant-pick-count-1 #slide-20 .treatment-summary.grand .summary-values,
body.implant-pick-count-1 #slide-23 .treatment-summary .summary-values,
body.implant-pick-count-1 #slide-23 .treatment-summary.grand .summary-values {
  grid-column: 3 / 4 !important;
  grid-template-columns: 1fr !important;
}
body.implant-pick-count-2 #slide-20 .treatment-summary .summary-values,
body.implant-pick-count-2 #slide-20 .treatment-summary.grand .summary-values,
body.implant-pick-count-2 #slide-23 .treatment-summary .summary-values,
body.implant-pick-count-2 #slide-23 .treatment-summary.grand .summary-values {
  grid-column: 3 / 5 !important;
  grid-template-columns: 1fr 1fr !important;
}
body.implant-pick-count-1 #slide-20 .treatment-summary .summary-values > span:nth-child(2),
body.implant-pick-count-1 #slide-20 .treatment-summary .summary-values > span:nth-child(3),
body.implant-pick-count-1 #slide-20 .treatment-summary.grand .summary-values > span:nth-child(2),
body.implant-pick-count-1 #slide-20 .treatment-summary.grand .summary-values > span:nth-child(3),
body.implant-pick-count-1 #slide-23 .treatment-summary .summary-values > span:nth-child(2),
body.implant-pick-count-1 #slide-23 .treatment-summary .summary-values > span:nth-child(3),
body.implant-pick-count-1 #slide-23 .treatment-summary.grand .summary-values > span:nth-child(2),
body.implant-pick-count-1 #slide-23 .treatment-summary.grand .summary-values > span:nth-child(3) {
  display: none !important;
}
body.implant-pick-count-2 #slide-20 .treatment-summary .summary-values > span:nth-child(3),
body.implant-pick-count-2 #slide-20 .treatment-summary.grand .summary-values > span:nth-child(3),
body.implant-pick-count-2 #slide-23 .treatment-summary .summary-values > span:nth-child(3),
body.implant-pick-count-2 #slide-23 .treatment-summary.grand .summary-values > span:nth-child(3) {
  display: none !important;
}
body.implant-pick-count-1 #slide-20 .treatment-summary,
body.implant-pick-count-1 #slide-20 .treatment-summary.grand,
body.implant-pick-count-1 #slide-23 .treatment-summary,
body.implant-pick-count-1 #slide-23 .treatment-summary.grand {
  grid-template-columns: 140px calc(320px + (2 * var(--plan-col-w)) + 20px) var(--plan-col-w) !important;
}
body.implant-pick-count-2 #slide-20 .treatment-summary,
body.implant-pick-count-2 #slide-20 .treatment-summary.grand,
body.implant-pick-count-2 #slide-23 .treatment-summary,
body.implant-pick-count-2 #slide-23 .treatment-summary.grand {
  grid-template-columns: 140px calc(320px + var(--plan-col-w) + 10px) var(--plan-col-w) var(--plan-col-w) !important;
}
/* Обычный режим, слайд 21 (расчётная стоимость): при 1–2 системах та же логика, что в презентации —
   ширина «лишних» планов переносится в колонку подписи; видимые системы сдвигаются вправо; +36px под × */
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-table,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-table {
  --plan-col-w-pres: calc((100% - 140px - 320px - 40px) / 3);
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-header,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total {
  grid-template-columns: 140px calc(320px + (2 * var(--plan-col-w-pres)) + 20px) var(--plan-col-w-pres) 36px !important;
  padding-right: 10px !important;
  box-sizing: border-box !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-header,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row-total {
  grid-template-columns: 140px calc(320px + var(--plan-col-w-pres) + 10px) var(--plan-col-w-pres) var(--plan-col-w-pres) 36px !important;
  padding-right: 10px !important;
  box-sizing: border-box !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(1),
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(1) {
  grid-column: 1 / span 2 !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(2) {
  grid-column: 3 !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(3) {
  grid-column: 4 !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(5) {
  grid-column: 5 !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"] {
  grid-column: 3 !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"] {
  grid-column: 4 !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-row-delete,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row-total .cost-calc-row-delete {
  grid-column: 5 !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(2) {
  grid-column: 3 !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(5) {
  grid-column: 4 !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"] {
  grid-column: 3 !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-row-delete,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total .cost-calc-row-delete {
  grid-column: 4 !important;
}
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row > .cost-calc-label,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-1 #slide-21 .cost-calc-row-total > .cost-calc-label,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row > .cost-calc-label,
body:not(.presentation-mode-active):not(.print-preview):not(.pdf-capturing).implant-pick-count-2 #slide-21 .cost-calc-row-total > .cost-calc-label {
  grid-column: 1 / span 2 !important;
}
body.implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(3),
body.implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(4),
body.implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body.implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"] {
  display: none !important;
}
body.implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(4),
body.implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"] {
  display: none !important;
}

/* Презентация slide-21: без псевдо-колонки справа (× и пустой угол шапки вне сетки) */
body.presentation-mode-active #slide-21 .cost-calc-row .cost-calc-row-delete,
body.presentation-mode-active #slide-21 .cost-calc-row-total .cost-calc-row-delete,
body.presentation-mode-active #presentation-app #slide-21 .cost-calc-row .cost-calc-row-delete,
body.presentation-mode-active #presentation-app #slide-21 .cost-calc-row-total .cost-calc-row-delete {
  display: none !important;
}
body.presentation-mode-active #slide-21 .cost-calc-header > div:last-child:empty,
body.presentation-mode-active #presentation-app #slide-21 .cost-calc-header > div:last-child:empty {
  display: none !important;
}
body.presentation-mode-active #slide-21 .cost-calc-header,
body.presentation-mode-active #slide-21 .cost-calc-row,
body.presentation-mode-active #slide-21 .cost-calc-row-total,
body.presentation-mode-active #presentation-app #slide-21 .cost-calc-header,
body.presentation-mode-active #presentation-app #slide-21 .cost-calc-row,
body.presentation-mode-active #presentation-app #slide-21 .cost-calc-row-total {
  grid-template-columns: minmax(200px, 1.5fr) repeat(3, minmax(120px, 1fr)) !important;
}
/* Presentation: план лечения — как в обычном режиме: ширина столбцов систем как при 3 системах, лишнее в «Описание этапа»; итоги ровно под колонками */
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-table,
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-table,
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-table,
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-table,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-20 .treatment-table,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-23 .treatment-table,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-20 .treatment-table,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-23 .treatment-table,
body.presentation-mode-active.implant-pick-count-1 #slide-21 .cost-calc-table,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-21 .cost-calc-table,
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-table,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-table {
  --plan-col-w-pres: calc((100% - 140px - 320px - 40px) / 3);
}
/* Презентация, слайд 21: сетка как у плана лечения — без колонки 36px под × */
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-header,
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-row,
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-row-total,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-header,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row-total {
  grid-template-columns: 140px 320px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
}
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-row .cost-calc-label,
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-row-total .cost-calc-label,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row .cost-calc-label,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-label {
  grid-column: 1 / span 2 !important;
}
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-header,
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-row,
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-row-total,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-header,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row-total {
  grid-template-columns: 140px calc(320px + var(--plan-col-w-pres) + 10px) var(--plan-col-w-pres) var(--plan-col-w-pres) !important;
  gap: 10px !important;
}
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-label,
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-row-total .cost-calc-label,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row .cost-calc-label,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-label {
  grid-column: 1 / span 2 !important;
}
body.presentation-mode-active.implant-pick-count-1 #slide-21 .cost-calc-header,
body.presentation-mode-active.implant-pick-count-1 #slide-21 .cost-calc-row,
body.presentation-mode-active.implant-pick-count-1 #slide-21 .cost-calc-row-total,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-21 .cost-calc-header,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row-total {
  grid-template-columns: 140px calc(320px + (2 * var(--plan-col-w-pres)) + 20px) var(--plan-col-w-pres) !important;
  gap: 10px !important;
}
body.presentation-mode-active.implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-label,
body.presentation-mode-active.implant-pick-count-1 #slide-21 .cost-calc-row-total .cost-calc-label,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row .cost-calc-label,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-label {
  grid-column: 1 / span 2 !important;
}
/* Шапка slide-21: первый пустой угол на две колонки как у строк с подписью */
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-header > div:nth-child(1),
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-header > div:nth-child(1) { grid-column: 1 / span 2 !important; }
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-header > div:nth-child(2),
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-header > div:nth-child(2) { grid-column: 3 !important; }
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-header > div:nth-child(3),
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-header > div:nth-child(3) { grid-column: 4 !important; }
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-header > div:nth-child(4),
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-header > div:nth-child(4) { grid-column: 5 !important; }
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"],
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"] { grid-column: 3 !important; }
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"],
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"] { grid-column: 4 !important; }
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body.presentation-mode-active.implant-pick-count-3 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"],
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="premium"],
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="premium"] { grid-column: 5 !important; }
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(1),
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-header > div:nth-child(1) { grid-column: 1 / span 2 !important; }
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(2),
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-header > div:nth-child(2) { grid-column: 3 !important; }
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-header > div:nth-child(3),
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-header > div:nth-child(3) { grid-column: 4 !important; }
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"],
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"] { grid-column: 3 !important; }
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body.presentation-mode-active.implant-pick-count-2 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"],
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="rational"],
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="rational"] { grid-column: 4 !important; }
body.presentation-mode-active.implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(1),
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-21 .cost-calc-header > div:nth-child(1) { grid-column: 1 / span 2 !important; }
body.presentation-mode-active.implant-pick-count-1 #slide-21 .cost-calc-header > div:nth-child(2),
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-21 .cost-calc-header > div:nth-child(2) { grid-column: 3 !important; }
body.presentation-mode-active.implant-pick-count-1 #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body.presentation-mode-active.implant-pick-count-1 #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"],
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row .cost-calc-value[data-plan="alternative"],
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-21 .cost-calc-row-total .cost-calc-value[data-plan="alternative"] { grid-column: 3 !important; }
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-header,
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-row,
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-header,
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-row,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-20 .treatment-table .treatment-header,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-20 .treatment-table .treatment-row,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-23 .treatment-table .treatment-header,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-23 .treatment-table .treatment-row {
  grid-template-columns: 140px calc(320px + (2 * var(--plan-col-w-pres)) + 20px) var(--plan-col-w-pres) !important;
  gap: 10px !important;
}
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-header,
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-row,
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-header,
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-row,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-20 .treatment-table .treatment-header,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-20 .treatment-table .treatment-row,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-23 .treatment-table .treatment-header,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-23 .treatment-table .treatment-row {
  grid-template-columns: 140px calc(320px + var(--plan-col-w-pres) + 10px) var(--plan-col-w-pres) var(--plan-col-w-pres) !important;
  gap: 10px !important;
}
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-summary,
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-summary.grand,
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-summary,
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-summary.grand,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-20 .treatment-table .treatment-summary,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-20 .treatment-table .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-20 .treatment-table .treatment-summary.grand,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-23 .treatment-table .treatment-summary,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-23 .treatment-table .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-23 .treatment-table .treatment-summary.grand {
  grid-template-columns: 140px calc(320px + (2 * var(--plan-col-w-pres)) + 20px) var(--plan-col-w-pres) !important;
  gap: 10px !important;
}
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-summary,
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-summary.grand,
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-summary,
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-summary.grand,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-20 .treatment-table .treatment-summary,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-20 .treatment-table .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-20 .treatment-table .treatment-summary.grand,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-23 .treatment-table .treatment-summary,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-23 .treatment-table .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-23 .treatment-table .treatment-summary.grand {
  grid-template-columns: 140px calc(320px + var(--plan-col-w-pres) + 10px) var(--plan-col-w-pres) var(--plan-col-w-pres) !important;
  gap: 10px !important;
}
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-summary.treatment-summary-fsp .summary-values,
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-summary.treatment-summary-fsp .summary-values,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-20 .treatment-table .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-20 .treatment-table .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-20 .treatment-table .treatment-summary.treatment-summary-fsp .summary-values,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-23 .treatment-table .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-23 .treatment-table .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-1 #presentation-app #slide-23 .treatment-table .treatment-summary.treatment-summary-fsp .summary-values {
  grid-column: 3 / 4 !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-summary.treatment-summary-fsp .summary-values,
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-summary.treatment-summary-fsp .summary-values,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-20 .treatment-table .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-20 .treatment-table .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-20 .treatment-table .treatment-summary.treatment-summary-fsp .summary-values,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-23 .treatment-table .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-23 .treatment-table .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-2 #presentation-app #slide-23 .treatment-table .treatment-summary.treatment-summary-fsp .summary-values {
  grid-column: 3 / 5 !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-header > div:nth-child(4),
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-header > div:nth-child(5),
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-row .treatment-value[data-plan="rational"],
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-row .treatment-value[data-plan="premium"],
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-header > div:nth-child(4),
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-header > div:nth-child(5),
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-row .treatment-value[data-plan="rational"],
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-row .treatment-value[data-plan="premium"] {
  display: none !important;
}
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-header > div:nth-child(5),
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-row .treatment-value[data-plan="premium"],
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-header > div:nth-child(5),
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-row .treatment-value[data-plan="premium"] {
  display: none !important;
}
/* Fallback для presentation: скрытие лишних колонок по позиции,
   даже если у ячейки нет ожидаемого data-plan */
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-row > :nth-child(4),
body.presentation-mode-active.implant-pick-count-1 #slide-20 .treatment-row > :nth-child(5),
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-row > :nth-child(4),
body.presentation-mode-active.implant-pick-count-1 #slide-23 .treatment-row > :nth-child(5) {
  display: none !important;
}
body.presentation-mode-active.implant-pick-count-2 #slide-20 .treatment-row > :nth-child(5),
body.presentation-mode-active.implant-pick-count-2 #slide-23 .treatment-row > :nth-child(5) {
  display: none !important;
}

/* Presentation mode: slide "Имплантаты" — keep bottom safe offset and shrink content to viewport */
body.presentation-mode-active #presentation-app #slide-17 .slide-content,
body.presentation-mode-active #slide-17 .slide-content {
  height: 100% !important;
  max-height: calc(100vh - 210px) !important;
  padding-bottom: clamp(12px, 1.8vh, 24px) !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implants-single-view,
body.presentation-mode-active #slide-17 .implants-single-view {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implants-single-view .implant-card.implant-card-visible,
body.presentation-mode-active #slide-17 .implants-single-view .implant-card.implant-card-visible {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-card,
body.presentation-mode-active #slide-17 .implant-card {
  min-height: 0 !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-card-body,
body.presentation-mode-active #slide-17 .implant-card-body {
  height: 100% !important;
  min-height: 0 !important;
  align-items: center !important;
  padding: clamp(18px, 3vh, 40px) clamp(18px, 2.2vw, 35px) !important;
  gap: clamp(18px, 3vh, 40px) !important;
}

/* Slide 17 presentation: compress inner content to avoid extra vertical scroll */
body.presentation-mode-active #presentation-app #slide-17,
body.presentation-mode-active #slide-17,
body.presentation-mode-active #presentation-app #slide-17 .slide-content,
body.presentation-mode-active #slide-17 .slide-content {
  overflow-x: visible !important;
  overflow-y: hidden !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-card,
body.presentation-mode-active #slide-17 .implant-card {
  height: 100% !important;
  overflow: visible !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-card-body,
body.presentation-mode-active #slide-17 .implant-card-body {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-content: start !important;
  align-items: start !important;
  padding: clamp(12px, 1.5vh, 18px) clamp(12px, 1.6vw, 24px) clamp(10px, 1.4vh, 16px) !important;
  gap: clamp(10px, 1.8vh, 20px) !important;
  overflow: visible !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-info,
body.presentation-mode-active #slide-17 .implant-info {
  --s17-logo-row-h: clamp(56px, 8vh, 78px);
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-self: start !important;
  gap: clamp(8px, 1.3vh, 14px) !important;
  padding: 0 !important;
  margin-top: 0 !important;
  min-height: 0 !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-logo-wrap,
body.presentation-mode-active #slide-17 .implant-logo-wrap {
  display: inline-flex !important;
  align-items: flex-start !important;
  min-height: var(--s17-logo-row-h) !important;
  height: var(--s17-logo-row-h) !important;
  gap: clamp(8px, 0.9vw, 14px) !important;
  margin-top: 0 !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-card[data-implant="premium_slactive"] .implant-logo-wrap,
body.presentation-mode-active #slide-17 .implant-card[data-implant="premium_slactive"] .implant-logo-wrap {
  transform: translateX(clamp(-41px, -3.4vw, -24px)) scale(1.18) !important;
  transform-origin: left center !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-card[data-implant="snucone"] .implant-logo-wrap,
body.presentation-mode-active #slide-17 .implant-card[data-implant="snucone"] .implant-logo-wrap {
  transform: translateX(clamp(-43px, -3.65vw, -24px)) scale(1.14) !important;
  transform-origin: left center !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-card[data-implant="premium_slactive"] .implant-logo-extra,
body.presentation-mode-active #slide-17 .implant-card[data-implant="premium_slactive"] .implant-logo-extra {
  transform: translateY(clamp(4px, 0.45vh, 8px)) !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-logo,
body.presentation-mode-active #slide-17 .implant-logo,
body.presentation-mode-active #presentation-app #slide-17 .implant-logo-extra,
body.presentation-mode-active #slide-17 .implant-logo-extra {
  margin-top: 0 !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-logo,
body.presentation-mode-active #slide-17 .implant-logo {
  min-height: var(--s17-logo-row-h) !important;
  height: var(--s17-logo-row-h) !important;
  max-height: var(--s17-logo-row-h) !important;
  max-width: clamp(140px, 18vw, 220px) !important;
  width: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-logo-wrap .implant-logo,
body.presentation-mode-active #slide-17 .implant-logo-wrap .implant-logo {
  min-height: var(--s17-logo-row-h) !important;
  height: var(--s17-logo-row-h) !important;
  max-height: var(--s17-logo-row-h) !important;
  max-width: clamp(120px, 16vw, 180px) !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-logo-extra,
body.presentation-mode-active #slide-17 .implant-logo-extra {
  display: inline-flex !important;
  align-items: center !important;
  min-height: var(--s17-logo-row-h) !important;
  line-height: 1 !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-guarantee,
body.presentation-mode-active #slide-17 .implant-guarantee,
body.presentation-mode-active #presentation-app #slide-17 .implant-meta,
body.presentation-mode-active #slide-17 .implant-meta {
  padding: clamp(8px, 1.2vh, 12px) clamp(10px, 1vw, 14px) !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-meta-header,
body.presentation-mode-active #slide-17 .implant-meta-header {
  margin-bottom: clamp(4px, 0.8vh, 8px) !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-meta p,
body.presentation-mode-active #slide-17 .implant-meta p {
  line-height: 1.4 !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-visual,
body.presentation-mode-active #slide-17 .implant-visual {
  min-height: 0 !important;
  /* safe insets from block edges in presentation mode */
  padding: clamp(10px, 1.4vh, 16px) clamp(10px, 1.4vw, 20px) clamp(34px, 4.8vh, 56px) !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

body.presentation-mode-active #presentation-app #slide-17 .implant-visual img,
body.presentation-mode-active #slide-17 .implant-visual img {
  --s17-img-x: 72px;
  --s17-img-y: -96px;
  --s17-img-scale: 1.28;
  --s17-img-rot: 0deg;
  width: clamp(300px, 47vh, 460px) !important;
  max-width: none !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  transform: translate3d(var(--s17-img-x), var(--s17-img-y), 0) scale(var(--s17-img-scale)) rotate(var(--s17-img-rot)) !important;
  transform-origin: top right !important;
  animation: none !important;
  will-change: auto !important;
}

/* Final override: слайд 21, сохраняем 4-ю строку в рекомендуемом заголовке */
#slide-21 .cost-calc-header .highlight-column::after {
  display: block !important;
  content: 'Рекомендуем' !important;
}

#presentation-app #slide-21 .cost-calc-header .highlight-column::after {
  display: block !important;
  content: 'Рекомендуем' !important;
}

#slide-21 .cost-calc-header .highlight-column .system-header-recommend,
#presentation-app #slide-21 .cost-calc-header .highlight-column .system-header-recommend {
  display: block !important;
}

/* Презентация, 3 системы: та же сетка 140 + 320 + три колонки, итоги совпадают с шапкой */
body.presentation-mode-active.implant-pick-count-3 #slide-20 .treatment-table .treatment-header,
body.presentation-mode-active.implant-pick-count-3 #slide-20 .treatment-table .treatment-row,
body.presentation-mode-active.implant-pick-count-3 #slide-23 .treatment-table .treatment-header,
body.presentation-mode-active.implant-pick-count-3 #slide-23 .treatment-table .treatment-row,
body.presentation-mode-active.implant-pick-count-3 #slide-20 .treatment-header,
body.presentation-mode-active.implant-pick-count-3 #slide-20 .treatment-row,
body.presentation-mode-active.implant-pick-count-3 #slide-23 .treatment-header,
body.presentation-mode-active.implant-pick-count-3 #slide-23 .treatment-row,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-20 .treatment-table .treatment-header,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-20 .treatment-table .treatment-row,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-23 .treatment-table .treatment-header,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-23 .treatment-table .treatment-row {
  grid-template-columns: 140px 320px 1fr 1fr 1fr !important;
  gap: 10px !important;
}
body.presentation-mode-active.implant-pick-count-3 #slide-20 .treatment-table .treatment-summary,
body.presentation-mode-active.implant-pick-count-3 #slide-20 .treatment-table .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-3 #slide-20 .treatment-table .treatment-summary.grand,
body.presentation-mode-active.implant-pick-count-3 #slide-23 .treatment-table .treatment-summary,
body.presentation-mode-active.implant-pick-count-3 #slide-23 .treatment-table .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-3 #slide-23 .treatment-table .treatment-summary.grand,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-20 .treatment-table .treatment-summary,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-20 .treatment-table .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-20 .treatment-table .treatment-summary.grand,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-23 .treatment-table .treatment-summary,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-23 .treatment-table .treatment-summary.treatment-summary-fsp,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-23 .treatment-table .treatment-summary.grand {
  grid-template-columns: 140px 320px 1fr 1fr 1fr !important;
  gap: 10px !important;
}
body.presentation-mode-active.implant-pick-count-3 #slide-20 .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-3 #slide-20 .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-3 #slide-20 .treatment-summary.treatment-summary-fsp .summary-values,
body.presentation-mode-active.implant-pick-count-3 #slide-23 .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-3 #slide-23 .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-3 #slide-23 .treatment-summary.treatment-summary-fsp .summary-values,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-20 .treatment-table .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-20 .treatment-table .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-20 .treatment-table .treatment-summary.treatment-summary-fsp .summary-values,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-23 .treatment-table .treatment-summary .summary-values,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-23 .treatment-table .treatment-summary.grand .summary-values,
body.presentation-mode-active.implant-pick-count-3 #presentation-app #slide-23 .treatment-table .treatment-summary.treatment-summary-fsp .summary-values {
  grid-column: 3 / -1 !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 10px !important;
}

/* Финальное закрепление скругления таблиц в презентации */
body.presentation-mode-active #slide-20 .treatment-table,
body.presentation-mode-active #slide-23 .treatment-table,
body.presentation-mode-active #presentation-app #slide-20 .treatment-table,
body.presentation-mode-active #presentation-app #slide-23 .treatment-table,
body.presentation-mode-active #slide-21 .cost-calc-table,
body.presentation-mode-active #presentation-app #slide-21 .cost-calc-table {
  border-radius: 12px !important;
  overflow: hidden !important;
  -webkit-clip-path: inset(0 round 12px) !important;
  clip-path: inset(0 round 12px) !important;
  contain: paint !important;
}

/* Anti-conflict lock for print/PDF 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-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;
  width: 100% !important;
  justify-self: stretch !important;
  margin: 0 !important;
}