/* Справка «Контроль SLA этапов»: тема виджета — пятицветная шкала уровней. */
:root { --sla-scale: linear-gradient(90deg, #c6f4de 0 12%, #ffe193 12% 30%, #ffc8c8 30% 55%, #ff8f92 55% 80%, #9d2b32 80%); }

/* Полоса прочтения сверху в цветах шкалы */
.read-bar { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 100; background: var(--sla-scale); transform-origin: 0 50%; transform: scaleX(0); }

/* Подчёркивание заголовка шкалой */
.h1-scale { display: flex; gap: 6px; margin-top: 14px; }
.h1-scale i { height: 6px; width: 44px; border-radius: 99px; transform-origin: 0 50%; }
.fx .h1-scale i { transform: scaleX(0); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.fx .h1-scale.in i { transform: none; }

/* Тренажёр в шапке */
.sim { view-transition-name: sla-shot; }
.sim__card { background: #fff; border: 1px solid var(--border-subtle, #e5e5f0); border-radius: 20px; padding: 26px 26px 22px; box-shadow: 0 16px 40px rgba(125,117,178,.18); }
.sim__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: #6b6b80; font-weight: 600; }
.sim__tag { padding: 6px 14px; border-radius: 99px; font-size: 14px; font-weight: 800; background: #c6f4de; color: #1f2937; white-space: nowrap; transition: background .3s, color .3s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.sim__tag.bump { transform: scale(1.1); }
.sim__time { margin-top: 18px; font-size: 52px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #12112c; font-variant-numeric: tabular-nums; }
.sim__cap { margin-top: 6px; font-size: 14px; color: #6b6b80; }
.sim__range { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; margin: 22px 0 6px; border-radius: 99px; background: var(--sla-scale); cursor: pointer; outline-offset: 6px; }
.sim__range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #12112c; border: 4px solid #fff; box-shadow: 0 2px 10px rgba(18,17,44,.35); }
.sim__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #12112c; border: 4px solid #fff; box-shadow: 0 2px 10px rgba(18,17,44,.35); }
.sim__marks { position: relative; height: 18px; font-size: 12px; font-weight: 600; color: #8a8aa0; }
.sim__marks span { position: absolute; transform: translateX(-50%); } .sim__marks span:first-child { transform: none; }
.sim__tasks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; min-height: 132px; }
.sim__task { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #f6f6fb; border: 1px solid #ececf4; font-size: 14px; font-weight: 600; color: #12112c;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s cubic-bezier(.22,1,.36,1), color .3s; }
.sim__task i { width: 14px; height: 14px; border-radius: 4px; border: 2px solid currentColor; flex: none; }
.sim__task small { margin-left: auto; font-size: 12px; font-weight: 700; color: #8a8aa0; white-space: nowrap; }
.sim__task.on { opacity: 1; transform: none; } .sim__task.done { color: #a0a0b4; text-decoration: line-through; } .sim__task.done i { background: currentColor; }
.sim__hint { margin: 14px 0 0; font-size: 13px; color: #8a8aa0; }

/* Карточки и шаги */
.feature { transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s; --spot: rgba(255,143,146,.14); }
@media (hover: hover) { .feature:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(125,117,178,.18); } }
.step, .step-dark { position: relative; }
.why-card { border-left: 4px solid transparent; border-image: var(--sla-scale) 1; border-image-width: 0 0 0 4px; }

@media (prefers-reduced-motion: reduce) { .read-bar { display: none; } }

/* У заголовка справки display:flex — для разбивки по буквам нужен обычный блок */
.h1.split { display: block; }
