/* One public header for product, reading and legal pages. */
.masthead {
 position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:100;
 width:min(1360px,100% - 24px);margin:0;padding:6px 14px;
 display:flex;align-items:center;gap:clamp(8px,1.8vw,24px);
 border-radius:24px;background:#0c0d10f5;color:#f5f5f7;
 box-shadow:inset 0 0 0 1px #ffffff21,0 14px 36px -18px #000;
 font-size:14px;line-height:1.35;
}
.masthead a{color:inherit;text-decoration:none}
.masthead .brand{display:flex;align-items:center;min-height:44px}
.masthead .brand img{display:block;width:96px;height:auto}
.masthead .nav-desktop{display:flex;align-items:center;gap:clamp(8px,1.7vw,22px);margin-inline:auto}
.masthead :is(nav a,summary,.nav-account,.nav-flyout a){display:flex;align-items:center;min-height:44px}
.masthead summary{cursor:pointer;list-style:none}
.masthead summary::-webkit-details-marker{display:none}
.masthead summary::after{content:'';width:6px;height:6px;margin-inline-start:8px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg)}
.masthead :is(.nav-account,.lang){white-space:nowrap}
.masthead details{position:relative;min-width:0}
.masthead .nav-flyout{
 position:absolute;top:calc(100% + 8px);inset-inline-start:0;
 margin:0;padding:6px;min-width:188px;max-width:calc(100vw - 48px);
 max-height:calc(100dvh - 85px);overflow:auto;
 list-style:none;background:#1c1e22;color:#f5f5f7;border:1px solid #ffffff26;border-radius:14px;
}
.masthead .nav-flyout :is(a,summary){padding-inline:10px;border-radius:8px}
.masthead .lang ul{inset-inline-start:auto;inset-inline-end:0;width:220px;display:grid;grid-template-columns:1fr 1fr;gap:2px}
.masthead .lang-code{display:none}
.masthead .lang li{margin:0;padding:0}
.masthead .lang a{flex-direction:column;justify-content:center;align-items:flex-start}
.masthead .lang small{color:#b3b6be}
.masthead [aria-current]{color:#7de2c5}
.masthead :focus-visible{outline:2px solid #7de2c5;outline-offset:2px}
.masthead .nav-flyout a:hover{background:#ffffff12}
.masthead .nav-mobile{display:none}
@media (prefers-reduced-motion:no-preference){
 .masthead details[open]:not(:has(>summary:focus-visible))>.nav-flyout{
  transform-origin:top left;animation:nav-enter 180ms cubic-bezier(.23,1,.32,1) both;
 }
 .masthead :is(.lang,.nav-mobile)[open]>.nav-flyout{transform-origin:top right}
}
@keyframes nav-enter{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
html:has(body:is(.reading-page,.guides)){scroll-padding-top:90px}
.reading-page main,.guides main{padding-top:100px}
body:is(.reading-page,.guides)>.skip{z-index:101}
@media (max-width:960px){
 .masthead{gap:8px;font-size:13px;padding:4px 10px}
 .masthead .nav-desktop{display:none}
 .masthead .brand{margin-inline-end:auto}
 .masthead .brand img{width:74px}
 .masthead .nav-mobile{display:block}
 .masthead :is(.lang,.nav-mobile){position:static}
 .masthead .lang-name{display:none}
 .masthead .lang-code{display:inline}
 .masthead .lang>summary{min-width:44px;justify-content:center}
 .masthead .lang{margin-inline-end:8px}
 .masthead .lang ul{inset-inline-end:10px}
 .masthead .nav-mobile>summary{justify-content:center;min-width:44px;font-size:19px}
 .masthead .nav-mobile>summary::after{display:none}
 .masthead .nav-mobile>.nav-flyout{inset-inline-start:auto;inset-inline-end:10px;width:220px}
 .masthead .nav-mobile .nav-product>.nav-flyout{position:static;min-width:0;max-width:none;margin-inline-start:10px;border:0;padding:0}
}
@media (max-width:360px){
 .masthead{font-size:12px;gap:5px}
 .masthead .brand img{width:62px}
}
@media print{.masthead{display:none}}
