.langbar.notranslate{display:flex;align-items:center;flex:none;position:relative}
.language-switch{position:relative;font-family:Arial,Helvetica,sans-serif;letter-spacing:normal;text-transform:none;text-align:left;line-height:1.4;color:#202220}
.language-switch summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:76px;padding:8px 12px;border:1px solid #d3d0c6;border-radius:13px;background:#f4f1e9;color:#252723;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap;box-sizing:border-box}
.language-switch summary::-webkit-details-marker{display:none}
.language-switch summary svg{width:23px;height:23px;flex:none}
.language-switch summary:hover{background:#fff;border-color:#a8a083}
.language-switch summary:focus-visible,.language-switch a:focus-visible,.language-close:focus-visible{outline:3px solid #b7a57a;outline-offset:3px}
.language-panel{position:absolute;right:0;top:calc(100% + 12px);width:300px;max-width:calc(100vw - 28px);padding:9px;background:#fffdf8;border:1px solid #d8d3c7;border-radius:16px;box-shadow:0 20px 60px #0006;color:#202220;z-index:100;box-sizing:border-box}
.language-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px 12px;border-bottom:1px solid #e5e0d6;margin-bottom:6px}
.language-heading strong{font-size:13px;letter-spacing:.05em;text-transform:uppercase}
.language-close{display:grid;place-items:center;width:34px;height:34px;border:1px solid #ddd6c7;border-radius:9px;background:transparent;color:#363a32;font:22px/1 Arial;cursor:pointer;padding:0}
.language-panel ul{list-style:none;padding:0;margin:0}
.language-panel a[data-lang]{display:flex;align-items:center;gap:12px;min-height:48px;padding:7px 11px;border-radius:10px;text-decoration:none!important;color:#242820!important;box-sizing:border-box;white-space:nowrap}
.language-panel a:hover{background:#f0ece2}
.language-panel a[aria-current=page]{background:#eae5d7}
.language-native{font-size:15px;font-weight:700}
.language-english{margin-left:auto;font-size:12px;color:#686d62}
.language-check{width:17px;height:17px;flex:none;color:#6e6241}
.language-veil{display:none}
.thank-you-languages{margin-left:auto}
html:not([lang=en]) .measure-info h3,html:not([lang=en]) .diagram-card h2{overflow-wrap:anywhere}
@media(max-width:640px){
.language-switch summary{min-width:65px;min-height:42px;padding:8px 9px;gap:7px;font-size:13px}
.language-switch summary svg{width:21px;height:21px}
.language-switch[open] .language-veil{display:block;position:fixed;inset:0;background:#0008;z-index:98}
.language-panel{position:fixed;top:auto;bottom:0;right:0;left:0;width:auto;max-width:none;max-height:85dvh;overflow:auto;border-radius:20px 20px 0 0;padding:14px 16px max(20px,env(safe-area-inset-bottom));z-index:99}
.language-heading{padding:0 7px 10px}.language-heading strong{font-size:20px;letter-spacing:0;text-transform:none}
.language-panel a[data-lang]{min-height:52px}.language-native{font-size:17px}.language-english{font-size:13px}
}
@media(max-width:480px){header:has(.thank-you-languages){gap:14px;flex-wrap:wrap}header:has(.thank-you-languages) .back{width:100%}}
/* A filtered sticky header otherwise becomes the fixed sheet's containing block. */
@media(max-width:640px){header:has(.language-switch[open]){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;z-index:2147483646}}
.language-switch[open] .language-panel{display:block;margin:0;gap:0;font:inherit}
.language-switch:not([open]) .language-panel,.language-switch:not([open]) .language-veil{display:none}
