/* Language control imported from Lifa navigation; no Tailwind dependency. */
.cha-header .cha-language{position:relative;padding-bottom:8px}
.cha-header .cha-language>summary{display:flex;align-items:center;gap:6px;margin-top:8px;cursor:pointer;color:#4a7c6f;font-size:14px;line-height:20px;letter-spacing:.1em;transition:color .15s}
.cha-header .cha-language>summary:hover{color:#1a281f}
.cha-header .cha-language>summary::-webkit-details-marker{display:none}
.cha-language .lang-earth{width:18px;height:18px;flex:none}
.cha-language .cha-language-chevron{width:12px;height:12px;flex:none}
.cha-header .cha-language .cha-language-list{position:absolute;right:0;top:100%;margin:0;width:144px;min-width:0;max-width:calc(100vw - 32px);padding:0;background:#faf8f5;color:#3e5344;border:1px solid rgba(107,122,111,.2);box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);z-index:50}
.cha-header .cha-language .lang-opt{display:block;text-decoration:none;border-left-style:solid}
.cha-header .cha-language .lang-panel {
  border-radius: 14px;
  overflow: hidden;
}

.cha-header .cha-language .lang-opt {
  display: block;
  cursor: pointer;
  border-left-width: 2px;
  border-left-color: transparent;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.05em;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

.cha-header .cha-language .lang-opt:hover {
  color: #1A281F;
  border-left-color: #9E3B30;
  background-color: rgba(158,59,48,0.06);
}

.cha-header .cha-language .lang-opt.is-current {
  color: #1A281F;
  font-weight: 600;
  border-left-color: #1A281F;
}

.cha-header .cha-language .lang-opt + .cha-header .cha-language .lang-opt {
  border-top: 1px solid rgba(107,122,111,0.10);
}


:is(html:lang(en),html:lang(es),html:lang(fr)) .cha-header .cha-language :is(summary,a){font-family:Optima,'Avenir Next',Candara,'Segoe UI Variable','Segoe UI',sans-serif;letter-spacing:.06em}
:is(html:lang(en),html:lang(es),html:lang(fr)) .cha-header .cha-language>summary{font-size:18px}
:is(html:lang(en),html:lang(es),html:lang(fr)) .cha-header .cha-language .lang-opt{font-size:14px}
@media(max-width:48rem){.cha-header .cha-language>summary{font-size:12px!important;gap:4px}.cha-header .cha-header-actions{gap:8px}.cha-header .cha-language .cha-language-label{max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:30rem){body .cha-header .cha-header__inner{gap:.4rem!important}body .cha-header .cha-header-actions{gap:4px}.cha-header .cha-language .cha-language-label{max-width:44px}body .cha-header .cha-menu-toggle{width:36px;min-width:36px;padding-inline:5px;box-sizing:border-box}}
