.language-picker{display:inline-flex;align-items:center;gap:2px;flex:none;width:max-content;padding:2px;border:1px solid #45403b;border-radius:8px;background:#191715;white-space:nowrap}
.language-option{box-sizing:border-box;display:grid;place-items:center;width:31px;height:30px;border:1px solid transparent;border-radius:5px;text-decoration:none}
.language-option img{display:block;width:23px;height:16px;object-fit:contain}
.language-option[aria-current]{background:#34251c;border-color:#714832}
a.language-option:hover,a.language-option:focus-visible{background:#302721;border-color:#ff681f}
a.language-option:focus-visible{outline:2px solid #ff681f;outline-offset:2px}
.dialog-top .language-picker{margin-inline-start:auto}
.toolbar-with-language{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"language brand actions";gap:8px 12px}
[dir=rtl] .toolbar-with-language{grid-template-areas:"brand actions language"}
.toolbar-with-language > a{grid-area:brand}
.toolbar-with-language > span{grid-area:actions;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.toolbar-with-language .language-picker{grid-area:language}
@media screen and (max-width:380px){
  .toolbar-with-language{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"language brand" "actions actions"}
  [dir=rtl] .toolbar-with-language{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand language" "actions actions"}
}
