/* QA-08: preserve the compact visual hierarchy while providing usable tap areas. */
.reference-language button{min-width:44px;min-height:44px;padding:8px;border-radius:999px}
@media(max-width:980px),(pointer:coarse){
  #hdr button,#app button{min-width:44px;min-height:44px}
  #drawer summary,#drawer a.it{min-height:44px}
}
@media(max-width:640px){
  #hdr .hin{padding-inline:12px;gap:8px}
  #hdr .logo{width:clamp(92px,29vw,150px)}
  #hdr .hr{gap:4px;flex-shrink:0}
  .reference-language{padding:2px;gap:0}
  .reference-language button{padding:6px;font-size:11px}
}
/* The main landmark can receive skip-link focus without entering the normal tab order. */
#app:focus-visible{outline:2px solid var(--pink);outline-offset:-2px}

/* Keep the menu toggle reachable while the full-screen drawer is open. */
#hdr.drawer-open{z-index:71;background:var(--bg-page)}
