/* Shared language picker. Dictionaries change copy, never application routes. */
.language-menu { position: relative; font-family: inherit; flex-shrink: 0; }
.language-menu > summary { display: flex; align-items: center; gap: 8px; padding: 10px 4px; min-height: 44px; cursor: pointer; list-style: none; color: inherit; font-size: 13px; white-space: nowrap; }
.language-menu > summary::-webkit-details-marker { display: none; }
.language-menu > summary > svg { width: 17px; height: 17px; flex-shrink: 0; }
.language-menu > summary > svg.language-chevron { width: 13px; height: 13px; transition: transform .15s; }
.language-menu[open] .language-chevron { transform: rotate(180deg); }
.language-menu summary:focus-visible, .language-options button:focus-visible { outline: 2px solid #22bba1; outline-offset: 3px; }
.language-options { position: absolute; right: 0; top: calc(100% + 8px); z-index: 100; width: 242px; padding: 10px; border: 1px solid #e3e9e5; border-radius: 16px; background: #fff; color: #17231f; box-shadow: 0 12px 42px #17231f1a; max-height: min(480px, 75vh); overflow-y: auto; }
.language-options button { display: block; width: 100%; border: 0; background: transparent; text-align: left; font: inherit; font-size: 15px; color: inherit; border-radius: 7px; padding: 12px 14px; min-height: 44px; cursor: pointer; line-height: 1.5; }
.language-options button:hover, .language-options button:focus-visible { background: #f2f7f4; }
.language-options button[aria-pressed="true"] { color: #159b83; font-weight: 650; }
.language-status { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 120; max-width: calc(100% - 32px); margin: 0; padding: 12px 20px; background: #17231f; color: #fff; font-size: 13px; line-height: 1.6; border-radius: 9px; box-shadow: 0 8px 25px #0002; }
.language-status[hidden] { display: none; }
.header-actions { min-width: 0; }
.hero h1, .section h2, .feature-card h3, .faq-list summary, .steps h3, .download-panel h2 { overflow-wrap: anywhere; }
.float-label { max-width: 235px; }
.float-label > span { min-width: 0; }
.download-actions { max-width: 100%; }
.store-button { max-width: 100%; }
.store-button > span { min-width: 0; }
html:lang(de) .hero h1, html:lang(vi) .hero h1, html:lang(id) .hero h1, html:lang(fil) .hero h1 { font-size: clamp(40px, 4vw, 58px); }
html:lang(de) .hero-description, html:lang(vi) .hero-description, html:lang(id) .hero-description, html:lang(fil) .hero-description { font-size: 15px; }
@media (max-width: 800px) {
  .language-menu > summary { font-size: 12px; }
  .language-options { width: 230px; }
}
@media (max-width: 500px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 8px; }
  .header-inner .brand { font-size: 22px; gap: 8px; }
  .header-inner .brand img { width: 30px; height: 30px; }
  .language-menu > summary { gap: 5px; padding-inline: 2px; }
  .language-menu [data-language-label] { max-width: 69px; overflow: hidden; text-overflow: ellipsis; }
  #menu-toggle { width: 32px; padding: 6px; }
  html:lang(de) .hero h1, html:lang(vi) .hero h1, html:lang(id) .hero h1, html:lang(fil) .hero h1 { font-size: 36px; }
  html:lang(de) .hero-description, html:lang(vi) .hero-description, html:lang(id) .hero-description, html:lang(fil) .hero-description { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .language-menu > summary > svg.language-chevron { transition: none; } }
