/* Offline-only helpers — keep ReadMe hashed classnames working without the SPA. */

.rm-Flyout.offline-flyout-open,
[data-testid="flyout"].offline-flyout-open {
  display: block !important;
}

/* Dim page when the header flyout is open (mirrors ReadMe overlay intent). */
body:has(.rm-Flyout.offline-flyout-open)::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 90;
}

/* Ensure chevron rotates when a sidebar branch is expanded. */
.reference-redesign .Sidebar-item23D-2Kd61_k3.subnav-expanded .Sidebar-link-expandIcon2yVH6SarI6NW,
.reference-redesign li.subnav-expanded [class*="Sidebar-link-expandIcon"] {
  transform: rotate(90deg);
}
