.sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.35;
}

.sidebar .nav-item > span:first-child {
  display: inline-grid;
  flex: 0 0 20px;
  inline-size: 20px;
  place-items: center;
  margin: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
}

#promotionReplyField[hidden] {
  display: none !important;
}

#leaveTable td {
  vertical-align: middle;
  line-height: 1.4;
}

#leaveTable .employee-name {
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}

#leaveTable .employee-name .avatar {
  flex: 0 0 34px;
}

#leaveTable .employee-name strong {
  flex: 0 0 auto;
  white-space: nowrap;
}

#leaveTable .leave-access-badge {
  flex: 0 0 auto;
  margin-left: 2px;
  line-height: 1.25;
}

#leaveTable .leave-balance-stack {
  display: inline-grid;
  width: 132px;
  min-height: 60px;
  align-content: start;
  justify-items: stretch;
  gap: 5px;
}

#leaveTable .leave-chip {
  display: inline-grid;
  grid-template-columns: minmax(1.7ch, auto) auto minmax(1.7ch, auto) auto minmax(1.7ch, auto);
  width: 132px;
  min-width: 132px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  padding: 8px 10px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

#leaveTable .leave-chip-value {
  min-width: 1.7ch;
  text-align: center;
}

#leaveTable .leave-chip-separator {
  color: currentColor;
  opacity: .62;
  font-weight: 600;
  text-align: center;
}

#leaveTable .leave-pending-list {
  min-height: 18px;
  align-content: start;
  justify-content: center;
}

#leaveTable .leave-pending-list:empty {
  display: block;
  visibility: hidden;
}

@media (max-width: 820px) {
  #leave:has([data-leave-tab="monthly"].active) #leaveTable .employee-name {
    min-width: 0;
    gap: 9px;
  }

  #leave:has([data-leave-tab="monthly"].active) #leaveTable .leave-balance-stack,
  #leave:has([data-leave-tab="monthly"].active) #leaveTable .leave-chip {
    width: 100%;
    min-width: 0;
  }

  #leave:has([data-leave-tab="monthly"].active) #leaveTable .leave-chip {
    display: grid;
    grid-template-columns: minmax(1.7ch, auto) auto minmax(1.7ch, auto) auto minmax(1.7ch, auto);
    column-gap: 6px;
  }
}
