.solu-company-parent-row[data-company-group-size] > td {
  border-bottom-color: transparent !important;
}

.solu-company-parent-row[data-company-group-size] > td:first-child {
  position: relative;
}

.solu-company-parent-row[data-company-group-size] > td:first-child::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -1px;
  width: 16px;
  height: 1px;
  background: #dbe6f3;
}

.solu-company-child-row > td {
  background: #f7f9ff !important;
  border-top: 1px dashed #dce5f5 !important;
}

.solu-company-child-hidden {
  display: none !important;
}

.solu-company-parent-row > td:nth-child(3) {
  white-space: nowrap;
}

.solu-company-environment-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  padding: 4px 10px;
  border: 1px solid #c9d5f5;
  border-radius: 999px;
  background: #f5f7ff;
  color: #3155b7;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}

.solu-company-environment-toggle:hover {
  background: #edf1ff;
  border-color: #9eb2ed;
}

.solu-company-toggle-chevron {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .16s ease;
}

.solu-company-environment-toggle[aria-expanded="true"] .solu-company-toggle-chevron {
  transform: rotate(180deg) translateY(1px);
}

.solu-company-child-row > td:first-child {
  position: relative;
  padding-left: 52px !important;
}

.solu-company-child-row > td:first-child::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 14px;
  height: 50%;
  border-left: 2px solid #b9c9e6;
  border-bottom: 2px solid #b9c9e6;
  border-bottom-left-radius: 7px;
}

.solu-company-child-row > td:first-child > * {
  position: relative;
}

@media (max-width: 768px) {
  .solu-company-child-row > td:first-child {
    padding-left: 42px !important;
  }

  .solu-company-child-row > td:first-child::before {
    left: 18px;
  }
}

/* Native table tree: child environments do not participate in pagination. */
.solu-company-parent-row > td {
  border-bottom-color: #e8edf5 !important;
}

.solu-company-child-row > td {
  background: #f7f9ff !important;
  border-top: 1px solid #e5eaf4 !important;
}

.solu-company-child-row > td:first-child {
  box-shadow: inset 3px 0 0 #b9c9e6;
}

.solu-company-parent-row > td:nth-child(3),
.solu-company-child-row > td:nth-child(3) {
  white-space: nowrap;
}

.solu-company-environment-toggle {
  min-width: 44px;
  margin-left: 0;
  margin-right: 10px;
  padding: 3px 8px;
  border-color: #d8e0ef;
  background: #f8faff;
  color: #51617a;
  font-weight: 600;
  box-shadow: none;
}

.solu-company-parent-row {
  cursor: pointer;
}

.solu-company-parent-row > td:first-child {
  white-space: nowrap;
}

.solu-company-parent-row:hover .solu-company-environment-toggle {
  border-color: #aebfe2;
  background: #f1f5ff;
  color: #3155b7;
}
