/* Keep the version switcher visible below the independently scrolling TOC. */
.wy-nav-side { padding-bottom: 52px; }
.gestion-doc-versions {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    background: #272525;
    border-top: 1px solid #555;
    z-index: 1;
}
.gestion-doc-versions summary {
    min-height: 52px;
    padding: 14px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}
.gestion-doc-versions nav {
    position: absolute;
    bottom: 100%;
    width: 100%;
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    background: #272525;
    border-top: 1px solid #555;
    box-shadow: 0 -6px 18px #0003;
}
.gestion-doc-versions ul { margin: 0; padding: 8px 0; list-style: none; }
.gestion-doc-versions a { display: block; padding: 10px 20px; color: #ddd; }
.gestion-doc-versions a[aria-current="page"] { color: #72c9ff; font-weight: 700; }
.gestion-doc-versions a:hover { color: #fff; background: #454242; }
.gestion-doc-versions summary:focus-visible,
.gestion-doc-versions a:focus-visible { outline: 3px solid #72c9ff; outline-offset: -3px; }
