/* Natural wrapping preserves the existing design across Latin and CJK scripts. */
.ui-language-picker{display:inline-flex;align-items:center;gap:.35rem;max-width:100%;flex-shrink:0;color:inherit;font:inherit;white-space:nowrap}
.ui-language-picker select{font:inherit;font-size:.875rem;color:inherit;background:#0b1c2b;border:1px solid #80c8e24d;border-radius:7px;padding:.45rem 1.6rem .45rem .6rem;min-height:36px;max-width:180px;cursor:pointer;color-scheme:dark}
.ui-language-picker select:focus-visible{outline:2px solid #9ddfff;outline-offset:3px}.ui-language-picker select:disabled{opacity:.65}
.ui-language-bar{display:flex;justify-content:flex-end;margin:0 0 1rem;gap:.5rem}.ui-language-status{font-size:.8rem;max-width:18rem}.ui-language-status:empty{display:none}
html:not([lang=en]) :is(button,.primary-button,.secondary-button,.text-button,summary,label,th){white-space:normal;overflow-wrap:anywhere}
html:not([lang=en]) :is(.topbar,.topbar-actions,.command-nav,.site-header nav,.dialog-actions,.folder-actions){flex-wrap:wrap}
html:not([lang=en]) :is(.stat-card,.info-card,.metric-card,.connection-intro,.setup-input){min-width:0}
html:not([lang=en]) :is(h1,h2,h3,p,.stat-label,.eyebrow){overflow-wrap:anywhere}
html:is([lang=ja],[lang=zh-CN],[lang=ko]) body{font-family:Inter,"Segoe UI","Noto Sans CJK SC","Yu Gothic","Malgun Gothic","Microsoft YaHei",sans-serif;line-height:1.6}
@media(max-width:760px){.site-header{flex-wrap:wrap;gap:.75rem}.site-header nav{flex-wrap:wrap;gap:.6rem}.ui-language-picker select{max-width:155px}.ui-language-bar{margin-bottom:.75rem}html:not([lang=en]) .topbar-actions>button{max-width:100%}}
html:not([lang=en]) .topbar{height:auto;min-height:98px;padding-block:12px;gap:12px}html:not([lang=en]) .topbar-actions{gap:12px}html:not([lang=en]) .table-heading{flex-wrap:wrap;gap:12px}html:not([lang=en]) dialog{max-width:calc(100vw - 24px)}
.site-header{height:auto;min-height:88px;padding-block:12px}.site-header nav{flex-wrap:wrap;justify-content:flex-end}.site-header nav a{white-space:normal}
@media(max-width:760px){.site-header{min-height:76px;display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding-block:10px}.site-header .site-brand{grid-column:1}.site-header nav{display:contents}.site-header nav a{grid-row:2;font-size:10px;justify-self:start}.site-header nav .site-dashboard-link{justify-self:end}.site-header .ui-language-picker{grid-column:2;grid-row:1;justify-self:end}.site-header .ui-language-status{grid-column:1/-1;grid-row:3}.site-header .ui-language-picker select{max-width:150px}}
