/* Group identity colours are category identifiers, not safety-sign meanings. */
.topic-badge[data-share-group-icon],
.group-chip .topic-badge[data-share-group-icon],
.nvq-study-page .group-chip .topic-badge[data-share-group-icon] {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  min-width: 0;
  max-width: none;
  min-height: 0;
  max-height: none;
  padding: 5px;
  border: 1px solid var(--share-group-line);
  border-radius: 9px;
  background: var(--share-group-bg);
  color: var(--share-group-ink);
  box-shadow: inset 0 1px 0 #ffffffb3;
  vertical-align: middle;
}
.topic-badge[data-share-group-icon] > svg.share-group-symbol {
  display: block;
  width: 24px;
  height: 24px;
  overflow: visible;
  fill: none;
  stroke: none;
}
.group-chip .topic-badge[data-share-group-icon],
.nvq-study-page .group-chip .topic-badge[data-share-group-icon] {
  width: 29px;
  height: 29px;
  padding: 4px;
  border-radius: 7px;
}
.group-chip .topic-badge[data-share-group-icon] > svg.share-group-symbol {
  width: 21px;
  height: 21px;
}
.group-key .topic-badge[data-share-group-icon],
.grouped-topic-section__heading .topic-badge[data-share-group-icon] {
  width: 50px;
  height: 50px;
  padding: 9px;
  border-radius: 12px;
}
.group-key .topic-badge[data-share-group-icon] > svg.share-group-symbol,
.grouped-topic-section__heading .topic-badge[data-share-group-icon] > svg.share-group-symbol {
  width: 30px;
  height: 30px;
}
.group-key .group-key__icon { gap: 5px; min-width: 50px; }
.group-key .group-key__count { font-size: .75rem; font-weight: 700; }
.group-key .group-key__button { gap: 12px; min-height: 98px; }
.group-key .group-icon-key {
  margin: 0 auto 10px;
  max-width: 580px;
  color: #526579;
  font: 400 .8125rem/1.5 Arial, Helvetica, sans-serif;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}
.group-key .group-icon-key strong { display: inline; color: #6541a0; font: inherit; font-weight: 700; }
@media (forced-colors: active) {
  .topic-badge[data-share-group-icon] { color: CanvasText; background: Canvas; border-color: CanvasText; }
}
@media print {
  .topic-badge[data-share-group-icon] { print-color-adjust: exact; -webkit-print-color-adjust: exact; box-shadow: none; }
}
