.part-tree-module {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 20px;
}

.part-tree-module h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

.part-tree-module .tree-group {
    border-bottom: 1px solid var(--line);
}

.part-tree-module .tree-group:last-child {
    border: 0;
}

.tree-group-toggle {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    background: white;
    border: 0;
    padding: 12px 0;
    text-align: left;
}

.tree-group-toggle:hover {
    color: var(--brand);
}

.tree-symbol {
    flex-shrink: 0;
    margin-top: 3px;
    width: 16px;
    height: 16px;
}

.tree-symbol svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.tree-group-toggle[aria-expanded=true] .tree-symbol svg {
    transform: rotate(90deg);
}

.tree-symbol.is-loading {
    border: 2px solid var(--line);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: loading-spin 700ms linear infinite;
}

.tree-symbol.is-loading svg {
    display: none;
}

.tree-children {
    padding: 0 0 10px 26px;
}

.tree-part {
    display: block;
    font-size: 13px;
    padding: 7px 0;
}

.tree-part:hover,.tree-part.is-active {
    color: var(--brand);
}

.tree-empty {
    color: var(--muted);
    font-size: 13px;
}

@media(max-width:640px) {
    .part-tree-module {
        padding: 15px;
    }
}

@media(max-width:640px) {
    .part-tree-module {
        flex: 1;
        min-width: 0;
    }
}

