/* Shared by all pages; native details/links remain usable without JavaScript. */
.language-selector{position:relative;font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:normal;flex-shrink:0;color:inherit;z-index:15}
.language-selector summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:center;gap:5px;width:56px;padding:6px;border:1px solid #7d8b78;border-radius:7px;box-sizing:border-box;list-style:none}
.language-selector summary::marker{content:""}.language-selector summary::-webkit-details-marker{display:none}.language-selector summary::after{content:"▾";font-size:12px}
.language-flag{font-size:23px;line-height:1.2}
.language-current{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.language-selector ul{position:absolute;right:0;top:100%;min-width:240px;max-width:calc(100vw - 32px);max-height:65dvh;overflow:auto;box-sizing:border-box;list-style:none;margin:6px 0 0;padding:7px;background:#faf7ef;color:#263f35;border:1px solid #7d8b78;border-radius:9px;box-shadow:0 8px 24px #17372d26}
.language-selector li{margin:0;padding:0}
.language-selector a{display:block;min-height:44px;box-sizing:border-box;padding:11px 13px;line-height:1.5;text-decoration:none;border-radius:4px}
.language-selector a:hover,.language-selector a[aria-current]{background:#e1e9d9;text-decoration:underline;text-underline-offset:3px}
.language-selector :focus-visible{outline:3px solid #b55f36;outline-offset:3px}
.legal-language{max-width:44rem;margin:auto;padding:1rem 1.4rem 0;display:flex;justify-content:flex-end}
.header-inner{height:auto;min-height:96px;flex-wrap:wrap;gap:12px 20px;padding-top:12px;padding-bottom:12px}
.header-inner .brand{order:0}.header-inner>nav{order:1}.header-inner>.header-download{order:2}.header-inner>.language-selector{order:3}
.site-header{z-index:40}
/* Let expanded translations wrap instead of pushing controls off small screens. */
.button{white-space:normal;text-align:center}.choice-actions{min-width:0}.choice-base{flex-wrap:wrap}.back{white-space:normal}
.app-choice,.choice-copy,.detail-heading>div,.download-app-title>div{min-width:0}
.platform-summary b{white-space:normal}.closing>div,footer nav{flex-wrap:wrap}
html:lang(hi) h1,html:lang(hi) h2,html:lang(hi) h3{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:normal;line-height:1.35}
html:lang(hi) .eyebrow{letter-spacing:normal}
@media(max-width:1050px) and (min-width:651px){.header-inner .brand{flex:1}.header-inner>nav{order:4;width:100%;justify-content:center}}
@media(max-width:650px){
  .header-inner{grid-template-columns:minmax(0,1fr) auto 50px;gap:6px 10px;padding:12px 0 0;align-items:center}
  .header-inner .brand{grid-row:1;grid-column:1}.header-inner>.header-download{grid-row:1;grid-column:2;max-width:155px}
  .header-inner>.language-selector{grid-row:1;grid-column:3;justify-self:end;font-size:12px}
  .header-inner .brand img{width:min(175px,100%)}
  .header-inner>nav{grid-row:2;grid-column:1/-1;display:flex;justify-content:center;gap:24px;margin-top:0;min-width:0}
  .header-inner>nav a{font-size:11px;border:0;text-align:center;line-height:1.4}
  html{scroll-padding-top:135px}.language-selector summary{min-height:44px;width:50px;padding:5px}
  .language-selector ul{min-width:230px}.choice-details{text-align:center}.closing>div{gap:12px}
  .site-header .language-selector ul{max-height:calc(100dvh - 145px)}
}
@media(max-width:390px){
  .header-inner{grid-template-columns:minmax(0,1fr) auto 50px}
  .header-inner .brand{grid-column:1/3}.header-inner .brand img{width:160px}
  .header-inner>.header-download{grid-row:2;grid-column:2/4;justify-self:end;max-width:145px;margin-bottom:6px}
  .header-inner>nav{grid-row:2;grid-column:1;justify-content:start;gap:10px;padding-bottom:6px}
  .header-inner>nav a{font-size:10px}.header-inner>.language-selector{align-self:start}
}
@media(prefers-color-scheme:dark){.legal-language .language-selector ul{background:#1d211e;color:#f0f1ec}.legal-language .language-selector a:hover,.legal-language .language-selector a[aria-current]{background:#354636}}
