/* Remove hero controls requested by the owner, including later native JS insertion. */
html:root[data-ece-site139] body #main .hero .ece-approved-actions .ece-approved-secondary,
html:root[data-ece-site139] body #main .hero .ece134-pause {display:none !important;}
html:root[data-ece-site139] body #main .hero .ece-approved-actions:not(:has(>a:not(.ece-approved-secondary))) {display:none !important;}
/* No square container or individual square frame around theme/language controls. */
html:root[data-ece-site139] body:has(#main) header#top.site-header :is(.ece-header-controls,.ece-header-theme,.ece-header-language) {
 border:0 !important;outline:0 !important;box-shadow:none !important;background:transparent !important;border-radius:0 !important;padding:0 !important;
}
html:root[data-ece-site139] body:has(#main) header#top.site-header :is(.ece-header-controls,.ece-header-theme,.ece-header-language)::before,
html:root[data-ece-site139] body:has(#main) header#top.site-header :is(.ece-header-controls,.ece-header-theme,.ece-header-language)::after {display:none !important;}
html:root[data-ece-site139] body:has(#main) header#top.site-header :is(.ece-header-theme button,.ece-header-language a) {
 border:0 !important;box-shadow:none !important;background:transparent !important;border-radius:50% !important;
}
html:root[data-ece-site139] body:has(#main) header#top.site-header :is(.ece-header-theme button,.ece-header-language a)::before,
html:root[data-ece-site139] body:has(#main) header#top.site-header :is(.ece-header-theme button,.ece-header-language a)::after {display:none !important;}
html:root[data-ece-site139] body:has(#main) header#top.site-header .ece-header-theme button[aria-pressed=true],
html:root[data-ece-site139] body:has(#main) header#top.site-header .ece-header-language a[aria-current]:not([aria-current=false]) {background:#f5a44726 !important;color:var(--dr-link) !important;}
html:root[data-ece-site139] body:has(#main) header#top.site-header :is(.ece-header-theme button,.ece-header-language a):focus-visible {outline:2px solid var(--dr-link) !important;outline-offset:3px !important;}

/* Keep the original compact footprints and prevent legacy flex-basis from widening them. */
html:root[data-ece-site139] body:has(#main) header#top.site-header .ece-header-theme button {width:40px !important;min-width:40px !important;max-width:40px !important;height:40px !important;min-height:40px !important;flex:0 0 40px !important;}
html:root[data-ece-site139] body:has(#main) header#top.site-header .ece-header-language a {width:36px !important;min-width:36px !important;max-width:36px !important;height:40px !important;min-height:40px !important;flex:0 0 36px !important;}
@media(max-width:680px){
 html:root[data-ece-site139] body:has(#main) header#top.site-header .ece-header-theme button {width:36px !important;min-width:36px !important;max-width:36px !important;flex:0 0 36px !important;}
 html:root[data-ece-site139] body:has(#main) header#top.site-header .ece-header-language a {width:32px !important;min-width:32px !important;max-width:32px !important;flex:0 0 32px !important;}
}
