
/* H16: explicit mobile Projects shortcut, native menu, keyboard visibility. */
.mw-mobile-projects,.mw-mobile-menu{display:none}
.mw-mobile-menu summary{list-style:none;display:flex;align-items:center;justify-content:center;
 cursor:pointer;min-width:44px;min-height:44px;padding:7px;border-radius:8px;
 border:1px solid #687eab;background:#17233c;color:#f4f7ff;font-weight:750}
.mw-mobile-menu summary::-webkit-details-marker{display:none}
.mw-mobile-menu .mw-mobile-links{display:none}
.mw-mobile-menu a[aria-current="page"]{background:#304b78;font-weight:800;color:#fff}
.site-header .language-toggle a[aria-current="page"]{background:#d4d6eb;color:#11192a}
.site-header .mw-mobile-projects:focus-visible,.site-header .mw-mobile-menu summary:focus-visible,
.site-header .mw-mobile-menu a:focus-visible,.site-header .language-toggle a:focus-visible,
.mw-dir-navigation a:focus-visible,.mw-dir-link:focus-visible,.mw-detail-return:focus-visible{
 outline:3px solid #ffdd91;outline-offset:3px}
.mw-dir-navigation a{display:inline-flex;align-items:center;min-height:44px}
.mw-dir-link,.mw-detail-return{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:900px){
 .site-header .header-inner > nav{display:none}
 .site-header .header-inner{gap:9px}
 .site-header .header-actions{margin-left:0}
 .site-header .header-action{display:none}
 .site-header .mw-mobile-projects{display:inline-flex;align-items:center;justify-content:center;
  margin-left:auto;min-height:44px;padding:6px 11px;border:1px solid #6483be;
  background:#1b3159;color:#f1f5ff;border-radius:8px;font-size:.84rem;font-weight:800;white-space:nowrap}
 .site-header .mw-mobile-menu{display:block;position:relative;z-index:120;flex-shrink:0}
 .site-header .mw-mobile-menu[open] .mw-mobile-links{display:grid;position:absolute;right:0;
  top:calc(100% + 8px);width:min(304px,calc(100vw - 30px));gap:2px;padding:8px;
  border:1px solid #6580af;border-radius:11px;background:#111e36;
  box-shadow:0 18px 38px rgba(0,0,0,.5)}
 .site-header .mw-mobile-links a{display:flex;align-items:center;padding:9px 12px;
  min-height:44px;font-size:.94rem;color:#dee9ff;border-radius:6px}
 .site-header .mw-mobile-links a:hover,.site-header .mw-mobile-links a:focus-visible{background:#284575;color:#fff}
 .site-header .language-toggle a{min-height:44px;min-width:36px}
}
@media(max-width:530px){
 .site-header .brand-thin,.site-header .brand-tiny{display:none}
 .site-header .mw-mobile-menu summary .mw-mobile-menu-word{display:none}
 .site-header .brand{gap:6px;letter-spacing:.04em}
 .site-header .brand-symbol{font-size:24px}
 .site-header .header-inner{gap:6px}
 .site-header .mw-mobile-projects{font-size:.76rem;padding-inline:8px}
 .site-header .language-toggle{padding:2px;gap:0}
 .site-header .language-toggle a{min-width:33px;padding-inline:3px}
}
@media(prefers-reduced-motion:reduce){
 .mw-mobile-menu *,.mw-mobile-projects{transition:none!important}
}
