/* V39.14 Narrow-screen header stability; de/fi only. Layout and science preserved. */
@media (max-width: 360px) {
  html:lang(fi) .site-header .brand-name,
  html:lang(de) .site-header .brand-name { font-size: 15px !important; }
  html:lang(fi) .site-header .brand-symbol,
  html:lang(de) .site-header .brand-symbol { width: 28px !important; height: 28px !important; }
  html:lang(fi) .site-header .menu-toggle,
  html:lang(de) .site-header .menu-toggle { white-space: nowrap; }
  html:lang(fi) .site-header:has(.menu-toggle[aria-expanded="true"]) .v36-header-actions,
  html:lang(de) .site-header:has(.menu-toggle[aria-expanded="true"]) .v36-header-actions { display: none !important; }
}
/* Fallback for older engines without :has(): direct contact remains in mobile navigation. */
@supports not selector(:has(*)) {
  @media (max-width: 360px) {
    html:lang(fi) .site-header .v36-header-actions,
    html:lang(de) .site-header .v36-header-actions { display: none !important; }
  }
}
