/* Cactus ERP Online v1.5.98 · contraste de botones de cierre en modo oscuro */
@media screen {
  html body.cactus-dark .cx1535-x,
  html body.cactus-dark .modal-close,
  html body.cactus-dark .ot81-x,
  html body.cactus-dark .cx1531-x,
  html body.cactus-dark .cx1536-x,
  html body.cactus-dark [data-cx1535-close].cx1535-x,
  html body.cactus-dark button[aria-label="Cerrar"]{
    width:38px!important;
    height:38px!important;
    display:inline-grid!important;
    place-items:center!important;
    border-radius:10px!important;
    border:1px solid #586272!important;
    background:#242a34!important;
    color:#ffffff!important;
    font-size:22px!important;
    font-weight:900!important;
    line-height:1!important;
    opacity:1!important;
    text-shadow:none!important;
    box-shadow:0 1px 0 rgba(255,255,255,.04)!important;
    cursor:pointer!important;
  }
  html body.cactus-dark .cx1535-x:hover,
  html body.cactus-dark .modal-close:hover,
  html body.cactus-dark .ot81-x:hover,
  html body.cactus-dark .cx1531-x:hover,
  html body.cactus-dark .cx1536-x:hover,
  html body.cactus-dark button[aria-label="Cerrar"]:hover{
    background:#323a47!important;
    border-color:#7f8b9e!important;
    color:#ffffff!important;
  }
  html body.cactus-dark .cx1535-x:focus-visible,
  html body.cactus-dark .modal-close:focus-visible,
  html body.cactus-dark .ot81-x:focus-visible,
  html body.cactus-dark .cx1531-x:focus-visible,
  html body.cactus-dark .cx1536-x:focus-visible,
  html body.cactus-dark button[aria-label="Cerrar"]:focus-visible{
    outline:3px solid rgba(154,109,242,.32)!important;
    outline-offset:2px!important;
  }
}

/* v1.5.99 · adjuntos por tarea al preparar OT */
body.cactus-dark .cx1535-taskrow{background:#171b22!important;border-color:#3b4350!important}
body.cactus-dark .cx1599-task-files{color:#dce1e8!important}
body.cactus-dark .cx1599-task-files small,body.cactus-dark .cx1599-task-preview>span{color:#aeb7c3!important}
body.cactus-dark .cx1599-file-chip{background:#20252e!important;border-color:#414a58!important}
body.cactus-dark .cx1599-file-chip strong{color:#f4f6fa!important}
body.cactus-dark .cx1599-file-chip span{color:#b5bdc8!important}
