@layer window-close-overrides {
/* Match the tackle menu close control, preserving each window's placement. */
body dialog .shared-window-close{
 width:47px!important;height:47px!important;min-width:47px!important;max-width:47px!important;
 padding:0!important;flex:0 0 47px!important;box-sizing:border-box!important;
 border:1px solid #ffffff70!important;border-radius:4px!important;
 background:linear-gradient(145deg,#ffffff20,#ffffff06),rgba(17,36,17,.5)!important;
 color:#fff8df!important;box-shadow:inset 0 1px 0 #ffffff55,0 3px 9px #0003!important;
 backdrop-filter:blur(4px) saturate(120%)!important;-webkit-backdrop-filter:blur(4px) saturate(120%)!important;
 font:0/0 Arial!important;text-shadow:none!important;cursor:pointer;
 display:grid!important;place-items:center!important;
}
body dialog .shared-window-close::before{content:'×'!important;display:block!important;position:static!important;font:38px/40px Arial!important;color:inherit!important;width:auto!important;height:auto!important;background:none!important;border:0!important;transform:none!important}
body dialog .shared-window-close::after,body dialog .shared-window-close>*{display:none!important}
body dialog .shared-window-close:hover{filter:brightness(1.16)}
body dialog .shared-window-close:focus-visible{outline:2px solid #fff8df!important;outline-offset:3px!important}
body dialog .added-window-close{position:absolute;top:20px;right:20px;z-index:20}

}
