/* Dispatch quick actions: remove only the moving highlight. */
.dispatch-r3 .dispatch-detail-actions :is(.dispatch-copy-action,.dispatch-photo-action,.dispatch-reassign-action,.dispatch-retract-action,.dispatch-gps-action)::after{content:none!important;animation:none!important}
/* Keep the close control's touch target; draw a consistent centered cross. */
body:has(.dispatch-r3) :is(.el-dialog__headerbtn,.el-drawer__close-btn),body:has(.dispatch-r3) .dispatch-r3 button.dispatch-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#284B7D;font-size:0;box-shadow:none;position:relative;isolation:isolate}
body:has(.dispatch-r3) :is(.el-dialog__headerbtn,.el-drawer__close-btn) .el-icon{display:none}
body:has(.dispatch-r3) :is(.el-dialog__headerbtn,.el-drawer__close-btn)::before,body:has(.dispatch-r3) :is(.el-dialog__headerbtn,.el-drawer__close-btn)::after,body:has(.dispatch-r3) .dispatch-r3 button.dispatch-close::before,body:has(.dispatch-r3) .dispatch-r3 button.dispatch-close::after{content:""!important;position:absolute;inset:auto;top:50%;left:50%;width:18px;height:2px;border:0;border-radius:2px;background:currentColor;opacity:1;pointer-events:none;animation:none!important;z-index:1;transform:translate(-50%,-50%) rotate(45deg)!important}
body:has(.dispatch-r3) :is(.el-dialog__headerbtn,.el-drawer__close-btn)::after,body:has(.dispatch-r3) .dispatch-r3 button.dispatch-close::after{transform:translate(-50%,-50%) rotate(-45deg)!important}
body:has(.dispatch-r3) :is(.el-dialog__headerbtn,.el-drawer__close-btn):hover,body:has(.dispatch-r3) .dispatch-r3 button.dispatch-close:hover{background:#E5EFFD}
body:has(.dispatch-r3) :is(.el-dialog__headerbtn,.el-drawer__close-btn):active,body:has(.dispatch-r3) .dispatch-r3 button.dispatch-close:active{background:#D6E7FC;box-shadow:inset 0 2px 4px #284B7D22}
body:has(.dispatch-r3) :is(.el-dialog__headerbtn,.el-drawer__close-btn):focus-visible,body:has(.dispatch-r3) .dispatch-r3 button.dispatch-close:focus-visible{outline:2px solid #0066CC;outline-offset:2px}
