/* Two fixed-height label lines; long names never resize the stage above/below. */
.hv-compact-stack #hv-colours {
  --opening-swatch-min: max(54px, 6.6em);
  grid-template-columns: repeat(var(--finish-count, 13), minmax(var(--opening-swatch-min), 1fr));
  font-size: .6875rem;
}
.hv-compact-stack #hv-colours > li {
  font-size: 1em;
  line-height: 1.2;
  font-weight: 650;
}
.hv-compact-stack #hv-colours > li.hv-active {
  font-weight: 650;
}
.hv-compact-stack #hv-colours > li > span {
  display: block;
  block-size: 2.4em;
  inline-size: min(100%, 6.6em);
  margin-inline: auto;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}
