/* Language controls share the existing glass shell without changing its height. */
.nav-actions{display:flex;align-items:center;justify-self:end;gap:12px;min-width:max-content}
.language-picker{position:relative;font-family:var(--sans);font-size:13px}
.language-picker>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;cursor:pointer;list-style:none;white-space:nowrap}
.language-picker>summary::-webkit-details-marker{display:none}
.language-picker img,.mobile-language-switch img{width:24px;height:auto;max-height:16px;object-fit:contain;display:block;border-radius:2px;flex:none}
.language-picker>summary>svg{width:8px;height:5px;fill:none;stroke:currentColor;stroke-width:1;transition:transform .2s}
.language-picker[open]>summary>svg{transform:rotate(180deg)}
.language-picker summary:focus-visible,.language-options a:focus-visible,.mobile-language-switch a:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
.language-options{position:absolute;top:calc(100% + 12px);right:0;min-width:168px;background:rgba(255,255,255,.96);color:var(--navy);border:1px solid var(--line);border-radius:12px;padding:8px;box-shadow:0 12px 32px #101c2c15;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.language-options a{display:flex;align-items:center;gap:12px;padding:12px 10px;min-height:44px;border-radius:7px;text-decoration:underline;text-underline-offset:4px;font-size:14px;white-space:nowrap}
.language-options a:hover{background:var(--paper)}
.language-options a[aria-current=page],.mobile-language-switch a[aria-current=page]{font-weight:600;text-decoration-color:var(--orange)}
.site-header>.wordmark{white-space:nowrap}
.mobile-language-switch{margin:10px 0 18px;padding:18px 6px 0;border-top:1px solid var(--line)}
.mobile-language-switch>p{font-size:10px;color:var(--muted);margin-bottom:8px}
.mobile-language-switch>nav{display:flex;gap:22px;flex-wrap:wrap}
.mobile-language-switch a{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;text-decoration:underline;text-underline-offset:5px}
@media(min-width:901px) and (max-width:1200px){.nav-actions{gap:9px}.nav-actions .nav-cta{padding:13px 15px;font-size:10px;gap:14px}}
@media(max-width:900px){.site-header>.nav-actions{display:none}.language-picker{margin-left:auto}}
@media(max-width:900px){.site-header.senior-header>.nav-actions{display:flex;gap:8px}.senior-header .language-picker>summary{gap:4px}.senior-header .language-picker img{width:20px}.senior-header .language-picker>summary>svg{display:none}.senior-header .nav-cta{padding-inline:10px}}
@media(max-width:450px){.senior-header .full-cta-label{display:none}.senior-header .compact-cta-label{display:inline}}
html[lang^=es] .home-page .hero-title{font-size:clamp(38px,4.4vw,76px)}
html[lang^=es] .chapter-nav a{min-width:0}
@media(max-width:700px){html[lang^=es] .home-page .hero-title{font-size:clamp(29px,7.3vw,45px)}}

@media(max-width:450px){.site-header.senior-header>.wordmark{font-size:14px}.senior-header>.nav-actions{gap:6px}.senior-header .nav-cta{font-size:9px;padding-inline:10px;gap:0}.senior-header .nav-cta .arrow{display:none}}
