/* Shared language control. Load after styles.css. */
.language-switcher{
  display:flex;
  align-items:center;
  gap:2px;
  flex-shrink:0;
  margin-left:10px;
  padding-left:10px;
  border-left:1px solid var(--line,#dcdfe3);
}
.language-switcher__link{
  display:grid;
  place-items:center;
  min-width:30px;
  min-height:36px;
  padding:0 5px;
  color:var(--muted,#596575);
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  line-height:1;
  transition:color 180ms ease,background 180ms ease;
}
.language-switcher__link:hover{color:var(--ink,#142d49)}
.language-switcher__link[aria-current="page"]{
  color:var(--ink,#142d49);
  background:var(--soft,#edf1f5);
}
.language-switcher__link:focus-visible{
  outline:2px solid var(--ink,#142d49);
  outline-offset:2px;
  color:var(--ink,#142d49);
  background:var(--soft,#edf1f5);
}

/* The extra control needs the compact navigation slightly earlier. */
@media(max-width:1160px){
}
@media(max-width:600px){
  .language-switcher{gap:0}
  .language-switcher__link{min-width:28px;min-height:40px;padding:0 4px;font-size:12px}
}
@media(max-width:360px){
  .language-switcher__link{min-width:25px;padding:0 3px}
}

/* Used by legal pages, which have a deliberately simpler header. */
.legal-language-header{
  display:flex;
  justify-content:flex-end;
  width:min(1200px,calc(100% - 48px));
  margin:0 auto;
  padding:18px 0 0;
}
.legal-language-header .language-switcher{margin-left:0}
@media(max-width:600px){
  .legal-language-header{width:calc(100% - 40px);padding-top:12px}
}
@media(prefers-reduced-motion:reduce){
  .language-switcher__link{transition:none}
}

.translation-note{font-size:13px;color:var(--muted,#596575);margin:0 0 22px}
html[lang="de"] .chooser-name,html[lang="de"] .accordion-title{hyphens:auto}
