/* ---- [ weekly-reports            ] --------------------------------------- */

/* ---- [                           ] --------------------------------------- */

.weekly-reports {
  padding: 1rem 0;
}

/* Container & reset defaults */
.report-tree, .report-tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.report-tree ul {
  margin-left: 20px; /* Indentation for child tiers */
}

/* Individual item spacing */
.report-tree li {
  margin: 0;
  padding: 5px 0 5px 20px; /* Left padding makes room for lines */
  position: relative;
}

/* 1. The vertical line connecting sibling items */
.report-tree li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-left: 2px solid #cbd5e1; /* Line thickness and color */
  height: 100%;
}

/* 2. The horizontal branch line to the node label */
.report-tree li::after {
  content: "";
  position: absolute;
  top: 15px; /* Aligns with the middle of the item text */
  left: 0;
  border-top: 2px solid #cbd5e1;
  width: 15px; /* Length of horizontal connector */
}

/* Hide the excess vertical line stretching past the very last child */
.report-tree li:last-child::before {
  height: 15px; /* Matches the top position of the horizontal line */
}

/* Remove lines from the root node if it is solitary */
.report-tree > li::before, .report-tree > li::after {
  border: none;
}

/* Optional styling for the node labels */
.report-tree li span {
  display: inline-block;
  padding: 4px 8px;
  text-decoration: none;
  color: #334155;
  font-family: sans-serif;
  font-size: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

.report-tree li span:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}


/* ---- [                           ] --------------------------------------- */

/* ---- [ media queries             ] --------------------------------------- */

@media screen and (max-width: 640px) {

}

/* ---- [ FIN                       ] --------------------------------------- */
