/* Shared header/footer preference selector. */
body .website-language-picker{position:relative;margin:0;border:0;padding:0;color:inherit}
body .website-language-picker>summary{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;cursor:pointer;list-style:none;font:inherit;color:inherit}
body .website-language-picker>summary::-webkit-details-marker{display:none}
body .website-language-picker>summary::after{content:none}
body .website-language-picker>summary:focus-visible{outline:2px solid #EF5E20;outline-offset:3px;border-radius:6px}
.website-language-panel{position:absolute;inset-inline-end:0;top:calc(100% + 12px);width:288px;max-width:calc(100vw - 32px);padding:18px;border:1px solid #e6e3de;border-radius:14px;background:#fff;color:#22221e;box-shadow:0 12px 32px #22221e20;z-index:100}
.website-language-panel label{display:block;font:500 14px/1.5 Poppins,sans-serif}
.website-language-panel select{display:block;width:100%;margin-top:12px;border:1px solid #ddd;border-radius:6px;padding:4px;background:#fff;color:#22221e;font:400 15px/1.5 Poppins,sans-serif}
.website-language-panel option{padding:8px}
body .website-language-panel p{margin:12px 0 0;padding:0;font:400 12px/1.6 Poppins,sans-serif;color:#666}
.site-footer .website-language-panel{top:auto;bottom:calc(100% + 12px);inset-inline-start:0;inset-inline-end:auto}
.site-footer .website-language-picker>summary{justify-content:flex-start;padding-inline:0;font-size:14px}
@media(max-width:600px){.header-actions .website-language-panel{position:fixed;inset-inline-start:16px;inset-inline-end:16px;top:80px;width:auto}.header-actions .website-language-picker>summary{padding:5px;min-width:36px}.website-language-picker svg{width:26px;height:26px}}
@media(max-width:380px){.site-header:has(.website-language-picker) .header-actions>.nav-button-primary{display:none}}
@media(max-width:600px){
 .pdf-header:has(.website-language-picker) .brand,.pdf-header:has(.website-language-picker) .brand img{width:135px}
 .pdf-header:has(.website-language-picker) .header-actions{gap:8px}
 .pdf-header:has(.website-language-picker) .nav-button-primary{width:107px;min-width:107px;padding-inline:8px}
}
/* Searchable, branded language menu. */
body .website-language-panel{width:320px;padding:20px 12px 12px;box-shadow:0 16px 48px #22221e1f;border:1px solid #e9e6e1;border-radius:18px}
body .website-language-panel h2{font:600 16px/1.5 Poppins,sans-serif;letter-spacing:-.02em;margin:0 8px 14px;color:#22221e}
body .website-language-panel input{display:block;width:calc(100% - 16px);margin:0 8px 12px;border:1px solid #e6e3df;border-radius:9px;padding:11px 12px;background:#f8f8f6;color:#22221e;font:400 13px/1.5 Poppins,sans-serif;box-sizing:border-box}
body .website-language-panel input:focus{outline:2px solid #EF5E20;outline-offset:1px;background:#fff}
body .website-language-list{list-style:none;margin:0;padding:0 4px;max-height:min(320px,calc(100dvh - 220px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d1cec8 transparent}
body .website-language-list li{margin:0;padding:0;border:0}
body .website-language-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:42px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:#363630;font:400 14px/1.5 Poppins,sans-serif;text-align:start;cursor:pointer;box-shadow:none;transform:none}
body .website-language-list button:hover{background:#f5f4f1;color:#22221e}
body .website-language-list button[aria-pressed=true]{background:#fff0e7;color:#9b350c;font-weight:500}
body .website-language-list button:focus-visible{outline:2px solid #EF5E20;outline-offset:-2px}
.language-check{visibility:hidden;color:#c14613;font-size:16px}
[aria-pressed=true]>.language-check{visibility:visible}
body .website-language-panel .language-empty{padding:20px 12px;text-align:center}
@media(max-width:600px){body .header-actions .website-language-panel{width:auto}}

.site-footer .website-language-picker>summary{gap:10px}
.site-footer .website-language-picker>summary svg{width:20px;height:20px;flex:none}

/* Compact current-language trigger and a clean floating list. */
body .website-language-picker>summary{gap:7px;font-size:13px;white-space:nowrap}
body .website-language-picker>summary svg{width:19px;height:19px;flex:none}
body .website-language-picker>summary>span:not(.language-chevron){max-width:145px;overflow:hidden;text-overflow:ellipsis}
.language-chevron{width:6px;height:6px;border-inline-end:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 3px 3px;flex:none}
.website-language-picker[open] .language-chevron{transform:rotate(225deg);margin-top:5px}
body .website-language-panel{width:268px;padding:12px 8px;border-radius:14px;top:calc(100% + 5px)}
body .website-language-panel h2{display:none}
body .website-language-panel input{margin-bottom:8px;padding:9px 10px;font-size:12px;background:#fafaf9}
body .website-language-list button{min-height:44px;padding:11px 14px;font-size:14px}
.site-footer .website-language-panel{top:auto;bottom:calc(100% + 5px)}
@media(max-width:600px){
 .pdf-header:has(.website-language-picker) .header-actions>.nav-button-primary{display:none}
 .site-header:has(.website-language-picker) .header-actions>.nav-button-primary{display:none}
 body .header-actions .website-language-panel{top:80px;width:auto}
 body .header-actions .website-language-picker>summary>span:not(.language-chevron){max-width:100px}
}
@media(max-width:360px){body .header-actions .website-language-picker>summary>span:not(.language-chevron){max-width:65px}}

.website-language-list button:disabled{opacity:.45;cursor:default;}
html[lang="es"] .hero-copy,html[lang="es"] .home-closing-copy{min-width:0;}
html[lang="es"] .site-header .main-nav{gap:clamp(12px,1.5vw,24px);}
html[lang="es"] .pdf-header .nav-button{width:auto;min-width:0;white-space:nowrap;padding-inline:18px;}
html[lang="es"] .reference-hero h1{font-size:clamp(48px,5.4vw,76px);line-height:1.05;}
html[lang="es"] .reference-eyebrow{font-size:clamp(20px,2vw,28px);line-height:1.3;}
@media(max-width:700px){html[lang="es"] .pdf-header .nav-button{font-size:14px;padding-inline:12px;}html[lang="es"] .reference-hero h1{font-size:clamp(42px,12vw,64px);}}

/* Translated cookie notice: buttons size to their label instead of three fixed English-width columns. */
html:not([lang="en"]) .consent-dialog:not(.consent-expanded) .consent-shell{grid-template-columns:minmax(0,1fr) auto 36px}
html:not([lang="en"]) .consent-dialog:not(.consent-expanded) .consent-actions{grid-template-columns:repeat(3,auto)}
html:not([lang="en"]) .consent-dialog:not(.consent-expanded) .consent-actions button{width:auto;height:auto;padding-inline:14px}
@media(max-width:1050px){
 html:not([lang="en"]) .consent-dialog:not(.consent-expanded) .consent-shell{grid-template-columns:minmax(0,1fr) 36px}
 html:not([lang="en"]) .consent-dialog:not(.consent-expanded) .consent-actions{width:100%;max-width:640px;grid-template-columns:repeat(3,minmax(0,1fr))}
 html:not([lang="en"]) .consent-dialog:not(.consent-expanded) .consent-actions button{width:100%;white-space:normal;line-height:1.3;padding-inline:8px}
}
@media(max-width:500px){
 html:not([lang="en"]) .consent-dialog:not(.consent-expanded) .consent-shell{grid-template-columns:minmax(0,1fr) 28px}
 html:not([lang="en"]) .consent-dialog:not(.consent-expanded) .consent-actions button{padding-inline:4px}
}
