@layer appearance {
/* Shared icon-only dismissal control. Text Cancel/Close actions stay labeled. */
html body :is(button[aria-label^="Close"]:not(#backdrop):not(.secondary):not(.primary),button.icon[data-close],button.icon[data-pt-close],.leaflet-popup-close-button,.maplibregl-popup-close-button) {
  position:relative;
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  flex-shrink:0;padding:0!important;border:0!important;border-radius:50%!important;
  background:var(--theme-raised,#f1f4f8)!important;box-shadow:none!important;
  color:var(--fc-ink,#202938)!important;font-size:0!important;line-height:1!important;
  cursor:pointer;
}
html body :is(button[aria-label^="Close"]:not(#backdrop):not(.secondary):not(.primary),button.icon[data-close],button.icon[data-pt-close],.leaflet-popup-close-button,.maplibregl-popup-close-button) > * {visibility:hidden!important}
html body :is(button[aria-label^="Close"]:not(#backdrop):not(.secondary):not(.primary),button.icon[data-close],button.icon[data-pt-close],.leaflet-popup-close-button,.maplibregl-popup-close-button)::before {content:none!important}
html body :is(button[aria-label^="Close"]:not(#backdrop):not(.secondary):not(.primary),button.icon[data-close],button.icon[data-pt-close],.leaflet-popup-close-button,.maplibregl-popup-close-button)::after {
  content:"";position:absolute;left:50%;top:50%;width:16px;height:16px;
  transform:translate(-50%,-50%);background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 3l12 12M15 3L3 15' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 3l12 12M15 3L3 15' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events:none;
}
html body :is(button[aria-label^="Close"]:not(#backdrop):not(.secondary):not(.primary),button.icon[data-close],button.icon[data-pt-close],.leaflet-popup-close-button,.maplibregl-popup-close-button):hover {background:var(--theme-hover,#e5ebf2)!important}
html body :is(button[aria-label^="Close"]:not(#backdrop):not(.secondary):not(.primary),button.icon[data-close],button.icon[data-pt-close],.leaflet-popup-close-button,.maplibregl-popup-close-button):focus-visible {outline:2px solid var(--fc-blue,#3867ef)!important;outline-offset:2px}
html body :is(button[aria-label^="Close"]:not(#backdrop):not(.secondary):not(.primary),button.icon[data-close],button.icon[data-pt-close],.leaflet-popup-close-button,.maplibregl-popup-close-button):disabled {opacity:.45;cursor:default}
@media (pointer:coarse),(max-width:750px){
  html body :is(button[aria-label^="Close"]:not(#backdrop):not(.secondary):not(.primary),button.icon[data-close],button.icon[data-pt-close],.leaflet-popup-close-button,.maplibregl-popup-close-button) {width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
}

}
