/* Ark reference, 2026-09-08: visual navigation states only; no routing or geometry changes. */
:root {
  --navigation-state-fill: #ebebf5;
  --navigation-state-text: #0b0b0f;
  --navigation-state-secondary: var(--workbench-text-secondary);
}


/* The top level indicates selection with text weight, without an underline or fill. */
body[data-lg-navigation-ready] .控制台顶部频道 > [data-lg-channel] {
  transition: color .2s linear;
}
body[data-lg-navigation-ready] .控制台顶部频道 > [data-lg-channel]:is(:hover,:active,:focus-visible,.当前) {
  color: var(--navigation-state-text);
  background: transparent;
  box-shadow: none;
}
body[data-lg-navigation-ready] .控制台顶部频道 > [data-lg-channel].当前 {
  font-weight: 400;
  text-shadow: .5px 0 0 currentColor;
}
body[data-lg-navigation-ready] .控制台顶部频道 > [data-lg-channel]::after {
  content: none;
}

/* A selected item uses the same neutral fill at every visible sidebar level. */
body[data-lg-navigation-ready] .控制台主导航 [data-lg-route]:is(:hover,:active,:focus-visible,.当前) {
  background: var(--navigation-state-fill);
  color: var(--navigation-state-text);
  box-shadow: none;
  text-shadow: none;
}
body[data-lg-navigation-ready] .控制台主导航 [data-lg-route].当前 {
  font-weight: 500;
}
body[data-lg-navigation-ready] .控制台主导航 [data-lg-route] {
  border-radius: 8px;
  transition: color .2s linear;
}

/* When the active child is visible, its parent is a label, not a second selected tile. */
body[data-lg-sidebar="expanded"] .控制台导航组.已展开:has(.控制台子导航 .当前) > .控制台一级导航.当前 {
  background: transparent;
  color: var(--navigation-state-secondary);
  font-weight: 400;
}
body[data-lg-sidebar="expanded"] .控制台导航组.已展开:has(.控制台子导航 .当前) > .控制台一级导航.当前:is(:hover,:active,:focus-visible) {
  background: var(--navigation-state-fill);
  color: var(--navigation-state-text);
}

@media(prefers-reduced-motion:reduce) {
  body[data-lg-navigation-ready] .控制台顶部频道 > [data-lg-channel],
  body[data-lg-navigation-ready] .控制台主导航 [data-lg-route] { transition: none; }
}
