/* Club navigation, shared across the original admin layout. */
.workbench-sider {
  --club-nav-bg: #0d0e10;
  --club-nav-text: #969a9f;
  --club-nav-muted: #858b91;
  --club-nav-accent: #2788cc;
  --club-nav-selected: #102131;
  background: var(--club-nav-bg) !important;
  border-color: #1c1e22 !important;
  color: var(--club-nav-text);
  backdrop-filter: none !important;
}
.workbench-sider .workbench-logo {
  border-color: #1c1e22 !important;
}
.workbench-sider .workbench-logo h2 {
  color: #e0e4e8 !important;
}
.workbench-sider .workbench-menu {
  --n-color: transparent !important;
  --n-font-size: 14px !important;
  --n-border-radius: 6px !important;
  --n-item-height: 42px !important;
  --n-item-text-color: var(--club-nav-text) !important;
  --n-item-text-color-hover: #d5d9df !important;
  --n-item-text-color-active: var(--club-nav-accent) !important;
  --n-item-text-color-active-hover: var(--club-nav-accent) !important;
  --n-item-text-color-child-active: var(--club-nav-accent) !important;
  --n-item-text-color-child-active-hover: var(--club-nav-accent) !important;
  --n-item-icon-color: var(--club-nav-muted) !important;
  --n-item-icon-color-hover: #d5d9df !important;
  --n-item-icon-color-active: var(--club-nav-accent) !important;
  --n-item-icon-color-active-hover: var(--club-nav-accent) !important;
  --n-item-icon-color-child-active: var(--club-nav-accent) !important;
  --n-item-icon-color-child-active-hover: var(--club-nav-accent) !important;
  --n-item-icon-color-collapsed: var(--club-nav-muted) !important;
  --n-arrow-color: var(--club-nav-muted) !important;
  --n-arrow-color-hover: #d5d9df !important;
  --n-arrow-color-active: var(--club-nav-accent) !important;
  --n-arrow-color-child-active: var(--club-nav-accent) !important;
  --n-item-color-hover: #171c22 !important;
  --n-item-color-active: var(--club-nav-selected) !important;
  --n-item-color-active-hover: var(--club-nav-selected) !important;
  --n-item-color-active-collapsed: var(--club-nav-selected) !important;
  padding-block: 12px;
}
.workbench-sider .workbench-menu .n-menu-item {
  height: 42px;
  margin-block: 5px;
}
.workbench-sider .workbench-menu .n-menu-item-content {
  height: 42px;
  padding-left: 12px !important;
  margin-inline: 11px;
  font-weight: 400;
}
.workbench-sider .workbench-menu .n-submenu-children .n-menu-item-content {
  padding-left: 30px !important;
}
.workbench-sider .workbench-menu .n-submenu-children .n-submenu-children .n-menu-item-content {
  padding-left: 48px !important;
}
.workbench-sider .workbench-menu .n-menu-item-content::before {
  left: 0;
  right: 0;
}
.workbench-sider .workbench-menu .n-menu-item-content__icon {
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  margin-right: 10px !important;
  font-size: 18px !important;
}
.workbench-sider .workbench-menu .n-menu-item-content__icon > svg {
  width: 18px;
  height: 18px;
  font-size: 18px !important;
}
.workbench-sider .workbench-menu .n-menu-item-content__icon::after {
  left: -13px;
  width: 3px;
  height: 18px;
  border-radius: 1px;
  background: var(--club-nav-accent);
}
.workbench-sider .workbench-menu .n-menu-item-content__arrow {
  width: 11px;
  height: 11px;
  font-size: 11px;
}
.workbench-sider .workbench-menu.n-menu--collapsed .n-menu-item-content {
  grid-template-columns: minmax(0, 1fr);
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-inline: 8px;
}
.workbench-sider .workbench-menu.n-menu--collapsed .n-menu-item-content__icon {
  position: relative;
  left: auto;
  top: auto;
  grid-area: 1 / 1;
  justify-self: center;
  margin-right: 0 !important;
  transform: none;
}
.workbench-sider .workbench-menu.n-menu--collapsed :is(.n-menu-item-content-header, .n-menu-item-content__arrow) {
  display: none !important;
}
/* Naive UI teleports collapsed sidebar options outside the sidebar. */
body:has(.workbench-sider) .n-dropdown-menu:has(svg use[href^="#icon-local-club-"], svg use[*|href^="#icon-local-club-"]) {
  --n-color: #0d0e10 !important;
  --n-option-text-color: #969a9f !important;
  --n-option-text-color-hover: #d5d9df !important;
  --n-option-text-color-active: #2788cc !important;
  --n-option-text-color-child-active: #2788cc !important;
  --n-option-color-hover: #171c22 !important;
  --n-option-color-active: #102131 !important;
  --n-prefix-color: #858b91 !important;
  --n-option-height: 42px !important;
  --n-font-size: 14px !important;
  border: 1px solid #1c1e22;
  border-radius: 7px;
}
body:has(.workbench-sider) .n-dropdown-menu svg:has(use[href^="#icon-local-club-"], use[*|href^="#icon-local-club-"]) {
  width: 18px;
  height: 18px;
  font-size: 18px !important;
}
