/* Справка «Контроля отказов» как дело: суд над закрытием сделки. Общие блоки — из story.css, пары «скриншот + выноски» — из dedup-story.css. */
.story--refusal .st-eyebrow { background: rgba(255,143,146,.16); color: #ffb3b5; }
.story--refusal .st-h1 span { color: rgba(255,179,181,.6); }

/* Проблема: закрытая сделка с красным штампом */
.rv-deal { position: relative; margin: 56px auto 0; max-width: 760px; padding: 28px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--rule); box-shadow: 0 24px 60px rgba(18,17,44,.10); }
.rv-deal__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 800; font-size: 18px; }
.rv-deal__top span { color: var(--muted); font-weight: 600; font-size: 14px; }
.rv-deal dl { margin: 18px 0 0; display: grid; grid-template-columns: 170px 1fr; gap: 10px 18px; font-size: 15px; }
.rv-deal dt { color: var(--muted); font-weight: 600; } .rv-deal dd { margin: 0; color: #2a2a40; }
.rv-deal q { font-style: italic; }
.rv-stamp { position: absolute; right: 26px; top: 50%; padding: 10px 18px; border: 4px solid #e2474c; border-radius: 10px; color: #e2474c; font-weight: 900; font-size: 22px; letter-spacing: .12em; text-transform: uppercase; transform: translateY(-50%) rotate(-12deg); background: rgba(255,255,255,.85); }
.fx .rv-deal .rv-stamp { opacity: 0; transform: translateY(-50%) rotate(-12deg) scale(1.8); transition: opacity .3s .5s, transform .45s .5s cubic-bezier(.34,1.56,.64,1); }
.fx .rv-deal.in .rv-stamp { opacity: 1; transform: translateY(-50%) rotate(-12deg) scale(1); }

/* Суд при прокрутке: закреплённая сцена с делом */
.rv-court { position: relative; height: 380vh; background: var(--ink); color: #fff; }
.rv-court__pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; overflow: hidden; }
.rv-court .st-label { background: rgba(255,143,146,.16); color: #ffb3b5; }
.rv-court .st-h2 { font-size: clamp(26px, 2.6vw, 36px); } .rv-court .st-h2 span { color: rgba(255,255,255,.4); }
.rv-court .dd-steps li.on { border-color: #ff8f92; }
.rv-file { position: relative; padding: 26px 28px; border-radius: 6px 20px 20px 20px; background: #fbfaf6; color: var(--ink); box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.rv-file::before { content: "ДЕЛО"; position: absolute; left: 0; top: -26px; padding: 6px 16px 4px; border-radius: 10px 10px 0 0; background: #fbfaf6; font-size: 12px; font-weight: 900; letter-spacing: .2em; color: #8a8aa0; }
html[lang="en"] .rv-file::before { content: "CASE"; }
.rv-file__h { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 17px; }
.rv-file__h span { font-size: 13px; color: #b23a3e; background: rgba(255,143,146,.2); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.rv-ev { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.rv-ev li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; color: #2a2a40; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s cubic-bezier(.22,1,.36,1); }
.rv-ev li i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 12px; color: #fff; background: #606ded; }
.rv-ev li i.r { background: #e2474c; } .rv-ev li i.g { background: #2e9e6b; }
.rv-file.s1 .rv-ev li, .rv-file.s2 .rv-ev li, .rv-file.s3 .rv-ev li, .rv-file.s4 .rv-ev li { opacity: 1; transform: none; }
.rv-sides { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; opacity: .25; transition: opacity .4s; }
.rv-file.s2 .rv-sides, .rv-file.s3 .rv-sides, .rv-file.s4 .rv-sides { opacity: 1; }
.rv-side { padding: 12px 14px; border-radius: 12px; background: #f0eee6; }
.rv-side b { display: flex; justify-content: space-between; font-size: 14px; } .rv-side b em { font-style: normal; font-size: 20px; }
.rv-side small { display: block; margin-top: 4px; font-size: 12px; color: #55566b; line-height: 1.4; }
.rv-side--a b em { color: #e2474c; } .rv-side--d b em { color: #2e9e6b; }
.rv-judges { margin-top: 12px; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; color: #55566b; opacity: .25; transition: opacity .4s; }
.rv-file.s3 .rv-judges, .rv-file.s4 .rv-judges { opacity: 1; }
.rv-judge { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; background: #f0eee6; transition: background .3s, color .3s; }
.rv-judge i { width: 10px; height: 10px; border-radius: 50%; background: #c9c7bd; transition: background .3s; }
.rv-file.s3 .rv-judge, .rv-file.s4 .rv-judge { background: rgba(204,247,94,.45); color: #12112c; }
.rv-file.s3 .rv-judge i, .rv-file.s4 .rv-judge i { background: #4d6b00; }
.rv-file .rv-stamp { top: auto; bottom: 30px; right: 24px; transform: rotate(-10deg) scale(1.8); opacity: 0; border-color: #2e9e6b; color: #2e9e6b; font-size: 20px; transition: opacity .25s, transform .4s cubic-bezier(.34,1.56,.64,1); }
.rv-file.s4 .rv-stamp { opacity: 1; transform: rotate(-10deg) scale(1); }

/* Три исхода и режимы */
.rv-outcomes { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rv-out { padding: 22px; border-radius: 18px; border: 1px solid var(--rule); background: #fff; }
.rv-out b { display: block; font-size: 18px; } .rv-out p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: #3a3a52; }
.rv-out--ok { border-top: 4px solid #2e9e6b; } .rv-out--back { border-top: 4px solid #ff8f92; } .rv-out--boss { border-top: 4px solid #ffe193; }
.rv-modes { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); align-items: center; }
.rv-modes b { color: var(--ink); padding: 5px 12px; border-radius: 99px; background: #f0f0f7; font-size: 13px; }

@media (max-width: 900px) {
  .rv-deal dl { grid-template-columns: 1fr; gap: 2px 0; } .rv-deal dd { margin-bottom: 8px; }
  .rv-stamp { position: static; display: inline-block; margin-top: 14px; transform: rotate(-6deg); }
  .fx .rv-deal .rv-stamp, .fx .rv-deal.in .rv-stamp { transform: rotate(-6deg); }
  .rv-court { height: 360vh; }
  .rv-court__pin { grid-template-columns: 1fr; gap: 14px; align-content: center; padding: 70px 20px 20px; }
  .rv-court .dd-steps li { display: none; } .rv-court .dd-steps li.on { display: block; }
  .rv-file { padding: 18px; } .rv-ev li { font-size: 12.5px; } .rv-side small { display: none; }
  .rv-outcomes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .rv-court { height: auto; } .rv-court__pin { position: static; height: auto; padding: 100px 32px; } }
.rv-deal dl { padding-right: 150px; }
@media (max-width: 900px) { .rv-deal dl { padding-right: 0; } }
.rv-file { padding-bottom: 86px; } .rv-file .rv-stamp { bottom: 20px; }
@media (max-width: 900px) {
  .rv-court .st-h2 { font-size: 22px; } .rv-court .st-hint { display: none; } .rv-court .st-label { display: none; }
  .rv-court .dd-steps li.on { padding: 8px 12px; font-size: 13px; }
  .rv-file { padding: 16px 16px 70px; }
  .rv-file__h { flex-direction: column; gap: 6px; font-size: 15px; } .rv-file__h span { align-self: flex-start; font-size: 12px; }
  .rv-ev { margin-top: 10px; gap: 6px; } .rv-ev li:nth-child(4) { display: none; }
  .rv-sides { margin-top: 10px; } .rv-side { padding: 8px 10px; }
  .rv-file .rv-stamp { font-size: 15px; bottom: 14px; padding: 6px 12px; }
}

/* Стоимость — вёрсткой, без скриншота текста */
.rv-price { margin-top: 48px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.rv-free { padding: 34px 32px; border-radius: 24px; background: var(--ink); color: #fff; }
.rv-free b { display: block; font-size: 120px; line-height: .9; font-weight: 800; letter-spacing: -.05em; color: #ccf75e; }
.rv-free span { display: block; margin-top: 10px; font-size: 24px; font-weight: 800; line-height: 1.2; }
.rv-free small { display: block; margin-top: 16px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.65); }
.rv-factors__h { margin: 0 0 18px; font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--ink); }
.rv-f { position: relative; padding: 18px 20px 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--rule); margin-bottom: 10px; overflow: hidden; }
.rv-f i { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--w); background: linear-gradient(90deg, #ff8f92, #ffc8c8); border-radius: 0 4px 4px 0; }
.rv-f b { display: block; font-size: 17px; } .rv-f span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: #3a3a52; }
.rv-factors__f { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .rv-price { grid-template-columns: 1fr; gap: 24px; } .rv-free b { font-size: 88px; } }
/* Широкий скриншот аналитики во всю ширину, пояснения — строкой под ним */
.rv-wide { margin-top: 44px; }
.rv-wide .st-frame::before { display: none; }
.rv-wide__notes { margin-top: 28px; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .rv-wide__notes { grid-template-columns: 1fr; } }

/* Окупаемость: весы — лёгкая чаша с проверками, тяжёлая с одной возвращённой продажей */
.rv-roi { padding: 120px 0; background: var(--ink); color: #fff; }
.rv-roi .st-label { background: rgba(204,247,94,.12); color: #ccf75e; }
.rv-roi .st-h2 span { color: rgba(255,255,255,.4); }
.rv-roi .st-text { color: rgba(255,255,255,.75); }
.rv-roi__grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rv-scale { position: relative; height: 360px; }
.rv-scale__post { position: absolute; left: 50%; bottom: 0; width: 10px; height: 230px; margin-left: -5px; border-radius: 6px; background: #3b3966; }
.rv-scale__post::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 140px; height: 12px; margin-left: -70px; border-radius: 8px; background: #3b3966; }
.rv-scale__beam { position: absolute; left: 6%; right: 6%; top: 120px; height: 8px; border-radius: 6px; background: #8f99ff; transform-origin: 50% 50%; transform: rotate(0deg); transition: transform 1.4s cubic-bezier(.34,1.4,.64,1) .2s; }
.rv-roi.in .rv-scale__beam, html:not(.fx) .rv-scale__beam { transform: rotate(14deg); }
.rv-pan { position: absolute; top: 8px; width: 46%; text-align: center; transform-origin: 50% 0; transition: transform 1.4s cubic-bezier(.34,1.4,.64,1) .2s; }
.rv-pan--l { left: -8%; } .rv-pan--r { right: -8%; }
.rv-roi.in .rv-pan, html:not(.fx) .rv-pan { transform: rotate(-14deg); }
.rv-pan b { display: block; margin-top: 10px; font-size: 16px; } .rv-pan small { display: block; font-size: 13px; color: rgba(255,255,255,.55); }
.rv-coins { display: flex; justify-content: center; gap: 4px; height: 56px; align-items: flex-end; border-bottom: 4px solid #8f99ff; padding-bottom: 6px; }
.rv-coins i { width: 22px; height: 22px; border-radius: 50%; background: #ffe193; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); }
.rv-box { margin: 0 auto; width: 150px; height: 86px; display: grid; place-items: center; border-radius: 14px; background: #ccf75e; color: #12112c; font-size: 22px; font-weight: 900; border-bottom: 4px solid #8f99ff; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.rv-roi__big { margin: 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; font-weight: 700; }
.rv-roi__ex { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.85); }
.rv-roi__ex > span:first-child { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 99px; background: #ffe193; color: #12112c; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.rv-roi__fine { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .rv-roi { padding: 80px 0; } .rv-roi__grid { grid-template-columns: 1fr; gap: 24px; } .rv-scale { height: 300px; } .rv-box { width: 120px; height: 70px; font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .rv-scale__beam, .rv-pan { transition: none; } }

/* Окупаемость: одна продажа = поле из тысяч точек-проверок (вместо весов) */
.rv-roi__grid { grid-template-columns: 1fr; gap: 48px; }
.rv-eq { display: grid; grid-template-columns: 0.9fr auto 1.4fr; gap: 28px; align-items: center; }
.rv-eq__sale { padding: 30px 28px; border-radius: 22px; background: #ccf75e; color: #12112c; }
.rv-eq__sale small { display: block; font-size: 15px; font-weight: 700; opacity: .7; }
.rv-eq__sale b { display: block; margin-top: 6px; font-size: clamp(40px, 5vw, 64px); font-weight: 900; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.rv-eq__sale span { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; opacity: .6; }
.rv-eq__sign { font-size: 56px; font-weight: 800; color: rgba(255,255,255,.4); }
.rv-eq__dots canvas { display: block; width: 100%; height: auto; aspect-ratio: 560 / 300; }
.rv-eq__dots small { display: block; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.6); }
.rv-eq__dots small b { color: #ccf75e; font-size: 20px; font-variant-numeric: tabular-nums; }
.rv-roi__text { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 48px; align-items: start; }
.rv-roi__text .rv-roi__big { grid-row: span 3; }
@media (max-width: 900px) { .rv-eq { grid-template-columns: 1fr; gap: 12px; } .rv-eq__sign { text-align: center; font-size: 40px; } .rv-roi__text { grid-template-columns: 1fr; } .rv-roi__text .rv-roi__big { grid-row: auto; } }

/* Окупаемость: две суммы рядом — маленькая цена проверки и огромная сумма одной продажи. Мысль читается без пояснений. */
.rv-vs { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: end; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
.rv-vs__a b { display: block; font-size: 34px; font-weight: 800; color: rgba(255,255,255,.55); letter-spacing: -.02em; white-space: nowrap; }
.rv-vs__a span, .rv-vs__b span { display: block; margin-top: 8px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.55); }
.rv-vs__a { padding-bottom: 26px; }
.rv-vs__b { text-align: right; }
.rv-vs__b b { display: block; font-size: clamp(72px, 12vw, 176px); line-height: .9; font-weight: 900; letter-spacing: -.05em; color: #ccf75e; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rv-vs__b span { margin-bottom: 26px; }
@media (max-width: 900px) { .rv-vs { grid-template-columns: 1fr; gap: 18px; } .rv-vs__b { text-align: left; } .rv-vs__a { padding-bottom: 0; } }

/* Шапка: примечание высокое — на телефоне показываем целиком, плашка «Стало» под ним */
.story--refusal .st-hero { padding-bottom: 72px; }
.story--refusal .st-hero__shot .st-frame { margin-bottom: 0; }
@media (max-width: 900px) { .story--refusal .st-hero { padding-bottom: 56px; } }

/* Окупаемость: калькулятор (чек × маржа → прибыль с одной продажи → сколько это проверок) */
.rv-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin: 0; }
.rv-calc__f label { display: block; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.rv-calc__f input { width: 100%; box-sizing: border-box; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-family: inherit; font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; outline: none; transition: border-color .2s, background .2s; }
.rv-calc__f input:focus { border-color: #ccf75e; background: rgba(255,255,255,.1); }
.rv-calc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rv-calc__chips button { font: inherit; font-size: 14px; font-weight: 700; padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: rgba(255,255,255,.8); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.rv-calc__chips button:hover { border-color: rgba(255,255,255,.5); }
.rv-calc__chips button[aria-pressed="true"] { background: #ccf75e; border-color: #ccf75e; color: #12112c; }
.rv-calc__chips button:focus-visible { outline: 2px solid #ccf75e; outline-offset: 2px; }
.rv-calc__note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: rgba(255,255,255,.5); }
.rv-vs__b .rv-vs__pre { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.55); }
.rv-vs__b .rv-vs__post { margin: 10px 0 26px; font-size: 18px; font-weight: 700; color: rgba(255,255,255,.75); }
.rv-vs__n { display: inline !important; margin: 0 !important; color: #fff !important; font-size: inherit !important; }
.rv-vs__b b { font-size: clamp(56px, 10vw, 150px); }
.rv-vs__b b[data-len="l"] { font-size: clamp(44px, 8vw, 120px); }
.rv-vs__b b[data-len="xl"] { font-size: clamp(34px, 6vw, 92px); }
.rv-calc__fine { margin: -24px 0 0; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.5); max-width: 860px; }
@media (max-width: 900px) {
  .rv-calc { grid-template-columns: 1fr; gap: 18px; }
  .rv-calc__f input { font-size: 24px; padding: 12px 16px; }
  .rv-vs__b b { font-size: clamp(44px, 14vw, 72px); }
  .rv-vs__b b[data-len="l"] { font-size: clamp(38px, 11.5vw, 60px); }
  .rv-vs__b b[data-len="xl"] { font-size: clamp(28px, 9vw, 48px); }
  .rv-calc__fine { margin-top: -8px; }
}
.rv-vs__approx[hidden] { display: none !important; } .rv-vs__b .rv-vs__approx, .rv-vs__b .rv-vs__num { display: inline; margin: 0; font: inherit; color: inherit; }

/* Широкие скриншоты на телефоне: в натуральную ширину, листаются вбок */
.rv-scroll__hint { display: none; }
@media (max-width: 700px) {
  .rv-scroll { overflow-x: auto; margin: 0 -20px; padding: 18px 20px 8px 30px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .rv-scroll .st-pins { width: 720px; }
  .rv-scroll__hint { display: block; margin: 6px 0 0; font-size: 13px; color: var(--muted, #6b6f80); text-align: center; }
}
.rv-roi__text { grid-template-columns: 1fr; max-width: 860px; gap: 12px; }

/* Глава «Что настраивается»: четыре карточки 2×2 */
.rv-set { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rv-set__c { padding: 24px 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--rule, #e5e5f0); }
.rv-set__h { display: flex; align-items: center; gap: 12px; }
.rv-set__h i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lime, #ccf75e); color: #12112c; font-style: normal; font-weight: 800; font-size: 14px; }
.rv-set__h b { font-size: 19px; line-height: 1.25; }
.rv-set__c ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rv-set__c li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.55; color: #3a3a52; }
.rv-set__c li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #c5c5d6; }
.rv-set__c li b { color: #12112c; }
.rv-set__fine { margin: 18px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted, #6b6f80); max-width: 860px; }
@media (max-width: 900px) { .rv-set { grid-template-columns: 1fr; } .rv-set__c { padding: 20px; } }

/* 25.11.2026: настройки — текстом. Три исхода — снова карточками (Николай: карточки в меру, где держат смысл) */
.rv-set { gap: 40px 56px; }
.rv-set__c { padding: 18px 0 0; border: 0; border-radius: 0; background: none; border-top: 2px solid #12112c; }
.rv-set__h i { display: none; }
@media (max-width: 900px) { .rv-set { gap: 28px; } .rv-set__c { padding: 16px 0 0; } }
