.hdr__menu{display:none;align-items:center;gap:8px;min-height:44px;min-width:44px;padding:0 12px;border:1px solid var(--line);border-radius:var(--r-btn,8px);background:#fff;color:var(--ink);font:600 .875rem/1 Inter,system-ui,sans-serif;letter-spacing:0;cursor:pointer}
.hdr__menu:hover{border-color:var(--brand);color:var(--brand)}
.hdr__menu-ico{position:relative;width:16px;height:2px;border-radius:1px;background:currentColor;box-shadow:0 -5px 0 currentColor,0 5px 0 currentColor}
.hdr__menu[aria-expanded="true"] .hdr__menu-ico{box-shadow:none;transform:rotate(45deg)}
.hdr__menu[aria-expanded="true"] .hdr__menu-ico::after{content:"";position:absolute;inset:0;border-radius:1px;background:currentColor;transform:rotate(90deg)}

.mmenu{border-top:1px solid var(--line);background:#fff;box-shadow:0 18px 30px -18px rgba(6,42,77,.35);max-height:calc(100vh - 66px);max-height:calc(100dvh - 66px);overflow-y:auto;overscroll-behavior:contain}
.hdr .hdr__in{height:auto;min-height:66px;flex-wrap:wrap;row-gap:6px;padding-block:0}
.hdr .btn,.hdr__login,.hdr__menu{white-space:nowrap}
.mmenu[hidden]{display:none}
.mmenu ul{list-style:none;padding:6px 0 12px}
.mmenu li{border-bottom:1px solid var(--line)}
.mmenu li:last-child{border-bottom:0}
.mmenu a,.mmenu button{display:flex;align-items:center;width:100%;min-height:48px;padding:0 4px;font:500 1rem/1.3 Inter,system-ui,sans-serif;color:var(--ink);background:none;border:0;text-align:left;cursor:pointer}
.mmenu a:hover,.mmenu button:hover{color:var(--brand)}
.mmenu a[aria-current]{color:var(--brand);font-weight:600}
.mmenu__sep{margin-top:6px;border-top:2px solid var(--line)}

@media (max-width:1099px){
  .hdr__menu{display:inline-flex}
  .hdr__acts .btn--sm{min-height:44px}
  .hdr__login{display:inline-flex;align-items:center;min-height:44px}
}
@media (max-width:419px){
  .hdr__acts{gap:8px}
  .hdr__acts .hdr__login,.hdr__acts .hdr__out{display:none}
}
.hdr__build-short{display:none}
@media (max-width:1099px){.hdr__acts .hdr__build~.hdr__menu{margin-left:0}.hdr--in .hdr__acts .hdr__login,.hdr--in .hdr__acts .hdr__out{display:none}}
@media (max-width:599px){.hdr__acts .hdr__check{display:none}.hdr__build-long{display:none}.hdr__build-short{display:inline}}
@media (min-width:1100px){.mmenu{display:none!important}}

.hdr__menu{white-space:nowrap;flex:0 0 auto}
.hdr__menu-ico{flex:0 0 16px}
@media (max-width:767px){
  .hdr .hdr__in{gap:10px}
  .hdr .logo{flex:0 0 auto}
  .hdr .logo .mar-logo--full{display:block;height:32px}
  .hdr .logo .mar-logo--mark{display:none}
  .hdr .hdr__acts{gap:8px;flex:0 0 auto}
  .hdr .hdr__acts > .btn--sm:not(.hdr__build){display:none}
  .hdr .hdr__acts > a.hdr__login[href="/login"]{display:inline-flex;white-space:nowrap;padding:8px 4px}
  .hdr .hdr__build{flex:0 0 auto}
}
@media (max-width:359px){.hdr .logo .mar-logo--full{height:30px}}

@media (max-width:1099px){.hdr--in .hdr__acts .hdr__acct{display:none}}
.nav a{white-space:nowrap}

@media (max-width:1099px){.hdr__acts .hdr__signup{display:none}}

@media (min-width:1100px) and (max-width:1199px){.nav a[href="/templates"]{display:none}}
