/* Reversible desktop-only navigation experiment: an unchanged brand at top, with site links below it in a left rail. */
@media (min-width:851px) and (max-width:1150px) and (hover:hover) and (pointer:fine) {
  body header {
    position:fixed;
    inset:0 auto 0 0;
    width:220px;
    height:100vh;
    overflow-y:auto;
    z-index:30;
  }
  body header nav.nav {
    box-sizing:border-box;
    width:100%;
    max-width:none;
    min-height:100%;
    margin:0;
    padding:18px 16px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
  }
  body header nav.nav .brand {
    align-self:flex-start;
    margin:0 0 22px;
  }
  body header nav.nav .menu {
    display:none !important;
  }
  body header nav.nav .brand {
    order:-2;
  }
  body header nav.nav .site-search-launch {
    order:-1;
    align-self:stretch;
    justify-content:flex-start;
    width:100%;
    margin:0 0 18px;
  }
  body header nav.nav .site-search-label {
    display:inline !important;
  }
  body header nav.nav .navlinks {
    position:static;
    inset:auto;
    width:100%;
    margin:0;
    padding:0;
    display:flex !important;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:transparent;
    font-size:12px;
  }
  body header nav.nav .navlinks a {
    display:block;
    padding:11px 8px;
    border-bottom:1px solid var(--line);
    line-height:1.35;
    overflow-wrap:anywhere;
  }
  body header nav.nav .navlinks a:hover,
  body header nav.nav .navlinks a:focus-visible {
    background:var(--green);
    text-decoration:underline;
    text-underline-offset:3px;
  }
  body main,
  body footer {
    margin-left:244px;
  }
  body main.workspace-shell {
    margin-left:244px;
    margin-right:0;
  }
}
