/* Quiet language row. Ink and type come from the page so each site keeps its own voice.
   Non-Latin labels name a system font that can draw that script. */
nav.locale-switch {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0.55rem 1rem 0.7rem;
  color: inherit;
  background: transparent;
  border-top: 1px solid currentColor;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
}
@supports (color: color-mix(in srgb, black 20%, transparent)) {
  .locale-switch { border-top-color: color-mix(in srgb, currentColor 28%, transparent); }
}
.locale-switch details { margin: 0; max-width: 100%; }
.locale-switch summary {
  cursor: pointer;
  min-height: 1.5rem;
  overflow-wrap: anywhere;
}
.locale-switch summary:focus-visible,
.locale-switch a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.locale-switch ul {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  max-height: 14rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.locale-switch li { margin: 0; padding: 0; }
nav.locale-switch a {
  color: inherit;
  display: block;
  max-width: 100%;
  padding: 0.2rem 0;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
  white-space: normal;
}
.locale-switch [aria-current="page"] { font-weight: 700; text-decoration: none; }
.locale-switch small { font-size: 0.82em; margin-inline-start: 0.35rem; }
.locale-switch [lang="zh-CN"],
.locale-switch [lang="zh-TW"] { font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
.locale-switch [lang="ja-JP"] { font-family: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", sans-serif; }
.locale-switch [lang="ko-KR"] { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
.locale-switch [lang="hi-IN"] { font-family: "Nirmala UI", "Noto Sans Devanagari", sans-serif; }
.locale-switch [lang="bn-IN"] { font-family: "Nirmala UI", "Noto Sans Bengali", sans-serif; }
.locale-switch [lang="ta-IN"] { font-family: "Nirmala UI", "Noto Sans Tamil", sans-serif; }
.locale-switch [lang="te-IN"] { font-family: "Nirmala UI", "Noto Sans Telugu", sans-serif; }

.locale-draft-root { margin: 0; color: #1c1915; background: #fff; }
.locale-draft-root .locale-draft {
  box-sizing: border-box;
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}
.locale-draft-root h1 { font-size: 1.7rem; line-height: 1.3; font-weight: 650; margin: 0.4rem 0 0.8rem; }
.locale-draft-root p { margin: 0.6rem 0; max-width: 65ch; }
html[lang="zh-CN"] .locale-draft-root,
html[lang="zh-TW"] .locale-draft-root { font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
html[lang="ja-JP"] .locale-draft-root { font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; }
html[lang="ko-KR"] .locale-draft-root { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
html[lang="hi-IN"] .locale-draft-root { font-family: "Nirmala UI", "Noto Sans Devanagari", sans-serif; }
html[lang="bn-IN"] .locale-draft-root { font-family: "Nirmala UI", "Noto Sans Bengali", sans-serif; }
html[lang="ta-IN"] .locale-draft-root { font-family: "Nirmala UI", "Noto Sans Tamil", sans-serif; }
html[lang="te-IN"] .locale-draft-root { font-family: "Nirmala UI", "Noto Sans Telugu", sans-serif; }
html[lang="en-GB"] .locale-draft-root,
html[lang="en-US"] .locale-draft-root,
html[lang^="es"] .locale-draft-root,
html[lang="fr-FR"] .locale-draft-root,
html[lang="de-DE"] .locale-draft-root,
html[lang="pt-BR"] .locale-draft-root,
html[lang="it-IT"] .locale-draft-root { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
