.language-slot{display:flex;align-items:center;flex-shrink:0}
.language-control{display:inline-flex;align-items:center;gap:5px;height:38px;max-width:132px;padding:0 9px;border:1px solid #b79d452e;border-radius:20px;background:#ffffff06;color:#ebcc70;font-family:"Microsoft JhengHei","PingFang TC","Segoe UI",sans-serif;font-size:13px;font-weight:400;white-space:nowrap;margin:0}
.language-control svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4}
.language-control select{width:auto;min-width:0;max-width:100%;border:0;border-radius:0;box-shadow:none;background:transparent;color:inherit;padding:4px 0;appearance:none;font:inherit;cursor:pointer;outline:none}
.language-chevron{font-size:13px;line-height:1;pointer-events:none;flex:none}.language-control option{color:#242116;background:#fff}.language-control:focus-within{outline:2px solid #f5cf69;outline-offset:3px}
.topbar .language-control,.login-box .language-control{color:#726023;background:#fff;border-color:#e9dfc0}.login-language{justify-content:flex-end;display:flex;margin-bottom:18px}
html[lang=vi] body{font-family:"Segoe UI",Arial,sans-serif}html[lang=vi] .site-header{font-family:"Segoe UI",Arial,sans-serif}html[lang=vi] .site-header .brand>span{letter-spacing:0;font-size:20px}
@media(max-width:560px){
 .site-header .language-control{height:38px;max-width:120px;padding:0 6px;font-size:12px;gap:3px}.site-header .language-control svg{width:14px;height:14px}.site-header .language-control select{padding-right:0}
 html[lang=vi] .site-header .brand>span{font-size:18px}.site-header .header-search-tools .header-search{flex:1;min-width:0;width:0}
 .workspace-header{flex-wrap:wrap;gap:12px}.workspace-header .header-actions{flex-wrap:wrap;gap:10px}.workspace-header .language-slot{margin-right:auto}
 .topbar{height:auto;min-height:76px;flex-wrap:wrap;gap:8px;padding:12px 16px}.topbar .identity{width:100%;gap:9px;justify-content:flex-end}.topbar .identity .language-slot{margin-right:auto}
 .topbar .language-control{max-width:118px;font-size:12px}.topbar .path{max-width:100%}
}

/* Native file captions otherwise follow the browser language, not the site language. */
.localized-file-picker{position:relative;display:flex;align-items:center;gap:12px;min-height:42px;max-width:100%;min-width:0;overflow:hidden;cursor:pointer}
.localized-file-button{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:10px 15px;border-radius:7px;background:var(--accent,#f5c542);color:#211b09;font:inherit;font-weight:600;line-height:22px}
.localized-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:400;color:inherit}
.localized-file-picker>input[type=file]{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0;z-index:1}
.localized-file-picker:focus-within{outline:2px solid #d7af37;outline-offset:3px;border-radius:7px}
.localized-file-picker:has(input:disabled){opacity:.5;cursor:not-allowed}.localized-file-picker>input[type=file]:disabled{cursor:not-allowed}
@media(max-width:560px){.localized-file-picker{gap:8px}.localized-file-button{padding:9px 12px}.localized-file-name{font-size:12px}}
