.side nav {
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-color: #3c3b37 transparent;
  scrollbar-width: thin;
}

.side nav button {
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.side nav button:active {
  transform: scale(.985);
}

.nav-icon {
  display: inline-grid;
  width: 16px;
  flex: 0 0 16px;
  place-items: center;
}

.nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-group {
  min-width: 0;
}

.side nav .nav-group-trigger {
  color: #d0cec8;
}

.nav-group.active > .nav-group-trigger {
  background: #ffffff0d;
  color: #fff;
  font-weight: 800;
}

.nav-caret {
  margin-left: auto;
  font-size: 17px;
  font-style: normal;
  line-height: 1;
  transition: transform .22s ease;
}

.nav-group.open .nav-caret {
  transform: rotate(180deg);
}

.nav-group-trigger em + .nav-caret {
  margin-left: 0;
}

.nav-children {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .22s ease, opacity .18s ease;
}

.nav-group.open .nav-children {
  grid-template-rows: 1fr;
  opacity: 1;
}

.nav-children-inner {
  min-height: 0;
  overflow: hidden;
}

.side nav .nav-child {
  margin-top: 3px;
  padding: 10px 12px 10px 42px;
  color: #85827c;
  font-size: 13px;
}

.side nav .nav-child::before {
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: 20px;
  width: 1px;
  background: #34332f;
  content: "";
}

.side nav .nav-child:last-child::before {
  bottom: 50%;
}

.nav-child-dot {
  position: absolute;
  left: 17px;
  z-index: 1;
  width: 7px;
  height: 7px;
  border: 2px solid #34332f;
  border-radius: 50%;
  background: #171716;
}

.side nav .nav-child:hover .nav-child-dot {
  border-color: #77746c;
}

.side nav .nav-child.active {
  background: #fff3b2;
  color: #181816;
}

.side nav .nav-child.active .nav-child-dot {
  border-color: var(--yellow);
  background: var(--yellow);
}
