/* Global beta! page frame */
.brandbar{
  position:sticky;
  top:0;
  z-index:900;
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  min-height:96px;
  padding:12px 18px;
  background:var(--beta-navy);
  border:0;
  overflow:visible;
  isolation:isolate;
}

.brandbar::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:44px;
  transform:translateY(-50%);
  background:var(--beta-white);
  z-index:-1;
}

.beta-global-header{
  margin-bottom:28px;
}

.beta-nav-logo-toggle{
  position:relative;
  z-index:2;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  cursor:pointer;
  overflow:visible;
}

.beta-puzzle-image{
  display:block;
  width:128px;
  height:auto;
  transform:rotate(-11deg);
  transform-origin:center;
  filter:drop-shadow(0 7px 10px rgba(0,0,0,.20));
}

.brandbar .tag{
  position:relative;
  z-index:2;
  margin:0;
  color:var(--beta-navy);
  font-size:18px;
  font-weight:700;
  white-space:nowrap;
}

.beta-nav-backdrop{
  position:fixed;
  inset:0;
  z-index:1000;
  background:rgba(0,0,0,.28);
}

.beta-nav-panel{
  position:fixed;
  top:0;
  right:0;
  z-index:1001;
  width:min(340px,88vw);
  height:100dvh;
  padding:22px;
  background:var(--beta-white);
  border-left:1px solid var(--beta-blue);
  box-shadow:-18px 0 50px rgba(0,0,0,.12);
  transform:translateX(100%);
  transition:transform .22s ease;
  display:flex;
  flex-direction:column;
  overflow-y:auto;
}

.beta-nav-panel.open{
  transform:translateX(0);
}

.beta-nav-head{
  position:relative;
  isolation:isolate;
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:96px;
  margin:-22px -22px 18px;
  padding:12px 22px;
  background:var(--beta-navy);
  overflow:visible;
}

.beta-nav-head::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:44px;
  transform:translateY(-50%);
  background:var(--beta-white);
  z-index:-1;
}

.beta-nav-brand{
  position:relative;
  z-index:2;
  display:block;
}

.beta-nav-brand .beta-puzzle-image{
  width:112px;
}

.beta-nav-close{
  position:relative;
  z-index:2;
  border:0;
  padding:0;
  background:transparent;
  color:var(--beta-navy);
  font-size:34px;
  line-height:1;
  cursor:pointer;
}

.beta-nav-links{
  display:flex;
  flex-direction:column;
  padding:0;
}

.beta-nav-links a{
  padding:14px 4px;
  color:var(--beta-navy);
  text-decoration:none;
  font-size:18px;
  font-weight:800;
  border-bottom:1px solid var(--beta-blue);
}

.beta-nav-signout{
  margin-top:auto;
  border:0;
  border-radius:12px;
  padding:13px 16px;
  background:var(--beta-navy);
  color:#fff;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}

body.beta-menu-open{
  overflow:hidden;
}

@media(max-width:700px){
  .brandbar{
    min-height:82px;
    padding:8px 14px;
  }

  .brandbar::before{
    height:38px;
  }

  .beta-puzzle-image{
    width:108px;
  }

  .brandbar .tag{
    font-size:14px;
  }

  .beta-nav-head{
    min-height:82px;
  }

  .beta-nav-head::before{
    height:38px;
  }

  .beta-nav-brand .beta-puzzle-image{
    width:96px;
  }

  .beta-nav-links a{
    font-size:17px;
  }
}

.beta-global-header,
.beta-nav-panel{
  font-family:var(--beta-font-brand);
}
