.gv-plot .axis-x {
  color: var(--gv-grey);
  font-size: 0.875rem;
}

.gv-tooltip-bar-stacked {
  width: max-content;
}

.gv-plot .axis-y {
  text-transform: uppercase;
  font-size: 0.875rem;
}

.tooltip-barchart-stacked-title {
  font-weight: bold;
  border-bottom: 1px solid var(--gv-grey);
  display: block;
  padding-bottom: .25rem;
  margin-bottom: .5rem;
}

.tooltip-barchart-stacked-grid {
  display: grid;
  grid-template-columns: 16px 1fr 1fr;
  margin-bottom: .5rem;
  align-items: center;
}

.tooltip-barchart-stacked-grid-key-color {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.tooltip-barchart-stacked-grid-key,
.tooltip-barchart-stacked-grid-value {
  font-size: 1rem;
  display: inline-block;
  padding: 0 .25rem;
}

.tooltip-barchart-stacked-grid-key {
  font-weight: bold;
  text-transform: capitalize;
  text-align: left;
}

.tooltip-barchart-stacked-grid-value {
  text-align: right;
}

.axis-x-legend {
  font-size: 14px;
  font-weight: bold;
  text-transform: capitalize;
  fill: #828282;
}

.gv-legend-bar-stacked {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 150px;
}

.gv-legend-bar-stacked-right {
  left: inherit;
  right: 10px;
}

.bar-stack-label-rect {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex: none;
}

.bar-stacked-legend-text {
  fill: #828282;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-stack-label {
  display: flex;
  gap: .25rem;
  align-items: center;
  cursor: pointer;
}
