.lab-accordion,
.lab-main-body,
.lab-sub-body {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lab-accordion {
  max-width: 100%;
  font-family: Arial, sans-serif;
}

/* Main Level */
.lab-main {
  margin-bottom: 10px;
  line-height: 10px;
}

.lab-main-header {
  cursor: pointer;
  padding: 15px 20px;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #069a9f;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.lab-main-header::before {
  content: '▲';
  display: inline-block;
  margin-right: 15px;
  font-size: 12px;
  transition: transform 0.3s;
  color: #069a9f;
  transform: rotate(180deg);
}

.lab-main-header.closed::before {
  transform: rotate(90deg);
}

.lab-main-header:hover {
  background: #f0f0f0;
}

.lab-main-body {
  background: #fff;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  max-height: 5000px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.lab-main-body.closed {
  max-height: 0;
  border: none;
}

/* Sub Level */
.lab-sub {
  border-bottom: 1px solid #e8e8e8;
}

.lab-sub-header {
  cursor: pointer;
  padding: 12px 20px 12px 40px;
  background: #fafafa;
  font-size: 16px;
  font-weight: 500;
  color: #555;
}

.lab-sub-header::before {
  content: '▲';
  display: inline-block;
  margin-right: 12px;
  font-size: 10px;
  transition: transform 0.3s;
  transform: rotate(180deg);
}

.lab-sub-header.closed::before {
  transform: rotate(90deg);
}

.lab-sub-header:hover {
  background: #f0f0f0;
}

.lab-sub-body {
  max-height: 3000px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.lab-sub-body.closed {
  max-height: 0;
}

/* Item Level */
.lab-item {
  border-bottom: 1px solid #f0f0f0;
}

.lab-item-header {
  cursor: pointer;
  padding: 12px 20px 12px 60px;
  background: #fff;
  font-size: 15px;
  font-weight: 400;
  color: #666;
}

.lab-item-header::before {
  /* content: '▼'; */
  display: inline-block;
  margin-right: 10px;
  font-size: 9px;
  transition: transform 0.3s;
}

.lab-item-header.closed::before {
  transform: rotate(-90deg);
}

.lab-item-header:hover {
  background: #f9f9f9;
}

.lab-item-body {
  padding: 15px 20px 15px 80px;
  background: #fff;
  color: #777;
  font-size: 14px;
  line-height: 1.6;
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.lab-item-body.closed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}
