/* One light site header and a single horizontally scrollable navigation row.
   Shared by Home, Sizing, Aircraft/Wing editors, Results, Run and About.
   Scope rules to the site header to avoid altering the editors' view toolbars. */
:root{color-scheme:light}
body{background-color:#f6f8f7}
header.site-header,
body.editor-page header.site-header,
body.wing-page header.site-header{
  box-sizing:border-box;
  width:100%;
  max-width:1240px;
  height:86px;
  min-height:86px;
  margin:0 auto;
  padding:0 30px;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  border:0;
  border-bottom:1px solid #d8e2df;
  background:#f6f8f7;
  color:#172f3a;
}
.site-header .logo,
body.editor-page .site-header .logo{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:12px;
  color:#172f3a;
  font-size:19px;
  font-weight:750;
  letter-spacing:.06em;
  text-decoration:none;
  white-space:nowrap;
}
.site-header .logo small,
body.editor-page .site-header .logo small{
  display:block;
  color:#5e737d;
  font-size:12px;
  font-weight:400;
  line-height:1.2;
  letter-spacing:0;
}
.site-header .logo-mark,
body.editor-page .site-header .logo-mark{
  display:grid;
  place-items:center;
  flex:0 0 39px;
  width:39px;
  height:39px;
  background:#102c3b;
  color:#b9ed84;
  font-size:25px;
  transform:skew(-10deg);
}
.site-header > nav,
body.editor-page .site-header > nav{
  box-sizing:border-box;
  display:flex;
  flex:1 1 auto;
  min-width:0;
  max-width:100%;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:clamp(13px,2vw,27px);
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x;
  scrollbar-width:thin;
  font-size:13px;
}
.site-header > nav > a,
body.editor-page .site-header > nav > a{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  color:#172f3a;
  text-decoration:none;
  white-space:nowrap;
  font-size:13px;
  font-weight:500;
  line-height:1.35;
  padding:9px 0;
}
.site-header > nav > a:hover,
body.editor-page .site-header > nav > a:hover{color:#187567}
.site-header > nav > a[aria-current="page"],
body.editor-page .site-header > nav > a[aria-current="page"]{
  color:#187567;
  font-weight:700;
}
.site-header > nav > a.nav-cta,
body.editor-page .site-header > nav > a.nav-cta{
  display:inline-flex!important;
  padding:9px 14px;
  border:1px solid #c8d7d1;
  border-radius:4px;
  background:#f8fbf9;
  color:#173f38;
  font-weight:650;
}
.site-header > nav > a.nav-cta:hover{background:#e9f3ee}
/* Retain accessible focus and an independently scrolling menu, not a page-wide overflow. */
.site-header > nav > a:focus-visible,
.site-header .logo:focus-visible{outline:3px solid #2b9985;outline-offset:2px}
body.wing-page .skip-to-content{position:absolute;left:10px;top:-70px;z-index:20;padding:12px;background:#fff;color:#172f3a}
body.wing-page .skip-to-content:focus{top:10px}
body.editor-page .layout,body.wing-page .layout{height:calc(100vh - 86px)}
@media(max-width:900px){
  header.site-header,
  body.editor-page header.site-header,
  body.wing-page header.site-header{
    height:auto;
    min-height:0;
    padding:13px 20px 9px;
    gap:7px;
    display:flex;
    flex-direction:column;
    flex-wrap:nowrap;
    align-items:stretch;
  }
  .site-header .logo,body.editor-page .site-header .logo{align-self:flex-start}
  .site-header > nav,
  body.editor-page .site-header > nav{
    flex:0 0 auto;
    width:100%;
    max-width:100%;
    min-width:0;
    justify-content:flex-start;
    flex-wrap:nowrap;
    gap:19px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:7px 1px 8px;
    white-space:nowrap;
    scrollbar-width:thin;
  }
  .site-header > nav > a,
  body.editor-page .site-header > nav > a{padding:7px 0}
  body.editor-page .layout,body.wing-page .layout{height:auto;min-height:0}
}
@media(max-width:600px){
  header.site-header,
  body.editor-page header.site-header,
  body.wing-page header.site-header{padding:11px 16px 7px}
  .site-header > nav,body.editor-page .site-header > nav{gap:17px}
  .site-header > nav > a,body.editor-page .site-header > nav > a{font-size:13px;padding:8px 0}
  .site-header > nav > a.nav-cta,body.editor-page .site-header > nav > a.nav-cta{padding:8px 11px}
}
