/* DIAR-6B.2-R3.1.2 — root sidebar stability. No hover event may change geometry. */
@media (min-width:761px) {
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-shell[data-native-shell-contract="R4"] {
    grid-template-columns:296px minmax(0,1fr)!important;
    grid-template-areas:"native-sidebar native-main"!important;
  }
  html[dir="rtl"].diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-shell[data-native-shell-contract="R4"] {
    grid-template-columns:minmax(0,1fr) 296px!important;
    grid-template-areas:"native-main native-sidebar"!important;
  }
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-shell[data-native-shell-contract="R4"]>.elite-sidebar[data-native-sidebar-contract="R4"] {
    grid-area:native-sidebar!important;
    position:fixed!important;
    inset-block:0!important;
    width:296px!important;
    min-width:296px!important;
    max-width:296px!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    transform:none!important;
    translate:none!important;
    overflow:hidden!important;
    overflow-anchor:none!important;
    contain:layout paint style!important;
    will-change:auto!important;
    isolation:isolate!important;
  }
  html[dir="ltr"].diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-shell[data-native-shell-contract="R4"]>.elite-sidebar[data-native-sidebar-contract="R4"] { inset-inline-start:0!important;inset-inline-end:auto!important; }
  html[dir="rtl"].diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-shell[data-native-shell-contract="R4"]>.elite-sidebar[data-native-sidebar-contract="R4"] { inset-inline-start:auto!important;inset-inline-end:0!important; }
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-shell[data-native-shell-contract="R4"]>.elite-main[data-native-main-contract="R4"] {
    grid-area:native-main!important;
    min-width:0!important;
    width:auto!important;
    margin:0!important;
    transform:none!important;
    translate:none!important;
  }

  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"],
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] *,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] *::before,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] *::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }

  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav {
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overflow-anchor:none!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:stable both-edges!important;
    touch-action:pan-y!important;
  }
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-group,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-group-toggle,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-item,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-group-icon,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-item-icon,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-count {
    box-sizing:border-box!important;
    transform:none!important;
    translate:none!important;
    scale:none!important;
  }

  /* Hover changes paint only. Padding, border width, font metrics, height and position remain identical. */
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-group-toggle:hover,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-group-toggle:focus-visible {
    transform:none!important;
    translate:none!important;
    scale:none!important;
    margin:0!important;
    padding:4px 7px!important;
    border-width:1px!important;
    box-shadow:0 4px 13px rgba(30,71,99,.04)!important;
    outline:2px solid rgba(var(--group-rgb),.18)!important;
    outline-offset:-2px!important;
  }
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-item:hover,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-item:focus-visible {
    transform:none!important;
    translate:none!important;
    scale:none!important;
    margin:1px 0!important;
    padding:3px 6px!important;
    border-width:1px!important;
    box-shadow:inset 0 0 0 1px rgba(var(--group-rgb),.05)!important;
    outline:none!important;
  }
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-group-toggle b,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-item b {
    font-weight:750!important;
    font-variation-settings:normal!important;
    font-synthesis:none!important;
  }
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-chevron,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"] .native-nav-group.is-open .native-nav-chevron {
    transform:none!important;
  }

  /* Dynamic density classes from older releases are inert even if left in cached DOM. */
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"].native-sidebar-height-compact,
  html.diar-sidebar-r5-stable body[data-native-sidebar-page^="diar-"] .elite-sidebar[data-native-sidebar-contract="R4"].native-sidebar-height-ultra {
    --diar-density-inert:1;
  }
}
