.language-switch{display:flex;flex:none;gap:2px;padding:2px;border:1px solid var(--border,#393b40);border-radius:6px;background:#111318}
.language-switch button{min-width:30px;min-height:28px;padding:3px 5px;border:0;border-radius:4px;font-size:11px;line-height:1;font-weight:700;background:transparent;color:#aeb0b7}
.language-switch button[aria-pressed=true]{background:#d3b57d;color:#101116}
.language-switch button:focus-visible{outline:2px solid #f4d99d;outline-offset:3px}
.source-language-note{border-left:2px solid #d3b57d;padding-left:8px}
@media(max-width:900px){.language-switch button{min-height:30px;min-width:29px}.header-actions{gap:5px}}
@media(max-width:420px){.language-switch{gap:0;padding:1px}.language-switch button{min-width:25px;padding:3px}.header-actions{gap:3px}}
@media(max-width:900px){.global-date .day-picker{min-width:0}.global-date .day-picker input{min-width:0;flex:1;width:auto}}
@media(max-width:350px){.header-origin{width:32px;max-width:32px;padding:0;display:flex;justify-content:center}.header-origin #originLabel{display:none}}
/* Reuse the existing short-landscape scroll model when translated copy is tall. */
@media(min-width:901px) and (max-height:500px){.inspector{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.inspector>*{flex-shrink:0}.inspector #detail{flex:none;overflow:visible}}
