.folder-tree {
  max-width: 880px;
  margin: 0 auto 26px;
  padding: 24px;
  border: 1px solid #d8c9ea;
  border-radius: 22px;
  background: linear-gradient(135deg, #fbf8ff, #f3f8ff);
}

.tree-root,
.tree-parent,
.tree-child {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d7e2ea;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(23, 57, 90, .06);
}

.tree-root {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 26px;
  padding: 12px 16px;
  border-color: #bca7da;
  background: #f5efff;
  font-size: 18px;
}

.tree-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.tree-branches::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: #a98ccf;
}

.tree-branch {
  position: relative;
}

.tree-branch::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  width: 2px;
  height: 18px;
  background: #a98ccf;
}

.tree-parent {
  justify-content: center;
  padding: 11px 14px;
  border-color: #d7b95f;
  background: #fff7d9;
}

.tree-children {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-left: 28px;
}

.tree-children::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 22px;
  left: 13px;
  width: 2px;
  background: #b8c9d6;
}

.tree-child {
  position: relative;
  padding: 10px 13px;
}

.tree-child::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -15px;
  width: 15px;
  height: 2px;
  background: #b8c9d6;
}

@media (max-width: 680px) {
  .tree-branches {
    grid-template-columns: 1fr;
  }
  .tree-branches::before {
    display: none;
  }
  .tree-branch::before {
    display: none;
  }
}
