/* ==========================================================================
   Seohand v2. Внешние страницы (группа site, префикс st-). Концепты design/redizain/gpt2:
   s02 цены, s03 студии, s04 пример разбора, s10 страница работы, s11 каталог инструментов,
   s21 вход, s22 документы, s23 блог, s24 служебные, s25 телефон. Основа: core.css.
   Подключение: {% block stili %}<link rel="stylesheet" href="/static/v2/site.css?v={{ asset_v2 }}">{% endblock %}
   Картинки: /static/v2/img/st-*.webp (gpt-image-2, референс concept_4).

   Общие куски
     .st-geroy (+ __setka, __tekst, __vitrina)  первый экран: кремовый фон, слева текст, справа витрина
     .st-pyatno--1..4                           мягкие пятна за витриной
     .st-forma                                  форма адреса (.pole-adres внутри), .st-fakty строка фактов
     .st-istochniki                             Яндекс, Метрика, Вебмастер словами с точкой
     .st-pom                                    пометка в шапке секции справа (абсолютно)
     .st-sh                                     шапка секции с местом под пометку справа
     .st-karta-ikon                             карточка: значок, заголовок, текст
     .st-ikon (+ --zel --fiolet --koral --oranzh --sin --laym)  квадратный значок 52
     .st-final                                  финальный темный призыв с карточкой и рукой
     .st-voprosy                                частые вопросы: шапка слева или сверху, 2 колонки
     .st-ustr-*                                 содержимое окна продукта (планшет)
   ========================================================================== */

/* --------------------------------------------------------------- первый экран */
.st-geroy {
  position: relative; overflow: hidden; padding: 36px 0 64px;
  background:
    radial-gradient(640px 420px at 80% 30%, rgba(136, 105, 249, .12), transparent 70%),
    radial-gradient(520px 360px at 6% 96%, rgba(161, 240, 36, .09), transparent 70%),
    var(--fon);
}
.st-geroy__setka { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.st-geroy__tekst { position: relative; z-index: 2; }
.st-geroy h1 { font-size: 54px; line-height: 1.04; }
.st-geroy .lid { margin-top: 16px; max-width: 540px; }
.st-kicker { margin-bottom: 18px; }
.st-kicker svg { width: 14px; height: 14px; }
.st-geroy__vitrina { position: relative; min-height: 360px; }
.st-kroshki { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--tiho); margin-bottom: 18px; }
.st-kroshki a { color: var(--tiho); }
.st-kroshki a:hover { color: var(--fiolet); }
.st-kroshki svg { width: 14px; height: 14px; }

.st-pyatno { position: absolute; display: block; z-index: 0; pointer-events: none; border-radius: 40px; }
.st-pyatno--1 { width: 260px; height: 230px; right: 6%; top: 4%; background: #ded6fd; transform: rotate(14deg); opacity: .75; border-radius: 70px; }
.st-pyatno--2 { width: 170px; height: 150px; left: 4%; bottom: 6%; background: #d2f7a4; transform: rotate(-16deg); opacity: .7; }
.st-pyatno--3 { width: 120px; height: 120px; right: 2%; bottom: 10%; background: #e8f9cc; transform: rotate(20deg); opacity: .9; }
.st-pyatno--4 { width: 200px; height: 170px; left: 18%; top: 0; background: #ebe6fe; transform: rotate(-8deg); opacity: .8; border-radius: 60px; }
[data-theme="dark"] .st-pyatno { opacity: .12; }

.st-forma { margin-top: 26px; max-width: 560px; }
.st-forma .pole-podskazka { min-height: 0; }
.st-fakty { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; font-size: 14px; color: var(--tiho); }
.st-fakty i { font-style: normal; }
.st-istochniki { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.st-istochniki li { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 12px;
  background: var(--karta); box-shadow: var(--ten-1); border: 1px solid var(--liniya); font-weight: 700; font-size: 14px; }
.st-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.st-dot--koral { background: #f5484f; }
.st-dot--oranzh { background: #f7a531; }
.st-dot--fiolet { background: var(--fiolet); }
.st-dot--zel { background: #43a02a; }

/* --------------------------------------------------------------- шапки секций и пометки */
.st-sh { position: relative; margin-bottom: 28px; padding-right: 300px; }
.st-sh .lid { margin-top: 8px; max-width: 760px; }
.st-sh h2 { font-size: 34px; }
.st-pom { position: absolute; right: 8px; top: -18px; z-index: 3; }
.st-pom--niz { top: auto; bottom: -24px; }
.pometka.st-pom-vlevo { flex-direction: row-reverse; align-items: flex-end; }

/* --------------------------------------------------------------- значки и карточки со значком */
.st-ikon { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: var(--fiolet-fon); color: var(--fiolet); }
.st-ikon svg { width: 26px; height: 26px; }
.st-ikon--mal { width: 40px; height: 40px; border-radius: 12px; }
.st-ikon--mal svg { width: 20px; height: 20px; }
.st-ikon--krug { border-radius: 50%; }
.st-ikon--zel { background: var(--zel-fon); color: var(--zel-tekst); }
.st-ikon--fiolet { background: var(--fiolet-fon); color: var(--fiolet); }
.st-ikon--koral { background: var(--koral-fon); color: var(--koral-tekst); }
.st-ikon--oranzh { background: var(--oranzh-fon); color: #c26a17; }
.st-ikon--sin { background: var(--kont-fon); color: var(--kont-t); }
.st-ikon--laym { background: var(--laym-fon); color: #3f7d12; }
[data-theme="dark"] .st-ikon--laym { color: #b6f24a; }
[data-theme="dark"] .st-ikon--oranzh { color: #ffc27a; }
.st-karta-ikon { display: flex; gap: 14px; align-items: flex-start; }
.st-karta-ikon h3 { font-size: 16px; line-height: 1.3; }
.st-karta-ikon p { margin-top: 4px; font-size: 14px; color: var(--tiho); line-height: 1.45; }
.st-numer { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  font: 800 16px/1 var(--shrift); background: var(--fiolet-2); color: #fff; flex: none; }
.st-numer--laym { background: var(--laym); color: #141852; }
.st-numer--bol { width: 44px; height: 44px; font-size: 19px; }

/* --------------------------------------------------------------- финальный призыв (темная полоса) */
.st-final { padding: 20px 0 56px; }
.st-final .prizyv { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.st-final h2 { font-size: 36px; }
.st-final .lid { margin-top: 8px; }
.st-final .st-forma { max-width: 640px; margin-top: 22px; }
.st-final .st-fakty { color: #c9cbe6; justify-content: center; max-width: 640px; }
.st-final__ssylki { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 14px; }
.st-final__ssylki a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.st-final__mesto { position: relative; display: flex; justify-content: center; min-height: 230px; align-items: center; }
.st-final__karta { position: relative; z-index: 1; background: #fff; color: #141852; border-radius: 18px; padding: 18px 20px; width: 250px;
  transform: rotate(-5deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); display: flex; flex-direction: column; gap: 6px; }
.st-final__karta > b { font-size: 17px; font-weight: 800; }
.st-final__karta .spisok-galok { gap: 8px; }
.st-final__karta .spisok-galok li { color: #3a3f66; font-size: 13.5px; }
.st-final__dom { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #6b6f89; margin-bottom: 6px; }
.st-final__ruka { position: absolute; z-index: 2; width: 110px; right: 2%; bottom: -10px; }
.st-final__pom { position: absolute; right: -24px; top: -58px; z-index: 3; color: #d9d6ff; }
.st-final__luchi { position: absolute; left: 4%; top: 18%; color: #a1f024; }

/* --------------------------------------------------------------- частые вопросы */
.st-voprosy__setka { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.st-voprosy__lev { position: relative; }
.st-voprosy__lev .lid { margin-top: 10px; }
.st-voprosy__lev .pometka { margin-top: 18px; }
.st-voprosy--verh .st-voprosy__setka { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.st-pochta { margin-top: 10px; color: var(--tiho); font-size: 15px; }
.st-voprosy .raskr__telo ul { margin: 10px 0; }
.st-kn-ryad { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* --------------------------------------------------------------- окно продукта: содержимое */
.st-ustr { position: relative; z-index: 2; grid-template-columns: 136px minmax(0, 1fr); }
.st-ustr--naklon { transform: perspective(1800px) rotateY(-9deg) rotateX(3deg) rotateZ(1deg); transform-origin: 30% 50%; }
.st-ustr__verh { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.st-ustr__zag { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.st-ustr__dom { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; color: var(--tiho); }
.st-ustr__dom svg { width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: #7bd34a; color: #fff; stroke-width: 3.2; }
.st-ustr__vkl { display: flex; gap: 2px; border-bottom: 1px solid var(--liniya); margin: 12px 0; overflow: hidden; }
.st-ustr__vkl > span { position: relative; display: inline-flex; align-items: center; min-height: 32px; padding: 0 9px; font-size: 11.5px; font-weight: 600; color: var(--tiho); white-space: nowrap; }
.st-ustr__vkl > span.on { color: var(--fiolet); }
.st-ustr__vkl > span.on::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--fiolet); }
.st-ustr__tabl { width: 100%; border-collapse: collapse; font-size: 11.5px; table-layout: fixed; }
.st-ustr__tabl th { text-align: left; font-weight: 500; color: var(--tiho); font-size: 10.5px; padding: 5px 6px; background: var(--tablica-shapka); }
.st-ustr__tabl td { padding: 7px 6px; border-top: 1px solid var(--liniya); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-ustr__tabl .chinit, .st-ustr__tabl .vazhn, .st-ustr__tabl .status, .st-ustr__tabl .plashka { min-height: 20px; padding: 2px 7px; font-size: 10px; }
.st-ustr__karta { border: 1px solid var(--liniya); border-radius: 12px; padding: 12px; min-width: 0; display: flex; flex-direction: column; gap: 4px; background: var(--karta); }
.st-ustr__kzag { font-size: 12.5px; font-weight: 700; }
.st-ustr__chislo { font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.st-ustr__chislo small { font-size: 12px; font-weight: 600; color: var(--tiho); letter-spacing: 0; }
.st-ustr__stroki { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.st-skelet { display: block; height: 8px; border-radius: 4px; background: var(--liniya-2); }
.st-skelet--k { width: 45%; }
.st-skelet--s { width: 70%; }
.st-polosa-hod { position: relative; height: 10px; border-radius: 6px; background: var(--liniya); overflow: hidden; margin-top: 8px; }
.st-polosa-hod i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #43c26b, #8fe04c); }
.st-galka-krug { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #62c83a; color: #fff; flex: none; }
.st-galka-krug svg { width: 12px; height: 12px; stroke-width: 3.2; }
.st-galka-krug--bol { width: 24px; height: 24px; }
.st-galka-krug--bol svg { width: 15px; height: 15px; }
.st-krest-krug { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; color: #e5484f; flex: none; }
.st-krest-krug svg { width: 16px; height: 16px; stroke-width: 3; }

/* --------------------------------------------------------------- стикер и пометка у витрины */
.st-stiker { position: absolute; z-index: 4; }
.st-stiker .stiker { max-width: 190px; }
.st-stiker .luchi { position: absolute; right: -34px; top: -22px; }
.st-pom-vitrina { position: absolute; z-index: 4; }

/* ==========================================================================
   s02 Цены (tarify.html), префикс tf-
   ========================================================================== */
.st-tf-vitrina { min-height: 420px; }
.st-tf-geroy__ill { position: absolute; left: -20px; bottom: -64px; width: 400px; z-index: 2; }
.st-tf-plan { position: absolute; right: 150px; top: 70px; z-index: 3; width: 270px; padding: 18px 20px 16px; transform: rotate(-1deg); }
.st-tf-plan__zag { display: block; font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.st-tf-plan__spisok { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--tekst-2); }
.st-tf-plan__spisok li { display: flex; align-items: center; gap: 10px; }
.st-tf-plan__spisok li > span:not(.st-galka-krug) { flex: 1; }
.st-tf-plan__spisok li b { font-size: 13px; color: var(--tekst); }
.st-tf-promo-mini { position: absolute; right: -6px; top: 176px; z-index: 3; width: 170px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.st-tf-promo-mini__cena { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.st-tf-stolbiki { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 8px; }
.st-tf-stolbiki i { flex: 1; border-radius: 4px 4px 1px 1px; background: linear-gradient(#a998fb, #d6cdfd); }
.st-tf-stolbiki i:nth-child(1) { height: 30%; } .st-tf-stolbiki i:nth-child(2) { height: 45%; } .st-tf-stolbiki i:nth-child(3) { height: 60%; }
.st-tf-stolbiki i:nth-child(4) { height: 78%; } .st-tf-stolbiki i:nth-child(5) { height: 100%; background: linear-gradient(#56c26a, #a1f024); }
.st-tf-stiker { right: 10px; top: 0; }
.st-tf-pom-geroy { left: 30%; top: -18px; max-width: 200px; }

.st-tf-besplatno { padding: 30px 32px; }
.st-tf-besplatno__sh { margin-bottom: 22px; }
.st-tf-besplatno__setka { gap: 20px; }
.st-tf-pom-besplatno { top: -12px; }

.st-tf-fayly { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; padding-top: 12px; }
.st-tf-fayl { display: flex; flex-direction: column; gap: 10px; padding: 22px 18px 18px; }
.st-tf-fayl__nazv { font-size: 17px; line-height: 1.25; min-height: 42px; margin-top: 6px; }
.st-tf-fayl__cena { font-size: 26px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.st-tf-fayl__cena s { font-size: 15px; font-weight: 600; color: var(--tiho); }
.st-tf-fayl__koral { color: var(--koral-tekst); }
.st-tf-fayl__spisok { flex: 1; }
.st-tf-fayl .knopka { margin-top: 4px; }
.st-tf-fayl--nabor { background: color-mix(in srgb, var(--laym-fon) 55%, var(--karta)); }

.st-tf-promo { position: relative; overflow: hidden; display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 18px 40px 18px 28px; border-radius: var(--r4); background: linear-gradient(100deg, #ecebfd, #f3f1fe 60%, #eef9e2); }
[data-theme="dark"] .st-tf-promo { background: linear-gradient(100deg, #1e1f55, #221f5a 60%, #1c2f24); }
.st-tf-promo__ris { position: relative; display: flex; align-items: flex-end; min-height: 150px; }
.st-tf-promo__ris .ill { width: 170px; margin-bottom: -18px; }
.st-tf-pom-promo { position: absolute; right: -20px; top: 4px; }
.st-tf-promo__tekst { border-left: 1px solid var(--liniya-2); padding-left: 28px; }
.st-tf-promo__tekst h2 { font-size: 28px; }
.st-tf-promo__cena { color: var(--koral-tekst); }
.st-tf-promo__tekst p { margin-top: 8px; color: var(--tiho); font-size: 15px; max-width: 560px; }
.st-tf-promo__kn { position: relative; z-index: 1; }

.st-tf-kredity { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-top: 12px; }
.st-tf-kr { padding: 22px 18px 18px; }
.st-tf-kr .tarif__cena { font-size: 26px; }

.st-tf-studii { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.st-tf-studii__sh { padding-right: 0; }
.st-tf-studii__karty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 12px; }
.st-tf-studii__karty .tarif { padding: 22px 18px 18px; }
.st-tf-studii__karty .tarif__cena { font-size: 26px; }
.st-tf-studii__ris { position: relative; display: flex; flex-direction: column; align-items: center; }
.st-tf-studii__ris .ill { width: 260px; position: relative; z-index: 1; }
.st-tf-studii__karta { position: absolute; right: -8px; bottom: 30px; z-index: 2; padding: 14px 16px; width: 210px; }
.st-tf-pom-studii { align-self: flex-end; margin-right: 10px; }

.st-tf-sravn { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; align-items: center; }
.st-tf-sravn .st-sh { padding-right: 0; }
.st-tf-sravn__tabl .tablica th[scope="row"] { background: transparent; color: var(--tekst); font-weight: 600; font-size: 14px; white-space: normal; }
.st-tf-sravn__tabl .tablica td { font-size: 13.5px; color: var(--tekst-2); }
.st-tf-sravn__tabl .tablica td .tablica__galka { vertical-align: middle; }
.st-tf-sravn__ris { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--rukopis); }
.st-tf-sravn__ris .stiker { font-size: 26px; padding: 20px 22px; max-width: 190px; }
.st-tf-sravn__ris .pometka__str { width: 60px; height: 50px; }

/* ==========================================================================
   s03 Для веб-студий (studii.html), префикс sd-
   ========================================================================== */
.st-sd-geroy h1 { font-size: 52px; }
.st-sd-geroy__ssylki { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.st-sd-geroy__ssylki a { display: inline-flex; align-items: center; gap: 8px; color: var(--tekst); min-height: 32px; }
.st-sd-geroy__ssylki a:hover { color: var(--fiolet); }
.st-sd-play { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: var(--fiolet-fon); color: var(--fiolet); }
.st-sd-vitrina { min-height: 470px; }
.st-sd-ustr { position: absolute; right: -40px; top: 30px; width: 640px; transform: perspective(1800px) rotateY(-8deg) rotateX(4deg) rotateZ(2deg); }
.st-sd-ustr__tabl td:first-child, .st-sd-ustr__tabl th:first-child { width: 40%; }
.st-sd-ustr__tabl td { padding: 11px 6px; }
.st-sd-ustr { top: 10px; }
.st-sd-ustr .st-ustr__verh { margin-bottom: 12px; align-items: center; }
.st-sd-otchet-list { position: absolute; left: 40px; bottom: -10px; z-index: 3; width: 200px; background: var(--karta); border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--ten-2); transform: rotate(-6deg); display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--liniya); }
.st-sd-otchet-list b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.st-sd-otchet-list__studiya { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--fiolet); }
.st-sd-otchet-list__graf { display: block; margin-top: 6px; height: 56px; overflow: hidden; }
.st-sd-otchet-list__graf svg, .st-sd-razvorot__graf svg { width: 100%; height: auto; display: block; }
.st-sd-pom-geroy { right: 30px; top: -24px; }
.st-sd-pom-blank { right: 0; bottom: 20px; }
.st-sd-rastenie { position: absolute; left: 0; bottom: 30px; width: 140px; z-index: 3; }
.st-sd-otchet-list { left: 150px; bottom: -20px; }
.st-sd-otchet-list--pod { left: 190px; bottom: -6px; z-index: 2; transform: rotate(4deg); height: 200px; opacity: .95; background: #f4f2fe; }
.st-sd-otchet-list--pod b { visibility: hidden; }

.st-sd-shagi { gap: 18px; }
.st-sd-shag { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.st-sd-shag h3 { font-size: 16px; line-height: 1.3; }
.st-sd-shag p { font-size: 14px; color: var(--tiho); line-height: 1.45; }
.st-sd-shag__ris { height: 110px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--fon-sir); }
.st-sd-shag__ris .ill { max-height: 96px; width: auto; }
.st-sd-shag__ris--pole span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 44px 0 14px; border-radius: 10px; background: var(--karta);
  border: 1px solid var(--liniya-2); font-size: 14px; color: var(--tiho); box-shadow: var(--ten-1); }
.st-sd-shag__ris--pole i { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: #62c83a; color: #fff; align-items: center; justify-content: center; margin-left: -38px; }
.st-sd-shag__ris--svyaz { flex-direction: column; gap: 8px; }
.st-sd-shag__ris--svyaz span { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 10px; background: var(--karta);
  box-shadow: var(--ten-1); font-weight: 700; font-size: 13px; }

.st-sd-otchet { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.st-sd-otchet__vid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; background: var(--karta);
  border-radius: 20px; box-shadow: var(--ten-2); border: 1px solid var(--liniya); transform: rotate(-1.5deg); }
.st-sd-oblozhka { padding: 22px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--liniya); }
.st-sd-oblozhka__zag { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.st-sd-oblozhka__ill { width: 100%; max-width: 240px; margin: 10px 0 6px; }
.st-sd-oblozhka__itog { font-size: 13px; color: var(--tiho); }
.st-sd-oblozhka__itog b { color: var(--zel-tekst); font-size: 15px; display: block; }
.st-sd-razvorot { padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.st-sd-razvorot__graf { border: 1px solid var(--liniya); border-radius: 12px; padding: 10px; }
.st-sd-razvorot__tabl td:first-child, .st-sd-razvorot__tabl th:first-child { width: 46%; }
.st-sd-otchet__spisok { display: flex; flex-direction: column; gap: 12px; }
.st-sd-otchet__spisok .kartochka { padding: 16px 18px; }

.st-sd-zachem .kartochka { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.st-sd-zachem__ris { height: 170px; display: flex; align-items: flex-end; justify-content: center; border-radius: 14px; background: var(--fon-sir); overflow: hidden; margin-bottom: 8px; }
.st-sd-zachem__ris .ill { max-height: 164px; width: auto; }
.st-sd-zachem h3 { font-size: 16px; }
.st-sd-zachem p { font-size: 14px; color: var(--tiho); line-height: 1.45; }

.st-sd-razbor { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.st-sd-razbor__tekst h2 { font-size: 34px; }
.st-sd-razbor__tekst .lid { margin-top: 10px; }
.st-sd-razbor__galki { margin-top: 20px; }
.st-sd-pom-razbor { margin-top: 16px; margin-left: auto; display: flex; }
.st-sd-razbor__tabl { padding: 20px; }
.st-sd-razbor__tabl .tablica .chinit, .st-sd-razbor__tabl .tablica .vazhn { font-size: 11.5px; min-height: 22px; padding: 2px 9px; }
.st-sd-razbor__podp { margin-top: 10px; }

.st-sd-vhodit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; }
.st-sd-vhodit__karta { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.st-sd-vhodit__zag { display: flex; align-items: center; gap: 12px; }
.st-sd-vhodit__zag h3 { font-size: 17px; }
.st-sd-vhodit__fayly { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.st-sd-vhodit__fayly span { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--fon-sir); font-size: 13.5px; font-weight: 600; color: var(--tekst); }
.st-sd-vhodit__fayly svg { color: var(--fiolet); flex: none; }

.st-sd-tarify { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; padding-top: 12px; }
/* столбики отчета за год (svg из studiya.svg_stolbiki: классы sb-*) */
.st-sd-graf .sb-bar { fill: #cfc5fd; }
.st-sd-graf .sb-prev { fill: #9d8bfa; }
.st-sd-graf .sb-now { fill: #43b86a; }
.st-sd-graf .sb-fon { fill: #e3f6e8; }
.st-sd-graf .sb-setka { stroke: var(--liniya); stroke-width: 1; }
.st-sd-graf .sb-os, .st-sd-graf .sb-mes { fill: var(--tiho); font: 500 9px var(--shrift); }
.st-sd-graf .sb-zn { fill: var(--tekst); font: 700 10px var(--shrift); }
.st-sd-graf .sb-zn-now, .st-sd-graf .sb-mes-now { fill: var(--zel-tekst); font-weight: 800; }
[data-theme="dark"] .st-sd-graf .sb-bar { fill: #4b3f9e; }
[data-theme="dark"] .st-sd-graf .sb-fon { fill: #173a26; }

/* ==========================================================================
   s04 Пример разбора (primer.html), префикс pr-
   ========================================================================== */
.st-pr-geroy h1 { font-size: 52px; }
.st-pr-geroy h1 .akcent { display: block; }
.st-pr-fakty { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.st-pr-fakt { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; }
.st-pr-fakt b { display: block; font-size: 16px; }
.st-pr-geroy__kn { margin-top: 22px; }
.st-pr-vitrina { min-height: 440px; }
.st-pr-ustr { position: absolute; left: -10px; top: 56px; width: 520px; transform: perspective(1800px) rotateY(-7deg) rotateX(3deg); }
.st-pr-ustr__dolya { margin-top: 10px; }
.st-pr-hod { display: flex; align-items: center; gap: 12px; }
.st-pr-hod .st-polosa-hod { flex: 1; margin-top: 0; }
.st-pr-telefon { position: absolute; right: -10px; top: 0; z-index: 3; width: 190px; height: 360px; border-radius: 28px; background: var(--karta);
  border: 8px solid #20244f; box-shadow: var(--ten-2); padding: 18px 14px; display: flex; flex-direction: column; gap: 9px; transform: rotate(6deg); }
.st-pr-telefon__dom { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.st-pr-telefon__foto { display: block; height: 110px; border-radius: 12px; background: linear-gradient(135deg, #e6e1fd, #d6f5c0); margin: 4px 0; }
.st-pr-telefon__kn { display: block; height: 30px; border-radius: 10px; background: var(--fiolet-fon); margin-top: auto; }
.st-pr-stiker { right: 110px; bottom: 10px; }
.st-pr-stiker .stiker { font-size: 20px; max-width: 170px; }
.st-pr-pom-geroy { left: 18%; top: -14px; }

.st-pr-dela { display: flex; flex-direction: column; gap: 12px; }
.st-pr-delo { display: grid; grid-template-columns: 44px 40px minmax(0, 1fr) 130px 170px 110px; gap: 18px; align-items: center; padding: 16px 22px; }
.st-pr-delo__tekst h3 { font-size: 16px; }
.st-pr-delo__tekst p { margin-top: 3px; font-size: 13.5px; color: var(--tiho); }
.st-pr-delo__rabota { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 500; border-left: 1px solid var(--liniya); padding-left: 16px; min-height: 38px; justify-content: center; }
.st-pr-delo__kto, .st-pr-delo__vazhn { display: flex; justify-content: center; }
.st-pr-dela__podp { margin-top: 16px; max-width: 760px; }

.st-pr-zaprosy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) 220px; gap: 36px; align-items: center; }
.st-pr-zaprosy__tekst .lid { margin-top: 12px; }
.st-pr-zaprosy__kn { margin-top: 22px; }
.st-pr-zaprosy__tabl { padding: 10px 14px; }
.st-pr-zaprosy__tabl .tablica th { background: transparent; }
.st-pr-zaprosy__ris { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.st-pr-zaprosy__ris .ill { width: 170px; }

.st-pr-per { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, .75fr); gap: 28px; align-items: center; }
.st-pr-per__tekst .lid { margin-top: 12px; }
.st-pr-per__chisla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.st-pr-per__chislo { display: flex; flex-direction: column; gap: 2px; padding: 14px; }
.st-pr-per__chislo .st-ikon { margin-bottom: 8px; }
.st-pr-per__chislo b { font-size: 26px; font-weight: 800; line-height: 1.1; }
.st-pr-per__kn { margin-top: 22px; }
.st-pr-per__shema { position: relative; height: 320px; border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(136, 105, 249, .14), transparent 62%); }
.st-pr-per__linii { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-pr-per__linii path { stroke: #7bd34a; stroke-width: 2; stroke-dasharray: 6 6; fill: none; }
.st-pr-uzel { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 14px;
  background: var(--karta); box-shadow: var(--ten-2); border: 1px solid var(--liniya); color: var(--fiolet); max-width: 150px; text-align: center; }
.st-pr-uzel small { font-size: 11px; color: var(--tekst-2); line-height: 1.25; word-break: break-all; }
.st-pr-uzel--centr { left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--tekst); padding: 16px 18px; }
.st-pr-uzel--centr b { font-size: 16px; }
.st-pr-uzel--1 { left: 2%; top: 6%; } .st-pr-uzel--2 { right: 2%; top: 6%; }
.st-pr-uzel--3 { left: 2%; bottom: 6%; } .st-pr-uzel--4 { right: 2%; bottom: 6%; }
.st-pr-uzel--sirota { color: var(--koral-tekst); }
.st-pr-per__stroka { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.st-pr-per__polya { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.st-pr-per__polya li { display: flex; gap: 10px; align-items: flex-start; }
.st-pr-per__polya i { display: block; font-style: normal; font-size: 12px; color: var(--tiho); }
.st-pr-per__polya span:not(.st-galka-krug) { word-break: break-word; min-width: 0; }
.st-pr-pom-per { position: absolute; right: 0; top: -70px; }

.st-pr-ist { padding: 22px; }
.st-pr-ist__ikon { width: 60px; height: 60px; }
.st-pr-ist__ikon--1 { background: #bff3d4; color: #0b7a52; }
.st-pr-ist__ikon--2 { background: #f25b62; color: #fff; }
.st-pr-ist__ikon--3 { background: #6053f0; color: #fff; }
.st-pr-ist h3 { font-size: 17px; }

.st-pr-kl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.st-pr-kl__tekst .lid { margin-top: 12px; }
.st-pr-kl__galki { margin: 20px 0 24px; }
.st-pr-kl__list { position: relative; display: flex; justify-content: center; padding-top: 40px; }
.st-pr-kl__oblozhka { width: 230px; display: flex; flex-direction: column; gap: 4px; transform: rotate(-4deg); padding: 18px; }
.st-pr-kl__oblozhka b { font-size: 20px; font-weight: 800; }
.st-pr-kl__foto { display: block; height: 110px; border-radius: 12px; background: linear-gradient(135deg, #e6e1fd, #d6f5c0); margin: 8px 0; }
.st-pr-pom-kl { position: absolute; right: -30px; top: -40px; }
.st-pr-kl__spisok { display: flex; flex-direction: column; gap: 0; padding: 8px 18px; }
.st-pr-kl__spisok li { display: flex; gap: 14px; align-items: center; padding: 14px 0; font-size: 14.5px; color: var(--tekst-2); }
.st-pr-kl__spisok li + li { border-top: 1px solid var(--liniya); }

/* ==========================================================================
   s11 Каталог инструментов (rabota_index.html), префикс ri-
   ========================================================================== */
[hidden].st-ri-karta, [hidden].st-ri-gruppa, [hidden].st-ri-otbor, [hidden].st-ri-pusto, [hidden].strip-v2 { display: none !important; }
.st-ri-geroy h1 { font-size: 54px; }
.st-ri-otbor { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.st-ri-otbor__metki { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.st-ri-otbor .metka, .st-ri-razdely > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: var(--r-krug);
  border: 1px solid var(--liniya-2); background: var(--karta); color: var(--tekst); font: 600 15px/1 var(--shrift); cursor: pointer;
  box-shadow: var(--ten-1); list-style: none; }
.st-ri-razdely > summary::-webkit-details-marker { display: none; }
.st-ri-otbor .metka.on { background: var(--fiolet); border-color: var(--fiolet); color: #fff; }
[data-theme="dark"] .st-ri-otbor .metka.on { background: #664cf3; }
.st-ri-razdely { position: relative; }
.st-ri-razdely[open] > summary svg { transform: rotate(180deg); }
.st-ri-razdely__telo { position: absolute; z-index: 20; left: 0; top: calc(100% + 8px); width: 320px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  background: var(--karta); border: 1px solid var(--liniya); border-radius: 16px; box-shadow: var(--ten-2); padding: 12px; }
.st-ri-razdely__telo .metka { min-height: 40px; font-size: 14px; box-shadow: none; text-align: left; }
.st-ri-poisk { max-width: 460px; }
.st-ri-poisk .pole { min-height: 46px; border-radius: 14px; }
.st-ri-otbor__schet:empty { display: none; }
.st-ri-fakty { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--tekst-2); }
.st-ri-fakty li { display: inline-flex; align-items: center; gap: 8px; }
.st-ri-vitrina { min-height: 400px; }
.st-ri-ustr { position: absolute; right: -20px; top: 50px; width: 600px; }
.st-ri-ustr__poisk { display: flex; align-items: center; gap: 8px; margin: 12px 0 10px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--liniya); font-size: 11.5px; color: var(--tiho); }
.st-ri-ustr__metki { display: flex; gap: 6px; margin-bottom: 10px; }
.st-ri-ustr__metki span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--liniya); font-size: 11px; font-weight: 600; }
.st-ri-ustr__metki span.on { background: var(--fiolet); border-color: var(--fiolet); color: #fff; }
.st-ri-ustr__spisok { display: flex; flex-direction: column; }
.st-ri-ustr__spisok li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--liniya); }
.st-ri-ustr__spisok b { display: block; font-size: 12.5px; }
.st-ri-ustr__spisok small { display: block; font-size: 10.5px; color: var(--tiho); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-ri-ustr__spisok .plashka { min-height: 22px; font-size: 10.5px; padding: 2px 9px; }
.st-ri-stiker { right: 0; top: -4px; }
.st-ri-pom-geroy { left: 26%; top: -12px; }

.st-ri-katalog { display: flex; flex-direction: column; gap: 34px; }
.st-ri-gruppa__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.st-ri-gruppa__t { font-size: 20px; }
.st-ri-setka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
a.st-ri-karta { display: flex; flex-direction: column; gap: 14px; padding: 20px; color: var(--tekst); text-decoration: none; transition: box-shadow .15s, transform .15s, border-color .15s; }
a.st-ri-karta:hover { text-decoration: none; box-shadow: var(--ten-2); border-color: var(--fiolet-fon-2); transform: translateY(-2px); }
.st-ri-karta__verh { display: flex; gap: 14px; align-items: flex-start; }
.st-ri-karta__tekst b { display: block; font-size: 17px; line-height: 1.25; }
.st-ri-karta__tekst i { display: block; margin-top: 4px; font-style: normal; font-size: 13.5px; color: var(--tiho); line-height: 1.4; }
.st-ri-karta__metki { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.st-ri-karta__kn { pointer-events: none; }
.st-ri-pusto { margin-top: 18px; }

.st-ri-start { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: center;
  padding: 36px; border-radius: 28px; background: linear-gradient(120deg, #f4f2fe, #f2fbe8); }
[data-theme="dark"] .st-ri-start { background: linear-gradient(120deg, #1b1d4c, #172a22); }
.st-ri-start__tekst .lid { margin-top: 8px; }
.st-ri-start__setka { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 22px; align-items: start; }
.st-ri-start__karta { display: flex; flex-direction: column; gap: 12px; }
.st-ri-start__zag { display: flex; gap: 14px; align-items: center; }
.st-ri-start__zag .zag-3 { display: block; margin-bottom: 6px; }
.st-ri-start__shagi { display: flex; flex-direction: column; gap: 16px; }
.st-ri-start__shagi li { display: flex; gap: 12px; align-items: flex-start; }
.st-ri-start__shagi b { font-size: 15px; }
.st-ri-start__shagi p { font-size: 13.5px; color: var(--tiho); margin-top: 2px; }
.st-ri-start__vid { position: relative; }
.st-ri-start__list { padding: 20px; transform: rotate(1deg); }
.st-ri-start__stroki { display: flex; flex-direction: column; }
.st-ri-start__stroki li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--liniya); font-size: 13px; }
.st-ri-start__stroki b { font-size: 12px; font-weight: 600; color: var(--tiho); text-align: right; }
.st-ri-start__ssylka { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--fiolet); }
.st-ri-stiker2 { right: -16px; top: -54px; }

.st-ri-platyat { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
a.st-ri-plat { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; }
.st-ri-plat .st-ikon { margin-bottom: 6px; }
.st-ri-plat__cena { margin-top: auto; padding-top: 8px; font-size: 22px; font-weight: 800; color: var(--tekst); }
.st-ri-plat__cena small { display: block; font-size: 12.5px; font-weight: 500; color: var(--tiho); }

/* ==========================================================================
   s10 Страница работы и инструмента (work.html, _st_instr.html), префикс wk-
   ========================================================================== */
.st-wk-geroy h1 { font-size: 52px; }
.st-wk-vitrina { min-height: 420px; display: flex; align-items: center; }
.st-wk-chto__karta .st-ikon { width: 64px; height: 64px; }
.st-wk-chto__karta .st-ikon svg { width: 30px; height: 30px; }
.st-wk-ustr { position: relative; width: calc(100% + 40px); margin-right: -40px; transform: perspective(1800px) rotateY(-7deg) rotateX(3deg) rotateZ(1deg); }
.st-wk-ustr__tabl td { white-space: nowrap; }
.st-wk-ustr__tabl td.st-wk-ustr__st, .st-wk-ustr__tabl th.st-wk-ustr__st { width: 76px; text-align: center; }
.st-wk-ustr__itog { margin-top: 10px; }
.st-wk-stiker { right: -6px; top: -20px; }
.st-wk-pom-geroy { left: 20%; top: -34px; }

.st-wk-cena-karta { margin-top: 22px; max-width: 360px; display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.st-wk-cena-karta__cena { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.st-wk-cena-karta__srok { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tiho); }
.st-wk-cena-karta__forma { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.st-wk-cena-karta__forma .pole-podskazka { margin-top: -4px; min-height: 0; }
.st-wk-cena-stroka { margin-top: 12px; font-size: 14px; color: var(--tiho); max-width: 560px; }
.st-wk-cena-stroka b { color: var(--tekst); }

.st-wk-instr { margin-top: 22px; padding: 22px; max-width: 580px; }
.st-wk-forma { display: flex; flex-direction: column; gap: 10px; }
.st-wk-pole { font-size: 15px; }
textarea.st-wk-pole { min-height: 150px; }
.st-wk-pole--mal { min-height: 80px; }
.st-wk-dop { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 16px; align-items: end; }
.st-wk-dop__k { margin-bottom: 0; align-self: end; }
.st-wk-dop__p { display: flex; flex-direction: column; gap: 4px; }
.st-wk-knopki { display: flex; flex-wrap: wrap; gap: 6px; }
.st-wk-knopka { position: relative; cursor: pointer; }
.st-wk-knopka input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-wk-knopka span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--liniya-2);
  background: var(--karta); font-size: 14px; font-weight: 600; }
.st-wk-knopka input:checked + span { background: var(--fiolet); border-color: var(--fiolet); color: #fff; }
.st-wk-knopka input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--fiolet) 55%, transparent); }
.st-wk-forma__niz { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.st-wk-fayl { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.st-wk-fayl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-wk-fayl input:focus-visible + .knopka { outline: 3px solid color-mix(in srgb, var(--fiolet) 55%, transparent); }
.st-wk-otpravka.beda { background: var(--v1-fon); }
.st-wk-obem { margin-top: 2px; }

.st-wk-idet { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.st-wk-idet__verh { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.st-wk-feed { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow-y: auto; font-size: 14px; }
.st-wk-feed li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 6px 0; border-top: 1px solid var(--liniya); }
.st-wk-feed .feed-t { color: var(--tiho); font-variant-numeric: tabular-nums; }
.st-wk-otkaz { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border-color: var(--v1-fon); }
.st-wk-otkaz__t { font-size: 22px; font-weight: 800; line-height: 1.25; }
.st-wk-rez { display: flex; flex-direction: column; gap: 16px; }
.st-wk-rez__itog { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.st-wk-rez__t { font-size: 20px; font-weight: 800; }
.st-wk-rez__upr { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.st-wk-rez__poisk { flex: 1 1 260px; max-width: 420px; }
.st-wk-rez__tabl { max-height: 640px; overflow: auto; }
.st-wk-rez__tabl th { position: sticky; top: 0; z-index: 1; }
.st-wk-kod { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.st-wk-kod--2 { background: var(--v3-fon); color: var(--v3-t); }
.st-wk-kod--3 { background: var(--v2-fon); color: var(--v2-t); }
.st-wk-kod--4, .st-wk-kod--5 { background: var(--v1-fon); color: var(--v1-t); }
.st-wk-zamok { align-items: center; flex-wrap: wrap; }
.st-wk-zamok > div { flex: 1 1 280px; }
.st-wk-zamok p { margin-top: 2px; font-size: 14px; color: var(--tekst-2); }
.st-wk-proekt { display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.st-wk-proekt__forma { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.st-wk-proekt__forma .pole { width: auto; min-width: 220px; min-height: 42px; padding: 8px 40px 8px 12px; }
.st-wk-dalshe { display: flex; flex-direction: column; gap: 10px; }

.st-wk-chto--s-kartoy { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.st-wk-chto__setka { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.st-wk-chto__karta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 18px; }
.st-wk-chto__karta .st-ikon { margin-bottom: 4px; }
.st-wk-chto__karta h3 { font-size: 16px; }
.st-wk-chto__karta p { font-size: 13.5px; color: var(--tiho); line-height: 1.45; }
.st-wk-chto__vhodit { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.st-wk-chto__vhodit .zag-4 { display: flex; align-items: center; gap: 8px; }
.st-wk-chto__vhodit .zag-4 svg { color: var(--fiolet); }
.st-wk-galki { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: var(--tekst-2); }
.st-wk-galki li { display: flex; gap: 10px; align-items: flex-start; }
.st-wk-galki li > span:not(.st-galka-krug):not(.st-krest-krug) { padding-top: 1px; }
.st-wk-galki--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }

.st-wk-shema--s-kartoy { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.st-wk-shema__potok { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.st-wk-shema__potok li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.st-wk-shema__potok li + li::before { content: ""; position: absolute; left: -22px; top: 22px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23664cf3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat; }
.st-wk-shema__potok b { font-size: 15px; }
.st-wk-shema__potok p { font-size: 13px; color: var(--tiho); line-height: 1.45; }
.st-wk-shema__karta { display: flex; flex-direction: column; gap: 12px; padding: 20px; }

.st-wk-dopo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 12px; align-items: center; margin-bottom: 14px; }
.st-wk-dopo__karta { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.st-wk-dopo__karta--stalo { border: 2px solid #a8e36b; background: color-mix(in srgb, var(--laym-fon) 45%, var(--karta)); }
.st-wk-dopo__karta .plashka { align-self: flex-start; }
.st-wk-dopo__dl { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 6px 12px; font-size: 14px; }
.st-wk-dopo__dl dt { color: var(--tiho); }
.st-wk-dopo__str { color: var(--fiolet); display: flex; justify-content: center; }
.st-wk-dopo__stiker { right: -10px; top: -46px; }
.st-wk-dopo__stiker .stiker { font-size: 20px; max-width: 150px; }

.st-wk-spros { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px 28px; }
.st-wk-spros__itog { display: flex; flex-direction: column; gap: 4px; }
.st-wk-spros__itog .st-dot { width: 8px; height: 8px; }
.st-wk-spros__stolb { display: flex; flex-direction: column; gap: 12px; }
.st-wk-spros__stolb li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 70px; gap: 16px; align-items: center; font-size: 14px; }
.st-wk-spros__stolb i { display: block; height: 10px; border-radius: 6px; background: var(--liniya); overflow: hidden; }
.st-wk-spros__stolb i b { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #43c26b, #7ee29a); }
.st-wk-spros__stolb em { font-style: normal; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

.st-wk-komu { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.st-wk-komu--odna { grid-template-columns: minmax(0, 1fr); }
.st-wk-komu .st-sh { padding-right: 0; margin-bottom: 16px; }
.st-wk-komu__karta { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px; }
.st-wk-komu__ris { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.st-wk-komu__ris .ill { max-width: 150px; }
.st-wk-komu__net { padding: 22px; background: color-mix(in srgb, var(--koral-fon) 45%, var(--karta)); border-color: var(--v1-fon); }

.st-wk-cena { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.st-wk-cena__karta { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 20px; align-items: start; }
.st-wk-cena__ikon { width: 72px; height: 72px; border-radius: 22px; }
.st-wk-cena__telo { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.st-wk-cena__chislo { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.st-wk-cena__luchi { position: absolute; left: 24px; bottom: 24px; }
.st-wk-cena__net { position: relative; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 26px 26px 150px; background: var(--fon-sir); border: 0; box-shadow: none; }
.st-wk-cena__ill { position: absolute; right: 16px; bottom: 12px; width: 200px; }
.st-wk-pom-cena { position: absolute; right: 12px; top: -46px; }

.st-wk-tekst { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.st-wk-tekst__bok { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }

.st-wk-drugie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-wk-drugaya { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.st-wk-drugaya .knopka { align-self: stretch; }
.st-wk-drugaya__verh { display: flex; gap: 14px; align-items: flex-start; }
.st-wk-drugaya__cena { display: block; font-size: 22px; font-weight: 800; margin-top: 2px; }
.st-wk-dalshe-ssylki { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.st-wk-dalshe-ssylki__setka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
a.st-wk-dalshe-ssylka { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
.st-wk-dalshe-ssylka b { font-size: 14.5px; color: var(--tekst); }
.st-wk-dalshe-ssylka span { font-size: 13px; color: var(--tiho); line-height: 1.4; }
.st-wk-podelit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }

/* --------------------------------------------------------------- текст документа и статьи */
.st-doc { padding: 32px 36px; font-size: 16px; line-height: 1.65; color: var(--tekst-2); }
.st-doc h2 { font-size: 24px; line-height: 1.25; margin: 28px 0 10px; color: var(--tekst); scroll-margin-top: 90px; }
.st-doc h2:first-child { margin-top: 0; }
.st-doc h3 { font-size: 18px; margin: 20px 0 8px; scroll-margin-top: 90px; }
.st-doc p + p { margin-top: 12px; }
.st-doc ul, .st-doc ol { margin: 12px 0; padding-left: 22px; }
.st-doc ul { list-style: disc; }
.st-doc ol { list-style: decimal; }
.st-doc li + li { margin-top: 6px; }
.st-doc li::marker { color: var(--fiolet); }
.st-doc a { text-decoration: underline; text-underline-offset: 3px; }
.st-doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; display: block; overflow-x: auto; }
.st-doc th, .st-doc td { border: 1px solid var(--liniya); padding: 8px 10px; text-align: left; vertical-align: top; }
.st-doc th { background: var(--tablica-shapka); font-weight: 600; }
.st-doc img { border-radius: 14px; margin: 16px 0; max-width: 100%; height: auto; }
.st-doc blockquote { margin: 16px 0; padding: 12px 18px; border-left: 4px solid var(--fiolet); background: var(--fon-sir); border-radius: 0 12px 12px 0; }
.st-doc code { font-size: .92em; background: var(--fon-sir); padding: 1px 6px; border-radius: 6px; }
.st-doc pre { overflow-x: auto; background: var(--fon-sir); padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.st-toc { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; }
.st-toc ul { display: flex; flex-direction: column; gap: 2px; }
.st-toc a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; color: var(--tekst-2); font-size: 14px; line-height: 1.35; }
.st-toc a:hover, .st-toc a.on { background: var(--fiolet-fon); color: var(--fiolet); text-decoration: none; }

/* ==========================================================================
   s21 Вход, регистрация, пароль (login, register, zabyl, parol, _st_vhod.html), префикс vh-
   ========================================================================== */
.st-vh-ekran { position: relative; overflow: hidden; padding: 40px 0 56px;
  background: radial-gradient(620px 420px at 86% 30%, rgba(136, 105, 249, .12), transparent 70%),
              radial-gradient(520px 360px at 8% 90%, rgba(161, 240, 36, .08), transparent 70%), var(--fon); }
.st-vh-setka { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.st-vh-lev { position: relative; padding-top: 10px; }
.st-vh-lev h1 { font-size: 60px; line-height: 1.02; }
.st-vh-lev h1 .akcent { display: block; }
.st-vh-lev .lid { margin-top: 16px; font-size: 19px; color: var(--tekst-2); }
.st-vh-punkty { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.st-vh-punkty li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--tekst-2); }
.st-vh-punkty .st-ikon { box-shadow: var(--ten-1); background-color: var(--karta); }
.st-vh-pom { margin-top: 26px; }
.st-vh-forma-karta { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 16px; padding: 28px 30px; border-radius: 24px; }
.st-vh-forma-karta__zag { display: flex; align-items: center; gap: 14px; }
.st-vh-vkladki { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border-radius: 14px; background: var(--fon-sir); border: 1px solid var(--liniya); }
.st-vh-vkladki a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 10px; font-weight: 600; color: var(--tekst); }
.st-vh-vkladki a:hover { text-decoration: none; background: var(--karta); }
.st-vh-vkladki a.on { background: var(--fiolet); color: #fff; box-shadow: var(--ten-fiolet); }
[data-theme="dark"] .st-vh-vkladki a.on { background: #664cf3; }
.st-vh-forma { display: flex; flex-direction: column; gap: 6px; }
.st-vh-forma .pole-podpis { margin: 8px 0 2px; }
.st-vh-forma > .knopka { margin-top: 12px; }
.st-vh-pole { position: relative; display: block; }
.st-vh-pole__ikon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--tiho); display: flex; pointer-events: none; }
.st-vh-pole .pole { padding-left: 46px; min-height: 52px; }
.st-vh-zabyl { text-align: right; font-size: 14px; margin-top: 4px; }
.st-vh-zabyl a { text-decoration: underline; text-underline-offset: 3px; }
.st-vh-err { font-size: 14px; }
.st-vh-ili { display: flex; align-items: center; gap: 12px; color: var(--tiho); font-size: 14px; }
.st-vh-ili::before, .st-vh-ili::after { content: ""; flex: 1; height: 1px; background: var(--liniya); }
.st-vh-oauth { display: flex; flex-direction: column; gap: 8px; }
.st-vh-oauth .knopka { min-height: 52px; font-size: 16px; }
.st-vh-oauth__podp { margin-top: -6px; }
.st-vh-niz-stroka { text-align: center; color: var(--tiho); }
.st-vh-niz-stroka a { text-decoration: underline; text-underline-offset: 3px; }
.st-vh-nazad a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.st-vh-rol { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.st-vh-rol__k { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--liniya-2); cursor: pointer; background: var(--karta); }
.st-vh-rol__k:has(input:checked) { border-color: var(--fiolet); background: var(--fiolet-fon); }
.st-vh-rol__k input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--fiolet); flex: none; }
.st-vh-rol__k b { display: block; font-size: 15px; }
.st-vh-rol__k i { display: block; font-style: normal; font-size: 13px; color: var(--tiho); margin-top: 2px; line-height: 1.4; }
.st-vh-soglasie { align-items: flex-start; margin-top: 10px; font-size: 13.5px; line-height: 1.45; }
.st-vh-soglasie input { margin-top: 1px; flex: none; }

.st-vh-prav { position: relative; min-height: 520px; }
.st-vh-karta { position: absolute; z-index: 2; padding: 18px 20px; }
.st-vh-karta__zag { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.st-vh-karta--razbor { left: -24px; top: 70px; width: 224px; transform: rotate(3deg); z-index: 3; }
.st-vh-karta__spisok { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.st-vh-karta__spisok li { display: flex; align-items: center; gap: 12px; }
.st-vh-karta__spisok .st-galka-krug { background: #7bd34a; border-radius: 7px; }
.st-vh-karta__spisok .st-skelet { flex: 1; height: 9px; }
.st-vh-karta--zadachi { right: -70px; top: 116px; width: 250px; transform: rotate(5deg); z-index: 2; }
.st-vh-karta__zadachi { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.st-vh-karta__zadachi li { display: flex; align-items: center; gap: 10px; }
.st-vh-karta__zadachi .chinit { flex: none; font-size: 12px; }
.st-vh-karta__zadachi .st-skelet { flex: 1; }
.st-vh-karta--lampa { left: 20px; top: 380px; width: 250px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--tekst-2); transform: rotate(-4deg); }
.st-vh-lampa { color: #e0a800; display: flex; }
.st-vh-stiker { right: -50px; top: -24px; }
.st-vh-pom-plan { position: absolute; left: 20px; top: -6px; z-index: 3; }
.st-vh-pom-kto { position: absolute; right: -60px; top: 400px; z-index: 3; max-width: 200px; }

.st-vh-nizy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; max-width: 1080px; }
.st-vh-niz { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 26px 28px; }
.st-vh-niz__ikon { width: 60px; height: 60px; }
.st-vh-niz__telo { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.st-vh-niz__forma { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 360px; }
.st-vh-niz__forma .knopka { align-self: stretch; }
.st-vh-niz:has(.st-vh-pom-niz) { padding-right: 180px; }
.st-vh-pom-niz { position: absolute; right: 16px; top: 34px; max-width: 150px; font-size: 20px; }

/* ==========================================================================
   s22 Документы (doc.html), префикс dc-
   ========================================================================== */
.st-dc-shapka { position: relative; overflow: hidden; padding: 28px 0 20px;
  background: radial-gradient(520px 300px at 82% 40%, rgba(161, 240, 36, .12), transparent 70%), var(--fon); }
.st-dc-shapka__setka { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: center; }
.st-dc-shapka h1 { font-size: 56px; }
.st-dc-shapka .lid { margin-top: 10px; }
.st-dc-shapka__ris { position: relative; display: flex; justify-content: flex-end; }
.st-dc-shapka__ris .ill { width: 230px; }
.st-dc-pom-shapka { position: absolute; left: -10px; top: -6px; }
.st-dc-luchi { position: absolute; right: -6px; top: -10px; }
.st-dc-telo { padding: 12px 0 48px; background: var(--fon); }
.st-dc-setka { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.st-dc-bok { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.st-dc-doki { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--liniya); }
.st-dc-vopros { display: flex; gap: 12px; align-items: flex-start; padding: 18px; }
.st-dc-vopros b { font-size: 15px; }
.st-dc-pom-bok { align-self: center; }
.st-dc-osn { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.st-dc-doc { font-size: 15px; }
.st-dc-blok { padding: 18px 0; }
.st-dc-blok + .st-dc-blok { border-top: 1px solid var(--liniya); }
.st-dc-blok:first-child { padding-top: 0; }
.st-doc .st-dc-blok h2 { margin: 0 0 8px; font-size: 20px; }
.st-dc-blok { scroll-margin-top: 90px; }
.st-dc-vazhno { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 120px; gap: 18px; align-items: center;
  margin-top: 16px; padding: 22px 24px; border-radius: 18px; background: var(--laym-fon); color: var(--tekst); }
.st-dc-vazhno__znak { width: 48px; height: 48px; border-radius: 50%; background: #2c8f3c; color: #fff; font: 800 26px/48px var(--shrift); text-align: center; }
.st-dc-vazhno b { font-size: 22px; font-weight: 800; }
.st-dc-vazhno p { margin-top: 4px; }
.st-dc-vazhno__ill { width: 110px; }
.st-dc-redakciya { margin-top: 16px; }
.st-dc-rekv { padding: 26px 30px; }
.st-dc-rekv__dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 16px; margin-top: 14px; font-size: 15px; }
.st-dc-rekv__dl dt { color: var(--tiho); }

/* ==========================================================================
   s23 Блог (blog_index.html, article.html, _st_blog.html), префикс bl-
   ========================================================================== */
[hidden].st-bl-karta, [hidden].st-bl-pusto { display: none !important; }
.st-bl-shapka { position: relative; overflow: hidden; padding: 26px 0 0;
  background: radial-gradient(520px 300px at 86% 60%, rgba(136, 105, 249, .14), transparent 70%), var(--fon); }
.st-bl-shapka__setka { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, .9fr); gap: 28px; align-items: end; }
.st-bl-shapka__tekst { padding-bottom: 30px; }
.st-bl-shapka h1, .st-bl-shapka__zag { font-size: 46px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: var(--tekst); }
.st-bl-shapka .lid { margin-top: 10px; font-size: 16px; }
.st-bl-poisk { padding-bottom: 34px; }
.st-bl-poisk .pole { min-height: 52px; border-radius: 14px; box-shadow: var(--ten-1); border-color: var(--liniya); }
.st-bl-shapka__ris { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 200px; }
.st-bl-shapka__ris .ill { width: 210px; }
.st-bl-stiker { left: -30px; top: 6px; }
.st-bl-stiker .stiker { font-size: 19px; max-width: 170px; }
.st-bl-pom-shapka { position: absolute; right: -10px; top: 0; }

.st-bl-telo { padding: 24px 0 56px; background: var(--fon); }
.st-bl-setka { display: grid; grid-template-columns: 290px minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.st-bl-lev, .st-bl-prav { display: flex; flex-direction: column; gap: 18px; }
.st-bl-temy { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.st-bl-tema { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 10px; border-radius: 12px; color: var(--tekst); font-weight: 500; font-size: 15px; }
.st-bl-tema:hover { background: var(--fon-sir); text-decoration: none; }
.st-bl-tema.on { background: var(--fiolet-fon); border-left: 3px solid var(--fiolet); }
.st-bl-tema i { margin-left: auto; font-style: normal; font-size: 13px; color: var(--tiho); }
.st-bl-tema .st-ikon--mal { width: 32px; height: 32px; border-radius: 10px; }
.st-bl-populyarnye { display: flex; flex-direction: column; gap: 12px; }
.st-bl-populyarnye__zag { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.st-bl-pom-pop { font-size: 18px; max-width: 120px; }
.st-bl-populyarnye__spisok { display: flex; flex-direction: column; gap: 10px; }
.st-bl-populyarnye .st-bl-karta { grid-template-columns: 90px minmax(0, 1fr); }
.st-bl-populyarnye .st-bl-karta__img { height: 70px; }

.st-bl-osn { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.st-bl-spisok { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
a.st-bl-karta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; color: var(--tekst); text-decoration: none; transition: box-shadow .15s, transform .15s, border-color .15s; }
a.st-bl-karta:hover { text-decoration: none; box-shadow: var(--ten-2); border-color: #b9e98a; transform: translateY(-2px); }
.st-bl-karta__img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; background: var(--fon-sir); }
.st-bl-karta__img--pusto { display: block; background: linear-gradient(135deg, #e6e1fd, #d6f5c0); }
.st-bl-karta__tekst { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 4px 4px; }
.st-bl-karta__tekst b { font-size: 16px; line-height: 1.3; }
.st-bl-karta__tekst small { font-size: 12.5px; color: var(--tiho); }
.st-bl-karta--tek { border: 2px solid #a8e36b; }

.st-bl-statya h1 { font-size: 40px; line-height: 1.1; }
.st-bl-avtor { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--tiho); }
.st-bl-avtor b { color: var(--tekst); font-weight: 600; }
.st-bl-avtor i { font-style: normal; color: var(--liniya-2); }
.st-bl-avtor__znak { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--fiolet-fon); align-items: center; justify-content: center; }
.st-bl-statya__lid { font-size: 17px; color: var(--tekst-2); }
.st-bl-statya__img { width: 100%; border-radius: 18px; }
.st-bl-statya__telo { padding: 0; background: none; font-size: 16.5px; }
.st-bl-prizyv { position: relative; display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 12px;
  padding: 22px 24px; border-radius: 20px; background: linear-gradient(100deg, #eefbe0, #f4f2fe); }
[data-theme="dark"] .st-bl-prizyv { background: linear-gradient(100deg, #1a2e22, #1e1f55); }
.st-bl-prizyv__ill { width: 140px; }
.st-bl-prizyv p { margin-top: 6px; color: var(--tekst-2); }
.st-bl-pom-prizyv { position: absolute; right: 30px; top: -52px; }
.st-bl-instr { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.st-bl-instr__setka { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.st-bl-cta { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.st-bl-cta__forma { display: flex; flex-direction: column; gap: 10px; }
.st-bl-cta__forma .pole-podskazka { margin-top: -4px; min-height: 0; }
.st-bl-pom-cta { position: absolute; right: -6px; top: -50px; font-size: 19px; }
.st-bl-kto { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.st-bl-kto__spisok { display: flex; flex-direction: column; gap: 10px; }
.st-bl-kto__spisok li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; padding: 8px; border: 1px solid var(--liniya); border-radius: 12px; }
.st-bl-kto__spisok .chinit { font-size: 12px; }
.st-bl-pom-kto { align-self: flex-end; font-size: 18px; }
.st-bl-ponyatno { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: end; padding: 18px 18px 0; overflow: hidden; background: var(--fon-sir); border: 0; }
.st-bl-ponyatno .ill { width: 110px; }
.st-bl-ponyatno > div { padding-bottom: 18px; }
.st-bl-ponyatno__spisok { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; font-size: 14px; }
.st-bl-ponyatno__spisok li { display: flex; align-items: center; gap: 8px; }

/* ==========================================================================
   s24 Служебные (error.html, limit.html, _st_sluzh.html), префикс sl-
   ========================================================================== */
.st-sl-ekran { padding: 36px 0 56px; background: var(--fon); }
.st-sl-ekran--kab { padding: 0; background: none; }
.st-sl-setka { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.st-sl-ekran--kab .st-sl-setka { grid-template-columns: minmax(0, 1fr); }
.st-sl-bok { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.st-sl-bok__karta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 22px 20px; }
.st-sl-pom-bok { margin-top: 10px; }
.st-sl-bok__ruka { width: 130px; }
.st-sl-osn { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.st-sl-karta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 36px 40px; border-radius: 26px; }
.st-sl-karta__tekst { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.st-sl-karta h1 { font-size: 44px; line-height: 1.08; }
.st-sl-karta .lid { font-size: 18px; }
.st-sl-knopki { margin-top: 6px; }
.st-sl-karta__ris { position: relative; display: flex; justify-content: center; }
.st-sl-karta__ris .ill { width: 280px; }
.st-sl-pom-karta { position: absolute; left: -20px; bottom: -20px; }
.st-sl-plitki { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.st-sl-plitki--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-sl-plitka { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--fon-sir); }
.st-sl-plitka b { display: block; font-size: 18px; font-weight: 800; }
.st-sl-plitka--laym { background: var(--laym-fon); }
.st-sl-pomosch { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr) auto 130px; gap: 24px; align-items: center;
  padding: 10px 40px 0 24px; border-radius: 26px; color: #fff; overflow: hidden;
  background: linear-gradient(100deg, #2a2d78, #5a45e0 70%, #7b62f5); }
.st-sl-pomosch__ill { width: 160px; align-self: end; }
.st-sl-pomosch__tekst b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.st-sl-pomosch__tekst p { margin-top: 6px; color: #e3e0ff; font-size: 16px; }
.st-sl-pomosch .knopka { padding: 0 28px; }
.st-sl-pom-pomosch { position: static; color: #d9d6ff; font-size: 20px; }

/* ==========================================================================
   Адаптив группы site: 1180, 1024, 860, 600 (телефон 390 по s25_telefon)
   ========================================================================== */
.st-doc { overflow-wrap: break-word; }
.st-geroy, .st-dc-shapka, .st-bl-shapka, .st-vh-ekran { overflow: hidden; }
/* Подпись .sr внутри таблицы с прокруткой не должна выходить за ее край. */

@media (max-width: 1180px) {
  .st-geroy h1, .st-sd-geroy h1, .st-pr-geroy h1, .st-wk-geroy h1, .st-ri-geroy h1 { font-size: 46px; }
  .st-tf-fayly, .st-tf-kredity { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-ri-platyat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-pr-delo { grid-template-columns: 44px 40px minmax(0, 1fr) 120px 150px 100px; gap: 14px; }
  .st-vh-setka { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .st-vh-prav { display: none; }
  .st-bl-setka { grid-template-columns: 250px minmax(0, 1fr); }
  .st-bl-prav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .st-bl-shapka__setka { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, .7fr); }
  .st-sl-pomosch { grid-template-columns: 150px minmax(0, 1fr) auto; }
  .st-sl-pom-pomosch { display: none; }
  .st-pr-per { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .st-pr-per__stroka { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .st-geroy__setka { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .st-geroy__vitrina { max-width: 720px; width: 100%; }
  .st-sh { padding-right: 0; }
  .st-pom, .st-pom-vitrina { display: none; }
  .st-voprosy__setka { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .st-tf-studii, .st-tf-sravn { grid-template-columns: minmax(0, 1fr); }
  .st-tf-studii__ris, .st-tf-sravn__ris { display: none; }
  .st-sd-otchet, .st-sd-razbor { grid-template-columns: minmax(0, 1fr); }
  .st-sd-vhodit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .st-sd-vhodit__karta--shir { grid-column: 1 / -1; }
  .st-sd-shagi.setka--4 { --kol: 2; }
  .st-pr-delo { grid-template-columns: 44px auto auto minmax(0, 1fr); grid-template-areas: "n t t t" "n kto rab vazh"; row-gap: 10px; }
  .st-pr-delo .st-numer { grid-area: n; }
  .st-pr-delo__ikon { display: none; }
  .st-pr-delo__tekst { grid-area: t; }
  .st-pr-delo__kto { grid-area: kto; justify-content: flex-start; }
  .st-pr-delo__rabota { grid-area: rab; flex-direction: row; gap: 4px; align-items: center; min-height: 0; }
  .st-pr-delo__vazhn { grid-area: vazh; justify-content: flex-start; }
  .st-pr-zaprosy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .st-pr-zaprosy__ris { display: none; }
  .st-pr-kl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .st-pr-kl__list { display: none; }
  .st-ri-setka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-ri-start { grid-template-columns: minmax(0, 1fr); }
  .st-wk-chto--s-kartoy, .st-wk-shema--s-kartoy, .st-wk-komu, .st-wk-cena, .st-wk-tekst { grid-template-columns: minmax(0, 1fr); }
  .st-wk-tekst__bok { position: static; }
  .st-wk-vitrina { min-height: 0; }
  .st-wk-ustr { width: 100%; margin-right: 0; }
  .st-dc-setka { grid-template-columns: minmax(0, 1fr); }
  .st-dc-bok { position: static; }
  .st-dc-pom-bok { display: none; }
  .st-sl-setka { grid-template-columns: minmax(0, 1fr); }
  .st-sl-bok { display: none; }
  .st-bl-shapka__setka { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .st-bl-shapka__ris { display: none; }
}

@media (max-width: 860px) {
  .st-final .prizyv { grid-template-columns: minmax(0, 1fr); }
  .st-tf-fayly, .st-tf-kredity, .st-ri-platyat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-tf-besplatno__setka.setka--4 { --kol: 2; }
  .st-tf-promo { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 14px; }
  .st-tf-promo__ris { display: none; }
  .st-tf-promo__tekst { border-left: 0; padding-left: 0; }
  .st-tf-studii__karty, .st-sd-tarify { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .st-sd-vhodit { grid-template-columns: minmax(0, 1fr); }
  .st-pr-zaprosy, .st-pr-per, .st-pr-kl { grid-template-columns: minmax(0, 1fr); }
  .st-wk-shema__potok { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-wk-shema__potok li + li::before { display: none; }
  .st-wk-drugie, .st-wk-dalshe-ssylki__setka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-wk-dopo { grid-template-columns: minmax(0, 1fr); }
  .st-wk-dopo__str { transform: rotate(90deg); }
  .st-wk-dopo__stiker { display: none; }
  .st-wk-spros { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .st-vh-setka { grid-template-columns: minmax(0, 1fr); }
  .st-vh-lev h1 { font-size: 42px; }
  .st-vh-lev h1 .akcent { display: inline; }
  .st-vh-pom { display: none; }
  .st-vh-nizy { grid-template-columns: minmax(0, 1fr); }
  .st-sl-karta { grid-template-columns: minmax(0, 1fr); padding: 28px; }
  .st-sl-karta__ris { order: -1; }
  .st-sl-karta__ris .ill { width: 200px; }
  .st-sl-karta h1 { font-size: 36px; }
  .st-bl-setka { grid-template-columns: minmax(0, 1fr); }
  .st-bl-prav { grid-template-columns: minmax(0, 1fr); }
  .st-bl-temy { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 8px; }
  .st-bl-temy::-webkit-scrollbar { display: none; }
  .st-bl-tema { flex: none; white-space: nowrap; }
  .st-bl-tema.on { border-left: 0; }
  .st-bl-shapka__setka { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .st-bl-shapka__tekst { padding-bottom: 16px; }
  .st-bl-poisk { padding-bottom: 20px; }
  .st-dc-shapka__setka { grid-template-columns: minmax(0, 1fr); }
  .st-dc-shapka__ris { display: none; }
}

@media (max-width: 600px) {
  main .knopka { white-space: normal; text-align: center; line-height: 1.25; }
  .st-geroy { padding: 20px 0 36px; }
  .st-geroy h1, .st-sd-geroy h1, .st-pr-geroy h1, .st-wk-geroy h1, .st-ri-geroy h1 { font-size: 34px; }
  .st-geroy .lid { font-size: 15px; }
  .st-geroy__vitrina { display: none; }
  .st-sh h2, .st-sd-razbor__tekst h2 { font-size: 26px; }
  .st-sh { margin-bottom: 20px; }
  .st-final h2 { font-size: 28px; }
  .st-final__mesto { display: none; }
  .st-istochniki li { min-height: 40px; padding: 0 12px; }
  .st-forma .pole-adres { flex-wrap: wrap; padding: 6px 6px 6px 12px; }
  .st-forma .pole-adres__ikon { display: none; }
  .st-forma .pole-adres input { flex: 1 1 120px; min-width: 0; }
  .st-forma .pole-adres .knopka { width: 100%; font-size: 17px; }

  .st-tf-besplatno { padding: 22px 18px; }
  .st-tf-besplatno__setka.setka--4 { --kol: 1; }
  .st-tf-fayly { gap: 10px; }
  .st-tf-fayl { padding: 16px 12px 12px; gap: 8px; }
  .st-tf-fayl .st-ikon { width: 40px; height: 40px; border-radius: 12px; }
  .st-tf-fayl .st-ikon svg { width: 20px; height: 20px; }
  .st-tf-fayl__nazv { font-size: 14px; min-height: 0; }
  .st-tf-fayl__cena { font-size: 19px; white-space: normal; }
  .st-tf-fayl__spisok { display: none; }
  .st-tf-fayl .knopka { padding: 0 8px; font-size: 13px; white-space: normal; }
  .st-tf-fayl--nabor { grid-column: 1 / -1; }
  .st-tf-kredity { grid-template-columns: minmax(0, 1fr); }
  .st-tf-promo__tekst h2 { font-size: 22px; }

  .st-sd-shagi.setka--4 { --kol: 1; }
  .st-sd-zachem.setka--4 { --kol: 2; gap: 10px; }
  .st-sd-zachem .kartochka { padding: 12px; }
  .st-sd-zachem__ris { height: 120px; }
  .st-sd-zachem__ris .ill { max-height: 116px; }
  .st-sd-zachem h3 { font-size: 14px; }
  .st-sd-zachem p { font-size: 12.5px; }
  .st-sd-otchet__vid { grid-template-columns: minmax(0, 1fr); transform: none; }
  .st-sd-oblozhka { border-right: 0; border-bottom: 1px solid var(--liniya); }
  .st-sd-vhodit__fayly { grid-template-columns: minmax(0, 1fr); }
  .st-sd-pom-razbor { display: none; }
  .st-sd-razbor__tabl { padding: 14px; }
  .st-sd-razbor__tabl .tablica th:nth-child(3), .st-sd-razbor__tabl .tablica td:nth-child(3) { display: none; }

  .st-pr-fakty { gap: 8px; }
  .st-pr-fakt { padding: 10px 12px 10px 10px; }
  .st-pr-delo { padding: 14px; grid-template-columns: 36px auto minmax(0, 1fr); grid-template-areas: "n t t" "n kto vazh" "n rab rab"; gap: 8px 10px; }
  .st-pr-delo .st-numer--bol { width: 34px; height: 34px; font-size: 16px; }
  .st-pr-delo__rabota { border-left: 0; padding-left: 0; }
  .st-pr-per__chisla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .st-pr-per__chislo { padding: 10px; }
  .st-pr-per__chislo b { font-size: 21px; }
  .st-pr-per__shema { display: none; }
  .st-pr-pom-per { display: none; }
  .st-pr-ist { padding: 16px; }

  .st-ri-otbor .metka, .st-ri-razdely > summary { padding: 0 14px; font-size: 14px; min-height: 42px; }
  .st-ri-razdely__telo { width: min(300px, calc(100vw - 40px)); left: auto; right: 0; }
  .st-ri-setka { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  a.st-ri-karta { padding: 16px; gap: 10px; }
  .st-ri-karta__tekst b { font-size: 16px; }
  .st-ri-start { padding: 22px 16px; border-radius: 22px; }
  .st-ri-start__setka { grid-template-columns: minmax(0, 1fr); }
  .st-ri-stiker2 { display: none; }
  .st-ri-start__list { transform: none; padding: 16px; }
  .st-ri-platyat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  a.st-ri-plat { padding: 14px; }

  .st-wk-cena-karta, .st-wk-instr { max-width: none; padding: 18px; }
  .st-wk-shema__potok { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .st-wk-shema__potok li { flex-direction: row; text-align: left; align-items: flex-start; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 12px; }
  .st-wk-shema__potok li > :first-child { grid-row: span 2; }
  .st-wk-chto__setka { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .st-wk-chto__karta { padding: 14px 10px; }
  .st-wk-chto__karta p { font-size: 12.5px; }
  .st-wk-dopo__dl { grid-template-columns: 72px minmax(0, 1fr); font-size: 13px; }
  .st-wk-spros { padding: 18px; }
  .st-wk-spros__stolb li { grid-template-columns: minmax(0, 1fr) 56px; }
  .st-wk-spros__stolb li > span { grid-column: 1 / -1; }
  .st-wk-komu__karta { grid-template-columns: minmax(0, 1fr); }
  .st-wk-komu__ris { flex-direction: row; justify-content: center; }
  .st-wk-komu__ris .ill { max-width: 120px; }
  .st-wk-galki--2 { grid-template-columns: minmax(0, 1fr); }
  .st-wk-cena__karta { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .st-wk-cena__luchi { display: none; }
  .st-wk-cena__chislo { font-size: 32px; }
  .st-wk-cena__net { padding-bottom: 140px; }
  .st-wk-pom-cena { display: none; }
  .st-wk-drugie, .st-wk-dalshe-ssylki__setka { grid-template-columns: minmax(0, 1fr); }
  .st-wk-rez__upr .knopka { width: 100%; }
  .st-wk-proekt__forma .pole { min-width: 0; width: 100%; }

  .st-doc { padding: 20px 18px; font-size: 15px; }
  .st-doc h2 { font-size: 21px; }
  .st-dc-shapka h1 { font-size: 34px; }
  .st-dc-vazhno { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; }
  .st-dc-vazhno__znak { width: 40px; height: 40px; font-size: 22px; line-height: 40px; }
  .st-dc-vazhno__ill { display: none; }
  .st-dc-rekv { padding: 20px 18px; }
  .st-dc-rekv__dl { grid-template-columns: 90px minmax(0, 1fr); font-size: 14px; }

  .st-bl-shapka h1, .st-bl-shapka__zag { font-size: 32px; }
  .st-bl-spisok { grid-template-columns: minmax(0, 1fr); }
  .st-bl-statya h1 { font-size: 29px; }
  .st-bl-statya__telo { font-size: 15.5px; }
  .st-bl-prizyv { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .st-bl-prizyv__ill, .st-bl-pom-prizyv, .st-bl-pom-cta, .st-bl-pom-kto, .st-bl-pom-pop { display: none; }
  .st-bl-instr__setka { grid-template-columns: minmax(0, 1fr); }

  .st-vh-ekran { padding: 22px 0 36px; }
  .st-vh-lev h1 { font-size: 36px; }
  .st-vh-lev .lid { font-size: 16px; }
  .st-vh-punkty { margin-top: 18px; gap: 12px; }
  .st-vh-forma-karta { padding: 20px 16px; border-radius: 20px; }
  .st-vh-niz { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  .st-vh-niz:has(.st-vh-pom-niz) { padding-right: 18px; }
  .st-vh-pom-niz { display: none; }
  .st-vh-niz__ikon { width: 48px; height: 48px; }

  .st-sl-ekran { padding: 20px 0 36px; }
  .st-sl-karta { padding: 22px 18px; }
  .st-sl-karta h1 { font-size: 30px; }
  .st-sl-plitki, .st-sl-plitki--2 { grid-template-columns: minmax(0, 1fr); }
  .st-sl-pomosch { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; gap: 14px; }
  .st-sl-pomosch__ill { display: none; }
  .st-sl-pomosch__tekst b { font-size: 26px; }
  .st-sl-pomosch .knopka { width: 100%; }
}

/* --------------------------------------------------------------- темная тема: светлые плашки с жестким цветом */
[data-theme="dark"] .st-sd-otchet-list--pod { background: #232752; }
[data-theme="dark"] .st-pr-telefon { border-color: #0a0c26; }
[data-theme="dark"] .st-ri-start__list, [data-theme="dark"] .st-tf-plan { color: var(--tekst); }
[data-theme="dark"] .st-sl-pomosch { background: linear-gradient(100deg, #1b1e4d, #3b2f9a 70%, #5140c6); }
[data-theme="dark"] .st-dc-vazhno { color: var(--tekst); }

/* Витрина цен в узкой колонке (оболочка кабинета, экран 1025..1300): карточки не закрывают человека. */
.st-tf-vitrina { container-type: inline-size; }
@container (max-width: 600px) {
  .st-tf-plan { right: -6px; top: 40px; width: 250px; }
  .st-tf-promo-mini { display: none; }
  .st-tf-geroy__ill { width: 360px; left: -30px; }
}
/* В оболочке кабинета у витрины нет поля справа: окно продукта не выходит за край. */
.kab .st-wk-ustr { width: 100%; margin-right: 0; }
.kab .st-ri-ustr { right: 0; width: 100%; }
.kab .st-geroy { border-radius: 24px; }
/* Статья на телефоне: сначала текст, темы и оглавление ниже. */
@media (max-width: 860px) {
  .st-bl-statya { order: -1; }
}
/* Телефон: отдельные ссылки-цели не ниже 40 px. */
@media (max-width: 600px) {
  .st-toc a, .st-kroshki a, .st-sd-geroy__ssylki a, .st-vh-zabyl a, .st-vh-nazad a, .st-ri-start__ssylka,
  .st-final__ssylki a { display: inline-flex; align-items: center; min-height: 40px; }
  .st-toc a { display: flex; }
}
