* {
    padding: 0
}

.tree ul {
    padding-top: 20px;
    position: relative;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s
}

.tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s
}

.tree li::after,
.tree li::before {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 1px solid #ccc;
    width: 50%;
    height: 20px;

    border-color: #d1d5db;
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #ccc;

    border-color: #d1d5db;
}

.tree li:only-child::after,
.tree li:only-child::before {
    display: none
}

.tree li:only-child {
    padding-top: 0
}

.tree li:first-child::before,
.tree li:last-child::after {
    border: 0 none
}

.tree li:last-child::before {
    border-right: 1px solid #ccc;
    border-radius: 0 5px 0 0;
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;

    border-color: #d1d5db;
}

.tree li:first-child::after {
    border-radius: 5px 0 0;
    -webkit-border-radius: 5px 0 0;
    -moz-border-radius: 5px 0 0
}

/* .tree ul ul::before { */
.tree ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid;
    width: 0;
    height: 20px;

    border-color: #d1d5db;
}

.tree li a,
.tree li p {
    border: 1px solid;
    padding: 5px 10px;
    text-decoration: none;
    /* color: #666;
    font-family: arial, verdana, tahoma;
    font-size: 14px; */
    display: inline-block;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;

    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5rem;
    border-color: #d1d5db;
    --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.tree li a:hover,
.tree li a:hover+ul li a {
    background: #c8e4f8;
    color: #000;
    --tw-text-opacity: 1;
    border-color: rgb(75 85 99);
}

.tree li a:hover+ul li::after,
.tree li a:hover+ul li::before,
.tree li a:hover+ul ul::before,
.tree li a:hover+ul::before {
    border-color: rgb(75 85 99);
}

.dark .tree li a,
.dark .tree li p {
    border-color: rgb(75 85 99);
}

.dark .tree li::after,
.dark .tree li::before,
.dark .tree ul::before {
    border-color: rgb(75 85 99);
}

.dark .tree li a:hover+ul li::after,
.dark .tree li a:hover+ul li::before,
.dark .tree li a:hover+ul ul::before,
.dark .tree li a:hover+ul::before {
    border-color: #d1d5db;
}

.tree li .keyresultrisk {
    outline-color: rgb(212, 82, 110);
    outline-offset: 2px;
    outline-width: 2px;
    outline-style: solid;
}

.tree li .keyresultmissingvalues {
    outline-color: rgb(0, 0, 0);
    outline-offset: 2px;
    outline-width: 2px;
    outline-style: dashed;
}

.dark .tree li .keyresultmissingvalues {
    outline-color: rgb(255, 255, 255);
    outline-offset: 2px;
    outline-width: 2px;
    outline-style: dashed;
}