/* Sidebar nav hints: one floating tooltip (positioned by nav-hints.js with position: fixed so the
   scrolling sidebar can't clip it). The per-item text lives in hidden .nav-hint spans, which
   screen readers get through aria-describedby. Desktop only: no hover tooltips at <= 820px. */
.nav-tip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  max-width: 240px;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--inverse-bg, #0a2540);
  color: var(--inverse-ink, #fff);
  font: 500 13px/1.4 var(--font-body, system-ui, sans-serif);
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.22);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-4px, -50%);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
}
.nav-tip.show { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.nav-tip::before {
  content: "";
  position: absolute;
  left: -5px;
  top: var(--arrow-y, 50%);
  width: 10px;
  height: 10px;
  margin-top: -5px;
  background: var(--inverse-bg, #0a2540);
  transform: rotate(45deg);
  border-radius: 2px;
}
@media (max-width: 820px), (hover: none) {
  .nav-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-tip { transition: none; }
}
