/* Keep the approved single white masthead; expand only the language control. */
.masthead-bar{grid-template-columns:auto minmax(0,1fr) auto auto;gap:18px}
.masthead-tools{display:flex;gap:12px}
.language-switch{position:relative;flex:none;font-size:14px;line-height:1.4}
.language-switch summary{cursor:pointer;list-style:none;display:flex;gap:5px;align-items:center;justify-content:center;min-width:48px;min-height:44px;border:1px solid #d8dedf;border-radius:2px;padding:6px;color:#18384a;background:#fff;font-weight:650}
.language-switch summary::-webkit-details-marker{display:none}
.language-switch summary:focus-visible{outline:3px solid #9d7337;outline-offset:3px}
.language-switch nav{position:absolute;right:0;top:calc(100% + 8px);min-width:160px;padding:7px;background:white;border:1px solid #d8dedf;box-shadow:0 8px 24px #18384a24;z-index:20}
.language-switch nav a{display:block;padding:11px 14px;font-size:15px;text-decoration:none;color:#18384a;white-space:nowrap}
.language-switch nav a:hover,.language-switch nav a[aria-current]{background:#f0eee7}
.analytics-controls{padding:26px 0 35px;border-bottom:1px solid #d8dedf;margin-bottom:28px;max-width:900px}
.analytics-controls h2{font:30px/1.25 Georgia,serif}
.analytics-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}
.analytics-actions .button{cursor:pointer;font:inherit;font-size:15px}
.analytics-banner{position:fixed;bottom:16px;left:16px;right:16px;max-width:900px;margin:0 auto;background:white;border:1px solid #70828d;box-shadow:0 6px 35px #102c3e44;padding:22px;z-index:100;font-size:15px;max-height:65vh;overflow:auto}
.analytics-banner p{margin:0}
html:not([lang=en]) .hero-title span{white-space:normal}
html[lang=de] .hero-title span:first-child{font-size:.82em}
@media(min-width:1551px){.masthead-bar{gap:18px}.masthead-name{font-size:30px}.masthead-nav{gap:16px}.masthead-nav a{font-size:15.5px}.masthead-book{padding:12px 14px}}
@media(max-width:1550px){
 .masthead-bar{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand tools book" "nav nav nav";gap:0 20px}
 .masthead-brand{grid-area:brand}.masthead-tools{grid-area:tools}.masthead-book{grid-area:book}
 .masthead-nav{grid-area:nav;display:none;padding-top:16px;margin-top:14px;border-top:1px solid #e5e2da;justify-content:flex-start;flex-wrap:wrap;gap:8px 28px}
 .masthead-nav.open{display:flex}
 .masthead .masthead-menu{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #d6d8d6;background:white;color:#18384a;font-size:25px;line-height:1}
 .masthead-nav a{font-size:16px}
}
@media(max-width:699px){
 .masthead-bar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand tools" "nav nav" "book book";gap:0 8px;padding:10px 12px}
 .masthead-brand{gap:8px;white-space:normal;min-width:0}.masthead-brand img{width:42px;height:42px}
 .masthead-name{font-size:21px;letter-spacing:-.5px;white-space:nowrap}.masthead-place{font-size:9px;letter-spacing:.8px;white-space:nowrap}
 .masthead-tools{gap:6px}.masthead .masthead-menu{width:38px;height:42px;min-width:38px}
 .language-switch summary{min-width:40px;min-height:42px;font-size:12px;padding:4px}
 .masthead-nav{flex-direction:column;align-items:stretch;gap:0;padding-top:8px;margin-top:12px}.masthead-nav a{white-space:normal;padding:12px 0}
 .hero .prose .hero-title{font-size:clamp(31px,8.7vw,46px)}
 .masthead-book{white-space:normal}.analytics-banner{padding:16px;bottom:8px;left:8px;right:8px}
}
@media(max-width:360px){.masthead-brand img{width:34px;height:34px}.masthead-name{font-size:18px}.masthead-place{font-size:8px;letter-spacing:.6px}.masthead-bar{padding-inline:8px}.masthead-brand{gap:6px}}
@media(max-width:699px){html[lang=de] .hero-title span:first-child{font-size:.73em}html[lang=fr] .hero-title span:first-child{font-size:.9em}}
