/* Workshop destinations share the website and forum header. */
:is(.header,.cs-header) .workshop-navigation{position:relative;flex:none;color:#bdc6cf}
:is(.header,.cs-header) .workshop-navigation>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:14px 10px;list-style:none;cursor:pointer;font-size:inherit;font-weight:400;line-height:1.4;white-space:nowrap}
:is(.header,.cs-header) .workshop-navigation>summary::-webkit-details-marker{display:none}
:is(.header,.cs-header) .workshop-navigation>summary svg{flex:none;width:18px;height:18px;padding:2px;border:1px solid #a8d9ee35;border-radius:50%;color:#a8d9ee;fill:none;stroke:currentColor;stroke-width:1.4}
:is(.header,.cs-header) .workshop-navigation[open]>summary svg{transform:rotate(180deg)}
:is(.header,.cs-header) .workshop-navigation>summary:hover,:is(.header,.cs-header) .workshop-navigation[open]>summary{color:#a8d9ee}
:is(.header,.cs-header) .workshop-navigation.is-current>summary>span{text-decoration:underline;text-decoration-color:#a8d9ee;text-decoration-thickness:2px;text-underline-offset:8px;color:#f8f9fa}
:is(.header,.cs-header) .workshop-navigation>summary:focus-visible{outline:2px solid #efac70;outline-offset:2px;border-radius:3px}
:is(.header,.cs-header) .workshop-submenu{position:absolute;top:calc(100% + 8px);left:var(--workshop-menu-offset,0px);z-index:6;box-sizing:border-box;width:min(1020px,calc(100vw - 32px));max-height:calc(100svh - 110px);overflow:auto;overscroll-behavior:contain;padding:18px;background:linear-gradient(145deg,#20313e,#15212c);border:1px solid #7094aa65;border-radius:10px;box-shadow:0 18px 40px #0006;color:#e7edf2;text-align:left}
:is(.header,.cs-header) .workshop-navigation:not([open])>.workshop-submenu{display:none}
:is(.header,.cs-header) .workshop-menu-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding-top:18px}
:is(.header,.cs-header) .workshop-menu-heading{margin:0 8px 10px;font-size:13px;line-height:1.5;font-weight:650;letter-spacing:0;color:#a8d9ee}
:is(.header,.cs-header) .workshop-menu-group ul{list-style:none;margin:0;padding:0}
:is(.header,.cs-header) .workshop-menu-group li{margin:0;padding:0}
:is(.header,.cs-header) nav .workshop-submenu a{display:flex;align-items:center;box-sizing:border-box;min-height:44px;margin:0;padding:10px 8px;border:0;border-radius:5px;font-size:14px;font-weight:400;line-height:1.45;text-decoration:none;white-space:normal;overflow-wrap:anywhere;color:#e7edf2}
:is(.header,.cs-header) nav .workshop-submenu a:hover,:is(.header,.cs-header) nav .workshop-submenu a[aria-current=page]{color:#fff;background:#a8d9ee15}
:is(.header,.cs-header) nav .workshop-submenu a[aria-current=page]{box-shadow:inset 2px 0 #a8d9ee}
:is(.header,.cs-header) nav .workshop-submenu a:focus-visible{outline:2px solid #efac70;outline-offset:-2px;background:#a8d9ee15}
:is(.header,.cs-header) nav .workshop-submenu .workshop-menu-overview{border-bottom:1px solid #ffffff24;border-radius:0;font-weight:600;color:#efac70;padding-bottom:14px}
@media(max-width:1770px){
 :is(.header,.cs-header) nav:is(#navigation,#cs-site-navigation){justify-content:flex-start}
 :is(.header,.cs-header) .workshop-navigation>summary{padding:15px 12px;min-height:50px;justify-content:space-between;white-space:normal;border-bottom:1px solid #ffffff10}
 :is(.header,.cs-header) .workshop-submenu{position:static;width:auto;max-height:none;margin:5px 8px 12px;padding:12px;border-color:#7094aa35;border-radius:8px;box-shadow:none}
 :is(.header,.cs-header) .workshop-menu-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
}
@media(max-width:600px){
 :is(.header,.cs-header) .workshop-menu-groups{grid-template-columns:minmax(0,1fr)}
 :is(.header,.cs-header) .workshop-menu-group+.workshop-menu-group{border-top:1px solid #ffffff18;padding-top:18px}
 :is(.header,.cs-header) nav .workshop-submenu a{min-height:48px}
}
/* Additional navigation item: allow compact desktop headers to use the existing menu. */
@media(min-width:1251px) and (max-width:1770px){
 :is(.header,.cs-header){display:flex;gap:20px}
 :is(.header,.cs-header) .header-tools{display:flex;margin-left:auto}
 :is(.header,.cs-header) .menu-button{display:flex}
 :is(.header,.cs-header) nav:is(#navigation,#cs-site-navigation){display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:12px 24px;background:#111923;border-bottom:1px solid #ffffff24;box-shadow:0 12px 22px #0003;max-height:calc(100svh - 84px);overflow-y:auto;gap:0;flex-direction:column;align-items:stretch;font-size:16px}
 :is(.header,.cs-header) nav:is(#navigation,#cs-site-navigation).is-open{display:flex}
 :is(.header,.cs-header) nav .site-page-link{display:block;padding:15px 12px;min-height:50px;border-bottom:1px solid #ffffff10}
 :is(.header,.cs-header) nav>*{flex-shrink:0}
 :is(.header,.cs-header) .simulator-navigation summary{padding:15px 12px;min-height:50px;justify-content:space-between;white-space:normal}
 :is(.header,.cs-header) .simulator-submenu{position:static;width:auto;min-width:0;margin:5px 8px 12px;padding:6px;border:1px solid #7094aa35;border-radius:8px;box-shadow:none}
 :is(.header,.cs-header) .simulator-submenu::before{display:none}
 :is(.header,.cs-header) .simulator-detail-menu{position:static;width:auto;margin:0 4px 8px 46px;padding:4px 6px;border:0;border-left:2px solid #a8d9ee60;border-radius:0;background:transparent;box-shadow:none}
 :is(.header,.cs-header) .simulator-detail-menu::before,:is(.header,.cs-header) .simulator-detail-heading{display:none}
 :is(.header,.cs-header) nav>.languages{margin:18px 0 0;border-top:1px solid #ffffff25;padding-top:20px;display:grid;grid-template-columns:1fr}
 :is(.header,.cs-header) .languages .language-label{display:block}
}
