/* Colibrí · Gestor de ventanas y módulos — botón X unificado */

.cbv-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}

/* X base (mismo diseño que .cb-icon-close del sitio) */
html body button.cbv-xbtn{
  display:grid!important;place-items:center;box-sizing:border-box;
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  flex:none!important;padding:0!important;margin:0;
  border:1px solid #9ED6D0!important;border-radius:12px!important;
  background:#fff!important;color:#102A2B!important;-webkit-text-fill-color:#102A2B!important;
  font-size:0!important;line-height:0!important;
  box-shadow:0 2px 8px #102A2B20!important;cursor:pointer;position:relative;
}
html body button.cbv-xbtn::before,
html body button.cbv-xbtn::after{
  content:""!important;position:absolute!important;inset:50% auto auto 50%!important;
  width:17px!important;height:2px!important;border:0!important;border-radius:2px;
  background:currentColor!important;transform:translate(-50%,-50%) rotate(45deg);pointer-events:none;
}
html body button.cbv-xbtn::after{transform:translate(-50%,-50%) rotate(-45deg)}
html body button.cbv-xbtn:hover{background:#E6F5F3!important}
html body button.cbv-xbtn:focus-visible{outline:3px solid #00756F!important;outline-offset:3px}

/* X dentro de la barra superior de cada módulo */
html body button.cbv-x-modulo.cbv-en-barra{margin-left:8px!important;position:relative!important}

/* X en la esquina cuando el módulo no tiene barra */
html body button.cbv-x-modulo.cbv-esquina{position:sticky!important;top:12px;margin:12px 12px -56px auto!important;z-index:50;float:right}

/* X flotante: aparece solo si la ventana superior no muestra su propia X */
html body button.cbv-x-flotante{
  position:fixed!important;top:max(12px, env(safe-area-inset-top))!important;right:max(12px, env(safe-area-inset-right))!important;
  z-index:2147483000!important;
}
html body button.cbv-x-flotante[hidden]{display:none!important}

/* Las X existentes siempre por encima de su contenido */
html body :is(.window-close,.role-close,.me-client-close,.me-com-close,.me-legal-close,.me-aib-close,.me-v58-close,.cbv-xbtn){z-index:30}

@media (max-width:600px){
  html body button.cbv-xbtn{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
}
