/* YQX language switcher — matches the site's dark teal header */
.yqx-lang { position: relative; display: inline-flex; align-items: center; font-size: 13px; z-index: 60; }
.yqx-lang__btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); color: inherit; cursor: pointer; line-height: 1.2; white-space: nowrap; font: inherit; }
.yqx-lang__btn:hover, .yqx-lang__btn:focus-visible { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.55); outline: none; }
.yqx-lang__cur { font-weight: 600; }
.yqx-lang__panel { position: absolute; top: calc(100% + 10px); right: 0; width: 310px; max-width: calc(100vw - 24px); padding: 16px 16px 14px; border-radius: 12px; background: #fff; color: #17343a; box-shadow: 0 18px 48px rgba(4,28,34,.28); border: 1px solid #dce9eb; text-align: left; }
.yqx-lang__panel[hidden] { display: none; }
.yqx-lang__hd { display: flex; align-items: center; justify-content: space-between; font-size: 15px; margin-bottom: 4px; }
.yqx-lang__x { border: 0; background: transparent; font-size: 22px; line-height: 1; color: #6a8388; cursor: pointer; padding: 0 2px; }
.yqx-lang__note { margin: 0 0 12px; font-size: 12px; line-height: 1.5; color: #5d767b; }
.yqx-lang__fld { display: block; font-size: 12px; font-weight: 600; color: #37565c; margin-bottom: 10px; }
.yqx-lang__fld > span { display: block; margin-bottom: 4px; }
.yqx-lang__fld select { width: 100%; padding: 8px 10px; border: 1px solid #c8dadd; border-radius: 8px; background: #f6fafb; color: #17343a; font-size: 13px; font-weight: 500; }
.yqx-lang__fld select:disabled { color: #7b9499; }
.yqx-lang__act { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.yqx-lang__save { padding: 8px 18px; border: 0; border-radius: 8px; background: #0e5c66; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.yqx-lang__save:hover { background: #14808d; }
.yqx-lang__site { font-size: 12px; color: #0e5c66; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) {
  .yqx-lang__panel { right: -8px; width: min(310px, calc(100vw - 24px)); }
  .topbar__right { flex-wrap: wrap; gap: 6px; }
}
