.scale-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 4px 10px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
  background: var(--surface-base);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-full);
}

.scale-pill select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: none;
}

.scale-pill__hint {
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.scale-pill__label {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}

.scale-pill__caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.scale-pill__caret .material-symbols-rounded {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1;
}
