/* File-explorer style tree view for nested lists inside .tree */

.tree ul {
  list-style: none;
  margin: 0;
  padding-left: 1.25em;
  position: relative;
}

.tree > ul {
  padding-left: 0;
}

.tree li {
  position: relative;
  margin: 0.15em 0;
  padding-left: 1.1em;
}

.tree ul ul li::before,
.tree ul ul li::after {
  content: "";
  position: absolute;
  left: -0.65em;
}

.tree ul ul li::before {
  top: 0;
  bottom: -0.15em;
  width: 0;
  border-left: 1px solid rgba(128, 128, 128, 0.45);
}

.tree ul ul li:last-child::before {
  bottom: auto;
  height: 0.85em;
}

.tree ul ul li::after {
  top: 0.85em;
  width: 0.75em;
  height: 0;
  border-top: 1px solid rgba(128, 128, 128, 0.45);
}

.tree li > p,
.tree li > strong {
  margin: 0;
}

.tree a {
  text-decoration: none;
}

.tree a:hover {
  text-decoration: underline;
}
