/* Shared circular close control. SVG geometry avoids font-baseline drift. */
body button.ui-close-button{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0!important;border:1px solid #dbe5e9!important;border-radius:50%!important;background:#fff!important;color:#345666!important;font-size:0!important;line-height:0!important;letter-spacing:0!important;transform:none!important;text-shadow:none!important;box-shadow:none!important;cursor:pointer;vertical-align:middle;-webkit-tap-highlight-color:transparent}
body button.ui-close-button::before{content:""!important;position:absolute!important;inset:0!important;display:block!important;width:20px!important;height:20px!important;margin:auto!important;padding:0!important;border:0!important;border-radius:0!important;transform:none!important;background:currentColor!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 7 10 10M17 7 7 17' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 7 10 10M17 7 7 17' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat!important;pointer-events:none}
body button.ui-close-button::after{content:none!important;display:none!important}
body button.ui-close-button>*{display:none!important}
body button.ui-close-button[hidden]{display:none!important}
body button.ui-close-button:hover{background:#eef7f5!important;border-color:#b8d8d0!important}
body button.ui-close-button:active{background:#e0f0eb!important}
body button.ui-close-button:focus-visible{outline:2px solid #168a78!important;outline-offset:3px}
body button.ui-close-button:disabled{opacity:.45;cursor:default}
body dialog.maie-dialog>header:has(>.ui-close-button){display:flex;align-items:center;gap:12px}
body dialog.maie-dialog>header:has(>.ui-close-button)>h2{min-width:0;flex:1}
body dialog.maie-dialog>header>.ui-close-button{inset:auto!important;align-self:center}
