/* Sync2Sys site v2: общие компоненты для всех страниц, кроме шаблона Pigu.
   Подключается после site.css и site-2.css. Страницы сборки получают body.pg.
   Цвет страницы: --th (по умолчанию зелёный логотипа), задаётся в шапке исходника `th: #hex`. */

body.pg { --th: #16a34a; }
.dir--strip a.is-self { display: none; }
.dir--strip:not(:has(.is-self)) a:nth-last-child(2) { display: none; }
.dir--strip a.is-more { font-size: 17px; font-weight: 500; color: var(--ink); text-align: center; line-height: 1.3; }
.dir--strip a.is-more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 861px) and (max-width: 1180px) { .dir--strip a.is-more { grid-column: span 3; } }
@media (max-width: 860px) { .dir--strip a.is-more { font-size: 15px; } }
a.soon { cursor: default; }

/* ---------- Первый экран в цвете страницы ---------- */
.pg .hero { --mk: var(--th); background: linear-gradient(#ffffff 0%, color-mix(in srgb, var(--th) 6%, #fff) 26%, color-mix(in srgb, var(--th) 14%, #fff) 52%, #ffffff 80%, #ffffff 100%); }
.pg .hero__mark { display: none; }
.pg[data-mark] .hero__mark { display: block; -webkit-mask-image: var(--mark); mask-image: var(--mark); }
.tag--brand { background: color-mix(in srgb, var(--th) 9%, #fff); border-color: color-mix(in srgb, var(--th) 34%, #fff); color: color-mix(in srgb, var(--th) 78%, #000); }
.tag--plain { background: var(--white); border-color: var(--line); color: var(--ink-2); }
.tag--soon { background: var(--amber-soft); border-color: #f1d98a; color: var(--amber); }
.pg .flow b { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; height: 28px; display: flex; align-items: center; }
.pg .flow--3 { grid-template-columns: repeat(3, 1fr); }
.pg .flow--5 { grid-template-columns: repeat(5, 1fr); }
.pg .flow--6 { grid-template-columns: repeat(6, 1fr); }
.pg .flow--color img { filter: none; opacity: 1; }
@media (max-width: 860px) { .pg .flow--5, .pg .flow--6 { grid-template-columns: repeat(3, 1fr); row-gap: 20px; } .pg .flow--5 div:nth-child(n+4) i, .pg .flow--6 div:nth-child(n+4) i { display: none; } }

/* Первый экран без окна интерфейса: служебные страницы, списки, статьи */
.phero { padding: 88px 0 72px; background: linear-gradient(#ffffff 0%, color-mix(in srgb, var(--th) 7%, #fff) 100%); border-bottom: 1px solid var(--line); }
.phero .h1 { font-size: 60px; max-width: 900px; }
.phero .lede { margin-top: 22px; max-width: 640px; }
.phero .hero__tags { margin-bottom: 22px; }
.phero--center { text-align: center; }
.phero--center .h1, .phero--center .lede { margin-left: auto; margin-right: auto; }
.phero--center .hero__tags, .phero--center .hero__cta { justify-content: center; }
.phero--plain { background: var(--paper); }
.phero + .sec { padding-top: 88px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 14px; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs a::after { content: "/"; margin-left: 8px; color: var(--line); }
@media (max-width: 860px) { .phero { padding: 48px 0 44px; } .phero .h1 { font-size: 36px; } .phero + .sec { padding-top: 56px; } }

/* ---------- Сцены по прокрутке с любыми цветами ---------- */
/* Цвета направлений (решение Саши 13.11.2026): панель сцены и ряда берёт значение панели направления.
   Метка --c стоит в разметке, --p подбирается по ней. Для остальных цветов (страница, площадка) остаётся формула. */
:is(.film__tint, .scene, .split__vis)[style*="#0e6f7c"] { --p: #146671; } /* Supplier import */
:is(.film__tint, .scene, .split__vis)[style*="#0f8a4b"] { --p: #146b47; } /* Product catalog */
:is(.film__tint, .scene, .split__vis)[style*="#0f5132"] { --p: #184d3d; } /* Orders */
:is(.film__tint, .scene, .split__vis)[style*="#cf3f4f"] { --p: #9a2f3c; } /* Automation rules */
:is(.film__tint, .scene, .split__vis)[style*="#d9591b"] { --p: #9c3300; } /* Sales channels */
:is(.film__tint, .scene, .split__vis)[style*="#334155"] { --p: #414e60; } /* Analytics */
:is(.film__tint, .scene, .split__vis)[style*="#2b5fe3"] { --p: #3253ae; } /* Catalog translation */
:is(.film__tint, .scene, .split__vis)[style*="#6a3fe0"] { --p: #5648aa; } /* Image Studio */
:is(.film__tint, .scene, .split__vis)[style*="#b8327e"] { --p: #942d66; } /* AI content */
.pg .film__tint { background: radial-gradient(150% 130% at 100% 100%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 60%), var(--p, color-mix(in srgb, var(--c) 88%, #000)); }
@media (max-width: 860px) { .pg .scene .scene__vis { background: radial-gradient(150% 130% at 100% 100%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 60%), var(--p, color-mix(in srgb, var(--c) 88%, #000)); } }
@media (max-width: 860px) {
  .pg .scene { background: none; padding: 56px var(--gut) 8px; gap: 28px; }
}

/* ---------- Секции ---------- */
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head--center .lede { margin-left: auto; margin-right: auto; }
.sec--tight { padding-top: 88px; }
.band { margin-top: var(--sec); background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band > .wrap { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 860px) { .band > .wrap { padding-top: 56px; padding-bottom: 56px; } .sec--tight { padding-top: 56px; } }

/* Полоса логотипов клиентов отдельной секцией */
.clients--solo { border-bottom: 0; margin: 0; padding: 44px 0; }
.clientsbar { border-bottom: 1px solid var(--line); background: var(--white); }

/* Цифры */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--white); overflow: hidden; }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats div { padding: 40px 36px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 48px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.stats span { display: block; margin-top: 14px; font-size: 16px; color: var(--ink-2); }
@media (max-width: 860px) { .stats, .stats--4 { grid-template-columns: 1fr; } .stats div { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 24px; } .stats div:last-child { border-bottom: 0; } .stats b { font-size: 36px; } }

/* Плитки: функции, сегменты, материалы без картинки */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color 0.15s, transform 0.15s; }
a.tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.tile__ic { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; background: color-mix(in srgb, var(--c, var(--th)) 10%, #fff); color: color-mix(in srgb, var(--c, var(--th)) 80%, #000); }
.tile__ic svg { width: 22px; height: 22px; }
.tile h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.tile p { font-size: 16px; color: var(--ink-2); }
.tile small { font-size: 13px; color: var(--ink-3); }
.tile__go { margin-top: auto; padding-top: 12px; font-size: 15px; font-weight: 500; color: color-mix(in srgb, var(--c, var(--th)) 80%, #000); }
.tile ul { display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.tile li { position: relative; padding-left: 22px; }
.tile li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 5px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.tile--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.tile--dark p { color: rgba(255, 255, 255, 0.76); }
.tile--tint { background: color-mix(in srgb, var(--c, var(--th)) 6%, #fff); border-color: color-mix(in srgb, var(--c, var(--th)) 22%, #fff); }
@media (max-width: 1180px) { .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .tiles, .tiles--2, .tiles--4 { grid-template-columns: 1fr; gap: 12px; } .tile { padding: 24px; } }

/* Ряд «текст + окно» без остановки прокрутки */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.split + .split { margin-top: 120px; }
.split--rev > :first-child { order: 2; }
.split__text .h3 { margin: 20px 0 14px; }
.split__text .body { font-size: 18px; }
.split__text .btn { margin-top: 28px; }
.split__text .tag { background: color-mix(in srgb, var(--c, var(--th)) 9%, #fff); border-color: color-mix(in srgb, var(--c, var(--th)) 34%, #fff); color: color-mix(in srgb, var(--c, var(--th)) 78%, #000); }
.split__vis { display: flex; justify-content: center; padding: 48px 40px; border-radius: 24px; background: radial-gradient(150% 130% at 100% 100%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 60%), var(--p, color-mix(in srgb, var(--c, var(--th)) 88%, #000)); }
.split__vis .ui { width: 100%; max-width: 480px; }
.split__vis--soft { background: color-mix(in srgb, var(--c, var(--th)) 8%, #fff); border: 1px solid color-mix(in srgb, var(--c, var(--th)) 20%, #fff); }
.checks { display: grid; gap: 10px; margin-top: 20px; font-size: 16px; color: var(--ink-2); }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 10px; height: 6px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split + .split { margin-top: 64px; } .split--rev > :first-child { order: 0; } .split__vis { padding: 28px 16px; border-radius: 20px; } }

/* Дополнительные строки окна интерфейса */
.ui__r--kv { justify-content: space-between; }
.ui__r--kv span { color: var(--ink-2); }
.ui__foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px; background: #fcfcfa; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.ui__foot .sp { margin-left: auto; }
/* Статусы как в панели Sync2Sys (Саша 19.11): плашка-пилюля, светлый фон, точка, цветной текст 600. Значения те же, что в sec-integrations.css */
.chip { height: 28px; padding: 0 12px; border-radius: 999px; gap: 7px; }
.chip::before { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
/* класс удвоен, чтобы цвет и вес не перебивали общие правила строк окна (.ui__bar .sp, .ui__r--kv span) */
.chip.chip { font-weight: 600; background: #eef0f2; color: #5b6470; }
.chip.chip--ok { background: #e7f7ef; color: #1fb574; }
.chip.chip--warn { background: #fef3e0; color: #f59e0b; }
.chip.chip--info { background: #e6efff; color: #2b62c9; }
.chip.chip--bad { background: #fde8e8; color: #d92d20; }
.ui__r img.lg { height: 18px; width: auto; max-width: 90px; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 96px; padding: 0 22px 20px; }
.spark i { flex: 1; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--c, var(--th)) 26%, #fff); }
.spark i.on { background: var(--c, var(--th)); }

/* Шаги без схемы */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: st; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: st; padding-top: 24px; border-top: 2px solid var(--line); }
.steps li::before { content: "0" counter(st); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); font-size: 14px; font-weight: 500; }
.steps h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; }
.steps p { font-size: 16px; color: var(--ink-2); }
@media (max-width: 860px) { .steps, .steps--3 { grid-template-columns: 1fr; gap: 24px; } }

/* Заметка */
.note { display: flex; gap: 14px; padding: 20px 24px; border-radius: 16px; background: var(--green-soft); border: 1px solid var(--green-line); font-size: 16px; color: var(--ink); }
.note--plan { background: var(--amber-soft); border-color: #f1d98a; }
.note b { font-weight: 500; }

/* ---------- Главная: путь данных в первом экране ---------- */
.hub { max-width: 980px; margin: 0 auto; }
.hub__in { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 760px; margin: 0 auto; }
.hub__in div { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hub__in b { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-2); }
/* Провода схемы: две ленты с изломом, туда и обратно (вариант H, решение Саши 19.11), как .flow */
.hub.hub .hub__in i, .hub.hub .hub__out i { position: relative; flex: none; width: 31px; height: 64px; background: none; --rl: 64px; --rib-c: var(--th); --rib-t: color-mix(in srgb, var(--th) 32%, white); }
.hub.hub .hub__in i::before, .hub.hub .hub__out i::before, .hub.hub .hub__in i::after, .hub.hub .hub__out i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 0; transform: none; opacity: 1; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--rib-c)) 0 -26px / 100% 26px no-repeat, var(--rib-t); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 64' preserveAspectRatio='none'%3E%3Cpath d='M6 0V26L14.5 34.5Q18 38 18 41.5V64' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 64' preserveAspectRatio='none'%3E%3Cpath d='M6 0V26L14.5 34.5Q18 38 18 41.5V64' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; animation: hub-dn 2.4s linear infinite; }
.hub.hub .hub__in i::after, .hub.hub .hub__out i::after { background: linear-gradient(to top, rgba(255,255,255,0), var(--rib-c)) 0 var(--rl) / 100% 26px no-repeat, var(--rib-t); animation-name: hub-up; }
.hub.hub .hub__in i::after, .hub.hub .hub__out i::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 64' preserveAspectRatio='none'%3E%3Cpath d='M13 0V23.1L21.5 31.6Q25 35.1 25 38.6V64' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 64' preserveAspectRatio='none'%3E%3Cpath d='M13 0V23.1L21.5 31.6Q25 35.1 25 38.6V64' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); }
.hub.hub div:nth-child(2) i::before, .hub.hub div:nth-child(2) i::after { animation-delay: 0.4s; }
.hub.hub div:nth-child(3) i::before, .hub.hub div:nth-child(3) i::after { animation-delay: 0.8s; }
.hub.hub div:nth-child(4) i::before, .hub.hub div:nth-child(4) i::after { animation-delay: 1.2s; }
.hub.hub div:nth-child(5) i::before, .hub.hub div:nth-child(5) i::after { animation-delay: 1.6s; }
.hub.hub div:nth-child(6) i::before, .hub.hub div:nth-child(6) i::after { animation-delay: 2s; }
.hub__cap { text-align: center; font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.hub .ui { max-width: 940px; margin: 0 auto; }
.hub .ui__r { display: grid; grid-template-columns: 36px minmax(0, 1fr) 120px 80px 100px 150px; }
.hub .ui__r--h { font-size: 13px; color: var(--ink-3); padding-top: 12px; padding-bottom: 12px; background: #fcfcfa; }
.hub .dots { display: flex; gap: 5px; }
.hub .dots u { width: 22px; height: 22px; border-radius: 6px; background: var(--fill); text-decoration: none; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.hub .dots u.on { background: var(--green-soft); color: var(--green-deep); }
.hub__out { display: grid; grid-template-columns: repeat(6, 1fr); }
.hub__out div { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hub__out img { height: 26px; width: auto; max-width: 120px; object-fit: contain; filter: brightness(0); opacity: 0.86; }
.hub__out .mlogo { height: 26px; --col: #101613 !important; opacity: 0.86; }
.hub__out b { height: 26px; display: flex; align-items: center; font-size: 19px; font-weight: 600; letter-spacing: -0.03em; opacity: 0.86; }
.hub__out small { font-size: 13px; color: var(--ink-3); }
.hub__out i { margin-bottom: 4px; }
@media (max-width: 860px) {
  .hub__in { grid-template-columns: repeat(4, 1fr); }
  .hub__in b { padding: 0 9px; font-size: 12px; }
  .hub.hub .hub__in i, .hub.hub .hub__out i { height: 36px; --rl: 36px; }
  .hub.hub .hub__in i::before, .hub.hub .hub__out i::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 36' preserveAspectRatio='none'%3E%3Cpath d='M6 0V12L14.5 20.5Q18 24 18 27.5V36' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 36' preserveAspectRatio='none'%3E%3Cpath d='M6 0V12L14.5 20.5Q18 24 18 27.5V36' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); }
  .hub.hub .hub__in i::after, .hub.hub .hub__out i::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 36' preserveAspectRatio='none'%3E%3Cpath d='M13 0V9.1L21.5 17.6Q25 21.1 25 24.6V36' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 36' preserveAspectRatio='none'%3E%3Cpath d='M13 0V9.1L21.5 17.6Q25 21.1 25 24.6V36' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); }
  .hub .ui__r { grid-template-columns: minmax(0, 1fr) auto; }
  .hub .ui__r > :nth-child(1), .hub .ui__r > :nth-child(3), .hub .ui__r > :nth-child(4), .hub .ui__r > :nth-child(5), .hub .ui__r--h { display: none; }
  .hub .ui__bar .sp { display: none; }
  .hub__out { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .hub__out div:nth-child(n+4) i { display: none; }
  .hub__out img { max-width: 86px; height: 20px; }
  .hub__out .mlogo { width: 86px !important; }
}

@keyframes hub-dn { from { background-position: 0 -26px, 0 0; } to { background-position: 0 var(--rl), 0 0; } }
@keyframes hub-up { from { background-position: 0 var(--rl), 0 0; } to { background-position: 0 -26px, 0 0; } }
@keyframes hub-r { from { background-position: -22px 0, 0 0; } to { background-position: var(--rl) 0, 0 0; } }
@keyframes hub-l { from { background-position: var(--rl) 0, 0 0; } to { background-position: -22px 0, 0 0; } }
/* Главная на широком экране: провода горизонтальные (раскладка в sec-home.css) */
@media (min-width: 1181px) {
  .home-hero .hub.hub .hub__in i, .home-hero .hub.hub .hub__out i { height: 31px; margin: -3px 0; }
  .home-hero .hub.hub .hub__in i { width: 92px; --rl: 92px; }
  .home-hero .hub.hub .hub__out i { width: 64px; --rl: 64px; }
  .home-hero .hub.hub .hub__in i::before, .home-hero .hub.hub .hub__in i::after, .home-hero .hub.hub .hub__out i::before, .home-hero .hub.hub .hub__out i::after { background: linear-gradient(to right, rgba(255,255,255,0), var(--rib-c)) -22px 0 / 22px 100% no-repeat, var(--rib-t); animation-name: hub-r; }
  .home-hero .hub.hub .hub__in i::after, .home-hero .hub.hub .hub__out i::after { background: linear-gradient(to left, rgba(255,255,255,0), var(--rib-c)) var(--rl) 0 / 22px 100% no-repeat, var(--rib-t); animation-name: hub-l; }
  .home-hero .hub.hub .hub__in i::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 31' preserveAspectRatio='none'%3E%3Cpath d='M0 6H40L48.5 14.5Q52 18 55.5 18H92' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 31' preserveAspectRatio='none'%3E%3Cpath d='M0 6H40L48.5 14.5Q52 18 55.5 18H92' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); }
  .home-hero .hub.hub .hub__in i::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 31' preserveAspectRatio='none'%3E%3Cpath d='M0 13H37.1L45.6 21.5Q49.1 25 52.6 25H92' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 31' preserveAspectRatio='none'%3E%3Cpath d='M0 13H37.1L45.6 21.5Q49.1 25 52.6 25H92' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); }
  .home-hero .hub.hub .hub__out i::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 31' preserveAspectRatio='none'%3E%3Cpath d='M0 6H26L34.5 14.5Q38 18 41.5 18H64' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 31' preserveAspectRatio='none'%3E%3Cpath d='M0 6H26L34.5 14.5Q38 18 41.5 18H64' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); }
  .home-hero .hub.hub .hub__out i::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 31' preserveAspectRatio='none'%3E%3Cpath d='M0 13H23.1L31.6 21.5Q35.1 25 38.6 25H64' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 31' preserveAspectRatio='none'%3E%3Cpath d='M0 13H23.1L31.6 21.5Q35.1 25 38.6 25H64' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); }
}
@media (prefers-reduced-motion: reduce) { .hub.hub .hub__in i::before, .hub.hub .hub__out i::before, .hub.hub .hub__in i::after, .hub.hub .hub__out i::after { animation: none; } }

/* ---------- Тарифы ---------- */
.bill { display: inline-flex; align-items: center; gap: 4px; padding: 4px; margin-top: 32px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.bill button { height: 38px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.bill button.is-on { background: var(--ink); color: #fff; }
.bill em { font-style: normal; font-size: 12px; margin-left: 6px; padding: 2px 7px; border-radius: 99px; background: var(--green-soft); color: var(--green-deep); }
.bill button.is-on em { background: rgba(255, 255, 255, 0.18); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -40px; position: relative; }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.plan--top { border-color: var(--ink); box-shadow: 0 24px 40px -28px rgba(16, 22, 19, 0.35); }
.plan__name { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; }
.plan__name em { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 99px; background: var(--ink); color: #fff; }
.plan__price { margin-top: 20px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-size: 48px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; }
.plan__price span { font-size: 15px; color: var(--ink-3); }
.plan__sub { min-height: 22px; margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.plan__desc { margin-top: 16px; font-size: 15px; color: var(--ink-2); min-height: 68px; }
.plan .btn { margin-top: 20px; justify-content: center; }
.plan ul { display: grid; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.plan li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.plan li b { font-weight: 500; color: var(--ink); }
.plans__note { margin-top: 20px; text-align: center; font-size: 14px; color: var(--ink-3); }
.ent { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 16px; padding: 28px 32px; border-radius: 16px; background: var(--dark); color: #fff; }
.ent p { color: rgba(255, 255, 255, 0.76); font-size: 16px; max-width: 640px; margin-top: 6px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.ptable th:first-child, .ptable td:first-child { text-align: left; color: var(--ink-2); width: 32%; }
.ptable thead th { position: sticky; top: var(--nav-h); z-index: 2; background: var(--paper); font-size: 16px; font-weight: 500; padding-top: 18px; padding-bottom: 18px; }
.ptable thead th small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.ptable tr.grp td { padding-top: 40px; text-align: left; font-size: 13px; color: var(--ink-3); text-transform: none; border-bottom-color: var(--ink); }
.ptable tr.grp td b { font-size: 18px; font-weight: 500; color: var(--ink); margin-right: 10px; }
.ptable td.y::before { content: ""; display: inline-block; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) translateY(-3px); }
.ptable td.n { color: #c3c8c0; }
.ptable .top { background: color-mix(in srgb, var(--green) 5%, #fff); }
.ptable__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.addons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.addons div { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.addons span { display: block; font-size: 15px; color: var(--ink-2); }
.addons b { display: block; margin-top: 6px; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.addons small { font-size: 13px; color: var(--ink-3); }
@media (max-width: 1180px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; margin-top: 24px; }
  .plan__desc { min-height: 0; }
  .ptable { min-width: 640px; font-size: 14px; }
  .ptable th, .ptable td { padding: 12px 8px; }
  .ptable thead th { position: static; }
  .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent { padding: 24px; }
}

/* ---------- Формы ---------- */
.formgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 96px; align-items: start; }
.form { display: grid; gap: 18px; padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.form label small { font-weight: 400; color: var(--ink-3); }
.form input, .form select, .form textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); }
.form textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); background: var(--white); }
.form .is-bad { border-color: #d92d20; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__hp { position: absolute; left: -9999px; }
.form .btn { justify-content: center; height: 50px; }
.form__legal { font-size: 13px; color: var(--ink-3); }
.form__legal a { text-decoration: underline; }
.form__err { font-size: 14px; color: #b42318; }
.form__err a { text-decoration: underline; }
.form .btn:disabled { opacity: .6; cursor: default; }
.form__done { display: none; text-align: center; padding: 40px 12px; }
.form__done h3 { font-size: 24px; margin-bottom: 10px; }
.form__done p { color: var(--ink-2); }
.form.is-sent > :not(.form__done) { display: none; }
.form.is-sent .form__done { display: block; }
.contacts { display: grid; gap: 24px; margin-top: 40px; }
.contacts div { padding-top: 20px; border-top: 1px solid var(--line); }
.contacts small { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 4px; }
.contacts b { font-size: 18px; font-weight: 500; }
@media (max-width: 860px) { .formgrid { grid-template-columns: 1fr; gap: 40px; } .form { padding: 24px; border-radius: 20px; } .form__row { grid-template-columns: 1fr; } }

/* ---------- Списки материалов ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button, .filters a { height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 500; color: var(--ink-2); }
.filters .is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; margin-bottom: 20px; max-width: 420px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.search input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; outline: none; }
.search svg { width: 18px; height: 18px; color: var(--ink-3); }
.lib--rows { row-gap: 56px; }
.card p { font-size: 16px; color: var(--ink-2); margin-top: -8px; }
.card__art--d { background: color-mix(in srgb, var(--c, #2b5fe3) 88%, #000); --pat: radial-gradient(#fff 1.5px, transparent 2px); --pat-size: 14px 14px; }
.card__art--e { background: var(--fill); --pat: repeating-linear-gradient(135deg, #c9cec6 0 2px, transparent 2px 14px); }
.card__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.card[hidden] { display: none; }
.rows { border-top: 1px solid var(--line); }
.rows > a, .rows > div { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.rows small { font-size: 14px; color: var(--ink-3); }
.rows h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
.rows p { margin-top: 8px; font-size: 16px; color: var(--ink-2); max-width: 720px; }
.rows > a:hover h3 { color: var(--green-deep); }
@media (max-width: 860px) { .rows > a, .rows > div { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; } .lib--rows { row-gap: 36px; } }

/* ---------- Статья, гайд, юридический текст ---------- */
.article { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 96px; justify-content: center; align-items: start; }
.article--solo { grid-template-columns: minmax(0, 760px); }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); font-size: 14px; }
.toc b { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--ink-2); line-height: 1.35; }
.toc a:hover, .toc a.is-on { border-color: var(--green); color: var(--ink); }
.prose { font-size: 18px; line-height: 1.65; color: var(--ink); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; margin-top: 56px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h3 { font-size: 22px; line-height: 1.25; margin-top: 36px; }
.prose p, .prose li { color: #2a322d; }
.prose ul, .prose ol { padding-left: 24px; display: grid; gap: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose .lead { font-size: 21px; line-height: 1.5; color: var(--ink-2); }
.prose .answer { padding: 24px 28px; border-radius: 16px; background: var(--green-soft); border: 1px solid var(--green-line); }
.prose .answer b { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--green-deep); }
.prose figure { margin-top: 32px; }
.prose figure .ui { box-shadow: 0 0 0 1px var(--line), 0 24px 40px -30px rgba(16, 22, 19, 0.3); }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.prose code { font-family: var(--mono); font-size: 0.86em; padding: 2px 6px; border-radius: 6px; background: var(--fill); }
.prose pre { padding: 20px 22px; border-radius: 16px; background: var(--dark); color: #d6f5e0; font-family: var(--mono); font-size: 14px; line-height: 1.6; overflow-x: auto; }
.prose pre code { padding: 0; background: none; }
.ameta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 14px; color: var(--ink-3); }
.todo { display: block; padding: 14px 18px; border: 1px dashed #c9a53a; border-radius: 10px; background: #fffbea; font-size: 14px; color: #7a5a00; }
.todo::before { content: "To do: "; font-weight: 600; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--dark); display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; }
.video::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 110%, rgba(34, 197, 94, 0.35), rgba(34, 197, 94, 0) 70%); }
.video span { position: relative; width: 84px; height: 84px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.video span::before { content: ""; border-left: 22px solid var(--ink); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.video small { position: absolute; left: 28px; bottom: 24px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 1180px) { .article { gap: 48px; grid-template-columns: 200px minmax(0, 1fr); } }
@media (max-width: 860px) { .article { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); } .prose { font-size: 17px; } .prose h2 { font-size: 26px; margin-top: 40px; } .prose table { display: block; overflow-x: auto; } }

/* ---------- Сравнение ---------- */
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 18px; font-weight: 500; background: #fcfcfa; }
.cmp td:first-child { width: 26%; color: var(--ink-2); }
.cmp td:nth-child(2) { background: color-mix(in srgb, var(--green) 4%, #fff); }
.cmp small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.cmp small a { text-decoration: underline; }
.src { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 860px) { .cmp__wrap { overflow-x: auto; } .cmp { min-width: 620px; font-size: 15px; } .cmp th, .cmp td { padding: 14px; } }

/* ---------- Каталог интеграций ---------- */
.igrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.icard { display: flex; flex-direction: column; gap: 10px; min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color 0.15s, transform 0.15s; }
.icard:hover { border-color: var(--ink); transform: translateY(-2px); }
.icard__logo { height: 44px; display: flex; align-items: center; margin-bottom: 8px; }
.icard__logo img { max-height: 34px; width: auto; max-width: 150px; object-fit: contain; }
.icard__logo b { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.icard h3 { font-size: 18px; }
.icard p { font-size: 15px; color: var(--ink-2); }
.icard small { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.icard small span { font-size: 12px; padding: 3px 8px; border-radius: 99px; background: var(--fill); color: var(--ink-2); }
.icard small span.soon { background: var(--amber-soft); color: var(--amber); }
.icard[hidden] { display: none; }
@media (max-width: 1180px) { .igrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .igrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .icard { padding: 18px; min-height: 0; } }

/* ---------- Лента обновлений ---------- */
.log { max-width: 820px; }
.log article { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.log time { font-family: var(--mono); font-size: 14px; color: var(--ink-3); }
.log h3 { font-size: 24px; letter-spacing: -0.015em; margin: 12px 0 10px; }
.log p { color: var(--ink-2); }
@media (max-width: 860px) { .log article { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; } }

/* Шапка на средних ширинах (861-1180): меню помещается, логотип не налезает на пункты */
@media (min-width: 861px) and (max-width: 1180px) {
  .nav__in { gap: 14px; }
  .nav__menu { gap: 0; }
  .nav__link { padding: 0 8px; font-size: 14px; }
  .nav__right { gap: 4px; }
  .nav__right .btn--soft, .nav__login { display: none; }
  .logo { font-size: 19px; }
  .logo img { width: 26px; }
}
@media (min-width: 861px) and (max-width: 960px) { .langsel--nav { display: none; } }

/* Окна в рядах .split не распирают страницу на телефоне; панель ряда берёт цвет страницы */
.pg[data-th] .split, .pg[data-th] .hero__stage { --c: var(--th); }
.split > .split__text, .split > .split__vis, .split__vis .ui, .ui__r > div { min-width: 0; }

/* Текущий пункт верхнего меню */
.nav__link.is-current { color: var(--green-deep); }
/* Статья: длинный <pre> не распирает колонку на узком экране */
.article > * { min-width: 0; }
/* Дата последней правки страницы (строку ставит сборка) */
.updated { padding-top: 24px; padding-bottom: 0; font-size: 14px; color: var(--ink-3); }
/* Лента логотипов на телефоне: длинные знаки не шире соседних */
@media (max-width: 860px) {
  .dir--strip img[src*="int-logo-kaina24"], .dir--strip img[src*="int-logo-varle"] { max-width: 108px; }
  .dir--strip .mlogo[aria-label="PrestaShop"] { width: 120px !important; height: 14px !important; }
}

/* Блок миграции (src/partials/migration.html): цвет страницы --th, срок выделен плашкой */
.mig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 64px; border-radius: 28px; background: color-mix(in srgb, var(--th) 7%, #fff); border: 1px solid color-mix(in srgb, var(--th) 22%, #fff); }
.mig__text .h2 { margin-top: 18px; }
.mig__text .lede { margin-top: 18px; }
.mig__text .hero__cta { margin-top: 28px; }
.mig__vis { display: grid; gap: 20px; min-width: 0; }
.mig__time { padding: 28px 32px; border-radius: 20px; background: var(--th); color: #fff; }
.mig__time small { display: block; font-size: 15px; opacity: 0.82; }
.mig__time b { display: block; margin-top: 6px; font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -0.035em; }
.mig__path { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid color-mix(in srgb, var(--th) 22%, #fff); }
.mig__end { padding: 12px 14px; border-radius: 12px; background: var(--fill); font-size: 14px; font-weight: 500; line-height: 1.25; max-width: 104px; }
.mig__end--to { display: inline-flex; align-items: center; gap: 8px; max-width: none; background: var(--ink); color: #fff; }
.mig__end--to img { width: 20px; height: auto; }
.mig__lines { display: grid; gap: 12px; min-width: 0; }
.mig__lines i { position: relative; display: block; padding-bottom: 35px; font-style: normal; font-size: 13px; color: var(--ink-2); text-align: center; --rib-c: var(--th); --rib-t: color-mix(in srgb, var(--th) 32%, white); }
/* Линии переноса: две ленты с изломом; перенос идёт в одну сторону, отрезки бегут к Sync2Sys (Саша 19.11). Ширина плавающая, маска собрана из излома и двух прямых частей */
.mig__lines i::before, .mig__lines i::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 31px; background: linear-gradient(to right, rgba(255,255,255,0), var(--rib-c)) -22px 0 / 22px 100% no-repeat, var(--rib-t); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 31'%3E%3Cpath d='M0 6H2L12.5 16.5Q14 18 15.5 18H16' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 50% 0 / 16px 31px no-repeat, linear-gradient(#000, #000) 0 4px / calc(50% - 7px) 4px no-repeat, linear-gradient(#000, #000) 100% 16px / calc(50% - 7px) 4px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 31'%3E%3Cpath d='M0 6H2L12.5 16.5Q14 18 15.5 18H16' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 50% 0 / 16px 31px no-repeat, linear-gradient(#000, #000) 0 4px / calc(50% - 7px) 4px no-repeat, linear-gradient(#000, #000) 100% 16px / calc(50% - 7px) 4px no-repeat; }
.mig__lines i::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 31'%3E%3Cpath d='M0 13H2L12.5 23.5Q14 25 15.5 25H16' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") calc(50% - 3px) 0 / 16px 31px no-repeat, linear-gradient(#000, #000) 0 11px / calc(50% - 10px) 4px no-repeat, linear-gradient(#000, #000) 100% 23px / calc(50% - 4px) 4px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 31'%3E%3Cpath d='M0 13H2L12.5 23.5Q14 25 15.5 25H16' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") calc(50% - 3px) 0 / 16px 31px no-repeat, linear-gradient(#000, #000) 0 11px / calc(50% - 10px) 4px no-repeat, linear-gradient(#000, #000) 100% 23px / calc(50% - 4px) 4px no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .mig__lines i::before { animation: mig-r 2.4s linear infinite; }
  .mig__lines i::after { animation: mig-r 2.4s linear -1.2s infinite; }
  .mig__lines i:nth-child(2)::before { animation-delay: -0.8s; }
  .mig__lines i:nth-child(2)::after { animation-delay: -2s; }
  .mig__lines i:nth-child(3)::before { animation-delay: -1.6s; }
  .mig__lines i:nth-child(3)::after { animation-delay: -0.4s; }
  .mig-js .mig__time, .mig-js .mig__path { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .mig-js .mig__path { transition-delay: 0.15s; }
  .mig-js .mig.is-in .mig__time, .mig-js .mig.is-in .mig__path { opacity: 1; transform: none; }
}
@keyframes mig-r { from { background-position: -22px 0, 0 0; } to { background-position: calc(100% + 22px) 0, 0 0; } }
@keyframes mig-l { from { background-position: calc(100% + 22px) 0, 0 0; } to { background-position: -22px 0, 0 0; } }
@media (max-width: 860px) {
  .mig { grid-template-columns: 1fr; gap: 32px; padding: 28px 20px; border-radius: 20px; }
  .mig__time { padding: 24px; }
  .mig__time b { font-size: 42px; white-space: nowrap; }
  .mig__path { grid-template-columns: 1fr; padding: 18px; }
  .mig__end { max-width: none; text-align: center; justify-content: center; }
}

/* Небольшая подпись в ответе FAQ (срок 2-4 недели, решение Саши 18.11.2026): <small class="faq-note">...</small> */
.faq .faq-note { display: block; margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* Потоки и соединители по всему сайту: две ленты с изломом 45 градусов, штрих идёт туда и обратно (вариант H, Саша 19.11). Толщина линии 4px, как у линий знака в логотипе шапки (Саша 19.11 16:56). Цвет от цвета страницы (--mk), в схеме из карточек фирменный зелёный. Перенесено из sec-integrations.css (f886b8f); селекторы усилены, чтобы перекрыть точку на линии из site.css и site-2.css */
.flow.flow i { width: 31px; background: none; overflow: visible; --rib-c: var(--mk, #17a652); --rib-t: color-mix(in srgb, var(--mk, #17a652) 32%, white); }
.flow.flow i::before, .flow.flow i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 0; transform: none; opacity: 1; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--rib-c)) 0 -26px / 100% 26px no-repeat, var(--rib-t); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 96' preserveAspectRatio='none'%3E%3Cpath d='M6 0V42L14.5 50.5Q18 54 18 57.5V96' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 96' preserveAspectRatio='none'%3E%3Cpath d='M6 0V42L14.5 50.5Q18 54 18 57.5V96' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; animation: rib-dn 2.4s linear infinite; }
.flow.flow i::after { background: linear-gradient(to top, rgba(255,255,255,0), var(--rib-c)) 0 96px / 100% 26px no-repeat, var(--rib-t); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 96' preserveAspectRatio='none'%3E%3Cpath d='M13 0V39.1L21.5 47.6Q25 51.1 25 54.6V96' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 96' preserveAspectRatio='none'%3E%3Cpath d='M13 0V39.1L21.5 47.6Q25 51.1 25 54.6V96' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); animation-name: rib-up; }
.flow.flow > :nth-child(1) i::before, .flow.flow > :nth-child(1) i::after { animation-delay: 0s; }
.flow.flow > :nth-child(2) i::before, .flow.flow > :nth-child(2) i::after { animation-delay: 0.4s; }
.flow.flow > :nth-child(3) i::before, .flow.flow > :nth-child(3) i::after { animation-delay: 0.8s; }
.flow.flow > :nth-child(4) i::before, .flow.flow > :nth-child(4) i::after { animation-delay: 1.2s; }
.flow.flow > :nth-child(5) i::before, .flow.flow > :nth-child(5) i::after { animation-delay: 1.6s; }
.flow.flow > :nth-child(6) i::before, .flow.flow > :nth-child(6) i::after { animation-delay: 2s; }
@keyframes rib-dn { from { background-position: 0 -26px, 0 0; } to { background-position: 0 96px, 0 0; } }
@keyframes rib-up { from { background-position: 0 96px, 0 0; } to { background-position: 0 -26px, 0 0; } }
@media (max-width: 860px) { .flow.flow i::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 56' preserveAspectRatio='none'%3E%3Cpath d='M6 0V22L14.5 30.5Q18 34 18 37.5V56' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 56' preserveAspectRatio='none'%3E%3Cpath d='M6 0V22L14.5 30.5Q18 34 18 37.5V56' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); } .flow.flow i::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 56' preserveAspectRatio='none'%3E%3Cpath d='M13 0V19.1L21.5 27.6Q25 31.1 25 34.6V56' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 56' preserveAspectRatio='none'%3E%3Cpath d='M13 0V19.1L21.5 27.6Q25 31.1 25 34.6V56' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); } }
.fl .fl__box.fl__box--wire.fl__box--wire::before, .fl .fl__box.fl__box--wire.fl__box--wire::after { content: ""; position: absolute; z-index: 1; left: 100%; top: calc(50% - 15.5px); width: 48px; height: 31px; border-radius: 0; box-shadow: none; opacity: 1; transform: none; transition: none; --rib-c: var(--green-bright); --rib-t: color-mix(in srgb, var(--green-bright) 30%, white); background: linear-gradient(to right, rgba(255,255,255,0), var(--rib-c)) -22px 0 / 22px 100% no-repeat, var(--rib-t); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 31' preserveAspectRatio='none'%3E%3Cpath d='M0 6H18L26.5 14.5Q30 18 33.5 18H48' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 31' preserveAspectRatio='none'%3E%3Cpath d='M0 6H18L26.5 14.5Q30 18 33.5 18H48' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; animation: rib-r 2.2s linear infinite; }
.fl .fl__box.fl__box--wire.fl__box--wire::after { background: linear-gradient(to left, rgba(255,255,255,0), var(--rib-c)) 48px 0 / 22px 100% no-repeat, var(--rib-t); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 31' preserveAspectRatio='none'%3E%3Cpath d='M0 13H15.1L23.6 21.5Q27.1 25 30.6 25H48' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 31' preserveAspectRatio='none'%3E%3Cpath d='M0 13H15.1L23.6 21.5Q27.1 25 30.6 25H48' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); animation-name: rib-l; }
.fl .fl__box.fl__box--wire.fl__box--wire:nth-of-type(5)::before, .fl .fl__box.fl__box--wire.fl__box--wire:nth-of-type(5)::after { animation-delay: 0.5s; }
.fl .fl__box.fl__box--wire.fl__box--wire:nth-of-type(6)::before, .fl .fl__box.fl__box--wire.fl__box--wire:nth-of-type(6)::after { animation-delay: 1s; }
@keyframes rib-r { from { background-position: -22px 0, 0 0; } to { background-position: 48px 0, 0 0; } }
@keyframes rib-l { from { background-position: 48px 0, 0 0; } to { background-position: -22px 0, 0 0; } }
@media (max-width: 1180px) { .fl .fl__box.fl__box--wire.fl__box--wire::before, .fl .fl__box.fl__box--wire.fl__box--wire::after { width: 28px; } .fl .fl__box.fl__box--wire.fl__box--wire::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 31' preserveAspectRatio='none'%3E%3Cpath d='M0 6H8L16.5 14.5Q20 18 23.5 18H28' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 31' preserveAspectRatio='none'%3E%3Cpath d='M0 6H8L16.5 14.5Q20 18 23.5 18H28' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); } .fl .fl__box.fl__box--wire.fl__box--wire::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 31' preserveAspectRatio='none'%3E%3Cpath d='M0 13H5.1L13.6 21.5Q17.1 25 20.6 25H28' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 31' preserveAspectRatio='none'%3E%3Cpath d='M0 13H5.1L13.6 21.5Q17.1 25 20.6 25H28' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); } }
@media (prefers-reduced-motion: reduce) { .flow.flow i::before, .flow.flow i::after, .fl .fl__box.fl__box--wire.fl__box--wire::before, .fl .fl__box.fl__box--wire.fl__box--wire::after { animation: none; } }

/* Линии схемы перевода (.fx2) толщиной 4px, как линии знака в логотипе (Саша 19.11). В site.css и site-2.css они 2px и меняют направление по ширине экрана, поэтому добавляем по 1px с каждой стороны тенью того же цвета. В .plat-fxcol линия уже 4px в стилях платформы */
.fx2:not(.plat-fxcol) .fx2__link, .fx2:not(.plat-fxcol) .fx2__cards::before, .fx2:not(.plat-fxcol) .fx2__card::before { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85); }
@media (max-width: 860px) { .fx2.plat-fxcol .fx2__link { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85); } }

/* ---------- Правила линий в инфографике (Саша 19.11.2026 17:39) ----------
   1. По линии бегут только отрезки, точек нет.
   2. Два типа: данные в обе стороны (отрезки навстречу, так по умолчанию) и в одну (класс is-one: оба отрезка бегут от окна к каналу; у схемы шагов fl__box--one).
   3. Линия выровнена по центру мелкого элемента (логотипа, метки формата): пара лент сдвинута на 6px. */
.flow.flow i { translate: -6px 0; }
.hub.hub .hub__in i { translate: 6px 0; }
.hub.hub .hub__out i { translate: -6px 0; }
@media (min-width: 1181px) { .home-hero .hub.hub .hub__in i { translate: 0 6px; } .home-hero .hub.hub .hub__out i { translate: 0 -6px; } }
.flow.flow.is-one i::after, .flow.flow .is-one i::after { background: linear-gradient(to bottom, rgba(255,255,255,0), var(--rib-c)) 0 -26px / 100% 26px no-repeat, var(--rib-t); animation-name: rib-dn; }
.hub.hub .hub__in i::after, .hub.hub .hub__out .is-one i::after { background: linear-gradient(to bottom, rgba(255,255,255,0), var(--rib-c)) 0 -26px / 100% 26px no-repeat, var(--rib-t); animation-name: hub-dn; }
@media (min-width: 1181px) { .home-hero .hub.hub .hub__in i::after, .home-hero .hub.hub .hub__out .is-one i::after { background: linear-gradient(to right, rgba(255,255,255,0), var(--rib-c)) -22px 0 / 22px 100% no-repeat, var(--rib-t); animation-name: hub-r; } }
.fl .fl__box.fl__box--wire.fl__box--wire.fl__box--one::after { background: linear-gradient(to right, rgba(255,255,255,0), var(--rib-c)) -22px 0 / 22px 100% no-repeat, var(--rib-t); animation-name: rib-r; animation-delay: -1.1s; }
.fl .fl__box.fl__box--wire.fl__box--wire.fl__box--one:nth-of-type(5)::after { animation-delay: -0.6s; }
.fl .fl__box.fl__box--wire.fl__box--wire.fl__box--one:nth-of-type(6)::after { animation-delay: -0.1s; }
.flow.flow.is-one > :nth-child(1) i::after, .flow.flow > .is-one:nth-child(1) i::after, .hub.hub .hub__in div:nth-child(1) i::after, .hub.hub .hub__out .is-one:nth-child(1) i::after { animation-delay: -1.2s; }
.flow.flow.is-one > :nth-child(2) i::after, .flow.flow > .is-one:nth-child(2) i::after, .hub.hub .hub__in div:nth-child(2) i::after, .hub.hub .hub__out .is-one:nth-child(2) i::after { animation-delay: -0.8s; }
.flow.flow.is-one > :nth-child(3) i::after, .flow.flow > .is-one:nth-child(3) i::after, .hub.hub .hub__in div:nth-child(3) i::after, .hub.hub .hub__out .is-one:nth-child(3) i::after { animation-delay: -0.4s; }
.flow.flow.is-one > :nth-child(4) i::after, .flow.flow > .is-one:nth-child(4) i::after, .hub.hub .hub__in div:nth-child(4) i::after, .hub.hub .hub__out .is-one:nth-child(4) i::after { animation-delay: 0.0s; }
.flow.flow.is-one > :nth-child(5) i::after, .flow.flow > .is-one:nth-child(5) i::after, .hub.hub .hub__in div:nth-child(5) i::after, .hub.hub .hub__out .is-one:nth-child(5) i::after { animation-delay: 0.4s; }
.flow.flow.is-one > :nth-child(6) i::after, .flow.flow > .is-one:nth-child(6) i::after, .hub.hub .hub__in div:nth-child(6) i::after, .hub.hub .hub__out .is-one:nth-child(6) i::after { animation-delay: 0.8s; }

/* Окно остатков (.ui.stk): три красные точки между колонками заменены линией из двух лент с изломом (правила линий Саши 19.11 17:39). Остаток идёт в одну сторону, от поставщика к каналу: оба отрезка бегут вправо. Ширина ячейки 61px на широком экране и 28px на телефоне, маска как у блока миграции (излом по центру и две прямые части), кейфрейм mig-r */
.stk__sync { position: relative; gap: 0; }
.stk__sync i { display: none; }
.stk__sync::before, .stk__sync::after { content: ""; position: absolute; left: 0; top: calc(50% - 15.5px); width: 100%; height: 31px; --rib-c: #e5484d; --rib-t: color-mix(in srgb, #e5484d 30%, white); background: linear-gradient(to right, rgba(255,255,255,0), var(--rib-c)) -22px 0 / 22px 100% no-repeat, var(--rib-t); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 31'%3E%3Cpath d='M0 6H2L12.5 16.5Q14 18 15.5 18H16' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 50% 0 / 16px 31px no-repeat, linear-gradient(#000, #000) 0 4px / calc(50% - 7px) 4px no-repeat, linear-gradient(#000, #000) 100% 16px / calc(50% - 7px) 4px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 31'%3E%3Cpath d='M0 6H2L12.5 16.5Q14 18 15.5 18H16' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 50% 0 / 16px 31px no-repeat, linear-gradient(#000, #000) 0 4px / calc(50% - 7px) 4px no-repeat, linear-gradient(#000, #000) 100% 16px / calc(50% - 7px) 4px no-repeat; }
.stk__sync::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 31'%3E%3Cpath d='M0 13H2L12.5 23.5Q14 25 15.5 25H16' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") calc(50% - 3px) 0 / 16px 31px no-repeat, linear-gradient(#000, #000) 0 11px / calc(50% - 10px) 4px no-repeat, linear-gradient(#000, #000) 100% 23px / calc(50% - 4px) 4px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 31'%3E%3Cpath d='M0 13H2L12.5 23.5Q14 25 15.5 25H16' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") calc(50% - 3px) 0 / 16px 31px no-repeat, linear-gradient(#000, #000) 0 11px / calc(50% - 10px) 4px no-repeat, linear-gradient(#000, #000) 100% 23px / calc(50% - 4px) 4px no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .stk__sync::before { animation: mig-r 1.8s linear infinite; }
  .stk__sync::after { animation: mig-r 1.8s linear -0.9s infinite; }
}

/* Схема перевода (.fx2): линии 4px по-настоящему (вместо тени в 1px выше) и бегущие отрезки в одну сторону, каталог в переводы (Саша 19.11 17:39). Подложка линии полупрозрачная белая, отрезок белый. Направление: от каталога к узлу и от узла к столбу вправо (на телефоне и в .plat-fxcol вниз), по столбу от середины вверх и вниз, от столба к карточкам вправо */
.fx2:not(.plat-fxcol) .fx2__link, .fx2:not(.plat-fxcol) .fx2__cards::before, .fx2:not(.plat-fxcol) .fx2__card::before, .fx2.plat-fxcol .fx2__link { box-shadow: none; }
.ui.fx2 .fx2__link, .ui.fx2 .fx2__cards::before, .ui.fx2 .fx2__card::before { background-color: rgba(255, 255, 255, 0.42); background-repeat: no-repeat; }
@media (min-width: 861px) {
  .ui.fx2:not(.plat-fxcol) .fx2__link { height: 4px; background-image: linear-gradient(to right, rgba(255,255,255,0), #fff); background-size: 14px 100%; background-position: -14px 0; }
  .ui.fx2:not(.plat-fxcol) .fx2__cards::before { width: 4px; margin-left: -1px; background-image: linear-gradient(to top, rgba(255,255,255,0), #fff), linear-gradient(to bottom, rgba(255,255,255,0), #fff); background-size: 100% 14px, 100% 14px; background-position: 0 -14px, 0 calc(100% + 14px); }
  .ui.fx2:not(.plat-fxcol) .fx2__card::before { height: 4px; margin-top: -2px; background-image: linear-gradient(to right, rgba(255,255,255,0), #fff); background-size: 14px 100%; background-position: -14px 0; }
  .ui.fx2.plat-fxcol .fx2__link { background-image: linear-gradient(to bottom, rgba(255,255,255,0), #fff); background-size: 100% 12px; background-position: 0 -12px; }
}
@media (max-width: 860px) {
  .ui.fx2 .fx2__link { width: 4px; background-image: linear-gradient(to bottom, rgba(255,255,255,0), #fff); background-size: 100% 12px; background-position: 0 -12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ui.fx2 .fx2__link { animation: fx-r 1.6s linear infinite; }
  .ui.fx2 .fx2__node + .fx2__link { animation-delay: 0.5s; }
  .ui.fx2 .fx2__cards::before { animation: fx-out 1.6s linear 0.9s infinite; }
  .ui.fx2 .fx2__card::before { animation: fx-r 1.6s linear 1.3s infinite; }
  @media (max-width: 860px) { .ui.fx2 .fx2__link { animation-name: fx-dn; } }
  @media (min-width: 861px) { .ui.fx2.plat-fxcol .fx2__link { animation-name: fx-dn; } }
}
@keyframes fx-r { from { background-position: -14px 0; } to { background-position: calc(100% + 14px) 0; } }
@keyframes fx-dn { from { background-position: 0 -12px; } to { background-position: 0 calc(100% + 12px); } }
@keyframes fx-out { from { background-position: 0 calc(50% + 7px), 0 calc(50% - 7px); } to { background-position: 0 -14px, 0 calc(100% + 14px); } }
/* Во вкладках главной у частей окна своё появление (home-rise в sec-home.css), оно перекрывает бег отрезков: даём обе анимации */
@media (prefers-reduced-motion: no-preference) {
  .home-pane.is-on .home-pane__vis .ui.fx2 > .fx2__link:nth-child(2) { animation: home-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s backwards, fx-r 1.6s linear infinite; }
  .home-pane.is-on .home-pane__vis .ui.fx2 > .fx2__link:nth-child(4) { animation: home-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.32s backwards, fx-r 1.6s linear 0.5s infinite; }
  @media (max-width: 860px) { .home-pane.is-on .home-pane__vis .ui.fx2 > .fx2__link:nth-child(n) { animation-name: home-rise, fx-dn; } }
}

/* Блок переноса (пины Саши 360-362, 19.11): боковые блоки на всю высоту схемы, линии идут от левого блока до правого без зазора */
@media (min-width: 861px) {
  .mig__path { align-items: stretch; gap: 0; }
  .mig__end { display: flex; align-items: center; }
  .mig__end--to { display: inline-flex; justify-content: center; }
  .mig__lines { padding: 6px 0; }
}

/* ---------- Сверка с согласованными страницами интеграций (Саша 19.11 20:00: «везде переделать», фоны и пр.) ----------
   Эталон: pigu, 220-lv, prestashop, supplier-feeds, pricing. Карточки и панели белые, рамка 1px var(--line), скругление 16px, без тени; первый экран без окна всегда с градиентом цвета страницы; цвет в карточках только в рамке. Отчёт сверки: side-session-notes/local_d690cf8a.../2026-11-19_сверка_стилей.md */
.phero.phero--plain { background: linear-gradient(#ffffff 0%, color-mix(in srgb, var(--th) 7%, #fff) 100%); }
.tile.tile--tint { background: var(--white); }
.stats, .form, .lib-feat.lib-feat { border-radius: 16px; }
.lib-feat.lib-feat, .plat-st.plat-st { box-shadow: none; }
.plat-st.plat-st { background: var(--white); }
.form { box-shadow: 0 0 0 5px var(--green-soft); }
.mig { border-radius: 16px; }
.mig__time, .mig__path { border-radius: 12px; }
@media (max-width: 860px) { .mig { border-radius: 16px; } .lib-feat.lib-feat, .lib-feat.lib-feat--rev { border-radius: 16px; } }

/* Отзывы (пин 515, Саша 20.11, «везде на всех страницах»): стрелки без номеров, справа сверху на уровне окна со скриншотом */
#story .q__nav span { display: none; }
#story .story { display: flex; flex-direction: column; gap: 0; }
#story .story .clients { order: 0; min-width: 0; max-width: 100%; }
#story .story .q__nav { order: 3; align-self: flex-end; justify-content: flex-end; gap: 10px; margin: 28px 0 0; position: relative; z-index: 2; }
#story .story .quotes { order: 2; min-width: 0; }
@media (max-width: 860px) { #story .story .q__nav { margin: 20px 0 0; } }

/* ---------- Ленты по эталону на остальных схемах (Саша 21.11.2026, проверка линий) ----------
   Все линии как на ленте миграции: две ленты 4px с изломом, первый угол прямой, второй скруглённый, бегут отрезки (mig-r по горизонтали, hub-dn по вертикали). Точек, одиночных полосок и своих кейфреймов нет. */
:root { --ribv40-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 40' preserveAspectRatio='none'%3E%3Cpath d='M6 0V14L14.5 22.5Q18 26 18 29.5V40' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; --ribv40-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 40' preserveAspectRatio='none'%3E%3Cpath d='M13 0V11.1L21.5 19.6Q25 23.1 25 26.6V40' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; --ribv44-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 44' preserveAspectRatio='none'%3E%3Cpath d='M6 0V16L14.5 24.5Q18 28 18 31.5V44' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; --ribv44-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 44' preserveAspectRatio='none'%3E%3Cpath d='M13 0V13.1L21.5 21.6Q25 25.1 25 28.6V44' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; --ribv64-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 64' preserveAspectRatio='none'%3E%3Cpath d='M6 0V26L14.5 34.5Q18 38 18 41.5V64' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; --ribv64-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 64' preserveAspectRatio='none'%3E%3Cpath d='M13 0V23.1L21.5 31.6Q25 35.1 25 38.6V64' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; --ribp-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 19' preserveAspectRatio='none'%3E%3Cpath d='M0 2H4L9 7Q10 8 11 8H24' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; --ribp-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 19' preserveAspectRatio='none'%3E%3Cpath d='M0 9H4L9 14Q10 15 11 15H24' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
:root { --ribh-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 31'%3E%3Cpath d='M0 6H2L12.5 16.5Q14 18 15.5 18H16' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") 50% 0 / 16px 31px no-repeat, linear-gradient(#000, #000) 0 4px / calc(50% - 7px) 4px no-repeat, linear-gradient(#000, #000) 100% 16px / calc(50% - 7px) 4px no-repeat; --ribh-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 31'%3E%3Cpath d='M0 13H2L12.5 23.5Q14 25 15.5 25H16' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E") calc(50% - 3px) 0 / 16px 31px no-repeat, linear-gradient(#000, #000) 0 11px / calc(50% - 10px) 4px no-repeat, linear-gradient(#000, #000) 100% 23px / calc(50% - 4px) 4px no-repeat; }
.int-map__row.int-map__row i { position: relative; height: 31px; margin: 0 6px; background: none; animation: none; --rib-c: var(--th, #4338ca); }
.int-map__row.int-map__row i::before, .int-map__row.int-map__row i::after { content: ""; position: absolute; border-radius: 0; opacity: 1; transform: none; box-shadow: none; --rib-t: color-mix(in srgb, var(--rib-c) 32%, white); left: 0; top: 0; width: 100%; height: 31px; border: 0; background: linear-gradient(to right, rgba(255,255,255,0), var(--rib-c)) -22px 0 / 22px 100% no-repeat, var(--rib-t); -webkit-mask: var(--ribh-a); mask: var(--ribh-a); }
.int-map__row.int-map__row i::after { -webkit-mask: var(--ribh-b); mask: var(--ribh-b); }
@media (prefers-reduced-motion: no-preference) { .int-map__row i::before { animation: mig-r 2.4s linear infinite; } .int-map__row i::after { animation: mig-r 2.4s linear -1.2s infinite; } .int-map__row:nth-of-type(odd) i::before { animation-delay: -0.8s; } .int-map__row:nth-of-type(odd) i::after { animation-delay: -2s; } }
.par__ln.par__ln i { position: relative; width: 31px; height: 40px; background: none; border: 0; border-radius: 0; animation: none; translate: -6px 0; --rl: 40px; --rib-c: var(--c); }
.par__ln.par__ln i::before, .par__ln.par__ln i::after { content: ""; position: absolute; border-radius: 0; opacity: 1; transform: none; box-shadow: none; --rib-t: color-mix(in srgb, var(--rib-c) 32%, white); left: 0; top: 0; width: 100%; height: 100%; border: 0; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--rib-c)) 0 -26px / 100% 26px no-repeat, var(--rib-t); -webkit-mask: var(--ribv40-a); mask: var(--ribv40-a); }
.par__ln.par__ln i::after { -webkit-mask: var(--ribv40-b); mask: var(--ribv40-b); }
@media (prefers-reduced-motion: no-preference) { .par__ln.par__ln i::before { animation: hub-dn 2.4s linear infinite; } .par__ln.par__ln i::after { animation: hub-dn 2.4s linear -1.2s infinite; } }
.par__ln.par__ln i { left: 50%; margin-left: -15.5px; top: 0; bottom: auto; }
.par__fork.par__fork i { position: relative; width: 31px; height: 44px; background: none; border: 0; border-radius: 0; animation: none; translate: -6px 0; --rl: 44px; --rib-c: var(--c); }
.par__fork.par__fork i::before, .par__fork.par__fork i::after { content: ""; position: absolute; border-radius: 0; opacity: 1; transform: none; box-shadow: none; --rib-t: color-mix(in srgb, var(--rib-c) 32%, white); left: 0; top: 0; width: 100%; height: 100%; border: 0; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--rib-c)) 0 -26px / 100% 26px no-repeat, var(--rib-t); -webkit-mask: var(--ribv44-a); mask: var(--ribv44-a); }
.par__fork.par__fork i::after { -webkit-mask: var(--ribv44-b); mask: var(--ribv44-b); }
@media (prefers-reduced-motion: no-preference) { .par__fork.par__fork i::before { animation: hub-dn 2.4s linear infinite; } .par__fork.par__fork i::after { animation: hub-dn 2.4s linear -1.2s infinite; } }
.par__fork.par__fork::before, .par__fork.par__fork::after { display: none; }
.par__fork.par__fork i { justify-self: center; }
.par__fork.par__fork { height: 44px; }
@media (max-width: 860px) { .par__fork.par__fork { height: 44px; } .par__fork.par__fork i::before { top: 0; } }

.steps.int-arrows li:not(:last-child)::after, .steps.int-arrows li:not(:last-child) h3::after { content: ""; position: absolute; top: 24px; left: 46px; right: -22px; height: 31px; width: auto; border: 0; border-radius: 0; clip-path: none; pointer-events: none; animation: none; --rib-c: var(--green); --rib-t: var(--green-soft); background: linear-gradient(to right, rgba(255,255,255,0), var(--rib-c)) -22px 0 / 22px 100% no-repeat, var(--rib-t); -webkit-mask: var(--ribh-a); mask: var(--ribh-a); }
.steps.int-arrows li:not(:last-child) h3::after { -webkit-mask: var(--ribh-b); mask: var(--ribh-b); }
@media (prefers-reduced-motion: no-preference) { .steps.int-arrows li:not(:last-child)::after { animation: mig-r 2.4s linear infinite; } .steps.int-arrows li:not(:last-child) h3::after { animation: mig-r 2.4s linear -1.2s infinite; } .steps.int-arrows li:nth-child(2)::after { animation-delay: -0.4s; } .steps.int-arrows li:nth-child(2) h3::after { animation-delay: -1.6s; } }
@media (max-width: 860px) { .steps.int-arrows li:not(:last-child)::after, .steps.int-arrows li:not(:last-child) h3::after { left: 0; right: auto; width: 31px; top: auto; bottom: -38px; height: 64px; --rl: 64px; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--rib-c)) 0 -26px / 100% 26px no-repeat, var(--rib-t); -webkit-mask: var(--ribv64-a); mask: var(--ribv64-a); }
  .steps.int-arrows li:not(:last-child) h3::after { -webkit-mask: var(--ribv64-b); mask: var(--ribv64-b); }
  .steps.int-arrows li:not(:last-child)::after, .steps.int-arrows li:not(:last-child) h3::after { animation-name: none; }
  .steps.int-arrows li:not(:last-child) { padding-bottom: 26px; } }
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) { .steps.int-arrows li:not(:last-child)::after { animation: hub-dn 2.4s linear infinite; } .steps.int-arrows li:not(:last-child) h3::after { animation: hub-dn 2.4s linear -1.2s infinite; } }
.int-pair.int-pair i { position: relative; flex: none; width: 24px; height: 19px; border-radius: 0; background: none; opacity: 1; --rib-c: var(--green-bright); --rib-t: color-mix(in srgb, var(--green-bright) 30%, white); }
.int-pair.int-pair i::before, .int-pair.int-pair i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0), var(--rib-c)) -22px 0 / 22px 100% no-repeat, var(--rib-t); -webkit-mask: var(--ribp-a); mask: var(--ribp-a); }
.int-pair.int-pair i::after { -webkit-mask: var(--ribp-b); mask: var(--ribp-b); }
@media (prefers-reduced-motion: no-preference) { .int-pair i::before { animation: mig-r 2.4s linear infinite; } .int-pair i::after { animation: mig-r 2.4s linear -1.2s infinite; } }
