/* Keep language controls compact across the shared portal shells and readable on narrow screens. */
.language-switch{display:flex;align-items:center;gap:.35rem;margin:0}.language-switch select{width:auto;min-width:4.1rem;padding:.45rem}.language-switch .text-button{white-space:nowrap}.public-language-switch{margin-inline-start:auto}.login-language-switch{justify-content:flex-end;margin:0 0 .75rem}.translation-editor{display:grid;gap:.75rem;min-width:0}.translation-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem;min-inline-size:0;border:1px solid var(--border,#dce2ea);border-radius:.65rem;padding:.8rem}.translation-row legend{max-width:100%;padding:0 .35rem}.translation-row legend code{overflow-wrap:anywhere}.translation-row label{display:grid;gap:.35rem;font-weight:600}.translation-row input{min-width:0}.translation-row input[readonly]{background:var(--surface-muted,#f4f6f8);color:var(--text-muted,#5e6b7b)}
@media(max-width:760px){.translation-row{grid-template-columns:1fr}.translation-summary .stats-grid{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-wrap:wrap}.topbar .top-right{flex:1 1 16rem;min-width:0;flex-wrap:wrap;justify-content:flex-end}.topbar .language-switch{flex:0 0 auto;margin-inline-start:auto}.topbar .org-switch{flex:0 1 9.5rem;min-width:0}.topbar .org-switch .portal-search-select{max-width:9.5rem}.public-language-switch{margin-inline-start:0}.public-header{flex-wrap:wrap}.public-language-switch select{min-height:2.5rem}}
