.node {
    margin: 0;
    display: flex;
    flex-direction: row;
    padding: 0 0.35rem 0 0;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.node:hover {
    color: inherit;
    text-decoration: none;
}

.node.selected {
    background-color: #80ff8030;
    border-radius: 0.35rem;
    box-shadow: 0 0 2px 0 #40800050 inset;
}

.node span {
    display: inline-block;
}

.node span:last-child {
    flex-grow: 1;
}

.node .toggle {
    width: 0.8rem;
    height: 0.8rem;
    margin: 0.35rem 0.2rem 0.35rem 0.35rem;
}

.node .icon {
    width: 0.8rem;
    height: 0.8rem;
    margin: 0.35rem 0.25rem 0.35rem 0;
}

.node .toggle.expanded {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
}

.node .toggle.collapsed {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
}

.node-group {
    background-color: var(--backdrop-07);
    width: fit-content;
    margin: 0 0 0 1rem;
    border-radius: 0.35rem;
    min-width: calc(100% - 1rem);
    box-shadow: 0 0 2px 0 var(--backdrop-50);
}