/* The side menu on a desktop or landscape tablet (wider than 980px) can be put away for a wider workspace.
   Put away, the page takes the full width and the menu button in the top bar brings the menu back as a drawer
   over the page; choosing a page, Escape or the shade closes it again. Narrower screens already use the drawer.
   responsive.js sets html.nav-collapsed and remembers the choice on this device. */
.nav-collapse{display:none}
@media(min-width:981px){
  .sidebar .nav-collapse{display:flex;align-items:center;justify-content:center;position:absolute;top:18px;right:10px;z-index:2;width:36px;height:36px;padding:0;
    border:1px solid #ffffff26;border-radius:3px;background:transparent;color:inherit;opacity:.78;cursor:pointer}
  .sidebar .nav-collapse:hover,.sidebar .nav-collapse:focus-visible{opacity:1;background:#ffffff14}
  .sidebar .nav-collapse svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
  .sidebar .brand{padding-right:40px}
  .sidebar{transition:transform .22s ease,box-shadow .22s ease}
  .app-main,.livebar{transition:margin-left .22s ease,left .22s ease}
  html.nav-collapsed{--sidebar:0px}
  html.nav-collapsed .sidebar{width:288px;transform:translateX(-100%);visibility:hidden;z-index:60;transition:transform .22s ease,visibility 0s .22s}
  html.nav-collapsed .sidebar.open{transform:none;visibility:visible;box-shadow:0 0 48px #0000004d;transition:transform .22s ease}
  html.nav-collapsed .sidebar.open+.mobile-sidebar-shade{display:block;position:fixed;inset:0;z-index:59;padding:0;border:0;background:#1f232140;cursor:default}
  html.nav-collapsed .sidebar.open .nav-collapse{right:60px;top:14px;width:44px;height:44px}
  html.nav-collapsed .sidebar.open .nav-close{display:flex;align-items:center;justify-content:center;position:absolute;right:10px;top:14px;z-index:2;width:44px;height:44px;padding:0;border:1px solid #ffffff30;border-radius:3px;background:transparent;color:inherit;font-size:24px;line-height:1;cursor:pointer}
  html.nav-collapsed .sidebar.open .brand{padding-right:104px}
  html.nav-collapsed .mobile-menu{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-right:6px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}
}
@media(prefers-reduced-motion:reduce){.sidebar,.app-main,.livebar{transition:none!important}}
@media print{html.nav-collapsed .mobile-menu,.nav-collapse{display:none!important}}
