/* --- Дерево ------------------------------------------------- */

.man-nav__block { margin-bottom: 24px; }
.man-nav__block:last-child { margin-bottom: 0; }

/* Блок «Все решения» */
.man-solutions {
    list-style: none;
    padding: 0;
    margin: 0;
}
.man-solutions__item { margin: 1px 0; }
.man-solutions__link {
    display: block;
    padding: 7px 10px;
    font-size: 14px;
    color: #1f2328;
    text-decoration: none;
    border-radius: 6px;
    transition: background .15s, color .15s;
    line-height: 1.35;
}
.man-solutions__link:hover { background: #f7f8fa; color: #ff802c; }
.man-solutions__item.is-active > .man-solutions__link {
    /* background: #eaf1fb; */
    /* color: #ff802c; */
    font-weight: 600;
}

/* Дерево */
.man-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}
.man-tree__item { margin: 0; }

.man-tree__row {
    display: flex;
    align-items: flex-start;
    gap: 2px;
}

.man-tree__toggle {
    flex: 0 0 auto;
    width: 18px;
    height: 24px;
    padding: 0;
    margin-top: 2px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    color: #6b7280;
    transition: transform .15s;
}
.man-tree__toggle::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-left: 5px solid currentColor;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .15s;
}
.man-tree__toggle--empty {
    visibility: hidden;
    cursor: default;
}
.man-tree__item.is-collapsed > .man-tree__row > .man-tree__toggle:not(.man-tree__toggle--empty)::before {
    transform: translate(-50%, -50%) rotate(0deg);
}
.man-tree__item.is-collapsed > .man-tree__submenu {
    display: none;
}

.man-tree__link {
    display: block;
    flex: 1 1 auto;
    padding: 4px 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #1f2328;
    text-decoration: none;
    border-radius: 6px;
    transition: background .15s, color .15s;
}
.man-tree__link:hover { color: #ff802c; }

.man-tree__item.is-active > .man-tree__row > .man-tree__link {
    color: #ff802c;
    font-weight: 600;
}

.man-tree__submenu {
    list-style: none;
    padding-left: 10px;
    margin: 2px 0 4px 8px;
    border-left: 1px solid #e6e8eb;
}

.man-tree__item--lvl1 > .man-tree__row > .man-tree__link {
    font-weight: 600;
}