/* Language Lab header-row fix 1.0.0. Append after the existing theme styles. */
@media (min-width: 701px) {
  html body header.site-header.lab-header {
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px!important;
    padding:8px 16px!important;
  }
  html body header.site-header.lab-header > .wordmark {
    order:0!important;
    flex:0 0 auto!important;
    width:auto!important;
    margin:0 10px 0 0!important;
  }
  html body header.site-header.lab-header > .lab-primary {
    order:1!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    grid-column:auto!important;
    grid-row:auto!important;
  }
  html body header.site-header.lab-header > .lab-primary > nav {
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:auto!important;
    gap:3px!important;
  }
  html body header.site-header.lab-header > .lab-language {
    order:2!important;
    flex:0 0 104px!important;
    width:104px!important;
    margin:0 0 0 auto!important;
  }
  html body header.site-header.lab-header > .lab-access-tools {
    order:3!important;
    flex:0 0 auto!important;
    width:auto!important;
    margin:0!important;
    gap:5px!important;
  }
  html body header.site-header.lab-header > .lab-access-menu {
    order:4!important;
    flex:0 0 auto!important;
    width:auto!important;
    margin:0!important;
  }
  html body header.site-header.lab-header > .lab-primary > nav > .toolbar-tab,
  html body header.site-header.lab-header > .lab-primary > nav > details > summary {
    min-height:40px!important;
    height:auto!important;
    padding:7px 9px!important;
  }
}
