/* Language controls stay visible when the mobile navigation is closed. */
.localized-file-picker { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; margin-top: 8px; padding: 8px 12px; border: 1px solid #79828d; border-radius: 6px; background: #fff; overflow: hidden; }
.localized-file-picker input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.localized-file-picker:focus-within { outline: 3px solid #245c70; outline-offset: 3px; }
.contact-form label .localized-file-button { flex-shrink: 0; padding: 5px 8px; border-radius: 5px; background: #cbc5ff; color: #171b2b; font-size: 14px; }
.localized-file-name { min-width: 0; overflow-wrap: anywhere; font-size: 14px; color: #515b68; }
.language-switch { display: flex; flex-shrink: 0; gap: 2px; margin-left: auto; }
.language-switch button { min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid #b7c6db; border-radius: 8px; background: #fff; color: #18263a; font: 600 14px/1.4 system-ui, sans-serif; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: #18263a; color: #fff; border-color: #18263a; }
.language-switch button:focus-visible { outline: 3px solid #315d9b; outline-offset: 3px; }
.header-inner { gap: 16px; }
.nav { gap: 16px; }
@media (min-width: 761px) { .language-switch { order: 3; } }
@media (min-width: 761px) and (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; padding: 8px 0; }
  .nav { order: 4; width: 100%; justify-content: center; flex-wrap: wrap; }
  html { scroll-padding-top: 160px; }
}
@media (max-width: 760px) {
  .header-inner { gap: 8px; }
  .brand img { width: 104px; }
  .menu-toggle { padding: 8px; font-size: 14px; min-height: 44px; margin-left: auto; }
  .language-switch { margin-left: 0; }
  .nav { order: 4; }
}
@media (max-width: 420px) {
  h1, h2, h3, .button, summary { overflow-wrap: anywhere; }
}
