/* Shared display controls, deliberately separate from content filters. */
html[data-text-size="large"]{font-size:20px!important}
.display-controls{display:flex!important;align-items:center;gap:6px;margin-left:auto;flex-shrink:0;padding:8px 0;white-space:nowrap}
.display-controls button{font:600 .8125rem/1.4 system-ui,sans-serif!important;border:1px solid #c4d6cf!important;border-radius:8px!important;padding:8px 10px!important;background:#fff!important;color:#154e46!important;min-height:38px;cursor:pointer;white-space:nowrap}
.display-controls button[aria-pressed="true"]{background:#154e46!important;color:white!important;border-color:#154e46!important}
.display-controls button:focus-visible{outline:3px solid #568dc3;outline-offset:3px}
.language-note{max-width:1272px;margin:12px auto;padding:10px 20px;font-size:.8125rem;line-height:1.6;color:#455e59;background:#ecf3ef;border-radius:8px}
.language-note[hidden]{display:none!important}
.header-inner{flex-wrap:wrap;column-gap:20px;row-gap:0}
.header-inner .brand{min-width:0}
html[lang="en"] .brand strong{letter-spacing:0;font-size:1.25rem;overflow-wrap:anywhere}
html[lang="en"] .main-nav{gap:20px}
html[lang="en"] .brand small{letter-spacing:0}
html[data-text-size="large"] .header-inner .main-nav{flex-wrap:wrap;gap:12px}
html[data-text-size="large"] .tool-card,html[data-text-size="large"] .paper-body{min-width:0}
html[data-text-size="large"] h1,html[data-text-size="large"] h2,html[data-text-size="large"] h3{overflow-wrap:anywhere}
@media(max-width:1200px){.header-inner .main-nav{order:3;flex-basis:100%;min-height:48px;justify-content:flex-start}.header-inner .header-about{display:none}.header-inner .display-controls{order:2}}
@media(max-width:600px){.header-inner{padding:12px 16px!important;gap:8px!important}.header-inner .brand{flex:1 1 190px}.header-inner .brand strong{font-size:1rem;letter-spacing:0}.header-inner .brand-symbol{display:none}.header-inner .brand small{font-size:.6875rem}.display-controls{gap:4px;padding:0}.display-controls button{font-size:.75rem!important;padding:7px 8px!important}.header-inner .main-nav{width:100%;flex-basis:100%;overflow-x:auto;gap:16px!important}.header-inner .main-nav a{font-size:.8125rem;flex-shrink:0;min-height:40px}.language-note{margin:8px 16px;padding:10px 12px}html[data-text-size="large"] .header-inner .main-nav{flex-wrap:nowrap}html[data-text-size="large"] .research-filters{flex-wrap:wrap}html[data-text-size="large"] .research-filters label{max-width:100%}html[data-text-size="large"] select{max-width:100%}.page-heading{flex-wrap:wrap}}
.header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding-top:12px;padding-bottom:0}
.header-inner .brand{grid-column:1;grid-row:1}
.header-inner .display-controls{grid-column:2;grid-row:1;justify-self:end;align-self:start}
.header-inner .main-nav{grid-column:1 / -1;grid-row:2;margin-left:0;min-height:48px;justify-content:flex-start}
.header-inner .header-about{display:none}
@media(max-width:600px){.header-inner .brand{grid-column:1 / -1;grid-row:2}.header-inner .display-controls{grid-column:1 / -1;grid-row:1}.header-inner .main-nav{grid-row:3;margin-top:0!important}html[lang="en"] .header-inner .brand strong{font-size:1.15rem}}
.language-select{display:flex;align-items:center;gap:5px;border:1px solid #c4d6cf;border-radius:8px;background:#fff;color:#154e46;padding:0 8px;min-height:38px}
.language-select select{font:600 .8125rem/1.4 system-ui,sans-serif;color:inherit;background:transparent;border:0;min-height:36px;padding:5px 20px 5px 0;max-width:140px;cursor:pointer}
.language-select:focus-within{outline:3px solid #568dc3;outline-offset:3px}
@media(max-width:600px){.language-select select{font-size:.75rem;max-width:130px}}
.site-footer .footer-links a{white-space:normal;overflow-wrap:anywhere}
.header-inner .main-nav{min-width:0}
html:not([lang="zh-CN"]) .service-footer span,html:not([lang="zh-CN"]) .pills,html:not([lang="zh-CN"]) .paper-meta{overflow-wrap:anywhere}
html[data-localizing] body{visibility:hidden}
