/* Native language menu: keyboard accessible, no modal, no external fonts. */
@layer jbot-desk {
  .jbot-language {display:inline-flex!important;align-items:center!important;gap:6px!important;position:relative!important;flex:0 0 auto!important;max-width:164px!important;min-height:36px!important;margin:0!important;padding:0 8px!important;border:1px solid #657887!important;border-radius:6px!important;background:#14212b!important;color:#f5fafc!important;box-shadow:none!important;font:500 13px/1.3 system-ui,sans-serif!important;letter-spacing:0!important;z-index:30}
  .jbot-language select {display:block!important;width:112px!important;max-width:100%!important;min-width:0!important;height:34px!important;border:0!important;border-radius:0!important;padding:0 2px!important;margin:0!important;background:transparent!important;color:#f5fafc!important;font:inherit!important;box-shadow:none!important;appearance:auto!important;cursor:pointer!important}
  .jbot-language select option {background:#14212b!important;color:#f5fafc!important;font:500 14px system-ui,sans-serif!important}
  .jbot-language svg {width:18px!important;height:18px!important;flex:none!important}
  .jbot-language-mark {font:600 13px/1 system-ui,sans-serif!important;white-space:nowrap!important}
  .jbot-language:focus-within {outline:2px solid #6fe0cd!important;outline-offset:3px!important}
  .jbot-language[aria-busy="true"] {border-color:#6fe0cd!important}
  .jbot-language-standalone {display:flex!important;width:max-content!important;margin:12px 20px 12px auto!important;position:relative!important}
  .jbot-language-notice:not(:empty) {position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 40px);z-index:2147483600;background:#14212b;color:#fff;border:1px solid #c4a04c;border-radius:6px;padding:12px 18px;font:500 14px/1.5 system-ui,sans-serif;box-shadow:0 4px 20px #0005}
  html:not([lang="en"]) body {--font-sans:Inter,"Noto Sans",system-ui,"Segoe UI","Microsoft YaHei","Yu Gothic UI","Malgun Gothic",sans-serif}
  html:not([lang="en"]) :is(button,label,th,.eyebrow,.metric-label,.kpi-label,.access-header nav,.suite-chip strong) {letter-spacing:0!important}
  html:not([lang="en"]) :is(.access-header nav,.status-cluster,.command-account,.ops-header nav) {flex-wrap:wrap!important}
  html:not([lang="en"]) :is(.suite-chip strong,.metric-label,.kpi-label,.eyebrow) {white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important}
  html:not([lang="en"]) .product-rail small {white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.4!important}
  html:not([lang="en"]) .product-rail > span {height:auto!important;min-height:62px!important}
  html:not([lang="en"]) #chartPanel #targetRail {grid-auto-rows:minmax(88px,auto)!important}
  html:not([lang="en"]) #chartPanel #targetRail .target-chip {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;height:auto!important;min-height:88px!important;overflow:visible!important}
  html:not([lang="en"]) #targetRail .target-chip > :is(strong,span,i) {position:static!important;max-width:100%!important;width:auto!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important}
  html:not([lang="en"]) #targetRail .target-chip > strong {white-space:nowrap!important}
  html:not([lang="en"]) .command-grid :is(span,strong) {white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important}
  html:not([lang="en"]) #chartPanel .command-readout .command-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html:not([lang="en"]) #chartPanel .command-readout .command-grid > div:first-child {grid-column:1 / -1!important}
  html:not([lang="en"]) body.jbot-unified-shell.jbot-volume-parity[data-jbot-product] #chartPanel :is(.command-top,.pulse-card) > strong {white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;line-height:1.4!important}
  .jbot-translation-note {font:400 13px/1.5 system-ui,sans-serif;color:inherit;opacity:.9;padding:10px 0;border-bottom:1px solid currentColor}
  .jbot-translation-note button {font:inherit;background:transparent;color:inherit;border:0;text-decoration:underline;cursor:pointer;margin-left:8px}
  html[lang="en"] .jbot-translation-note {display:none}
  html:is([lang="zh-CN"],[lang="ja"],[lang="ko"]) body {font-family:Inter,system-ui,"Segoe UI","Microsoft YaHei","Yu Gothic UI","Malgun Gothic",sans-serif!important;line-height:1.55}
  html:is([lang="zh-CN"],[lang="ja"],[lang="ko"]) :is(input,select,button,textarea) {font-family:inherit!important}
  html[lang="ja"] body {font-family:Inter,system-ui,"Yu Gothic UI","Meiryo",sans-serif!important}
  html[lang="ko"] body {font-family:Inter,system-ui,"Malgun Gothic",sans-serif!important}
  html[lang="zh-CN"] body {font-family:Inter,system-ui,"Microsoft YaHei",sans-serif!important}
  html[data-jbot-language] .legal-shell :is(h1,h2,p,li,a) {overflow-wrap:anywhere;hyphens:auto}
  @media(min-width:1001px) {
    html:not([lang="en"]) #newsApp:not(.focus-mode) .workspace {grid-template-rows:minmax(76px,max-content) minmax(230px,1fr) 10px clamp(120px,var(--tape-height),48vh) 26px!important}
    html:not([lang="en"]) #newsApp.tape-hidden:not(.focus-mode) .workspace {grid-template-rows:minmax(76px,max-content) minmax(230px,1fr) 0 0 26px!important}
    html:not([lang="en"]) #newsApp #marketRibbon {height:auto!important;min-height:76px!important;padding-block:6px!important}
  }
  @media(max-width:760px) {
    html[data-jbot-language] .research-header:not(.jm-header) {flex-wrap:wrap!important;gap:10px!important}
    html[data-jbot-language] .research-header:not(.jm-header)>nav {order:2;flex:1 0 100%;min-width:0;flex-wrap:wrap!important;justify-content:flex-start!important}
    html[data-jbot-language] .research-header:not(.jm-header)>.jbot-language {margin-left:auto!important}
    .jbot-language {max-width:145px!important;min-height:38px!important;gap:4px!important;padding:0 6px!important}
    .jbot-language select {width:103px!important;height:36px!important}
    .access-header {position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;height:auto!important;min-height:104px!important;gap:4px 10px!important;padding:8px 14px!important}
    .access-header .access-brand {grid-column:1!important;grid-row:1!important}
    .access-header > .jbot-language {grid-column:2!important;grid-row:1!important}
    .access-header nav {grid-column:1 / -1!important;grid-row:2!important;height:auto!important;min-height:38px!important;flex-wrap:wrap!important;gap:4px!important;justify-content:flex-start!important}
    .access-main {padding-top:16px!important}
    html:not([lang="en"]) :is(.suite-switcher,.product-rail) {height:auto!important}
    html[data-jbot-language] body.jbot-unified-shell.jbot-volume-parity[data-jbot-product] .app-shell > .topbar {height:auto!important;min-height:96px!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:8px 10px!important}
    html[data-jbot-language] body.jbot-unified-shell.jbot-volume-parity[data-jbot-product] .topbar :is(.brand,.brand-lockup) {order:0!important;flex:1 1 140px!important;max-width:calc(100% - 150px)!important}
    html[data-jbot-language] body.jbot-unified-shell.jbot-volume-parity[data-jbot-product] .topbar > .jbot-language {order:1!important;flex:0 0 auto!important}
    html[data-jbot-language] body.jbot-unified-shell.jbot-volume-parity[data-jbot-product] .topbar .status-cluster {order:2!important;flex:1 0 100%!important;width:100%!important;justify-content:flex-end!important;flex-wrap:wrap!important}
  }
}
