/* Unit-scoped refinement: four element symbols stay on one line. */
.matter-page .material-card .atomic-elements {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.matter-page .material-card .atomic-elements span {
  width: 100%;
  max-width: 48px;
  height: auto;
  aspect-ratio: 1;
}
