/* Shared navigation, independent of the 3D renderer. */
.masthead .header-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap;min-width:0}
.masthead .brand{flex-shrink:0}
.nav-toggle{display:none}
@media(max-width:1500px){
 .masthead{position:relative;z-index:20;height:76px;padding:0 16px;gap:12px;justify-content:space-between}
 .masthead .revision{display:none}
 .masthead .brand{min-width:0;font-size:14px;gap:9px}
 .masthead .brand small{font-size:10px}
 .masthead .brand-mark{width:38px;height:38px;flex-shrink:0}
 .masthead .nav-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;margin-left:auto;padding:10px;border:1px solid #b6c2ba;border-radius:4px;background:#fffefa;color:#253330;font:inherit;font-size:13px;cursor:pointer;flex-shrink:0}
 .nav-toggle:hover{background:#e7eee8}
 .nav-toggle .close-lines,.nav-toggle[aria-expanded=true] .menu-lines{display:none}
 .nav-toggle[aria-expanded=true] .close-lines{display:block}
 .masthead .header-links{display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:12px 16px 20px;background:#fffefa;border-bottom:1px solid #b6c2ba;box-shadow:0 12px 20px #25333018;max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain;gap:0}
 .masthead .header-links.is-open{display:grid}
 .masthead .header-links a{margin:0;padding:12px 8px;min-height:48px;font-size:15px;line-height:1.4;text-decoration:none;border-bottom:1px solid #e1e5df;justify-content:space-between;overflow-wrap:anywhere}
 .masthead .header-links a:hover{background:#e7eee8}
 .masthead .header-links a:last-child{border-bottom:0}
 .nav-toggle:focus-visible,.masthead .header-links a:focus-visible{outline:3px solid #278876;outline-offset:2px}
}
@media(max-width:360px){.nav-toggle span{display:none}}
