.codex-panel__toolbar {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

.codex-panel__limit-panel-label,
.codex-panel__limit-panel-value,
.codex-panel__limit-panel-reset,
.codex-panel__toolbar-panel-label,
.codex-panel__toolbar-panel-meta,
.codex-panel__suggestion-label,
.codex-panel__suggestion-detail {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.codex-panel__toolbar-panel-item {
  display: flex;
  align-items: center;
  gap: var(--size-4-2);
  font: inherit;
  font-size: var(--codex-panel-toolbar-text-size);
  line-height: var(--codex-panel-toolbar-line-height);
  text-align: left;
}

.codex-panel__toolbar-panel-label,
.codex-panel__toolbar-panel-meta {
  min-width: 0;
}

.codex-panel__toolbar-panel-label {
  flex: 1 1 auto;
  color: currentcolor;
}

.codex-panel__toolbar-panel-meta {
  flex: 0 1 auto;
  color: var(--text-faint);
  font-size: var(--codex-panel-toolbar-meta-size);
}

.codex-panel__toolbar-panel-item:where(:hover, :focus-visible, :active):not(:disabled):not(.is-disabled) .codex-panel__toolbar-panel-label {
  color: var(--nav-item-color-hover, var(--text-normal));
}

.codex-panel__toolbar-panel-item:where(:hover, :focus-visible, :active):not(:disabled):not(.is-disabled) .codex-panel__toolbar-panel-meta {
  color: var(--nav-item-color-hover, var(--text-normal));
}

.codex-panel__toolbar-panel-item.is-selected .codex-panel__toolbar-panel-label,
.codex-panel__toolbar-panel-item.is-selected:where(:hover, :focus, :focus-visible, :active) .codex-panel__toolbar-panel-label,
.codex-panel__toolbar-panel-item.is-selected .codex-panel__toolbar-panel-meta,
.codex-panel__toolbar-panel-item.is-selected:where(:hover, :focus, :focus-visible, :active) .codex-panel__toolbar-panel-meta {
  color: var(--nav-item-color-active, var(--text-normal));
}

.codex-panel__toolbar-panel-item:focus:not(.is-selected),
.codex-panel__toolbar-panel-item:focus-visible:not(.is-selected),
.codex-panel__toolbar-panel-item:active:not(.is-selected) {
  background: transparent;
  box-shadow: none;
  outline: none;
}
