/* От материалов исследования к трём слайдам: темы, данные и цитата. */
#example-presentation {
  --pi-price: #165dd8;
  --pi-integrations: #087e72;
  --pi-implementation: #a74c2a;
}
#example-presentation .pi-scene {
  grid-template-columns: minmax(0, .78fr) 72px minmax(0, 1.4fr);
  align-items: center;
  padding: 32px;
  background: #f2f5f8;
}
.pi-input { min-width: 0; }
.pi-source {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
}
.pi-source>img { flex: none; object-fit: contain; }
.pi-source>div { min-width: 0; }
.pi-source strong { display: block; font-size: 15px; line-height: 1.5; font-weight: 800; }
.pi-source span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.6; color: #526477; }
.pi-source-topics { margin-top: 12px; }
.pi-source-topic {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 86px;
  padding: 15px 0;
  border-top: 1px solid #d9e2eb;
}
.pi-source-topic>div { flex: 1; min-width: 0; }
.pi-topic-point { flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pi-source-topic strong { display: block; color: var(--ink); font-size: 14px; font-weight: 750; line-height: 1.5; }
.pi-source-topic div>span { display: block; margin-top: 4px; color: #526477; font-size: 12px; line-height: 1.5; }
.pi-source-topic>svg { flex: none; width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pi-color-price { color: var(--pi-price); }
.pi-color-integrations { color: var(--pi-integrations); }
.pi-color-implementation { color: var(--pi-implementation); }
#example-presentation .pi-request { display: flex; align-items: flex-start; gap: 11px; margin-top: 20px; padding: 17px; border-radius: 12px; font-size: 13px; line-height: 1.7; }
.pi-request>svg { flex: none; width: 22px; height: 22px; margin-top: 3px; stroke: #b0c4dc; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pi-bridge { width: 100%; height: 270px; margin-top: 1px; overflow: visible; }
.pi-bridge-base { stroke: #c4d1e0; stroke-width: 1.2; }
.pi-bridge [data-pi-path] { stroke: currentColor; stroke-width: 2; stroke-dasharray: 1; opacity: 0; }
.pi-deck { min-width: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 22px 44px -28px rgba(12, 40, 72, .3); }
.pi-deck-head { display: flex; align-items: center; gap: 11px; padding: 16px 22px; border-bottom: 1px solid #e4eaf1; }
.pi-deck-head>img { flex: none; object-fit: contain; }
.pi-deck-head>span { min-width: 0; }
.pi-deck-head strong { display: block; font-size: 13px; line-height: 1.5; font-weight: 750; overflow-wrap: anywhere; }
.pi-deck-head small { display: block; margin-top: 2px; font-size: 11px; line-height: 1.5; color: #5a6c7f; }
.pi-check { flex: none; width: 24px; height: 24px; margin-left: auto; stroke: var(--pi-integrations); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pi-slide { position: relative; display: flex; flex-direction: column; padding: 30px 32px 0; min-height: 500px; }
.pi-slide[hidden] { display: none; }
.pi-slide+.pi-slide { border-top: 1px solid #e4eaf1; }
.pi-enhanced .pi-slide { border-top: 0; }
.pi-slide h4 { margin: 0; font-size: clamp(26px, 2.7vw, 36px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.pi-slide-lead { margin-top: 15px; font-size: 13px; line-height: 1.75; color: #526477; }
.pi-theme-map { display: grid; grid-template-columns: 72px 50px minmax(0, 1fr); align-items: center; margin: 22px 0 14px; }
.pi-theme-origin { padding-right: 8px; }
.pi-theme-origin strong { display: block; font-size: 66px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: #183556; font-variant-numeric: tabular-nums; }
.pi-theme-origin span { display: block; margin-top: 6px; font-size: 11px; line-height: 1.6; font-weight: 600; color: #526477; }
.pi-theme-branches { width: 100%; height: 228px; overflow: visible; }
.pi-theme-branches path { stroke: currentColor; stroke-width: 1.4; }
[data-pi-draw] { stroke-dasharray: 1; stroke-linecap: round; stroke-linejoin: round; }
.pi-theme-rows { min-width: 0; }
.pi-theme-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; padding: 13px 0 13px 12px; border-bottom: 1px solid #e7edf3; }
.pi-theme-row:last-child { border-bottom: 0; }
.pi-theme-row>div { min-width: 0; }
.pi-theme-row strong { display: block; color: var(--ink); font-size: 14px; font-weight: 750; line-height: 1.5; }
.pi-theme-row span { display: block; margin-top: 3px; font-size: 11px; color: #526477; line-height: 1.55; }
.pi-theme-row>svg { flex: none; width: 65px; height: 38px; overflow: visible; }
.pi-theme-row [data-pi-piece] { transform-box: fill-box; transform-origin: center bottom; }
.pi-slide-foot { display: flex; align-items: center; gap: 7px; min-height: 48px; padding: 12px 0; margin-top: auto; border-top: 1px solid #e4eaf1; font-size: 11px; color: #526477; }
.pi-foot-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--pi-integrations); }
.pi-slide-foot .fd-source-link { margin-top: 0; font-size: 12px; min-height: 32px; }
.pi-survey { display: flex; align-items: center; flex-wrap: wrap; column-gap: 22px; row-gap: 10px; margin-top: 35px; }
.pi-survey-value { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.pi-survey-value strong { font-size: clamp(70px, 7vw, 92px); line-height: 1; letter-spacing: -.04em; font-weight: 800; color: var(--pi-price); }
.pi-survey-value>span { font-size: 22px; line-height: 1.4; font-weight: 600; color: #526477; }
.pi-survey>p { font-size: 12px; line-height: 1.75; color: #526477; }
.pi-chart { margin: 31px 0 30px; }
.pi-chart-labels,.pi-chart-axis { display: flex; justify-content: space-between; gap: 16px; font-size: 11px; line-height: 1.5; color: #526477; font-variant-numeric: tabular-nums; }
.pi-chart-labels>span:first-child { color: var(--pi-price); font-weight: 700; }
.pi-chart-track { height: 28px; margin-top: 10px; border-radius: 5px; overflow: hidden; background: #e7edf5; }
.pi-chart-fill { width: calc(100% * 42 / 118); height: 100%; background: var(--pi-price); transform-origin: left center; }
.pi-chart-axis { padding-top: 8px; }
.pi-chart figcaption { display: flex; align-items: center; gap: 7px; margin-top: 24px; color: #526477; font-size: 11px; line-height: 1.5; }
.pi-chart-key { width: 7px; height: 7px; border-radius: 2px; background: var(--pi-price); }
.pi-quote { margin: 24px 0 22px; }
.pi-quote>svg { display: block; width: 27px; height: 21px; color: #b4d8d0; margin-bottom: 11px; }
.pi-quote p { color: #304459; font-size: 16px; line-height: 1.8; letter-spacing: -.01em; }
.pi-quote mark { color: #173e36; background: #e5f3ef; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.pi-result-flow { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 7px 0 28px; }
.pi-team { display: flex; flex-direction: column; align-items: center; flex: none; gap: 7px; }
.pi-team>svg { width: 30px; height: 30px; stroke: #526477; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pi-team>span { color: #526477; font-size: 11px; }
.pi-result-connection { flex: 1; min-width: 42px; text-align: center; }
.pi-result-connection>span { display: block; font-size: 11px; line-height: 1.5; color: #526477; }
.pi-result-connection>svg { display: block; width: 100%; height: 20px; margin-top: 7px; stroke: var(--pi-integrations); stroke-width: 1.5; }
.pi-first-result { display: flex; align-items: center; flex: none; gap: 8px; color: #096b60; }
.pi-first-result>svg { width: 31px; height: 31px; padding: 4px; border-radius: 50%; background: #e5f3ef; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pi-first-result>span { font-size: 12px; font-weight: 750; line-height: 1.5; }
.pi-navigation { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 19px; border-top: 1px solid #e4eaf1; }
.pi-navigation[hidden],.pi-controls[hidden] { display: none; }
.pi-tabs { display: flex; align-items: center; gap: 5px; }
.pi-tabs>button { position: relative; min-height: 44px; padding: 11px 12px; border-radius: 6px; color: #526477; font-size: 12px; font-weight: 750; overflow: hidden; transition: background-color 160ms ease, color 160ms ease; }
.pi-tabs>button[aria-current=step] { color: var(--pi-price); background: #eff4fc; }
.pi-tabs [data-pi-progress] { position: absolute; display: block; bottom: 0; left: 12px; right: 12px; height: 2px; background: var(--pi-price); transform: scaleX(0); transform-origin: left center; }
.pi-arrows { display: flex; align-items: center; gap: 4px; flex: none; }
.pi-arrows button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; color: #526477; transition: color 160ms ease, background-color 160ms ease; }
.pi-arrows button:disabled { opacity: .3; cursor: default; }
.pi-arrows svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pi-arrows>span { padding: 0 4px; font-size: 11px; color: #526477; font-weight: 650; font-variant-numeric: tabular-nums; }
.pi-controls { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 9px 2px 0; }
.pi-control { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 5px 0; border-radius: 4px; font-size: 12px; font-weight: 700; color: #526477; transition: color 150ms ease, transform 100ms ease; }
.pi-control>svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pi-control:disabled { opacity: .4; cursor: default; }
.pi-tabs>button:active,.pi-control:active,.pi-arrows button:active { transform: translateY(1px); }
.pi-status { margin-left: auto; font-size: 11px; line-height: 1.6; color: #526477; }
@media (hover: hover) and (pointer: fine) {
  .pi-tabs>button:hover { color: var(--pi-price); background: #eff4fc; }
  .pi-arrows button:hover:not(:disabled) { color: var(--pi-price); background: #eff4fc; }
  .pi-control:hover:not(:disabled) { color: var(--pi-price); }
}
@media (min-width: 851px) and (max-width: 1099px) {
  #example-presentation .pi-scene { grid-template-columns: minmax(0, .72fr) 40px minmax(0, 1.3fr); padding: 24px; }
  .pi-source { gap: 9px; }
  .pi-source strong { font-size: 13px; }
  .pi-source span,.pi-source-topic div>span { font-size: 11px; }
  .pi-source-topic { gap: 9px; }
  .pi-source-topic strong { font-size: 13px; }
  .pi-source-topic>svg { display: none; }
  #example-presentation .pi-request { padding: 13px; font-size: 12px; }
  .pi-request>svg { display: none; }
  .pi-deck-head { padding: 15px 18px; }
  .pi-slide { padding: 26px 22px 0; min-height: 500px; }
  .pi-theme-map { grid-template-columns: 49px 28px minmax(0, 1fr); }
  .pi-theme-origin strong { font-size: 54px; }
  .pi-theme-row { padding-left: 8px; }
  .pi-theme-row>svg { width: 42px; }
  .pi-theme-row strong { font-size: 12px; }
  .pi-theme-row span { font-size: 11px; }
  .pi-survey { gap: 10px; margin-top: 29px; }
  .pi-survey>p br { display: none; }
  .pi-quote p { font-size: 14px; }
  .pi-navigation { padding: 9px 10px; gap: 4px; }
  .pi-tabs>button { padding: 11px 8px; font-size: 11px; }
  .pi-arrows { gap: 0; }
  .pi-arrows button { width: 44px; }
}
@media (max-width: 850px) {
  #example-presentation .pi-scene { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; }
  .pi-bridge { display: none; }
  .pi-source { padding-top: 0; }
  .pi-source-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .pi-source-topic { align-items: flex-start; gap: 9px; min-height: 88px; }
  .pi-source-topic .pi-topic-point { margin-top: 7px; width: 6px; height: 6px; }
  .pi-source-topic>svg { display: none; }
  .pi-source-topic strong { font-size: 13px; }
  .pi-source-topic div>span { font-size: 11px; }
  #example-presentation .pi-request { margin-top: 2px; }
  .pi-slide { min-height: 500px; }
  .pi-slide h4 { font-size: 33px; }
  .pi-theme-map { grid-template-columns: 72px 60px minmax(0, 1fr); }
}
@media (max-width: 640px) {
  #example-presentation .pi-scene { padding: 14px; gap: 23px; }
  .pi-input { grid-row: 2; padding: 0 4px 4px; }
  .pi-deck { grid-row: 1; border-radius: 11px; }
  .pi-deck-head { gap: 9px; padding: 15px; }
  .pi-deck-head>img { width: 26px; height: 30px; }
  .pi-deck-head strong { font-size: 11px; }
  .pi-deck-head small { font-size: 11px; }
  .pi-check { width: 20px; height: 20px; }
  .pi-slide { min-height: 500px; padding: 25px 20px 0; }
  .pi-slide h4 { font-size: 27px; line-height: 1.16; }
  .pi-slide-lead { margin-top: 13px; font-size: 12px; }
  .pi-desktop-break { display: none; }
  .pi-theme-map { grid-template-columns: 52px 25px minmax(0, 1fr); margin-top: 19px; margin-bottom: 20px; }
  .pi-theme-origin { padding-right: 0; }
  .pi-theme-origin strong { font-size: 43px; }
  .pi-theme-origin span { font-size: 11px; line-height: 1.7; }
  .pi-theme-row { min-height: 80px; gap: 8px; padding-left: 8px; }
  .pi-theme-row strong { font-size: 12px; }
  .pi-theme-row span { font-size: 11px; }
  .pi-theme-row>svg { width: 40px; height: 30px; }
  .pi-slide-foot { font-size: 11px; min-height: 48px; }
  .pi-slide-foot .fd-source-link { font-size: 11px; }
  .pi-survey { margin-top: 33px; gap: 17px; }
  .pi-survey-value { gap: 8px; }
  .pi-survey-value strong { font-size: 76px; }
  .pi-survey-value>span { font-size: 22px; }
  .pi-survey>p { font-size: 12px; }
  .pi-survey>p br { display: none; }
  .pi-chart { margin-top: 25px; margin-bottom: 30px; }
  .pi-chart-labels,.pi-chart-axis { font-size: 11px; }
  .pi-chart-track { height: 25px; }
  .pi-quote { margin-top: 25px; margin-bottom: 20px; }
  .pi-quote p { font-size: 14px; line-height: 1.8; }
  .pi-result-flow { gap: 10px; margin-bottom: 24px; }
  .pi-team>span { font-size: 11px; }
  .pi-result-connection>span { font-size: 11px; }
  .pi-first-result { gap: 5px; }
  .pi-first-result>svg { width: 27px; height: 27px; }
  .pi-first-result>span { font-size: 11px; }
  .pi-navigation { padding: 7px 8px; gap: 2px; }
  .pi-tabs { gap: 0; }
  .pi-tabs>button { padding: 11px 8px; font-size: 11px; }
  .pi-tabs [data-pi-progress] { left: 8px; right: 8px; }
  .pi-arrows { gap: 0; }
  .pi-arrows button { width: 44px; }
  .pi-arrows>span { font-size: 11px; padding: 0 2px; }
  .pi-source { gap: 10px; padding-bottom: 16px; }
  .pi-source>img { width: 32px; height: 36px; }
  .pi-source strong { font-size: 13px; }
  .pi-source span { font-size: 11px; }
  .pi-source-topics { display: block; margin-top: 0; }
  .pi-source-topic { align-items: center; gap: 11px; padding: 12px 0; min-height: 68px; }
  .pi-source-topic .pi-topic-point { margin: 0; }
  .pi-source-topic>svg { display: block; }
  #example-presentation .pi-request { margin-top: 8px; padding: 13px; font-size: 12px; }
  .pi-controls { gap: 0 22px; padding-top: 6px; }
  .pi-status { width: 100%; margin: 0; }
}
@media (max-width: 370px) {
  .pi-slide { padding-inline: 16px; }
  .pi-theme-row>svg { display: none; }
  .pi-navigation { flex-wrap: wrap; justify-content: center; }
  .pi-tabs { flex: 1 0 100%; justify-content: space-around; }
  .pi-tabs>button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pi-tabs>button,.pi-control,.pi-arrows button { transition: none; }
  .pi-tabs>button:active,.pi-control:active,.pi-arrows button:active { transform: none; }
  .pi-bridge [data-pi-path] { display: none; }
}
