/* ==========================================================================
   DEEPLOYALTY — сторінка «Для ритейлера»
   Operations · Tools · Metrics · Privacy · Pricing · CTA
   Спільні секції (hero, products, cases, faq, final-cta) — у sections.css
   ========================================================================== */

/* Operations: «єдина точка входу» — напряму з кожним банком vs через DEEPLOYALTY */
.r-ops { background: var(--surface-ink); }
.r-ops__sheet {
  padding-block: var(--section-y);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--surface-white);
}
.r-ops__title { max-width: 960px; }

.ops {
  position: relative;
  border-radius: var(--radius-l);
  background:
    radial-gradient(60% 70% at 50% 45%, rgba(47, 91, 239, 0.16), transparent 70%),
    var(--surface-ink);
  color: var(--text-on-dark);
  overflow: hidden;
}
.ops__bar { display: flex; justify-content: center; padding: 32px 24px 0; }

/* Перемикач режимів */

/* Схема 1200×430 */
.ops__fit { height: calc(400px * var(--fit)); margin-top: 24px; }
.ops-scene { position: relative; width: 1200px; height: 400px; }
.ops-scene > * { position: absolute; }
/* сітка на тлі — як на планеті в першому екрані, розчиняється до країв */
.ops-scene__grid {
  inset: -20px 0 -20px 0;
  background-image:
    linear-gradient(rgba(159, 182, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 182, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  -webkit-mask-image: radial-gradient(60% 75% at 50% 50%, #000 30%, transparent 80%);
          mask-image: radial-gradient(60% 75% at 50% 50%, #000 30%, transparent 80%);
}
.ops-scene__lines { left: 0; top: 0; overflow: visible; }
.ops-l path { fill: none; stroke-width: 1.5; }
.ops-l { transition: opacity 0.8s var(--ease-out); }
.ops-l--direct path { stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 1 7; }
.ops[data-mode="via"] .ops-l--direct { opacity: 0; }
.ops[data-mode="direct"] .ops-l--via { opacity: 0; }

.ops-scene__label { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-on-dark-2); }
/* Ритейлер: без рамки — текст праворуч вирівняний до вузла, з якого стартує лінія */
.ops-retailer {
  left: 40px; top: 201px;
  width: 222px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  text-align: right;
}
.ops-retailer b { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -0.015em; }

/* Вузол-кільце на кінцях ліній */
.ops-node {
  width: 11px; height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--surface-ink);
  box-shadow: inset 0 0 0 1.5px rgba(159, 182, 255, 0.55), 0 0 0 4px rgba(84, 127, 242, 0.08);
  transition: box-shadow 0.6s var(--ease-out);
}
.ops-node--start { left: 280px; top: 216px; box-shadow: inset 0 0 0 1.5px var(--accent-pale-2), 0 0 12px rgba(143, 176, 255, 0.6); }

/* Ядро — як у схемі на головній */
.ops-core { left: 512px; top: 128px; width: 176px; height: 176px; transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out); }
.ops-core__pulse {
  position: absolute; left: 50%; top: 50%;
  width: 480px; height: 480px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 127, 242, 0.32), rgba(84, 127, 242, 0.08) 45%, transparent 70%);
  animation: core-breathe 4.5s ease-in-out infinite;
}
.ops-core__ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1px rgba(159, 182, 255, 0.4); opacity: 0; }
.ops.is-live[data-mode="via"] .ops-core__ring { animation: ops-ring 3.2s ease-out infinite; }
@keyframes ops-ring { 0%, 28% { transform: scale(1); opacity: 0; } 32% { opacity: 0.9; } 60%, 100% { transform: scale(1.45); opacity: 0; } }
.ops-core__disc {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1d2547, #0b0e1c 70%);
  box-shadow: inset 0 0 0 1px rgba(159, 182, 255, 0.35), 0 0 60px -8px rgba(84, 127, 242, 0.7);
}
.ops-core__disc img { width: 80px; height: auto; }
.ops-core__caption {
  position: absolute; left: 50%; top: calc(100% + 16px);
  translate: -50% 0;
  font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-on-dark-2);
  white-space: nowrap;
}
.ops[data-mode="direct"] .ops-core { opacity: 0; transform: scale(0.85); }

/* Банки: рядки на тонких лініях без фону — як етапи в схемі хабу на головній */
.ops-banks-head {
  left: 860px; top: 26px;
  width: 300px;
  display: flex; align-items: baseline; justify-content: space-between;
  padding-left: 22px;
}
.ops-banks-head__note { color: var(--text-on-dark-3); font-weight: 400; }
.ops-banks-head__sum { display: grid; justify-items: end; font-size: 13px; line-height: 18px; font-weight: 500; }
.ops-banks-head__st { grid-area: 1 / 1; white-space: nowrap; transition: opacity 0.5s var(--ease-out); }
.ops-banks-head__st--direct { color: var(--text-on-dark-2); }
.ops-banks-head__st--via { color: var(--success-on-dark); }
.ops[data-mode="direct"] .ops-banks-head__st--via,
.ops[data-mode="via"] .ops-banks-head__st--direct { opacity: 0; }
.ops-bank {
  left: 860px;
  width: 300px; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  padding-left: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.ops-bank:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.ops-bank .ops-node { position: absolute; left: 0; top: 50%; }
.ops-bank__name { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.ops-bank__status { position: relative; display: grid; justify-items: end; }
.ops-bank__st {
  grid-area: 1 / 1;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: calc(var(--i) * 0.06s);
}
.ops-bank__st--direct { color: var(--text-on-dark-2); }
.ops-bank__st--direct i { width: 6px; height: 6px; border-radius: 50%; background: #e8c070; animation: ops-wait 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.27s); }
.ops-bank__st--via { color: var(--success-on-dark); transition-delay: calc(0.2s + var(--i) * 0.08s); }
.ops[data-mode="direct"] .ops-bank__st--via,
.ops[data-mode="via"] .ops-bank__st--direct { opacity: 0; transform: translateY(4px); }
.ops[data-mode="direct"] .ops-bank .ops-node { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25); }
@keyframes ops-wait { 50% { opacity: 0.3; } }

/* Імпульси — як у схемі хабу: напряму кожен банк окремо й не в такт; через платформу — один потік на всіх */
.ops-dot {
  left: 0; top: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px rgba(143, 176, 255, 0.85);
  offset-rotate: 0deg;
  opacity: 0;
}
.ops.is-live[data-mode="direct"] .ops-dot--direct { animation: ops-slow 6s var(--ease-in-out) infinite; animation-delay: calc(var(--i) * -1.37s); }
.ops.is-live[data-mode="via"] .ops-dot--in { animation: ops-in 3.2s var(--ease-in-out) infinite; }
.ops.is-live[data-mode="via"] .ops-dot--fan { animation: ops-fan 3.2s var(--ease-in-out) infinite; }
.ops.is-live[data-mode="via"] .ops-bank .ops-node { animation: ops-hit 3.2s ease-out infinite; }
@keyframes ops-slow {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 0.55; }
  88% { opacity: 0.55; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes ops-in {
  0% { offset-distance: 0%; opacity: 0; }
  5%, 28% { opacity: 1; }
  30% { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes ops-fan {
  0%, 34% { offset-distance: 0%; opacity: 0; }
  38% { opacity: 1; }
  66% { opacity: 1; }
  68% { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes ops-hit {
  0%, 66% { background: var(--surface-ink); box-shadow: inset 0 0 0 1.5px rgba(159, 182, 255, 0.55), 0 0 0 4px rgba(84, 127, 242, 0.08); }
  70% { background: var(--accent-pale-2); box-shadow: inset 0 0 0 1.5px #fff, 0 0 14px 2px rgba(143, 176, 255, 0.8); }
  100% { background: var(--surface-ink); box-shadow: inset 0 0 0 1.5px rgba(159, 182, 255, 0.55), 0 0 0 4px rgba(84, 127, 242, 0.08); }
}
.no-motion .ops-dot, .no-motion .ops-node, .no-motion .ops-core__pulse, .no-motion .ops-core__ring, .no-motion .ops-bank__st i { animation: none !important; }

/* Лічильники під схемою */
.ops__metrics { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; padding: 0 40px 40px; }
.ops__caption { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-on-dark-2); }
.ops__cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-24); }
.ops-metric { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ops-metric b { font-size: 40px; line-height: 1; font-weight: 400; letter-spacing: -0.04em; font-feature-settings: "tnum"; transition: color 0.5s; }
.ops-metric span { font-size: 14px; line-height: 20px; color: var(--text-on-dark-2); }
.ops[data-mode="direct"] .ops-metric b { color: var(--text-on-dark-2); }
.ops[data-mode="via"] .ops-metric b { color: var(--text-on-dark); }
.ops[data-mode="via"] .ops-metric--zero b { color: var(--accent-soft); }   /* «0 перевірок» — не статус, тому синій */

/* Три переваги під схемою: номер, заголовок, текст — без іконок */
.r-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-48); }
.r-point { display: flex; flex-direction: column; gap: var(--space-12); padding-top: var(--space-24); border-top: 1px solid var(--line-on-light); }
.r-point__num { margin-bottom: var(--space-16); }   /* стиль — .label-text */

/* Tools (спільне бенто) ------------------------------------------------- */
.page--retail .products__title { max-width: 1000px; }

/* Metrics --------------------------------------------------------------- */
.r-metrics__title { max-width: 960px; }
.r-metrics .text-accent { color: var(--brand-blue); }
.r-stat .metric-xl { display: inline-block; transition: transform 0.7s var(--ease-out); }
.r-stat .stat__caption { transition: color 0.5s var(--ease-out); }
.r-stat:hover .metric-xl { transform: translateX(10px); }
.r-stat:hover .stat__caption { color: var(--fg); }

/* Privacy --------------------------------------------------------------- */
.r-privacy { padding-top: var(--space-64); }
.r-privacy__title { max-width: 1000px; }
.r-privacy__tiles { display: flex; gap: var(--space-24); }
.r-tile {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-48) var(--space-48) 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.r-tile:hover { box-shadow: 0 30px 60px -30px rgba(5, 6, 12, 0.35); }
.r-tile--dark { gap: var(--space-48); background: var(--surface-ink); }
.r-tile--light { gap: var(--space-48); background: var(--surface-lavender); }
.r-tile__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-24); }
.r-tile__text { display: flex; flex-direction: column; gap: var(--space-24); }
.r-tile__visual { position: relative; z-index: 1; }
.r-tile .r-tile__visual { padding-bottom: var(--space-48); }

/* «Новий клієнт»: запис у базі мережі — темна пара до «Даних транзакції» */
/* стос: два попередні записи визирають з-за панелі — база росте */
.crm-stack { position: relative; padding-top: 26px; }
.crm-ghost {
  position: absolute;
  height: 60px;
  border-radius: 18px;
  background: #181b27;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.crm-ghost--1 { left: 14px; right: 14px; top: 13px; opacity: 0.8; }
.crm-ghost--2 { left: 30px; right: 30px; top: 0; opacity: 0.45; }
.crm {
  position: relative;
  z-index: 1;
  padding: 18px 20px 6px;
  border-radius: 18px;
  background: var(--ui-panel-dark);
  color: var(--ui-text-on-dark);
  font-size: 14px;
  line-height: 20px;
  font-feature-settings: "tnum", "cv11";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -28px rgba(0, 0, 0, 0.9);
}
.crm__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; }
.crm__title { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.crm__title small { font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: #8a92ad; }
.crm__count { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.crm__count b { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; }
.crm__count small {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--success-on-dark);
  transition: opacity 0.5s ease 2.6s, transform 0.6s var(--ease-out) 2.6s;
}
.crm__count i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-ring); }
.crm__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 46px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.crm__field { color: #8a92ad; }
.crm__value {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; white-space: nowrap;
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(0.6s + var(--i) * 0.45s);
}
.crm__row--ok .crm__value { color: var(--success-on-dark); }
.r-tile--dark:hover .crm { box-shadow: inset 0 0 0 1px rgba(159, 182, 255, 0.18), 0 36px 70px -28px rgba(0, 0, 0, 0.95); }
/* до появи: рядки ще порожні */
.js:not(.no-motion) .crm:not(.is-live) .crm__value { opacity: 0; transform: translateX(8px); }
.js:not(.no-motion) .crm:not(.is-live) .crm__count small { opacity: 0; transform: translateY(4px); }

/* новий запис виїжджає наверх: стос просідає, рядки заповнюються, лічильник +1 */
.crm-stack.is-new .crm { animation: crm-in 0.9s var(--ease-out); }
.crm-stack.is-new .crm-ghost--1 { animation: ghost-1 0.9s var(--ease-out); }
.crm-stack.is-new .crm-ghost--2 { animation: ghost-2 0.9s var(--ease-out); }
.crm-stack.is-new .crm__row:not(.crm__row--ok) .crm__value { animation: crm-val 0.55s var(--ease-out) both; animation-delay: calc(0.35s + var(--i) * 0.12s); }
.crm-stack.is-new [data-crm-count] { animation: crm-count 1.2s ease-out 0.3s; }
@keyframes crm-in { from { transform: translateY(-22px) scale(0.96); opacity: 0; } }
@keyframes ghost-1 { from { transform: translateY(-12px); opacity: 1; } }
@keyframes ghost-2 { from { transform: translateY(-12px); opacity: 0.75; } }
@keyframes crm-val { from { opacity: 0; transform: translateX(8px); } }
@keyframes crm-count { 0% { color: var(--accent-soft); } 100% { color: inherit; } }
.no-motion .crm * { transition: none !important; }

/* «Дані транзакції»: персональні дані → хеш або «Не передається» */
.tx {
  padding: 18px 20px 16px;
  border-radius: 18px;
  background: #fff;
  color: var(--ui-ink);
  font-size: 14px;
  line-height: 20px;
  font-feature-settings: "tnum", "cv11";
  box-shadow: 0 0 0 1px rgba(13, 15, 23, 0.04), 0 30px 60px -28px rgba(20, 28, 70, 0.28);
  transition: box-shadow 0.6s var(--ease-out);
}
.tx__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; }
.tx__title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.tx__route { font-size: 12.5px; color: var(--ui-mute); }
.tx__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 46px; border-top: 1px solid var(--ui-line); }
.tx__field { color: var(--ui-mute); }
.tx__value { position: relative; display: grid; justify-items: end; text-align: right; }
.tx__raw, .tx__shared {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), filter 0.5s var(--ease-out);
  transition-delay: calc(1s + var(--i) * 0.45s);
}
.tx__raw { font-weight: 500; opacity: 0; transform: translateY(-8px); filter: blur(4px); }
.tx__shared { font-weight: 500; }
.tx__row--hash .tx__shared { color: var(--theme-accent); letter-spacing: 0.02em; }
/* ім’я й телефон: текст розмивається, зверху лягає смуга — як у засекреченому документі */
.tx__row--hide .tx__raw { opacity: 1; transform: none; filter: blur(4px); color: var(--ui-mute); }
.tx__bar {
  position: absolute;
  inset: -3px 0 -3px -8px;
  border-radius: 5px;
  background: linear-gradient(180deg, #1c1f2b, var(--ui-ink));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-origin: right center;
  transition: transform 0.7s var(--ease-out);
  transition-delay: calc(1s + var(--i) * 0.45s);
}
.tx__row--keep .tx__raw { display: none; }
.tx__note {
  display: flex; align-items: center; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--ui-line);
  font-size: 13px; font-weight: 500; color: var(--theme-accent);   /* гарантія, а не статус — синій */
  transition: opacity 0.5s ease 2.6s;
}
.r-tile--light:hover .tx { box-shadow: 0 0 0 1px rgba(13, 15, 23, 0.04), 0 36px 70px -28px rgba(20, 28, 70, 0.36); }
/* до появи: видно персональні дані, як вони лежать у банку */
.js:not(.no-motion) .tx:not(.is-live) .tx__raw { opacity: 1; transform: none; filter: none; color: inherit; }
.js:not(.no-motion) .tx:not(.is-live) .tx__bar { transform: scaleX(0); }
.js:not(.no-motion) .tx:not(.is-live) .tx__row:not(.tx__row--keep) .tx__shared { opacity: 0; transform: translateY(8px); }
.js:not(.no-motion) .tx:not(.is-live) .tx__note { opacity: 0; }
.no-motion .tx * { transition: none !important; }

/* Pricing --------------------------------------------------------------- */

/* Final CTA ------------------------------------------------------------- */
.page--retail .final-cta__inner .display-l { max-width: 820px; }

/* Адаптив --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .r-privacy__tiles { flex-direction: column; }
  .r-tile { flex: none; }
  .r-tile--dark { gap: var(--space-32); }
}

@media (max-width: 960px) {
  .r-points { grid-template-columns: 1fr; gap: 40px; }
}


/* Компактна схема для телефона (на десктопі прихована) */
.ops-mini { display: none; }
.ops-mini { width: min(100%, 340px); margin: 8px auto 0; padding-top: 22px; }
.ops-mini__stage { position: relative; }
.ops-mini svg { display: block; width: 100%; height: auto; overflow: visible; }
.ops-mini__l path { fill: none; stroke-width: 1.5; }
.ops-mini__l { transition: opacity 0.6s var(--ease-out); }
.ops-mini__l--direct path { stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 1 6; }
.ops-mini__l--via path { stroke: rgba(159, 182, 255, 0.4); }
/* потік: короткий світлий штрих біжить від мережі до банків */
.ops-mini__flow path { stroke: var(--accent-soft); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 8 70; animation: ops-mini-flow 2.6s linear infinite; filter: drop-shadow(0 0 3px rgba(159, 182, 255, 0.9)); }
.ops-mini__flow path:first-child { animation-duration: 1.6s; }
@keyframes ops-mini-flow { from { stroke-dashoffset: 78; } to { stroke-dashoffset: 0; } }
.ops[data-mode="direct"] :is(.ops-mini__l--via, .ops-mini__flow),
.ops[data-mode="via"] .ops-mini__l--direct { opacity: 0; }
.ops-mini__start { fill: var(--surface-ink); stroke: var(--accent-pale); stroke-width: 1.5; }
.ops-mini__bank {
  fill: var(--surface-ink); stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.5;
  transition: fill 0.5s var(--ease-out), stroke 0.5s var(--ease-out);
  transition-delay: calc(0.3s + var(--i) * 0.08s);
}
.ops[data-mode="via"] .ops-mini__bank { fill: var(--success); stroke: rgba(52, 211, 153, 0.35); stroke-width: 5; paint-order: stroke; }
.ops-mini__core {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 19%; aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #18266a 0%, #0a0f2e 60%, #060918 100%);
  box-shadow: inset 0 0 0 1px rgba(170, 192, 255, 0.45), 0 0 0 6px rgba(61, 107, 255, 0.08), 0 0 40px rgba(36, 72, 232, 0.6);
  transition: opacity 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
.ops-mini__core img { width: 48%; height: auto; }
.ops[data-mode="direct"] .ops-mini__core { opacity: 0.2; filter: grayscale(1); }
.ops-mini__label { position: absolute; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-on-dark-2); white-space: nowrap; }
.ops-mini__label--start { left: 18.1%; top: calc(50% + 14px); translate: -50% 0; color: var(--text-on-dark); }
.ops-mini__label--banks { left: 90.6%; top: -18px; translate: -50% 0; color: var(--text-on-dark-3); }
.ops-mini__sum { display: grid; justify-items: center; margin-top: 16px; font-size: 13px; line-height: 18px; font-weight: 500; }
.ops-mini__st { grid-area: 1 / 1; transition: opacity 0.5s var(--ease-out); }
.ops-mini__st--direct { color: var(--text-on-dark-2); }
.ops-mini__st--via { color: var(--success-on-dark); }
.ops[data-mode="direct"] .ops-mini__st--via,
.ops[data-mode="via"] .ops-mini__st--direct { opacity: 0; }
.no-motion .ops-mini__flow path { animation: none; stroke-dasharray: none; opacity: 0.6; }

/* Телефон: замість великої схеми — компактна (.ops-mini), список банків прихований */
@media (max-width: 760px) {
  .ops__fit { display: none; }
  .ops-mini { display: block; }
  .ops__metrics { margin-top: 24px; padding: 0 20px 24px; }
  .ops__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-16) var(--space-24); }
  .ops-metric b { font-size: 32px; }
  .ops__bar { padding: 16px 16px 0; }
  .ops-switch { width: 100%; }
  .ops-switch__opt { padding: 9px 10px; font-size: 13px; line-height: 18px; }
}

@media (max-width: 720px) {
  .r-tile { padding: var(--space-32) var(--space-24) 0; }
  .crm { padding: 14px 16px 4px; font-size: 13px; }
  .crm__head { flex-direction: column; gap: 8px; }
  .crm__count { flex-direction: row-reverse; align-items: baseline; gap: 8px; }
  .r-tile--light { gap: var(--space-32); }
  .r-tile .r-tile__visual { padding-bottom: var(--space-24); }
  .tx { padding: 14px 16px; font-size: 13px; }
  .tx__row { gap: 10px; }
  .r-stat .metric-xl { transform: none !important; }
}

