/* CLOUD_OFFICE_NAVIGATION_STABILITY_V11
 * Functionality fixes live in shell.js. The compact V10 rail's spacing,
 * colors, scroll thumb, highlights, and 10% workspace sizing are unchanged.
 * Only transition behavior/scroll anchoring are refined. */
.pa-shell.is-executive-rail .pa-nav {
  overflow-anchor: none; /* opening a group cannot drag the existing viewport */
}
/* Native <details> remains semantic, keyboard-operable and works without CSS.
 * Progressive enhancement on browsers supporting the details-content pseudo
 * element and auto-size interpolation; older browsers simply snap open. */
@supports selector(details::details-content) {
  @supports (interpolate-size: allow-keywords) {
    .pa-shell.is-executive-rail .pa-nav .pa-v2-group {
      interpolate-size: allow-keywords;
    }
    .pa-shell.is-executive-rail .pa-nav .pa-v2-group::details-content {
      display: block;
      block-size: 0;
      opacity: 0;
      overflow: clip;
      transition: block-size 175ms var(--pa-ease),
        opacity 150ms var(--pa-ease),
        content-visibility 175ms allow-discrete;
    }
    .pa-shell.is-executive-rail .pa-nav .pa-v2-group[open]::details-content {
      block-size: auto;
      opacity: 1;
    }
  }
}
/* Animate only the selected page after its own async render has completed.
 * Loading indicators themselves stay immediate and attributable to the URL. */
@media (prefers-reduced-motion: no-preference) {
  .pa-shell.is-executive-rail .pa-view[aria-busy="false"] > :first-child {
    animation: pa-office-page-ready-v11 145ms var(--pa-ease) both;
  }
}
@keyframes pa-office-page-ready-v11 {
  from { opacity: .84; transform: translateY(2px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pa-shell.is-executive-rail .pa-nav .pa-v2-group::details-content {
    transition: none;
  }
  .pa-shell.is-executive-rail .pa-view > :first-child {
    animation: none;
    transform: none;
  }
}
