.gx-use-list {
  --gx-category-font-size: 13px;
  --gx-theme-font-size: 12px;
  display: grid;
  gap: 5px;
}

.gx-use-list > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 12px 10px;
  min-height: 44px;
  text-align: left;
  font-size: var(--gx-category-font-size);
}

.gx-use-list b {
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.gx-use-list > .gx-use-all {
  grid-column: 1 / -1;
  min-height: var(--sb-control-min-height);
  border: 1px solid var(--sb-border-warm-strong);
  background: var(--sb-surface-paper);
  font-weight: 700;
}

.gx-use-all > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gx-use-all svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--sb-action-icon-stroke);
}

.gx-use-divider {
  grid-column: 1 / -1;
  margin-block: 5px;
  border-top: 1px solid var(--sb-border-warm-strong);
}

.gx-use-list > button[aria-pressed='true'] {
  background: var(--sb-color-yellow);
  font-weight: 800;
  clip-path: polygon(0 0,100% 0,100% 80%,94% 100%,0 100%);
}

.gx-use-list > button:hover {
  background: var(--sb-surface-highlight);
}

.gx-themes {
  margin: 0 0 10px 10px;
  padding: 12px 8px;
  border-left: 2px solid var(--sb-color-blue);
  background: var(--sb-surface-paper);
}

.gx-themes h3 {
  font-size: var(--gx-theme-font-size);
  margin: 0 0 8px;
}

.gx-themes button {
  display: block;
  padding: 8px 6px;
  min-height: 40px;
  border: 0;
  background: none;
  width: 100%;
  text-align: left;
  font-size: var(--gx-theme-font-size);
}

.gx-themes button[aria-pressed='true'] {
  background: var(--sb-color-blue);
  color: var(--sb-color-white);
}
