/* Language sits by the analytics and privacy controls in Help & settings. */
:root body .core-lang {display:flex;align-items:center;gap:8px;min-height:44px;}
:root body .core-lang select {width:auto;min-width:0;max-width:100%;font:inherit;color:var(--ink);cursor:pointer;}

/* Standard 26: Analytics, Language, Privacy policy, Build. Controls wrap in that order. */
:root body dialog :is(p,footer).core-help-foot {
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:16px 0 0;padding-top:12px;border-top:1px solid #dce1d9;
  color:var(--ink);font:400 14px/1.6 var(--font-ui);letter-spacing:normal;
}
:root body dialog :is(p,footer).core-help-foot > :is(label,a,span) {font-size:16px;letter-spacing:normal;}
:root body dialog :is(p,footer).core-help-foot > a {display:block;min-height:0;color:inherit;text-underline-offset:4px;}
:root body dialog :is(p,footer).core-help-foot .core-lang select {
  min-height:var(--control-size);padding:8px 12px;border:1px solid #dce1d9;border-radius:6px;
  background:#fff;color:inherit;font:400 16px var(--font-ui);appearance:auto;
}

@media (max-width:520px) {
  :root:not(:lang(en)) body .core-footer:not(#\#) {
    right:calc(max(16px,env(safe-area-inset-right,0px)) + var(--control-size));
  }
  :root:not(:lang(en)) body :is(#help,.setup-hub) :is(.core-panel-head,.core-hub-head):not(#\#) {gap:4px;}
  :root:not(:lang(en)) body :is(#help,.setup-hub) :is(.core-panel-head,.core-hub-head) :is(h2,strong):not(#\#) {
    font-size:clamp(12px,3.6vw,17px);overflow:hidden;text-overflow:ellipsis;
  }
  :root:not(:lang(en)) body :is(#help,.setup-hub) :is(.core-panel-head,.core-hub-head) .core-panel-update:not([hidden]):not(#\#) {
    flex-shrink:0;font-size:clamp(11px,3.2vw,14px);padding-inline:8px;
  }
}
