/* «Статусы маршрута» в карточке документа: вертикальная нить этапов; цвета берутся у рабочего стола документа, запасные — тёмная тема. */
.rst { flex: none; display: flex; flex-direction: column; gap: 10px; }
.rst__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.rst__h { font-size: 13px; font-weight: 700; }
.rst__sum { font-size: 11px; color: var(--dmwv4-fg3, #7A8BA3); }
.rst__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rst__row { position: relative; display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.rst__dot { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid currentColor; background: color-mix(in srgb, currentColor 14%, transparent); }
.rst__line { position: absolute; left: 10.5px; top: 24px; bottom: -13px; width: 1.5px; background: var(--dmwv4-line4, rgba(127, 140, 160, .3)); }
.rst__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rst__title { font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; }
.rst__note { font-size: 10.5px; color: var(--dmwv4-fg3, #7A8BA3); overflow-wrap: anywhere; }
.rst__badge { flex: none; font-size: 10px; font-weight: 600; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; background: color-mix(in srgb, currentColor 10%, transparent); white-space: nowrap; }
.rst__tone--ok { color: var(--dmwv4-st-ok, #2BD98A); }
.rst__tone--warn { color: var(--dmwv4-st-warn, #F5C542); }
.rst__tone--danger { color: var(--dmwv4-st-crit, #FF7A87); }
.rst__tone--muted { color: var(--dmwv4-fg4, #7A8BA3); }
.rst__row--active .rst__title { color: var(--dmwv4-fg, inherit); }
.rst__row--wait .rst__title, .rst__row--closed .rst__title { color: var(--dmwv4-fg2, inherit); font-weight: 500; }
@media (max-width: 520px) { .rst__badge { font-size: 9.5px; padding: 2px 6px; } }
