/* Inherit the label color, including hover, focus, and both color themes. */
.ui-icon {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
  pointer-events: none;
}

.sb-nav-list > li {
  min-width: 0;
}

:is(button, a).sb-nav-item {
  appearance: none;
  width: 100%;
  min-height: 42px;
  margin: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  text-align: left;
  gap: 10px;
  touch-action: manipulation;
}

.sb-item-left {
  min-width: 0;
  text-align: left;
}

.sb-item-left > span {
  min-width: 0;
}

.sb-badge,
.sb-dot-unread {
  flex: 0 0 auto;
}

.sb-admin-btn,
.sb-session-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  touch-action: manipulation;
}

.site-sidebar :is(button, a):focus-visible {
  outline: 2px solid var(--heat);
  outline-offset: -4px;
}

@media (prefers-reduced-motion: reduce) {
  .sb-nav-item,
  .sb-admin-btn {
    transition: none;
  }
}
