<div class="plot-swatches plot-swatches-wrap">
  <style>
    :where(.plot-swatches) {
      font-family: system-ui, sans-serif;
      font-size: 10px;
      margin-bottom: 0.5em;
    }

    :where(.plot-swatch > svg) {
      margin-right: 0.5em;
      overflow: visible;
    }

    :where(.plot-swatches-wrap) {
      display: flex;
      align-items: center;
      min-height: 33px;
      flex-wrap: wrap;
    }

    :where(.plot-swatches-wrap .plot-swatch) {
      display: inline-flex;
      align-items: cent